LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 02:50 PM   #1
renjith
Member
 
Registered: Jul 2003
Posts: 30

Rep: Reputation: 15
can't play chromium as non-root


I have a SiS graphics card under RedHat Linux 9.0 with basic
DRI graphics support and so I can play games like chromium. But I can only do this when I am root. When I am logged on as
normal user, Chromium is very, very slow in windowed mode. As root I can play chromium in fullscreen mode with no problems. I guess this is something to do with the permissions thing. Can someone pls help me on this?
 
Old 07-28-2003, 02:53 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try running it from a terminal and examinign the output was you go. It might print some error messages.
 
Old 07-29-2003, 09:35 PM   #3
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
To allow mortal users to access the DRI,
you need the following in your /etc/X11/XF86Config

Section "DRI"
Mode 0666
EndSection
 
Old 07-30-2003, 01:21 PM   #4
renjith
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
I did that. Still doesn't work.
 
Old 07-30-2003, 06:44 PM   #5
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Quote:
Originally posted by renjith
I did that. Still doesn't work.
How did it not work?

I do not mean to imply that it did not, but can you please provide a diagnosis of the non functioning of the program.

Did it give any warning or error messages?

Without any indication of what happened after you type

$ chromium <CarriageReturn>

it is impossible to provide any solution.

Have you ever had to have medical treatment?
Did you just say "My body is not functioning correctly" and expect
the doctor to instantly cure your ailment? No, you explained how the
problem came about and what symptoms it showed.

It's just the same with software that is ill, except the computer is
too stupid to be able to fix it's-self. :+)
 
Old 08-03-2003, 01:55 PM   #6
renjith
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
When I run chromium as root, I get the following:
randomizing.
SDL initialized.
video mode set (bpp=32 RGB=888 depth=32)
-OpenGL-----------------------------------------------------
Vendor : Brian Paul
Renderer : SiS 300/630/530 DR Mode
Version : 1.2 Mesa 3.4.2
Extensions : .....

But when I run as normal user, I get:
randomizing.
SDL initialized.
video mode set (bpp=32 RGB=888 depth=32)
-OpenGL-----------------------------------------------------
Vendor : Mesa project: www.mesa3d.org
Renderer : Mesa GLX Indirect
Version : 1.3 Mesa 4.0.4
Extensions : ..........

Any help from anyone on what to do with this would be appreciated.
 
Old 08-04-2003, 01:38 PM   #7
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Quote:
Originally posted by renjith

When I run chromium as root, I get the following:

Vendor : Brian Paul
Renderer : SiS 300/630/530 DR Mode
Version : 1.2 Mesa 3.4.2

But when I run as normal user, I get:

Vendor : Mesa project: www.mesa3d.org
Renderer : Mesa GLX Indirect
Version : 1.3 Mesa 4.0.4
So when you run chromium as a nornal user, you are not accessing the DRI and so it is using Mesa GLX software rendering.

When you are running chromium as normal user, have you done started X under that uers?

Can we see your /var/log/XFree86.0.log when you start X as root and when you start X as a normal user.

I maybe wrong, but I still think that this is a problem of permissions on the DRI.
 
Old 08-30-2003, 02:28 PM   #8
renjith
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Sorry for taking so long to reply, but in the meanwhile I managed to get an nvidia riva tnt2 32mb card and after that, now I am able to play chromium as non-root without any problems [I made no changes, except removing dri loading from my XF86Config].

With the SiS card, X reported an error with agpart. My kernel log said that agpart could not find any supported chipsets [VIA chipset].
Another thing: My SiS card is PCI. This is because unfortunately I don't have an AGP slot on this motherboard. Would that cause any problems?
 
Old 08-30-2003, 05:17 PM   #9
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
If your SIS card is PCI then X will not be able to support it with AGP since
it is not an AGP card. It is a most unhappy state of affairs not to have an
AGP slot on your motherboard which must be very old.

The NVIDIA linux drivers are well supported so that explains why you have no problems using an NVIDIA card.

It is good to hear that you got things working.
 
  


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
I can play music only as root. zahadumy Linux - Software 3 06-03-2005 05:01 AM
RealPlayer 10 only root can play jfabiani Linux - Software 2 10-06-2004 09:58 AM
Cannot play games as none root sendas4 Linux - General 1 09-30-2004 08:35 PM
Getting DVD to play as non-root r3dhatter Linux - Newbie 13 08-02-2004 04:24 AM
Only root can play sounds! eQualizer Linux - General 8 04-02-2004 09:44 AM


All times are GMT -5. The time now is 10:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration