nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746 (http://www.nvnews.net/vbulletin/showthread.php?t=84103)

nickhilliard 01-12-07 07:38 AM

GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
2 Attachment(s)
It seems that the combination above causes GLX to break horribly on my box. GLX is not initialised properly by X, and a warning appears in /var/log/Xorg.0.log:

Code:

(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 6.9.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
...
(**) NVIDIA(0): Enabling RENDER acceleration
(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.
(II) NVIDIA(0): NVIDIA GPU GeForce 6600 at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.43.02.16.c3

The X server starts normally, but if I execute any GLX application (e.g. glxgears), the screen goes into text mode, the X process starts chewing up 100% CPU and the keyboard becomes non-responsive. The only way to recover control of the machine is to log in remotely and issue SIGKILL to the X server process.

configuration:
  • freebsd 6.1-RELEASE-p3
  • xorg - 6.9.0
  • nvidia driver 1.0.9746
  • club3D Geforce 6600/256 (not GT)
This is on a clean re-compile of all relevant ports from scratch on an effectively clean box (i.e. all ports nuked beforehand). If I downgrade to the 1.0-8776 driver, it all works fine.

xorg.conf + log file attached.

suggestions? How can I get extra debug information which could be used for diagnosis?

-nick

adamk75 01-12-07 07:51 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
According to your log file, you're loading the glx extension that comes with Xorg, not the one from the nvidia driver.

(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.9.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2

Did you install the driver from the ports tree?

Adam

nickhilliard 01-12-07 08:04 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
Quote:

Originally Posted by adamk75
Did you install the driver from the ports tree?

yes, i installed the nv1.0.9746 driver from ports.

-nick

adamk75 01-12-07 08:09 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
Well, I suggest moving the Xorg libglx out of the way, and linking the nVidia glx (wherever the port installed it to) to the proper location.

nickhilliard 01-12-07 08:42 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
Quote:

Originally Posted by adamk75
Well, I suggest moving the Xorg libglx out of the way, and linking the nVidia glx (wherever the port installed it to) to the proper location.

if I shut down X, unload the 1.0.9746 nvidia.ko kernel module, then load the 1.0-8776 module and restart X, everything works fine. this would suggest it's not a library problem.

-nick

adamk75 01-12-07 10:40 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
I don't care what it suggests :-) Unless your Xorg log file is lying, you're still loading the Xorg GLX library, which is a big no-no.

Adam

walrus 01-12-07 11:01 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
Hi,

don't know if releated, but the latest release 9746 freezes definitely my freebsd box (6.2).
Had to go back to the 9631.

PS : I have the same problem with my linux (etch) boxes, and same fix :-(

SirDice 01-12-07 11:10 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
I agree with adamk75, Xorg is loading the wrong glx module.

I had it happen once too, I solved it by pkg_delete nvidia-driver-1.0.9746_1[*], rm -rf /var/db/ports/nvidia-driver/ (this removes previously set build options). Also have a look in /usr/X11R6/lib/modules/, drivers and extensions, remove any leftover XXX-* files.

Then rebuild & reinstall the nvidia-driver, cd /usr/ports/x11/nvidia-driver/ && make all install clean.

[*] replace with your installed version, have a look in /var/db/pkg/ to see which one is installed.

nickhilliard 01-15-07 04:37 AM

Re: GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746
 
Quote:

Originally Posted by SirDice
Also have a look in /usr/X11R6/lib/modules/, drivers and extensions, remove any leftover XXX-* files.

It turned out that this was the problem after all. Thanks for the suggestion.

-nick


All times are GMT -5. The time now is 01:44 AM.

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