View previous topic :: View next topic |
Author |
Message |
bendy Apprentice
Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Sun Mar 26, 2006 5:51 pm Post subject: broken nvidia glx after upgrade? |
|
|
Hi,
there are a few threads around concerning nvidia problems, but none are quite the same as mine:
Code: | nickdesk nick # glxgears
glxgears: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory |
Extracts from the xorg log:
Code: | -snip-
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: libGLcore.so.1: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)
-snip-
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.8178
Module class: XFree86 Video Driver
-snip-
(II) NVIDIA X Driver 1.0-8178 Wed Dec 14 17:00:52 PST 2005
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
-snip-
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NvAGP" "2"
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Option "IgnoreDisplayDevices" "CRT, TV"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "true"
(**) NVIDIA(0): Enabling experimental RENDER acceleration
(**) NVIDIA(0): Use of AGPGART requested
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0): log file that the GLX module has been loaded in your X
(EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
(EE) NVIDIA(0): you continue to encounter problems, Please try
(EE) NVIDIA(0): reinstalling the NVIDIA driver.
(--) NVIDIA(0): Linear framebuffer at 0xD8000000
(--) NVIDIA(0): MMIO registers at 0xE8000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce4 Ti 4200
(--) NVIDIA(0): VideoBIOS: 04.25.00.30.00
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): VideoRAM: 65536 kBytes
-snip-
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
-snip- |
I have used the following:
Code: | nickdesk log # eselect opengl set nvidia
Switching to nvidia OpenGL interface... done |
Everything worked fine until today when I did a bunch of updates including the latest stable kernel gentoo-sources-2.6.15-r7, and the latest nvidia-kernel and nvidia-glx. I have an amd64 system.
I have tried re-emerging xorg-x11-6.8.2-r6, and that doesn't help.
According to ldconfig -p, libGL.so.1 does exist:
Code: | libGL.so.1 (libc6) => /usr/lib32/opengl/nvidia/lib/libGL.so.1 |
and the nvidia module is loaded:
Code: | nickdesk log # lsmod
Module Size Used by
nvidia 4851152 8
snd_pcm_oss 49952 0
snd_mixer_oss 16128 1 snd_pcm_oss
snd_seq_oss 31616 0
snd_seq_midi_event 6848 1 snd_seq_oss
snd_seq 50944 4 snd_seq_oss,snd_seq_midi_event
snd_via82xx 23776 1
snd_ac97_codec 102488 1 snd_via82xx
snd_ac97_bus 2432 1 snd_ac97_codec
snd_pcm 83660 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 20744 2 snd_seq,snd_pcm
snd_page_alloc 9424 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6464 1 snd_via82xx
snd_rawmidi 22624 1 snd_mpu401_uart
snd_seq_device 7952 3 snd_seq_oss,snd_seq,snd_rawmidi |
Any suggestions anyone? |
|
Back to top |
|
|
benzoate n00b
Joined: 24 Jan 2005 Posts: 5
|
Posted: Sun Mar 26, 2006 7:59 pm Post subject: use the drivers from nvidia |
|
|
I would try the drivers from nvidia. I have never got the emerged nvnidia drivers to work. Just my personal expierence. |
|
Back to top |
|
|
trashman n00b
Joined: 14 Mar 2006 Posts: 22 Location: Cleveland, OH
|
Posted: Sun Mar 26, 2006 8:25 pm Post subject: |
|
|
I upgraded to nvidia-glx-1.0.8178-r1 yesterday. Before then, all was well. Now things are broken. Xorg log says "(EE) NVIDIA(0): Failed to initialize the GLX module". Same as bendy's. Although my glxinfo says "Error: couldn't find RGB GLX visual". Nothing about libGL. |
|
Back to top |
|
|
trashman n00b
Joined: 14 Mar 2006 Posts: 22 Location: Cleveland, OH
|
Posted: Sun Mar 26, 2006 8:28 pm Post subject: |
|
|
Oh, and I also have an amd64 system. |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun Mar 26, 2006 8:59 pm Post subject: |
|
|
nvidia-glx-1.0.8178-r1 changed the path to where the module is installed. It is now installed to: /usr/lib/opengl/nvidia/extensions/libglx.so
Can you please post your xorg.conf so I can see if there is a path problem?
Also, please give the output of this:
equery files nvidia-glx | grep libglx.so |
|
Back to top |
|
|
lomi n00b
Joined: 09 Jan 2003 Posts: 73
|
Posted: Mon Mar 27, 2006 9:01 am Post subject: |
|
|
I have the same problem
Code: | localhost lomi # equery files nvidia-glx | grep libglx.so
/usr/lib/opengl/nvidia/extensions/libglx.so |
Code: | Section "Module"
Load "dbe" # Double buffer extension
Load "vbe"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "bitmap"
Load "type1"
Load "freetype"
Load "glx"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
# FontPath "/usr/share/fonts/Speedo/"
# FontPath "/usr/share/fonts/TrueType/"
# FontPath "/usr/share/fonts/freefont/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
# Option "NoTrapSignals"
# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.
# Option "DontVTSwitch"
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
# Option "DontZap"
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
# Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
# Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client.
# Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
# Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
# Option "AllowNonLocalModInDev"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for Xorg
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
# Mouse-speed setting for PS/2 mouse.
# Option "Resolution" "256"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "My Monitor"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 31.5 - 82.0
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 50-90
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.
# Chipset "generic"
# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
# Device configured by xorgconfig:
Section "Device"
Identifier "** NVIDIA (generic) [nv]"
Driver "nvidia"
Option "NoLogo" "1"
#VideoRam 131072
# Insert Clocks lines here if appropriate
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "** NVIDIA (generic) [nv]"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
# Section "DRI"
# Mode 0666
# EndSection
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection
|
|
|
Back to top |
|
|
pgolik Tux's lil' helper
Joined: 24 Nov 2004 Posts: 125 Location: Warsaw, Poland
|
Posted: Mon Mar 27, 2006 9:44 am Post subject: |
|
|
There were problems caused by incompatibility with some versions of eselect, which didn't create the required symlinks.
Try downgrading your eselect to previous stable, or perhaps upgrading to a test version and see if that helps.
Or you can locate the missing library and manually symlink it to a directory in your library path.
Pawel |
|
Back to top |
|
|
bendy Apprentice
Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Mon Mar 27, 2006 6:21 pm Post subject: |
|
|
As requested by nesl247:
Code: | Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
# FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
# FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "bitmap"
Load "freetype"
# Load "speedo"
Load "type1"
Load "vbe"
Load "int10"
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
Section "InputDevice"
Identifier "Default Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Default Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
#Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "nVidia Corporation NV25 [GeForce4 Ti 4200]"
Driver "nvidia"
VideoRam 65536
Option "IgnoreDisplayDevices" "CRT, TV"
Option "NvAGP" "2"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
Section "Monitor"
VendorName "001e"
ModelName "SAM"
Identifier "001e:SAM"
HorizSync 30-81
VertRefresh 56-85
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV25 [GeForce4 Ti 4200]"
Monitor "001e:SAM"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Default Keyboard"
InputDevice "Default Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection |
and
Code: | nickdesk nick # equery files nvidia-glx | grep libglx.so
/usr/lib64/opengl/nvidia/extensions/libglx.so |
|
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Mon Mar 27, 2006 7:50 pm Post subject: |
|
|
I am wondering if the new path that it gets installed to doesn't work without Xorg-7 |
|
Back to top |
|
|
Stormblazer Tux's lil' helper
Joined: 28 Jan 2005 Posts: 76 Location: Colorado
|
Posted: Tue Mar 28, 2006 12:20 am Post subject: Re: use the drivers from nvidia |
|
|
benzoate wrote: | I would try the drivers from nvidia. I have never got the emerged nvnidia drivers to work. Just my personal expierence. |
The emerged nvidia drivers ARE the ones from nvidia, they simply plugged it into emerge and separated it into a section for GLX and the kernel driver.
That said, I would try re-compiling the kernel and then re-emerging nvidia-kernel and nvidia-glx, especially if one of those updates was the recent gcc update. |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Tue Mar 28, 2006 1:24 am Post subject: |
|
|
Just re-sync and re emerge nvidia-glx, then you might have to do an "eselect opengl set nvidia" since whatever changed or broke seems to have selected xorg-x11 as the opengl component even when emerging nvidia-glx. I noticed this yesterday and the bug I found mentions this issue but says the revision fixes it but I guess it broke it first. _________________ #gentoo-kde on freenode |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Wed Mar 29, 2006 7:48 pm Post subject: |
|
|
Having the same issue. Re-emerging nvidia-glx and nvidia-kernel made no difference.
Is there a fix for this?
*EDIT*
Bah, I'll just degrade for a few revisions.
*EDIT*
Rolling back drivers helps nothing. _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Mar 30, 2006 1:19 am Post subject: |
|
|
After re-emerging I had to do Code: | eselect opengl set nvidia | manually to fix the problem ...
HTH
swimmer |
|
Back to top |
|
|
lomi n00b
Joined: 09 Jan 2003 Posts: 73
|
Posted: Thu Mar 30, 2006 1:53 am Post subject: |
|
|
somehow composite at the end of my xorg.conf got uncommented... recommenting that stuff out fixed it for me |
|
Back to top |
|
|
Ian l33t
Joined: 28 Oct 2002 Posts: 834 Location: Somerville, MA
|
Posted: Thu Mar 30, 2006 2:42 am Post subject: |
|
|
swimmer wrote: | After re-emerging I had to do Code: | eselect opengl set nvidia | manually to fix the problem ...
HTH
swimmer |
When I try that it complains about sed not existing. Sed is installed on my computer...but not in /usr/bin/sed. Then it complains about failing to create /usr/lib32/libGL.la.
Trying to start mythtv (backend or frontend) results in the error about libGL not existing. |
|
Back to top |
|
|
Ian l33t
Joined: 28 Oct 2002 Posts: 834 Location: Somerville, MA
|
Posted: Thu Mar 30, 2006 2:46 am Post subject: |
|
|
...nevermind.
I just symlinked /bin/sed to /usr/bin/sed and redid the eselect line, works fine now. No clue as to why it was looking in a different place for sed... |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Thu Mar 30, 2006 3:34 pm Post subject: |
|
|
swimmer wrote: | After re-emerging I had to do Code: | eselect opengl set nvidia | manually to fix the problem ...
HTH
swimmer |
That didn't fix it either.
*EDIT*
I did a few command lines to show what I have set and to make sure I'm doing this right:
Code: | bigun@64lappy ~ $ glxinfo
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object
file: No such file or directory
bigun@64lappy ~ $ equery files nvidia-glx | grep libglx.so
*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.
/usr/lib64/opengl/nvidia/extensions/libglx.so
bigun@64lappy ~ $ su
Password:
64lappy bigun # eselect opengl set nvidia
Switching to nvidia OpenGL interface... done
64lappy bigun # exit
bigun@64lappy ~ $ glxinfo
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared ob
ject file: No such file or directory
bigun@64lappy ~ $ su
Password:
64lappy bigun # emerge -p nvidia-kernel nvidia-glx
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] media-video/nvidia-kernel-1.0.8178-r3
[ebuild R ] media-video/nvidia-glx-1.0.8178-r1
64lappy bigun # emerge --info
Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-ge
ntoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defau
lts/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://sync.cybergrunge.com/gentoo-portage"
USE="X acpi aim alsa amd64 apache2 audiofile avi bash-completion berkdb bitmap-f
onts bluetooth bonobo bzip2 cdb cdr crypt cups curl dbase dga divx4linux doc dri
dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac flas
h foomaticdb fortran freetype ftp gb gd gif glut gnome gphoto2 gpm gstreamer gtk
gtk2 gtkhtml icq idn imagemagick imlib ipv6 jabber java javascript joystick jpe
g kde lcms lzw lzw-tiff mad mng motif mozilla mp3 mpeg msn ncurses nls nsplugin
nvidia ogg oggvorbis opengl oscar oss pam pcmcia pcre pda pdflib perl php png pn
p python qt quicktime readline real recode samba scanner sdl smartcard speex spe
ll ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vcd videos vorbis
wifi xine xinerama xml xml2 xmms xpm xv xvid yahoo zlib userland_GNU kernel_linu
x elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
|
_________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
bendy Apprentice
Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Fri Mar 31, 2006 5:48 pm Post subject: |
|
|
I have re-emerged nvidia-glx (and nvidia-kernel) and used eselect, and I still have the problem. Is this an amd64 problem only? What archs are people running? Are the paths installed correctly for a 64 bit system? |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Sat Apr 01, 2006 2:16 pm Post subject: |
|
|
bendy wrote: | I have re-emerged nvidia-glx (and nvidia-kernel) and used eselect, and I still have the problem. Is this an amd64 problem only? What archs are people running? Are the paths installed correctly for a 64 bit system? |
It may be, I'm running AMD64 myself, perhaps eselect doesn't recognize an AMD64 arch?
I'll start a thread in the AMD64 section.
*EDIT*
Go here.
*EDIT*
Fix for AMD64 users is there. _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
ferdemoncel n00b
Joined: 30 Apr 2005 Posts: 8
|
Posted: Mon Apr 10, 2006 4:58 pm Post subject: |
|
|
firephoto wrote: | Just re-sync and re emerge nvidia-glx, then you might have to do an "eselect opengl set nvidia" since whatever changed or broke seems to have selected xorg-x11 as the opengl component even when emerging nvidia-glx. |
Thanks This fixed the problem .. |
|
Back to top |
|
|
ocZer n00b
Joined: 28 Jun 2005 Posts: 36 Location: Drammen, Norway
|
Posted: Tue Apr 11, 2006 3:55 pm Post subject: |
|
|
I am using the official nvidia installer from their web page on an athlon xp system and I am also getting this error. Code: | oczer@odin ~ $ glxgears
glxgears: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
| I recently did a "emerge world deep" update on my system, but glx worked up till then. BTW, whats eselect?
update:
I emerged eselect and tried doing Code: | odin oczer # eselect opengl set nvidia
!!! Error: Can't load module opengl
exiting.
|
As you can see, it did not help much. _________________ kernel 2.6.36-gentoo-r5 x86_64 - Acer 4820tg laptop |
|
Back to top |
|
|
Arrta Tux's lil' helper
Joined: 09 Nov 2003 Posts: 106
|
Posted: Thu Apr 13, 2006 12:42 pm Post subject: |
|
|
Ian wrote: | ...nevermind.
I just symlinked /bin/sed to /usr/bin/sed and redid the eselect line, works fine now. No clue as to why it was looking in a different place for sed... |
Why is it the simple answers never come to me on my own?
Thanks Ian lol |
|
Back to top |
|
|
|