Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-22-03, 05:22 AM   #1
jepylu
Registered User
 
Join Date: Apr 2003
Posts: 7
Default help: non-root user cannot use gl

how do i enable the opengl as a non-root user?
after applying the kt400 work around opengl and other stuff run fine on x windows. but when i login as non-root user opengl applications/screensavers wont work.
is there something wrong with the permissions?
i'd really appreciate your help! thanks
__________________
d[0_0]b
jepylu is offline   Reply With Quote
Old 04-22-03, 08:39 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

There might be something wrong with permissions... what do the GL programs/screensavers/whatever actually tell you when you try to run them?

Run them from a terminal.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-02-03, 01:17 PM   #3
walter
Registered User
 
Join Date: May 2003
Location: Belgium
Posts: 1
Default similar problem

Quote:
Originally posted by bwkaz
There might be something wrong with permissions... what do the GL programs/screensavers/whatever actually tell you when you try to run them?

Run them from a terminal.
I seem to have a similar problem, I'm using the drivers on a GeForce4 Go (Dell Inspiron 8500). X runs fine even with 4XAGP, but OpenGL applications (glxgears for example) just segfault or abort when I try to run them as a non-root user. system and X logs don't report anything unusual (and the GLX extension initializes). As root there's no problem. the permisions for the /dev/nvidia* files are set to 0666 and owned by root.root
I use a 2.4.21-rc1 kernel and nvidia drivers: 4363.

In the documentation I read that it might be a permission problem caused by pam. I use a kdm compiled with pam for graphical logins, however I do not have the pam module that might cause problems installed. Also the problem remains when I start x from a text console after using a login without pam support
also I have successfully used openGL applications on as non-root user on the same linux image, but with kernel 2.4.20 and nvidia drivers 2960 and a GeForce2 GTS. Permissions of other /dev entries seem to work fine...so I'm not sure if it really is a pam problem.
Resorting back to the old drivers might have been a solution, if they'd support the GeForce4Go.

I'm quite stuck, any help is appreciated.

Greetz,
Walter
walter is offline   Reply With Quote
Old 05-02-03, 05:12 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Try reverting your kernel version maybe? See if you can find the .config file that you used for 2.4.20, too...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-03-03, 01:53 AM   #5
jepylu
Registered User
 
Join Date: Apr 2003
Posts: 7
Default

thanks. anyways ive fixed the problem but another problem came out. fonts for openoffice and konqueror suddenly became gigantic when using the nvidia driver. when i revert back to nv everythings fine
__________________
d[0_0]b
jepylu is offline   Reply With Quote
Old 05-03-03, 07:17 AM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

What was the fix? (so that others searching can find it )

As for the font issue, that sounds like a DPI thing. The fastest way to fix it is to lower the font size in your DE or WM. The issue, I believe, is that the opensource "nv" X driver always reports a DPI of 75x75 (I haven't checked this assumption directly, but keep reading), and when you install the "nvidia" X driver, it reports the real DPI (which is probably closer to 100x100), which it finds by querying the monitor over DDC or EDID or one of those.

The reason I think the "nv" X driver always reports 75x75 is, if you force the "nvidia" driver to report 75x75 (by using a DisplaySize line in your Monitor section), the fonts go back to "normal" size.

The way you calculate the DisplaySize is, take the resolution you run at, and divide each dimension by 75. Then convert from inches to millimeters (mult. by 25.4), and use those numbers in a line like so:

DisplaySize xxx yyy

in your Monitor section. But rather than forcing an incorrect DPI, you'd probably be better off decreasing the font size. Or maybe forcing your distro to use the "vesa" driver instead during installation, that way it'll set up the font sizes closer to the way they should be (AFAIK the vesa driver does detect DPI correctly).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-03-03, 09:00 AM   #7
jepylu
Registered User
 
Join Date: Apr 2003
Posts: 7
Default

I just followed the readme.

chmod 0666 /dev/nvidia*
chown root /dev/nvidia*

This is what i did after the kt400 workaround then it worked.
__________________
d[0_0]b
jepylu is offline   Reply With Quote
Old 05-06-03, 08:04 AM   #8
jepylu
Registered User
 
Join Date: Apr 2003
Posts: 7
Default

Thanks alot. Everything is working now. Ive set my displaysize to 320 by 240 since im on 1280x1024. I think the main prob is my monitor just sucks.
__________________
d[0_0]b

Last edited by jepylu; 05-06-03 at 08:16 AM.
jepylu is offline   Reply With Quote

Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Response : PR Response to Linus Torvald's Inflammatory Comments Blackcrack NVIDIA Linux 16 06-29-12 04:57 AM
July HPC User Forums in London and Stuttgart News Archived News Items 0 05-21-12 12:00 PM
Major WineX prob... I think it has to do with the vidcard... Linewbie NVIDIA Linux 20 10-09-02 09:58 PM
Missing GL extensions barole NVIDIA Linux 4 10-08-02 10:25 PM
Mandrake 8.2 cannot get NVdriver to load. dbhost NVIDIA Linux 20 08-18-02 11:35 AM

All times are GMT -5. The time now is 11:21 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.