DRI not enabled

Asked by Nihad Keserovic

Hi, I have a problem where DRI is not loaded for the current user but is loaded and enabled when using sudo.

running command:
glxinfo | grep direct
gives me direct rendering: No (LIBGL_ALWAYS_INDIRECT set)

but when running this command as su the result is "direct rendering: Yes"

the same goes for running the application that uses DRI, meaning that when running the application without sudo command the application takes a hole lot of CPU time.

Some more information:
DRI module is set to be loaded in xorg.conf
the rights are set to 0666

the module gets loaded but is seems that I can't use them with a regular user account.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nihad Keserovic (nihad-keserovic) said :
#1

LIBGL_ALWAYS_INDIRECT is set to 1
should I set it to 0 at startup? if yes, should that be set in .bashrc?

Revision history for this message
darkraven (jasminr) said :
#2

hmmm. odd.
I get XDriInfo returned with non-zero exit code.
glx gears wont run, it says

 Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

correct me if I'm wrong, but X11[currently xorg] comes configured when installed.As of late both with FC9[couldnt get 8 to work right] and Unbuntu 8.xx I cant seem to change my settings without taking down X11.Goes DOUBLE on PPC side.

I will admit the glitching with xcompiz on NVIDIA has stopped for now.The flickering titlebar gets awful annoying.It seems to be linked to translucent menubars.

Can you help with this problem?

Provide an answer of your own, or ask Nihad Keserovic for more information if necessary.

To post a message you must log in.