After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678535 - Please watch the CanGraphical property on logind Seat objects before spawning a graphical login on a seat
Please watch the CanGraphical property on logind Seat objects before spawning...
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-21 12:12 UTC by Lennart Poettering
Modified: 2018-05-24 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lennart Poettering 2012-06-21 12:12:25 UTC
We now boot so fast that gdm might get started at a time where the graphics drivers are not fully initialized yet and the video device might still get probed. Currently gdm chokes on that, because it assumes that all graphics hw is available when it is started.

To fix this I have just updated systemd git to expose a CanGraphics boolean property on all seats that tells gdm whether a specific seat can do graphics (i.e. has an fb/kms device node). gdm should only care for seats with this field set. In the race case mentioned above this property might be initialized with False first, but change to True as the video driver finishes probing. This means gdm needs to watch PropertyChanged for this field (in addition to the SeatAdded, SeatRemoved signals), and take possession of a seat/give up a seat as the flag changes.

Also see:

http://www.freedesktop.org/wiki/Software/systemd/writing-display-managers

and:

http://lists.freedesktop.org/archives/systemd-devel/2012-June/005576.html

Thanks!
Comment 1 Ray Strode [halfline] 2012-06-22 02:33:09 UTC
sure, sounds good.  we should also consider dropping the seat-hack at some point in the future:

http://lists.x.org/archives/xorg-devel/2012-June/031792.html
Comment 2 Lennart Poettering 2012-06-22 07:11:26 UTC
(In reply to comment #1)
> sure, sounds good.  we should also consider dropping the seat-hack at some
> point in the future:
> 
> http://lists.x.org/archives/xorg-devel/2012-June/031792.html

Ah, cool. Though currently that code doesn't appear to mention ID_SEAT at all (i.e. ignores seat information). But it's a big step in the right direction.
Comment 3 Alberto Salvia Novella 2015-01-17 16:57:06 UTC
This bug is causing lightdm to boot into the tty1 terminal:
<https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-vmware/+bug/1365336>

Consider raising its importance.
Comment 4 GNOME Infrastructure Team 2018-05-24 10:44:05 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/103.