nvidia "glXCreateContext failed"

Bug #570394 reported by netskaven
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

No GLX extension after update to Kubuntu Lucid RC form Kubuntu Karmic (AMD64 both). I reinstalled driver and try to use jockey to configure it but it don't work.

# glxinfo
Error: glXCreateContext failed

# jockey
This driver is activated but not currently in use

# cat /var/log/Xorg.0.log
...
(**) Apr 26 20:59:18 NVIDIA(0): Enabling RENDER acceleration
(EE) Apr 26 20:59:18 NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) Apr 26 20:59:18 NVIDIA(0): log file that the GLX module has been loaded in your X
(EE) Apr 26 20:59:18 NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
(EE) Apr 26 20:59:18 NVIDIA(0): you continue to encounter problems, Please try
(EE) Apr 26 20:59:18 NVIDIA(0): reinstalling the NVIDIA driver.
...

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: nvidia-current 195.36.15-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CurrentDmesg:
 [ 25.334827] ppdev: user-space parallel port driver
 [ 27.000033] eth0: no IPv6 routers present
 [ 41.147307] CPUFREQ: Per core ondemand sysfs interface is deprecated - up_threshold
Date: Mon Apr 26 21:51:47 2010
DkmsStatus: nvidia-current, 195.36.15, 2.6.32-21-generic, x86_64: installed
MachineType: MEDIONPC MS-7358
ProcCmdLine: root=/dev/mapper/systemvg-rootlv ro quiet splash
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: nvidia-graphics-drivers
dmi.bios.date: 08/06/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7358
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.board.version: Fab D
dmi.chassis.type: 3
dmi.chassis.vendor: OEM
dmi.chassis.version: OEM
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd08/06/2007:svnMEDIONPC:pnMS-7358:pvrOEM:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7358:rvrFabD:cvnOEM:ct3:cvrOEM:
dmi.product.name: MS-7358
dmi.product.version: OEM
dmi.sys.vendor: MEDIONPC
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-21-generic

Revision history for this message
netskaven (netskaven) wrote :
Bryce Harrington (bryce)
tags: added: kubuntu
Revision history for this message
Wojciech Latkowski (magik17l) wrote :

Same thing for me on Lubuntu 10.04 Beta 3
Card: Geforce 5200 FX
nvidia-173 173.14.22-0ubuntu11

Revision history for this message
Wojciech Latkowski (magik17l) wrote : apport information

Architecture: i386
CurrentDmesg:
 [ 18.483777] ppdev: user-space parallel port driver
 [ 18.886084] agpgart-via 0000:00:00.0: AGP 3.5 bridge
 [ 18.886114] agpgart-via 0000:00:00.0: putting AGP V3 device into 8x mode
 [ 18.886184] nvidia 0000:01:00.0: putting AGP V3 device into 8x mode
 [ 28.444022] eth0: no IPv6 routers present
DistroRelease: Ubuntu 10.04
DkmsStatus: nvidia-173, 173.14.22, 2.6.32-21-generic, i686: installed
InstallationMedia: Lubuntu 10.04 "Lucid Lynx" - Beta 2 i386 (20100408)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
NonfreeKernelModules: nvidia
Package: nvidia-graphics-drivers (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=6fc636ba-7396-40b0-891f-65ef5b2f8c4a ro quiet splash
ProcEnviron:
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Tags: lucid lucid
Uname: Linux 2.6.32-21-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/14/2003
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.30
dmi.board.name: P4VX4
dmi.board.version: 2.00
dmi.chassis.asset.tag: 00000000
dmi.chassis.type: 3
dmi.chassis.version: X.XX
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.30:bd10/14/2003:svn:pnP4VX4:pvr2.00:rvn:rnP4VX4:rvr2.00:cvn:ct3:cvrX.XX:
dmi.product.name: P4VX4
dmi.product.version: 2.00
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-21-generic

tags: added: apport-collected
Revision history for this message
Wojciech Latkowski (magik17l) wrote : BootDmesg.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : Lspci.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : PciDisplay.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : ProcModules.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : UdevDb.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : UdevLog.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : XorgConf.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : XorgLog.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : XorgLogOld.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : Xrandr.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : glxinfo.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : setxkbmap.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : xdpyinfo.txt

apport information

Revision history for this message
Wojciech Latkowski (magik17l) wrote : xkbcomp.txt

apport information

Revision history for this message
Robert Hooker (sarvatt) wrote :

(II) Loading /usr/lib/xorg/modules/extensions/libglx.so

You aren't using the nvidia libglx which is most likely caused by how you installed it. The easiest way to fix it is remove nvidia-current (sudo apt-get purge nvidia-current) and then reactivate it in jockey while it is uninstalled (don't install it through a package manager first!). If that doesn't work, you can fix it manually by

sudo update-alternatives --config gl_conf (pick the nvidia option here)
sudo ldconfig
sudo update-initramfs -u
move your /etc/X11/xorg.conf out of the way (sudo mv /etc/X11/xorg.conf /etc/X11/xorg.bak) and run this to create a new one
sudo nvidia-xconfig

If both options fail then please attach your /var/log/jockey.log

Robert Hooker (sarvatt)
Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Incomplete
Revision history for this message
netskaven (netskaven) wrote :

Solved with the manual operation, thanks

Revision history for this message
Robert Hooker (sarvatt) wrote :

Can you give any more insight on how you came to that situation? It seems to be a really common problem. Have you manually installed the drivers from nvidia.com or from another PPA previously on karmic? Can you attach your /var/log/dpkg.log and /var/log/apt/term.log for further inspection?

Revision history for this message
Robert Hooker (sarvatt) wrote :

Ah nevermind, I see the problem. In your old xorg.conf you had Modulepath "/usr/lib/xorg/modules" so the nvidia libglx thats in /usr/lib/xorg/extra-modules never got loaded. It was just an issue with your old xorg.conf.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
netskaven (netskaven) wrote :

Mmmm...

nVidia was working a lot of time with that xorg.conf (around 3 or 4 kubuntu versions without clean re-install) so I think that's an interesing problem. Anyway the problem begun with the update to Lucid. Maybe problem with the new packaging of nvidia drivers in update?. I changed the kernel today too (-22)...

Revision history for this message
Rocko (rockorequin) wrote :

I've noticed that if you install from the nvidia installer from nvidia's webiste, it sets up libglx.so as a symbolic link (eg /usr/lib/xorg/modules/extensions/libglx.so -> libglx.so.256.35), but xserver package upgrades will overwrite this link with a non-nvidia library. This then stops 3d effects from working until you reinstall the nvidia drivers (or manually correct the link). Could the same thing be happening to the jockey installation?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.