← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 625239] Re: X starts on wrong tty: pressing enter after 5 minutes crashes X; gdm restart of X involved

 

Jamie,

> Okay, I've done some experimenting with my linux command options. If I
> have vga=799 on there, I boot to tty7 every time. With or without the "quite"
> and/or "splash" options, I see the same results. However, when I tried
> vga=771, I end up on tty1 or tty2 again.

Please show the contents of a plymouth:debug log, and /proc/fb, when
booting with vga=799 (and without grub_gfxmode set).

Seth, Jamie, can one of you also show the output of 'grep fb
/var/log/kern.log' on a system showing this problem?

Kudos to John and Seth for the great debugging work on this.  It took me
quite a while to read through the full bug, but I think there's ample
evidence here to support reassigning this to gdm and the nvidia drivers.

I would like to know why the gdm upstart job's start condition is
insufficient here; for reference, the start condition is:

start on (filesystem
          and started dbus
          and (graphics-device-added fb0 PRIMARY_DEVICE_FOR_DISPLAY=1
               or drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
               or stopped udevtrigger))

It's possible this is wrong for nvidia because /dev/fb0 is a vga (or
vesa) framebuffer instead of the nvidia one, so gdm goes ahead and
starts before the nvidia driver is ready.  Alternatively, it's possible
that the udev event happens before the card is actually ready (which
would be a bug in the nvidia driver).  Jamie, is the udev log file
attached to comment 89 from a boot with or without the vga=799
workaround, and with or without an X crash on startup?

You might also be able to confirm this is the problem by commenting out
the "graphics-device-added fb0" part of the start condition.

** Summary changed:

- X starts on wrong tty: pressing enter after 5 minutes crashes X; gdm restart of X involved
+ X starts on wrong tty because gdm starts before nvidia driver is ready

-- 
X starts on wrong tty because gdm starts before nvidia driver is ready
https://bugs.launchpad.net/bugs/625239
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.



References