Fedora Linux Support Community & Resources Center
  #1  
Old 23rd February 2009, 05:32 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
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?
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy

Last edited by brunson; 23rd February 2009 at 05:35 PM.
Reply With Quote
  #2  
Old 23rd February 2009, 06:55 PM
leigh123linux
Guest
 
Posts: n/a
Give this driver a go.

http://forums.fedoraforum.org/showpo...79&postcount=3
Reply With Quote
  #3  
Old 23rd February 2009, 09:40 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
Downloading it now.

Edit: Man, what's the rest of Italy doing while I'm using all their internet bandwidth? ;-)
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #4  
Old 24th February 2009, 08:14 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
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.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #5  
Old 13th June 2009, 10:53 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
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.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
Reply

Tags
apps, drivers, f10, nvidia, root, rpmfusion, run

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
FC11 nVidia No Sound After RPMFusion nVidia Driver Load basimmer Using Fedora 0 16th October 2009 12:46 AM
F11 Howto for the rpmfusion nvidia drivers leigh123linux Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 66 6th June 2009 07:23 PM
Connecting to HD-TV with HDMI and nvidia driver from rpmfusion. Perty Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 6 20th April 2009 10:10 PM
Nvidia drivers: RPMfusion vs Nvidia? NitroPress Installation, Upgrades and Live Media 6 29th December 2008 07:15 AM
[Notice] Fedora 9 and Livna, RPMFusion, nVidia+Catalyst drivers Firewing1 Fedora Focus 100 30th May 2008 11:20 PM


Current GMT-time: 22:20 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Yoichi - Langford Travel Photos on Instagram - Stara Pazova