View previous topic :: View next topic |
Author |
Message |
xavier10 Guru
Joined: 19 Jan 2004 Posts: 485 Location: Paris, France
|
Posted: Thu Jan 19, 2006 2:17 pm Post subject: DRI works only for root, depsite rights set in xorg.conf |
|
|
I recently upgraded to modular X11 on my Powerbook Alu 1.25 Ghz and after some time messing around, I eventually got DRI working. For one night .
In fact, it still works fine, but only for the root account now. I tested it as a user when I got it working, so something got broken since then (dunno what). My Xorg.log does not contain any new problem (there is still a block range problem reported, but it did not prevent DRI to work on the first day I got it working. In fact, it still does not for root.
I double checked I have the following my xorg.conf the following part:
Quote: |
Section "DRI"
Mode 0666
EndSection
|
Here is the message:
Quote: |
root $ glxgears
*********************************WARN_ONCE*********************************
File r300_state.c function r300Enable line 456
TODO - double side stencil !
***************************************************************************
No ctx->FragmentProgram._Current!!
*********************************WARN_ONCE*********************************
File r300_render.c function r300_get_num_verts line 188
user error: Need more than 2 vertices to draw primitive QS !
***************************************************************************
5946 frames in 5.0 seconds = 1189.169 FPS
|
and:
Quote: |
user$ glxgears
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
740 frames in 5.9 seconds = 126.098 FPS
|
Any ideas ? |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Thu Jan 19, 2006 3:55 pm Post subject: |
|
|
Mine says this:
Section "DRI"
Group "video"
Mode 0666
EndSection
Maybe add the video line and make sure your normal user is part of the video group? |
|
Back to top |
|
|
xavier10 Guru
Joined: 19 Jan 2004 Posts: 485 Location: Paris, France
|
Posted: Thu Jan 19, 2006 4:02 pm Post subject: |
|
|
kiosk wrote: | Mine says this:
Maybe add the video line and make sure your normal user is part of the video group? |
I had already added myself in the video section but did not add the video line in the Xorg.conf (first time I see it). It works now! Thanks! |
|
Back to top |
|
|
xavier10 Guru
Joined: 19 Jan 2004 Posts: 485 Location: Paris, France
|
Posted: Mon Jan 23, 2006 7:47 pm Post subject: |
|
|
I am back to this thread... I thought the above suggestion in the xorg.conf had fixed the issue, but my feeling is wrong. It just turns out that sometimes it will work; sometimes it will not...
The only thing I remarked is that using the suspend to RAM of my laptop sometimes causes the DRI to be lost for the user account. Then, restarting X may bring it back, or may not. But I also remark, that sometimes, I would start and not get DRI as a user (root always got it). The error is still the "open DRM failed (Operation not permitted)" thing.
Any other idea ? |
|
Back to top |
|
|
|