SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks, however I have tmpfs in /etc/fstab (also confirmed with "mount"), and user is in video group....
So far,
1. fglrx modules is loaded.
2. When "Load dri" is commented out at Module section (xorg.conf), 3d does not work even root (fglrxinfo returns same as user).
3. Permissions for modules look good (x for other)
4. I do not know any other config files than xorg.conf. (so nothing else to check)
5. ???
I can only suggest reread this thread and perhaps the Gentoo Wiki howto on the fglrx drivers and try again. Hopefully you will succeed. It took me almost 2 years (not continuous effort, though) to get DRI and OpenGL working properly on my 9600XT. It won't take you so long.
EDIT This thread and the Gentoo Wiki are the 2 best sources I found to help me. Although the wiki has become more Gentoo specific than it used to be, it should still help.
Last edited by Eternal_Newbie; 12-06-2006 at 06:00 PM.
For ATI drivers to work, (or detect correct module), following script has to be done to set environmental variable.
Code:
### START ATI FGLRX ###
### Automatically modified by ATI Proprietary driver scripts
### Please do not modify between START ATI FGLRX and END ATI FGLRX
if [ $LD_LIBRARY_PATH ]
then
if ! set | grep LD_LIBRARY_PATH | grep /usr/lib/fglrx > /dev/null
then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/fglrx
export LD_LIBRARY_PATH
fi
else
LD_LIBRARY_PATH=/usr/lib/fglrx
export LD_LIBRARY_PATH
fi
if [ $LIBGL_DRIVERS_PATH ]
then
if ! set | grep LIBGL_DRIVERS_PATH | grep /usr/lib/dri > /dev/null
then
LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/usr/lib/dri
export LIBGL_DRIVERS_PATH
fi
else
LIBGL_DRIVERS_PATH=/usr/lib/dri
export LIBGL_DRIVERS_PATH
fi
### END ATI FGLRX ###
This is installed by ATI installer to /etc/profile, however, I use "tcsh" on my penguins.... these are not set!
My solution is modify .tcshrc on my penguin.
I also tried the solution posted in gentoo wiki (see msg #393 above), make symbolic link to "fglrx_dri.so" and it works.
Another useful trick is
Code:
setenv LIBGL_DEBUG verbose
, and run glxgears, fgl_glxgears.... and look for error message unless otherwise seen.
(II) Module drm: vendor="X.Org Foundation"
compiled for 6.9.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.9.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
..and..
Code:
(II) RADEON(0): [DRI] installation complete
However, DRI still only works for root, not the other users.
glxinfo simply gives:
NON-root:
Code:
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
While ROOT gives:
Code:
display: :0 screen: 0
direct rendering: Yes
Seems clear that it's a permission problem, but my understanding was that the Section "DRI" Mode 0666 would take care of that, so what have I missed?
I have searched and browsed through this thread without finding anything directly touching it, but it's getting rather long, so apologies in advance if I missed something..
Turns out the Section "dri" must be in small, non-capital letters. Then the Mode 0666 statement works, and /dev/dri/card0 gets the correct permissions for the (non-root) users to get DRI.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.