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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-25-09, 08:34 AM   #1
crakie
Registered User
 
Join Date: Jan 2007
Posts: 13
Default GLX does not initialize anymore on dual X-server setup

In Ubuntu Intrepid (with NVIDIA kernel module 177.xx) I ran a dual X-server setup (i.e. NOT a dual screen on the same server) so I could simultaneously use my Hauppauge tv-cards tv-out (with IVTV framebuffer) AND run a composited screen on my monitor. This worked perfectly.

Today, I upgraded to Ubuntu Jaunty, which by default uses kernel module 180.44 and found my screen is not composited anymore. From Xorg.0.log:

Code:
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
It has something to do with another X server running, because if I generate a single head xorg.conf using nvidia-xconfig, there are no problems.

Is the Nvidia driver now inherently incompatible with running two X servers, one of which not running on a Nvidia card?
Attached Files
File Type: log nvidia-bug-report.log (128.4 KB, 81 views)
crakie is offline   Reply With Quote
Old 04-25-09, 08:52 AM   #2
nkalkhof
Registered User
 
Join Date: Jan 2009
Posts: 32
Default Re: GLX does not initialize anymore on dual X-server setup

Quote:
Originally Posted by crakie View Post
In Ubuntu Intrepid (with NVIDIA kernel module 177.xx) I ran a dual X-server setup (i.e. NOT a dual screen on the same server) so I could simultaneously use my Hauppauge tv-cards tv-out (with IVTV framebuffer) AND run a composited screen on my monitor. This worked perfectly.

Today, I upgraded to Ubuntu Jaunty, which by default uses kernel module 180.44 and found my screen is not composited anymore. From Xorg.0.log:

Code:
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
It has something to do with another X server running, because if I generate a single head xorg.conf using nvidia-xconfig, there are no problems.

Is the Nvidia driver now inherently incompatible with running two X servers, one of which not running on a Nvidia card?
it looks like X cannot find the libglx.so. this ".so" is located under /usr/X11R6/lib/modules/extensions but I don't know how ubuntu stores it's .so's.

regards
nkalkhof is offline   Reply With Quote
Old 04-25-09, 10:39 AM   #3
crakie
Registered User
 
Join Date: Jan 2007
Posts: 13
Default Re: GLX does not initialize anymore on dual X-server setup

I don't think that's it:

Code:
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  180.44  Mon Mar 23 15:29:02 PST 2009
(II) Loading extension GLX
crakie is offline   Reply With Quote
Old 04-25-09, 05:00 PM   #4
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: GLX does not initialize anymore on dual X-server setup

That message means that NVIDIA's libglx.so was loaded, but couldn't initialize because it couldn't find the nvidia X driver (nvidia_drv.so), which makes sense since that X server was using the IVTV driver instead. nvidia-bug-report.sh only gets Xorg.0.log, so you'll need to manually attach Xorg.1.log to see what went wrong with your NVIDIA server.
AaronP is offline   Reply With Quote
Old 04-26-09, 04:29 AM   #5
crakie
Registered User
 
Join Date: Jan 2007
Posts: 13
Default Re: GLX does not initialize anymore on dual X-server setup

Ah, silly me. Of course Xorg.1.log is the proper one. It's attached and looks clean. I am thinking now this is not a NVIDIA-issue. I thought the error in Xorg.0.log was the cause, but it seems compiz-fusion is the troublemaker. Still it's odd I get this when starting compiz:

Code:
compiz --replace
Checking for Xgl: not present. 
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log 
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity
The "nvidia" driver IS whitelisted. But Xgl should be present if it is loaded, right?

EDIT: Still puzzled about the missing whitelisted driver, but disabling compositing in metacity made Compiz work. Apologies, it was not an NVIDIA issue.
Attached Files
File Type: log Xorg.1.log (12.4 KB, 79 views)

Last edited by crakie; 04-26-09 at 11:25 AM. Reason: Found solution
crakie is offline   Reply With Quote
Old 04-26-09, 06:32 PM   #6
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: GLX does not initialize anymore on dual X-server setup

It sounds like some sort of Compiz wrapper is trying to scan the log file but can't figure out which one is right for some reason, and then falls back to Xorg.0.log (i.e. the wrong one), fails to find the NVIDIA driver, and then gives up. If your copy of the compiz wrapper script is like mine, you can change the default log file by editing /usr/bin/compiz and changing XORG_DEFAULT_LOG.
AaronP 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 07:20 PM.


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