View previous topic :: View next topic |
Author |
Message |
zerbet Tux's lil' helper
Joined: 25 Jul 2003 Posts: 79
|
Posted: Mon Dec 22, 2003 8:23 pm Post subject: No DRM unless I am root. |
|
|
Hi folks!
I've got a little problem: I can't get direct rendering to work when using an app as non-root. it says:
Quote: | libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
|
of course, I added Quote: | Section "DRI"
Mode 0666
EndSection | in /etc/X11/XF86Config-4 but it still won't work for a normal user. Please note that I'm in the video group, so I don't really see what type of problem this is.
Quote: | $ id
uid=1000(zerbet) gid=100(users) groups=100(users),10(wheel),18(audio),27(video)
|
What would you suggest?
Thanks a lot!
Zerbet |
|
Back to top |
|
|
bombcar Guru
Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Mon Dec 22, 2003 8:40 pm Post subject: |
|
|
I'd try looking at the permissions in the /dev directory. Look for something with r/w permissions only for root, I'd guess. |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Mon Dec 22, 2003 11:09 pm Post subject: try this |
|
|
Mine works, I have one difference in my XF86Config file from yours pertaining to this, mine is posted below:
Section "DRI"
Mode 0666
Group "video"
EndSection
Add the video line as shown, and if you are part of the video group on the system let me know how it goes. |
|
Back to top |
|
|
zerbet Tux's lil' helper
Joined: 25 Jul 2003 Posts: 79
|
Posted: Tue Dec 23, 2003 1:53 pm Post subject: |
|
|
it's all OK now!
well I added the line you suggested, kiosk, but it still didn't work. So I looked in /dev/ for permissions like you suggested, bombcar, and found that /dev/dri/ was owned by root.root which I changed into root.video . It works now! I did this by hand so I'm quite unhappy about not having it done through devfsd.conf. Is it right if I add this:
Code: | REGISTER dri/.* PERMISSIONS root.video 660
|
But still, the rendering isn't nice enough as it puts my cpu usage at 100% and the gears in glxgears are still overlapping each other e.g. I see the geen gear through the red one. But that's surely another problem, as I've got a damn kyro II graphics card...
Thanks for your help people!
Zerbet |
|
Back to top |
|
|
|