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

Newegg Daily Deals

Thread Tools
Old 02-25-04, 04:36 PM   #1
Registered User
Join Date: Feb 2004
Posts: 1
Unhappy 5336 acceleration under Fedora core 1 ONLY AS ROOT

i am having a weird problem with the newest drivers: i only get hardware acceleration with root. that is, if i start X as a normal user and run glxgears, i get 75 fps. if i then su to root and run glxgears, i see 2700 fps!

since it is the same X session, i'd guess that the problem can't be with the XF86config.

both users appear to be using the same library (i.e., i am not setting LD_LIBRARY_PATH).

[root@localhost]# ldd `which glxgears`
libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x007ba000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00d9a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0023c000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00daa000)
libm.so.6 => /lib/tls/libm.so.6 (0x00d5e000)
libc.so.6 => /lib/tls/libc.so.6 (0x00101000)
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x00843000)
libdl.so.2 => /lib/libdl.so.2 (0x00d82000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0082d000)

[jonnyreb@localhost]$ ldd `which glxgears`
libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x006ed000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00d9a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0023c000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00daa000)
libm.so.6 => /lib/tls/libm.so.6 (0x00d5e000)
libc.so.6 => /lib/tls/libc.so.6 (0x00101000)
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x00843000)
libdl.so.2 => /lib/libdl.so.2 (0x00d82000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0082d000)

some system info:

Fedora Core 1, 2.4.22-1.2149.nptl

5336 driver installed from NVIDIA-Linux-x86-1.0-5336-pkg1.run

glxinfo reports:

direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5600/AGP/SSE2
OpenGL version string: 1.4.1 NVIDIA 53.36

the libraries seem OK:

[root@localhost]# ls -l /usr/lib/tls/libGL.*
-rw-r--r-- 1 root root 657 Feb 25 16:37 /usr/lib/tls/libGL.la
lrwxrwxrwx 1 root root 10 Feb 25 16:37 /usr/lib/tls/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 17 Feb 25 16:37 /usr/lib/tls/libGL.so.1 -> libGL.so.1.0.5336
-rwxr-xr-x 1 root root 367332 Feb 25 16:37 /usr/lib/tls/libGL.so.1.0.5336

this seems similar to another thread (http://www.nvnews.net/vbulletin/show...threadid=23398), but the poster did not mention anything about running glxgears as the root user.

any help would be greatly appreciated.


jonnyreb is offline   Reply With Quote
Old 02-26-04, 10:50 PM   #2
Electrical Engineer
LordMorgul's Avatar
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872

Capture and then diff the glxinfo output to be certain its the same from both users. That may give you clues. I would expect glxgears to report an error about permissions, but you might check that the dev files have adequately open perms for your user.
ls -al /dev/nvidia*

They may be all owned by your user if PAM is modifying ownership of the files, or they could be all owned by root. If root owns them you'll need read and write perm to the files for world:
chmod 777 /dev/nvidia*

This issue is in the readme appendices, you might look there for more info if this seems to be the problem.

Next possibility:
You're actually linking to Mesa libs when running as user, rather than nvidia libs. Haven't tried running as root when Mesa was in the way, but I typically remove

(install it to the database without the files if other rpms complain at you.. ugly hack but it works)
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 02-28-04, 10:58 AM   #3
Registered User
Join Date: Dec 2003
Posts: 13

check out that thread that you linked to again - i made some posts that should help you out big time
i had the same issue with fedora core 1 - and by deleting/renaming/relocating the libGL files everything began to run fine - bizzare but true.
you'lll find out what to do in that thread, and from the links in there.
good luck!!
hooby is offline   Reply With Quote

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
Intel's Ivy Bridge Core i7 3770K Overheating Issue Detailed News Archived News Items 0 05-16-12 10:40 AM
CPUMark99 - how do you compare fuelrod Benchmarking And Overclocking 66 07-19-11 08:32 AM
Major WineX prob... I think it has to do with the vidcard... Linewbie NVIDIA Linux 20 10-09-02 09:58 PM

All times are GMT -5. The time now is 07:24 PM.

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