OpenGL problems with Intel G45
#1
Hi. I'm having some problems with XBMC on my Intel G45 board. If I use latest X from git instead of the standard Ubuntu 8.10 packages, XBMS uses "software rasterizer" instead of Mesa OpenGL. I see nothing in the log that helps me. I need X from git to make hdmi audio work. Anyone who knows how I can debug this? This seems to be the relevant parts of the XBMC log:

18:22:42 T:3066402592 M: 30371840 DEBUG: Constructing surface 1280x720, shared=(nil), fullscreen=0
18:22:42 T:3066402592 M: 30371840 INFO: GLX Info: NOT Using destination window
18:22:42 T:3066402592 M: 30232576 WARNING: GLX: No Multisample buffers available, FSAA disabled
18:22:42 T:3066402592 M: 30232576 INFO: GLX Info: Using parent window
18:22:42 T:3066402592 M: 30232576 INFO: GLX Info: Creating unshared context
18:22:42 T:3066402592 M: 28839936 INFO: GL_VENDOR = Mesa Project
18:22:42 T:3066402592 M: 28839936 INFO: GL_RENDERER = Software Rasterizer
18:22:42 T:3066402592 M: 28839936 INFO: GL_VERSION = 2.1 Mesa 7.3-devel
18:22:42 T:3066402592 M: 28839936 INFO: GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_AR
B_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow
GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_A
RB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abg
r GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array
GL_EXT_convolution GL_EXT_copy_texture GL_EXT_d
18:22:42 T:3066402592 M: 28839936 DEBUG: Asking to resize surface to 1280 x 720
18:22:42 T:3066402592 M: 28561408 INFO: GL: Maximum texture width: 2048

Thanks for any help,
/Magnus H
Reply
#2
The software rasterizer stuff is not XBMC fault its X fault. I have same issue on jaunty.

Do you really need latest X for hdmi audio? I have latest alsa and it says I have hdmi audio, not that I have gotten it to work with my TV but my TV sucks and Im not sure it will ever work Smile

Would you mind posting a howto at some point on how to get hdmi audio working with G45? I think lots of users would like that.

Cheers,
Tobias
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#3
Thanks a lot, I can see now that it shows already in glxinfo just like you said. When it comes to hdmi audio you need both a recent x and alsa. Support for it in x was added on nov 6 (or 2.5.1).
Reply
#4
btw just searched through intel mailing list. Apperantly you will get OpenGL if you run root, this worked for me

glxinfo | grep renderer will say software rasterizer
sudo glxinfo | grep renderer will say opengl

However adding a DRI with user privilege in xorg doesnt help on me but sudo glxgears gives me 1300fps

Cheers,
Tobias
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#5
hi -

so are you saying if i run xbmc as root it will run with opengl not software rastersizer when using 2.5.1 or the new X (answered my own question - yes you get opengl running xbmc as root). do i need X or 2.5.1 or both for hdmi audio.

i agree - a how to for intel hdmi audio would be fantastic - admitidely not got round to playing with hdmi audio side of things as i'm having major issues just getting analog and optical working on my board. But i will as soon as i figured this out (or just given up)

cheers guys
Reply

Logout Mark Read Team Forum Stats Members Help
OpenGL problems with Intel G450