Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IRQ error in glxinfo and glxgears output with mesa git
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5326

PostPosted: Thu Jul 23, 2009 10:47 am    Post subject: IRQ error in glxinfo and glxgears output with mesa git Reply with quote

hello.
I've installed mesa-9999-r9999 from one of the overlays (can't remember which) inorder to test the 3d acceleration of the r6xx.
my card is ati mobility 3450HD, I use kernel 2.6.29, drm from git and radeon from git.
I do have some irq issues with my comp that causes kernel panics and results in slow computer performance so I enabled irqpoll.
when O run glxinfo I get this output:
Code:
name of display: :0.0       
IRQ's not enabled, falling back to busy waits: 2 16  <---- notice this line
display: :0  screen: 0                             
direct rendering: Yes                             
server glx vendor string: SGI                     
server glx version string: 1.2                     
server glx extensions:                             
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,     
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,     
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group     
client glx vendor string: SGI                                                 
client glx version string: 1.4                                               
client glx extensions:                                                       
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,   
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,     
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,                         
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,     
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,     
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,               
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap                 
GLX version: 1.2                                                             
GLX extensions:                                                               
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,   
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,     
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,   
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,     
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group     
OpenGL vendor string: Advanced Micro Devices, Inc.                           
OpenGL renderer string: Mesa DRI R600 (unknown 95C4) 20090101  TCL           
OpenGL version string: 1.4 Mesa 7.6-devel                                     
OpenGL extensions:                                                           
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,       
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,                 
    GL_ARB_point_parameters, 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_MESAX_texture_float,                         
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,                 
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,                     
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, 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_compiled_vertex_array, GL_EXT_convolution, 
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,       
    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,                         
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,     
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,                   
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,         
    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,                       
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,                         
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,                       
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,               
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,                       
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,     
    GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,               
    GL_ATI_texture_mirror_once, GL_ATI_separate_stencil,                       
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,                       
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,               
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,           
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,     
    GL_NV_texgen_reflection, GL_NV_vertex_program, GL_OES_read_format,         
    GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap,         
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,                 
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays                             

8 GLX Visuals
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x62 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x63 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x64 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x65 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x66 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x59 32 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 Ncon

8 GLXFBConfigs:
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x5a  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x5b  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x5c  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x5d  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x5e  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x5f  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x60  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x61  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

and glxgears outputs this:
Code:
IRQ's not enabled, falling back to busy waits: 2 16  <---- notice this line
drmRadeonCmdBuffer: -22

the mesa code should have basic 3d acceleration, but these outputs concern me, some thing tells me this isn't mesa related.
am I right?
if so, how can I solve this?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Kingoftherings
Guru
Guru


Joined: 04 May 2008
Posts: 328

PostPosted: Fri Jul 31, 2009 5:48 pm    Post subject: Reply with quote

I'm getting the same output from glxgears on 2.6.31-rc2 and Radeon 4850.

I'd also like to know what's wrong.
Back to top
View user's profile Send private message
Kingoftherings
Guru
Guru


Joined: 04 May 2008
Posts: 328

PostPosted: Fri Jul 31, 2009 5:57 pm    Post subject: Reply with quote

Just to add a bit more information. I could do software rendering on glxgears before emerging all this git stuff. I think it might be something in mesa or libdrm because software rendering did work with just the git version of xf86-video-ati. I didn't get this message until after I emerged mesa-9999 and libdrm-9999
Back to top
View user's profile Send private message
Kingoftherings
Guru
Guru


Joined: 04 May 2008
Posts: 328

PostPosted: Tue Aug 04, 2009 7:03 pm    Post subject: Reply with quote

OP, I was browsing Phoronix Forums, and I found that they just added support for kernels newer than 2.6.28.

You'll need the r6xx-rxx-3d branch from here: http://cgit.freedesktop.org/~agd5f/drm/?h=r6xx-r7xx-3d
Make sure you have Radeon DRM built as a module in your kernel, as this will replace that module.

Code:

git clone git://anongit.freedesktop.org/~agd5f/drm
cd drm
git checkout -t -b r6xx-r7xx-3d origin/r6xx-r7xx-3d
./autogen.sh --prefix=$(pkg-config --variable=prefix libdrm) --libdir=$(pkg-config --variable=libdir libdrm) --includedir=$(pkg-config --variable=includedir libdrm)
make
sudo make install

cd linux-core
make drm.o radeon.o
cp drm.ko /lib/modules/`uname -r`/kernel/drivers/gpu/drm
cp radeon.ko /lib/modules/`uname -r`/kernel/drivers/gpu/drm/radeon


A Phoronix member posted that code, and I'm not sure what all that autogen.sh stuff means.

That error we were getting from glxgears just meant we were using a kernel newer than 2.6.28, which again has been fixed as of yesterday.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 12, 2009 4:11 pm    Post subject: Reply with quote

Kingoftherings wrote:
I'm getting the same output from glxgears on 2.6.31-rc2 and Radeon 4850.

I'd also like to know what's wrong.


++

and I'm still seeing those problems

I think I'll be emerging the 4 drivers again in the weekend and see whether anything has changed / was fixed ...
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 12, 2009 7:11 pm    Post subject: Reply with quote

the IRQ problem hasn't gone away (afaik the devs are working on it in order to finalize the basic portion of the code and optimize acceleration to some degree):
Quote:
glxgears
IRQ's not enabled, falling back to busy waits: 2 16
1451 frames in 5.0 seconds = 290.030 FPS
1468 frames in 5.0 seconds = 293.432 FPS


without forcelowpowermode I get around 570 FPS :D

there's a lot of screen corruption with any opengl-based compositing or googleearth (which runs now but deconstructs mother earth pretty heavily and is still slow)

so I'm continuing in using kwin with xrender compositing which offers decent speed and compositing effects
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum