Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI:Difference in glxinfo from root to regular user [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
briaric
n00b
n00b


Joined: 13 Jun 2004
Posts: 15

PostPosted: Sat Dec 30, 2006 5:15 am    Post subject: ATI:Difference in glxinfo from root to regular user [Solved] Reply with quote

Rebuilding the system after trashing it and have something strange with running glxinfo (tried running enemy territory first as a regular user and gives a Mesa being used for Open GL. As root user it works).

Notice the OpenGL Vendor string.
As root running glxinfo gives:
Code:

name of display: :0.0
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_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 2.0.6234 (8.32.5)


As a regular user:
Code:
name of display: :0.0
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)


What should I look at and do I need to provide more information?

Thanks,

--briaric


Last edited by briaric on Sat Dec 30, 2006 4:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
psutokth
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2005
Posts: 121
Location: Lake Champlain

PostPosted: Sat Dec 30, 2006 1:47 pm    Post subject: Reply with quote

See what /var/log/Xorg.0.log says when mesa comes up, if there are some EE errors or WW warnings.
Maybe there is a permission issue? Like this part of /etc/X11/xorg.conf?
Code:
Section "dri"
        Mode 0666
EndSection

The way I can see those two versions of glxinfo is by
Code:
eselect opengl set ati
or
Code:
eselect opengl set xorg-x11
and once su sets it to ati, it stays there seemingly for the system. I don't understand this in detail, but I hope some of this helps you.
Back to top
View user's profile Send private message
briaric
n00b
n00b


Joined: 13 Jun 2004
Posts: 15

PostPosted: Sat Dec 30, 2006 4:56 pm    Post subject: Reply with quote

Putting in the dri section with the mode line solved the problem.

Thanks much!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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