LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-17-2004, 10:19 PM   #1
infidel
Member
 
Registered: Jun 2003
Location: Easley, SC, US
Distribution: Ubuntu 7.10, Mandrake 9.2
Posts: 91

Rep: Reputation: 15
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.
 
Old 04-17-2004, 10:34 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
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
 
Old 04-17-2004, 10:55 PM   #3
infidel
Member
 
Registered: Jun 2003
Location: Easley, SC, US
Distribution: Ubuntu 7.10, Mandrake 9.2
Posts: 91

Original Poster
Rep: Reputation: 15
Umm-- that's already there...
 
Old 04-24-2004, 08:45 PM   #4
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

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

if so remove the hashes.
 
Old 04-24-2004, 10:20 PM   #5
infidel
Member
 
Registered: Jun 2003
Location: Easley, SC, US
Distribution: Ubuntu 7.10, Mandrake 9.2
Posts: 91

Original Poster
Rep: Reputation: 15
Nope, no hashes.

I'm stumped. You?
 
Old 04-25-2004, 03:22 AM   #6
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
yip.
 
Old 04-25-2004, 03:23 AM   #7
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
actually, have a look at /dev/dri*
there may be files that need to be chmod 0666
 
Old 04-25-2004, 03:24 AM   #8
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
/dev/dri/card0 is the file that needs to be chmod 666 in my redhat system
 
Old 04-25-2004, 06:01 AM   #9
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Yeah that's what I thought, try that.
 
Old 04-25-2004, 06:19 AM   #10
infidel
Member
 
Registered: Jun 2003
Location: Easley, SC, US
Distribution: Ubuntu 7.10, Mandrake 9.2
Posts: 91

Original Poster
Rep: Reputation: 15
Didn't help.

Thanks anyway, guys.
 
Old 04-26-2004, 03:49 AM   #11
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
please 3D hardware acceleration dred Linux - Hardware 1 11-17-2004 10:18 AM
No hardware acceleration Medicati0in Linux - Newbie 1 08-23-2004 04:42 AM
Hardware acceleration RedNex Linux - Newbie 3 06-14-2004 08:34 AM
No 3D hardware acceleration? Norrin Linux - Newbie 15 09-03-2003 04:04 PM
Hardware Acceleration Jerrac Linux - Hardware 11 09-02-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration