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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-28-2003, 02:50 PM
|
#1
|
Member
Registered: Jul 2003
Posts: 30
Rep:
|
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?
|
|
|
07-28-2003, 02:53 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try running it from a terminal and examinign the output was you go. It might print some error messages.
|
|
|
07-29-2003, 09:35 PM
|
#3
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
To allow mortal users to access the DRI,
you need the following in your /etc/X11/XF86Config
Section "DRI"
Mode 0666
EndSection
|
|
|
07-30-2003, 01:21 PM
|
#4
|
Member
Registered: Jul 2003
Posts: 30
Original Poster
Rep:
|
I did that. Still doesn't work.
|
|
|
07-30-2003, 06:44 PM
|
#5
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
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. :+)
|
|
|
08-03-2003, 01:55 PM
|
#6
|
Member
Registered: Jul 2003
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
08-04-2003, 01:38 PM
|
#7
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
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.
|
|
|
08-30-2003, 02:28 PM
|
#8
|
Member
Registered: Jul 2003
Posts: 30
Original Poster
Rep:
|
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?
|
|
|
08-30-2003, 05:17 PM
|
#9
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|