LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   3D hardware acceleration and user permissions (https://www.linuxquestions.org/questions/linux-general-1/3d-hardware-acceleration-and-user-permissions-171514/)

infidel 04-17-2004 10:19 PM

3D hardware acceleration and user permissions
 
Hello, everyone. I recently managed to get Unreal Tournament installed on my machine via Loki's install scripts, but I find that it's only playable by root. When running under my normal user account, the graphics are horrible-- mostly vivid reds, blues, and greens.

A very nice and extremely patient e-mail correspondent has been helping me with this from the beginning, but now that the thing actually runs (after a fashion), I hate to keep bothering him with the same issue. ;) His last suggestion was that the graphics were only correct under root because "probably [my] normal user account doesn't have permissions for the device."

Now I'm completely lost. ;) I'm not even sure what further information to give, though it may or may not mean anything that I'm running Mandrake 9.2, kernel 2.4.22-10mdk; my graphics are handled by the Intel i810 chipset that came with the machine. Beyond that, I'll need someone to prompt me for further info-- in terms of understand how things work and what means what in Linux, graphics are probably my biggest weakness.

Any help would be greatly appreciated; thanks very much in advance.

Shade 04-17-2004 10:34 PM

Open up your favorite text editor.

edit /etc/X11/XF86Config or XF86Config-4

add these lines to the end:

Code:

Section "DRI"
    Mode 0666
EndSection

That gives everyone permission to use 3d. :)

--Shade

infidel 04-17-2004 10:55 PM

Umm-- that's already there...

aesahaettr 04-24-2004 08:45 PM

does it have hashes in front of it?
eg.
-----------------------------
#Section "DRI"
# Mode 0666
#EndSection
-----------------------------

if so remove the hashes.

infidel 04-24-2004 10:20 PM

Nope, no hashes.

I'm stumped. You? ;)

aesahaettr 04-25-2004 03:22 AM

yip.

aesahaettr 04-25-2004 03:23 AM

actually, have a look at /dev/dri*
there may be files that need to be chmod 0666

aesahaettr 04-25-2004 03:24 AM

/dev/dri/card0 is the file that needs to be chmod 666 in my redhat system

orange400 04-25-2004 06:01 AM

Yeah that's what I thought, try that.

infidel 04-25-2004 06:19 AM

Didn't help. :(

Thanks anyway, guys.

aesahaettr 04-26-2004 03:49 AM

Quote:

The best way to accelerate a Windows box is at 9.8 meters per second per second.
The best way to accelerate a linux box is by putting in hours of consoling ;)


All times are GMT -5. The time now is 11:57 AM.