 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

23rd February 2009, 05:32 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304

|
|
|
F10 + rpmfusion nVidia drivers, GL apps run only as root
This has been bugging me on and off for probably 18 months, I just never bothered investigating too far.
Background: I have two installs of F10, one on an nVidia powered laptop and one on a homebrew desktop with a GeForce 7600. Both up to date, both running rpmfusion's kmod nVidia package, both have compiz fusion (from Leigh's repo) running without a problem and neither will run GL programs unless I run the application as root.
More info: This will be somewhat rambling, I'll include pertinent info as it occurs to me. - SELinux - Both machines are in selinux permissive mode
- /dev permissions - neither machine correctly sets the permissions of /dev/nvidia* on console login, but setting the ownership to the console owner doesn't do any good (all the following problems are with the /dev/nvidia* ownership set to console owner). Something keeps resetting ownership back to root after several minutes.
- glxgears - Runs as root (~1200fps seems slow, but whatever) but as console owner reports "Error: couldn't get an RGB, Double-buffered visual"
- compiz-check - Fails with errors even though compiz runs, I'm pretty sure it's because of the following
- glxinfo - runs as root, reports "Error: couldn't find RGB GLX visual or fbconfig" as console owner
- xorg.conf - While following a different thread (http://fedoraforum.org/forum/showthread.php?t=212986) I made some mods to my conf as leigh was assisting the OP there, I'll attach it.
- Xorg.0.log - Contains a warning about type1 modules missing and an error that it couldn't load it, but glx loads and there are no other errors
- .xsession-errors - Some errors, but nothing that actually tells me anything, I'm attaching it to this post.
Code:
ebrunsonlx(~)$ ls -l /dev/nvidia*
crw-rw-rw- 1 ebrunson root 195, 0 2009-02-20 09:18 /dev/nvidia0
crw-rw-rw- 1 ebrunson root 195, 255 2009-02-20 09:18 /dev/nvidiactl
ebrunsonlx(~)$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig
ebrunsonlx(~)$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig
ebrunsonlx(~)$ glxgears
Error: couldn't get an RGB, Double-buffered visual
[status 1]
ebrunsonlx(~)$ sudo glxgears
6128 frames in 5.8 seconds = 1051.461 FPS
xorg.conf:
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder63) Tue Nov 4 14:08:09 PST 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules/drivers"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
DontZap
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 110M"
EndSection
Section "Screen"
# Removed Option "metamodes" "CRT: nvidia-auto-select +1440+0, DFP: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +1440+0, DFP: nvidia-auto-select @1440x1200 +0+0; CRT: null, DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
.xsession-errors:
Code:
imsettings information
==========================
Is DBus enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: yes
Is Qt supported: no
DESKTOP_SESSION: gnome
DISABLE_IMSETTINGS:
IMSETTINGS_DISABLE_DESKTOP_CHECK:
DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-4qzvq7rtY0,guid=8a317c4ce9bcf03ee5c32d4d499ed7e3
GTK_IM_MODULE:
QT_IM_MODULE:
XMODIFIERS: @im=imsettings
IMSETTINGS_MODULE: none
Started none
Window manager warning: Failed to read saved session file /home/ebrunson/.config/metacity/sessions/109fea3e81382a00cc123514673465545500000034560025.ms: Failed to open file '/home/ebrunson/.config/metacity/sessions/109fea3e81382a00cc123514673465545500000034560025.ms': No such file or directory
GSynaptics couldn't initialize.
You have to set 'SHMConfig' 'true' in xorg.conf or XFree86.conf to use GSynaptics
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
N: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:
N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
N: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
Acceleration key: disabled
*** Exiting...
XSETTINGS manager support is explicitly disabled.
20/02/2009 09:18:59 AM Autoprobing TCP port
20/02/2009 09:18:59 AM Autoprobing selected port 5900
20/02/2009 09:18:59 AM Advertising authentication type: 'VNC Authentication' (2)
20/02/2009 09:18:59 AM Advertising security type: 'VNC Authentication' (2)
[NetworkManager Warnings deleted]
** (nautilus:4100): WARNING **: Unable to add monitor: Not supported
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x300003b (Do)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
(/usr/libexec/gnome-screensaver-gl-helper:19902): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
(/usr/libexec/gnome-screensaver-gl-helper:19903): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
(/usr/libexec/gnome-screensaver-gl-helper:21307): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
(/usr/libexec/gnome-screensaver-gl-helper:21308): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
./googleearth-bin: error while loading shared libraries: ./libminizip.so: cannot restore segment prot after reloc: Permission denied
./googleearth-bin: error while loading shared libraries: ./libminizip.so: cannot restore segment prot after reloc: Permission denied
./googleearth-bin: error while loading shared libraries: ./librender.so: cannot restore segment prot after reloc: Permission denied
(gnome-terminal:14115): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException: 1
at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:227)
at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:72)
** Message: Unknown errno: No such process
(gnome-terminal:14115): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
(gnome-terminal:14115): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
** Message: Unknown errno: No such process
(/usr/libexec/gnome-screensaver-gl-helper:13729): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
(/usr/libexec/gnome-screensaver-gl-helper:13730): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
(/usr/libexec/gnome-screensaver-gl-helper:16048): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
(/usr/libexec/gnome-screensaver-gl-helper:16049): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
** Message: Unknown errno: No such process
** Message: Unknown errno: No such process
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3c00006 specified for 0x3c00004 (Initializi).
Any suggestions?
Last edited by brunson; 23rd February 2009 at 05:35 PM.
|

23rd February 2009, 06:55 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
|

23rd February 2009, 09:40 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304

|
|
|
Downloading it now.
Edit: Man, what's the rest of Italy doing while I'm using all their internet bandwidth? ;-)
|

24th February 2009, 08:14 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304

|
|
|
Unfortunately the new driver didn't help. I was still unable to run glxinfo as a normal user, but could as root. Plus, compiz stopped working. Was that the only thing that needed to be installed?
I'm beginning to wonder if it's something unrelated to the driver.
|

13th June 2009, 10:53 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304

|
|
|
Drumroll please... After almost a year of the problem and several hours looking at strace output: unset LD_LIBRARY_PATH.
I share my dot files across several architectures and some directories I had to function in Solaris were causing me to find some old libs on Linux. Sigh...
Thanks again for the help, I appreciate the time.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:24 (Sunday, 26-05-2013)
|
|
 |
 |
 |
 |
|
|