LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-17-2003, 05:53 AM   #1
Dusan
LQ Newbie
 
Registered: Aug 2002
Location: Belgrade, Serbia
Posts: 24

Rep: Reputation: 15
OpenGL problem, works for root, not users


I have Radeon9500 card and XFree86 4.3.0 , Slack 8.1 and I instaled drivers for radeons for 4.3.0. It instaled OK, everything works except that I cannot use OpenGL (or is it just DRM, because I cannot use xawtv as user) if I am not root, why?

This is what comes out when I type glxinfo and xawtv
Code:
name of display: :0.0
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No
...
...
ibGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
...
How to set permissions so that other users can use opengl (DRM)?
 
Old 04-17-2003, 06:15 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
I'm not sure, but I think you are looking for the command chown and chmod... take a look here:

http://www.computerhope.com/unix/uchown.htm#01.

I needed that to run Snes9x emulator cause only root can write directly to the Video Ram, but it's just a guess
 
Old 04-17-2003, 07:54 AM   #3
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
First, make sure you have this section in your /etc/X11/XF86Config-4
Code:
Section "DRI"
    Mode        0666
EndSection
 
Old 04-17-2003, 04:07 PM   #4
Dusan
LQ Newbie
 
Registered: Aug 2002
Location: Belgrade, Serbia
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by UnTamed
First, make sure you have this section in your /etc/X11/XF86Config-4
Code:
Section "DRI"
    Mode        0666
EndSection
Yes, I have that section in my /etc/X11/XF86Config-4.
 
Old 06-22-2003, 06:20 AM   #5
morix
LQ Newbie
 
Registered: Nov 2002
Location: Italy
Distribution: Slackware 9.1
Posts: 4

Rep: Reputation: 0
Lightbulb My solution

Setting section "DRI" in XF86Config-4 didn't help me.

I don't know if this is the best solution, but I solved the problem (on a Mandrake 9.1 with KYRO II video card) by manually setting permissions for DRI device:

chmod a+rwx /dev/dri (as root)

Now it seems to work.

Let me know if this works for you too, or if there are better solutions.
Bye.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 03:41 PM
Alsa + sound works on root, but not on users! r4f Linux - Software 2 04-02-2005 05:43 AM
startx works for root but not users aldenfuchs Red Hat 3 04-01-2005 10:28 AM
Flash sound only works in root. Not users. RHLinuxGUY Slackware 3 10-01-2004 04:18 PM
MDK 9.2 IceWM fails to start for users, works for root rabidundead Mandriva 1 02-02-2004 05:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration