LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-16-2008, 12:02 PM   #1
Zyndarius
Member
 
Registered: May 2008
Location: Chile - Viņa del Mar
Distribution: Debian
Posts: 50

Rep: Reputation: 16
Root has DRI but the other users don't?


Greetings =)

I did recently notice that I have a problem with Direct Rendering. When I use the command "glxinfo" in root mode it shows:

Direct Rendering: Yes

But when I use the same command in other account it shows:

Direct Rendering: No (LIBGL_ALWAYS_INDIRECT Set)

One account I use it as a desktop with compiz-fusion and seems to have no major problem, or at least a have noticed nothing yet.

But the other account I use it to run a game (World Of Warcraft) using wine and when the game shows the login screen the game experiments a "heavy framing effect" I don't know if I make myself clear :S

Well, any advice or suggestion?, thanks beforehand

PD: I am using Debian Lenny

Zyn.

Last edited by Zyndarius; 11-16-2008 at 12:04 PM.
 
Old 11-16-2008, 04:58 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,406
Blog Entries: 55

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
Maybe it's DRI permissions in your X11/Xorg config?
 
Old 11-16-2008, 06:18 PM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Maybe it's DRI permissions in your X11/Xorg config?
How is that possible?

The system must be having multiple xorg.conf files
 
Old 11-16-2008, 06:26 PM   #4
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
No, the DRI stanza controls the permissions:
Code:
Section "DRI"
        Mode    0666
EndSection
is what's needed in xorg.conf.

More here:
http://dri.freedesktop.org/wiki/DriTroubleshooting

Last edited by yowi; 11-16-2008 at 06:27 PM.
 
Old 11-16-2008, 06:40 PM   #5
Zyndarius
Member
 
Registered: May 2008
Location: Chile - Viņa del Mar
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by unSpawn View Post
Maybe it's DRI permissions in your X11/Xorg config?
Good call man! =)

I did not imagine that that could be the problem, I'll go immediately to change the parameters and see if something happens =)

Thanks beforehand =)
 
Old 11-16-2008, 06:44 PM   #6
Zyndarius
Member
 
Registered: May 2008
Location: Chile - Viņa del Mar
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by yowi View Post
No, the DRI stanza controls the permissions:
Code:
Section "DRI"
        Mode    0666
EndSection
is what's needed in xorg.conf.

More here:
http://dri.freedesktop.org/wiki/DriTroubleshooting
So, you are saying that if I modify the value 0666 for 0777 nothing will happen?

I am a little confused now :P
 
Old 11-16-2008, 07:02 PM   #7
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
0666 allows DRI for all users, is that not what you want?
 
Old 11-16-2008, 08:01 PM   #8
Zyndarius
Member
 
Registered: May 2008
Location: Chile - Viņa del Mar
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by yowi View Post
0666 allows DRI for all users, is that not what you want?
But I do already have 0666 in DRI and I am having this problem.

What other thing can I do to solve this problem?
 
Old 11-16-2008, 08:10 PM   #9
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Check /var/log/Xorg.0.log for error messages (marked EE).

If it works for root you can't be far off.
 
Old 11-17-2008, 10:05 PM   #10
Zyndarius
Member
 
Registered: May 2008
Location: Chile - Viņa del Mar
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by yowi View Post
Check /var/log/Xorg.0.log for error messages (marked EE).

If it works for root you can't be far off.
Code:
zyndarius@DEATHNOTE:~$ cat /var/log/Xorg.0.log |grep EE
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
I did not get any error message :S
 
Old 11-18-2008, 01:31 AM   #11
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Quote:
Originally Posted by Zyndarius View Post
Direct Rendering: No (LIBGL_ALWAYS_INDIRECT Set)
I bet there's a clue there. Any idea why that env variable is set? Did you do it???
 
Old 11-18-2008, 05:52 PM   #12
Zyndarius
Member
 
Registered: May 2008
Location: Chile - Viņa del Mar
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by yowi View Post
I bet there's a clue there. Any idea why that env variable is set? Did you do it???
I have no idea. Actually I don't even know what does is mean, I mean, I have no idea where / how to edit that configuration in order to set something like "LIBGL_ALWAYS_DIRECT set" (if this does even exist). I don't know if that sentence of LIBGL_ALWAYS_INDIRECT set corresponds to a line of code in some file, or if libgl is a configurable file. I need serious help here, because the word LIBGL has been stalking me for quite a while

Salutations =)
 
Old 11-18-2008, 05:59 PM   #13
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
try:
Code:
unset LIBGL_ALWAYS_INDIRECT
glxinfo
 
  


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
On NFS, non-root users can move/rename files belonging to root. Stuart Morrow Linux - Server 2 11-05-2007 11:12 AM
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 08:32 AM
Different video drivers are loaded for root and non-root users triet Linux - Software 1 12-31-2004 02:20 PM
DRI / Xwindows / Only working as root? hjles Slackware 5 12-11-2003 04:52 PM
Users other than root? ludeKing Linux - Newbie 4 07-25-2003 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:37 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