Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-12-07, 07:38 AM   #1
nickhilliard
Registered User
 
Join Date: Jan 2007
Posts: 4
Default GLX causes X server crash on Geforce6600+6.1-RELEASE-p3+xorg6.9.0+nv1.0.9746

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
Attached Files
File Type: txt xorg.conf.txt (4.2 KB, 180 views)
File Type: log Xorg.0.log (24.2 KB, 174 views)
nickhilliard is offline   Reply With Quote
Old 01-12-07, 07:51 AM   #2
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default 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
adamk75 is offline   Reply With Quote
Old 01-12-07, 08:04 AM   #3
nickhilliard
Registered User
 
Join Date: Jan 2007
Posts: 4
Default 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
nickhilliard is offline   Reply With Quote
Old 01-12-07, 08:09 AM   #4
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default 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.
adamk75 is offline   Reply With Quote
Old 01-12-07, 08:42 AM   #5
nickhilliard
Registered User
 
Join Date: Jan 2007
Posts: 4
Default 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
nickhilliard is offline   Reply With Quote
Old 01-12-07, 10:40 AM   #6
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default 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
adamk75 is offline   Reply With Quote
Old 01-12-07, 11:01 AM   #7
walrus
Registered User
 
Join Date: Dec 2005
Posts: 25
Default 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 :-(
__________________
Fred, Ph.D
walrus is offline   Reply With Quote
Old 01-12-07, 11:10 AM   #8
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default 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.
SirDice is offline   Reply With Quote

Old 01-15-07, 04:37 AM   #9
nickhilliard
Registered User
 
Join Date: Jan 2007
Posts: 4
Default 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
nickhilliard is offline   Reply With Quote
Reply


Thread Tools

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
Glx mrbig1344 NVIDIA Linux 7 09-30-02 06:45 AM

All times are GMT -5. The time now is 03:10 AM.


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