Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hardware acc. graphics as root, software as normal user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
llywelyn
n00b
n00b


Joined: 30 Sep 2004
Posts: 45

PostPosted: Mon Mar 21, 2005 1:26 pm    Post subject: Hardware acc. graphics as root, software as normal user Reply with quote

if I run glxgears as a normal user, I am told:
Code:
libGL error: open DRM failed (Operation not permitted)
LibGL error: reverting to (slow) indirect rendering
646 frames in 5.0 seconds = 129.200 FPS


If I run glxgears as root, I do NOT get the libGL error, and get about 950 FPS (with OOo compiling in the background, so you KNOW it's gotta be hardware accelerated).

How can I change the permissions of ... whatever is the problem to allow direct rendering as a normal user?

Thanks! :-)
_________________
Estoy apesadumbrado para mi Español ... estoy practicando ...
iBook Dual-USB G3/800MHz 640 MB RAM
OS 10.4 / Gentoo 2005.0 / NetBSD 2.1
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Mon Mar 21, 2005 3:26 pm    Post subject: Reply with quote

at the end of /etc/X11/xorg.conf
Code:
# Section "DRI"
#    Mode 0666
# EndSection

uncomment these 3 lines.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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