Comment 12 for bug 259156

Revision history for this message
b (ben-ekran) wrote : Re: [Bug 259156] Re: gdm fails to start after hardy upgrade
  • logs.tgz Edit (8.7 KiB, application/x-compressed-tar; name="logs.tgz")

Thanks Chris,

I think I've found the problem.

Looks like GDM is trying to run X with the nvidia driver and failing:

(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
found)

This is when using the xorg failsafe configuration.

So I tried using my nvidia xorg.

For each X guit/restart I see these messages in /var/log/messages:

Aug 19 09:00:38 aporia kernel: [167694.560423] agpgart: Found an AGP 2.0
compliant device at 0000:00:00.0.
Aug 19 09:00:38 aporia kernel: [167694.560458] agpgart: Putting AGP V2
device at 0000:00:00.0 into 2x mode
Aug 19 09:00:38 aporia kernel: [167694.560508] agpgart: Putting AGP V2
device at 0000:01:00.0 into 2x mode

I called the gdm and xorg logs .nvidia to differentiate them from the
failsafe tests.

The pause after running /etc/init.d/gdm stop is exceptionally long,
approximately 15 seconds.

To recap:

Seems when I run gdm with an xorg using the vesa or nv driver, GDM tries
to use nvidia anyhow and throws an error. Why startx uses the driver
specified in xorg.conf and gdm seems to always try and load the nvidia
driver is beyond me.

Even if I use the the nvidia driver in the xorg, GDM does not throw an
error (just complains about fonts), but does not start GDM either.

Seems to me a reasonable next step is to force GDM to use nv and not
load nvidia-glx and see if that works.

I added the nvidia driver using the "restricted drivers" GUI in startx
(as root). How can I remove the nvidia driver (withoutx) to see if I can
get nv to work with GDM?

Thanks for your efforts.

Chris Coulson wrote:
> Thank you for taking the time to report this bug and help make Ubuntu
> better. However, after having a quick look through your X server log
> files, I can't see anything drastically wrong with your X server. Could
> you please try to start GDM with your default configuration (when it
> fails), and then add the contents of /var/log/gdm in to a tar.gz archive
> and then attach it to this bug report.
>
> Thanks
>
> ** Changed in: gdm (Ubuntu)
> Status: New => Incomplete
>