You are not logged in.

#1 2006-05-08 21:44:11

adrian_mx
Member
From: Cancún, Quintana Roo, México.
Registered: 2006-03-15
Posts: 23

Problem with DRM (Solved)

I have configured xorg and the glxgears and glxinfo command work properly, except that the framerate of glxgears is very low, and glxinfo says Direct Rendering is not active.
But when using those command with the root user, direct rendering is on, and glxgears has a high framerate.
When using glxinfo with a regular user it gives me this message:

libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

And when using root, it works okay, so does anyone know how to solve this and activate direct rendering with a regular user?

Offline

#2 2006-05-08 21:56:06

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Problem with DRM (Solved)

Is your user in the <code>video</code> group?  Not sure if that is necessary, but it's a thought...

Offline

#3 2006-05-08 22:53:46

adrian_mx
Member
From: Cancún, Quintana Roo, México.
Registered: 2006-03-15
Posts: 23

Re: Problem with DRM (Solved)

Yes it is, but still it I have to be root for direct rendering to work.

Offline

#4 2006-05-09 01:42:48

tyme
Member
From: PA
Registered: 2003-06-12
Posts: 139
Website

Re: Problem with DRM (Solved)

make sure you have:

Section "DRI" 
    Mode 0666 
EndSection

in your /etc/X11/xorg.conf

Offline

#5 2006-05-09 01:52:45

adrian_mx
Member
From: Cancún, Quintana Roo, México.
Registered: 2006-03-15
Posts: 23

Re: Problem with DRM (Solved)

This is what I have:

# Section "DRI"
#   Mode 0666
# EndSection

What else do I need?

Offline

#6 2006-05-09 01:55:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problem with DRM (Solved)

adrian_mx: Your DRI section is commented out. Remove the # so it looks like what tyme posted.

Offline

#7 2006-05-09 02:17:41

adrian_mx
Member
From: Cancún, Quintana Roo, México.
Registered: 2006-03-15
Posts: 23

Re: Problem with DRM (Solved)

Thanks, it works now !!!

Offline

Board footer

Powered by FluxBB