Activity log for bug #1209008

Date Who What changed Old value New value Message
2013-08-06 21:40:18 Richard Hansen bug added bug
2013-08-06 21:40:55 Richard Hansen branch linked lp:~albertsmuktupavels/xorg-server/fix-no-devices-detected-for-seats-other-than-seat0
2013-08-06 21:41:29 Richard Hansen bug added subscriber Alberts Muktupāvels
2013-08-06 21:42:02 Richard Hansen bug watch added https://bugs.freedesktop.org/show_bug.cgi?id=66851
2013-08-06 21:42:02 Richard Hansen bug task added xorg-server
2013-08-06 21:42:49 Richard Hansen bug task added fedora
2013-08-06 21:43:26 Richard Hansen bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=962907
2013-08-06 21:43:26 Richard Hansen fedora: remote watch freedesktop.org Bugzilla #66851 Red Hat Bugzilla #962907
2013-08-06 21:44:28 Richard Hansen tags multiseat
2013-08-06 21:44:43 Richard Hansen tags multiseat multiseat saucy
2013-08-06 21:50:33 Launchpad Janitor xorg-server (Ubuntu): status New Confirmed
2013-08-06 23:49:36 Bug Watch Updater xorg-server: status Unknown Confirmed
2013-08-06 23:49:36 Bug Watch Updater xorg-server: importance Unknown Medium
2013-08-07 12:07:37 Laércio de Sousa bug added subscriber Laércio de Sousa
2013-08-07 21:16:23 Richard Hansen bug added subscriber Ubuntu Multiseat
2013-08-08 14:44:10 Alberts Muktupāvels branch linked lp:~albertsmuktupavels/xorg-server/fix-no-devices-detected-for-seats-other-than-seat0
2013-08-08 20:56:32 Richard Hansen removed subscriber a7x
2014-05-16 07:41:57 Bug Watch Updater xorg-server: status Confirmed Fix Released
2014-07-01 14:17:22 Alberts Muktupāvels branch linked lp:~albertsmuktupavels/xorg-server/lp-1209008
2014-07-03 09:28:03 Launchpad Janitor xorg-server (Ubuntu): status Confirmed Fix Released
2014-09-30 10:53:15 Maarten Lankhorst nominated for series Ubuntu Trusty
2014-09-30 10:53:15 Maarten Lankhorst bug task added xorg-server (Ubuntu Trusty)
2014-09-30 10:53:29 Maarten Lankhorst xorg-server (Ubuntu Trusty): status New In Progress
2014-09-30 10:53:42 Maarten Lankhorst xorg-server (Ubuntu Trusty): assignee Laércio de Sousa (lbssousa)
2014-09-30 11:04:26 Alberts Muktupāvels removed subscriber Alberts Muktupāvels
2014-09-30 20:53:39 Leonid Evdokimov bug added subscriber Leonid Evdokimov
2014-10-01 13:18:39 Laércio de Sousa branch linked lp:~ubuntu-multiseat/xorg-server/trusty-matchseat
2014-10-01 14:23:36 Laércio de Sousa description From <https://bugs.freedesktop.org/show_bug.cgi?id=66851>: > I have a multiseat setup with a primary on-board Intel graphics > device and a secondary Silicon Motion SM501 graphics card. My SM501 > is configured via custom xorg.conf with siliconmotion ddx driver, so > it exposes no framebuffer devices to e.g. systemd-logind. The same > situation is seen e.g. for a NVIDIA graphics card with proprietary > drivers. > > Every time I configure my system to assign my SM501 card with a > secondary seat, i.e. not seat0, my X server fails to start, > returning a "No devices detected" error. Nevertheless, when I assign > my SM501 card with seat0 and attach my Intel graphics device to > secondary seat (via loginctl), both seats load successfully. > > Investigating the Xorg-server sources, I've found something related > to "platform bus". I don't know what is it at all, but whatever it > means, my Intel graphics card with its open-source drivers implement > it, but my siliconmotion driver doesn't. > > In its current form, Xorg-server probes for platform bus devices as > well as "legacy" PCI bus ones only for seat0. For other seats, it > only probes for platform bus devices, hence it never reaches my > SM501 card, returning that "No devices found" error. > > I don't know if there's a good reason for probing only platform bus > devices on non-seat0 seats, but this brings a problem for multiseat > setups like mine. This same problem was encoutered by a user with two NVIDIA cards; see bug #976124. A patch was supplied to the upstream bug report, and this patch seems to fix the problem. Note that this bug only affects detection of cards when X is passed the '-seat' argument with a seat name OTHER than "seat0". Thus, this only happens in multiseat setups. [Impact] * In Xorg-server versions older than 1.16, if Xorg is started as a non-seat0 X server (i.e. if it was started with "-seat XXXX" option where "XXXX" != "seat0"), it only probes platform bus for graphics devices, leaving devices with non-KMS drivers (like NVIDIA proprietary drivers and old ones like xf86-video-siliconmotion) unreachable. Patch "xfree86_allow_fallback_to_pci_bus_probe_for_non_seat0.patch" from lp:~ubuntu-multiseat/xorg-server/trusty-matchseat fixes this. * systemd-logind has no intrinsic mechanism to assign non-KMS graphics devices to seats. In this case, one should tag another seat device (keyboard, USB hub, etc.) in udev as "master-of-seat", and provide a suitable xorg.conf for that seat. In order to avoid that a given xorg.conf affects other seats, it should be passed to Xorg via "-config xorg.conf.custom" option, which requires X server command line customization support in DM in use (GDM, for example, has no such support). Patch "xfree86_add_matchseat_key_to_xorg_conf.patch" from lp:~ubuntu-multiseat/xorg-server/trusty-matchseat introduces a new MatchSeat key for xorg.conf sections "Device", "Screen", and "ServerLayout", which will target a given seat only. Example file /etc/X11/xorg.conf.d/90-seat-1.conf: Section "Device" Identifier "card0" Driver "nvidia" Option "NoLogo" "True" # This section will only apply for seat-1 MatchSeat "seat-1" EndSection * systemd-logind can't handle any VT switching for non-seat0 seats, but Xorg-server older than 1.16 still opens VT even if it's started as a non-seat0 X server. This may lead to a race condition between X servers: if a non-seat0 one is started before a seat0 one, the former "steals" VTs from the later. If a seat0 X server can't open VTs, systemd-logind can't activate sessions for seat0, leaving user without sound or usb input support, for example. Patch "xfree86_keep_non_seat0_from_touching_vts.patch" from lp:~ubuntu-multiseat/xorg-server/trusty-matchseat fixes this. [Test Case] * Set up a multiseat system where your non-seat0 seats use non-KMS video drivers (you may need to tag another device in udev as "master-of-seat" in order to achieve it). * When LightDM/GDM tries to start a Xorg server for your non-seat0 seats, it will end up with the following error: "(EE) No devices found". * After applying xfree86_allow_fallback_to_pci_bus_probe_for_non_seat0.patch, you can configure your seats in LightDM by setting appropriate "xserver-config" properties for each seat. However, you can't configure them in GDM. * After applying xfree86_add_matchseat_key_to_xorg_conf.patch, configure your seats properly and restart LightDM/GDM services (or reboot your computer) repeatedly. In some iterations, it may happen that logind can't activate graphical sessions for seat0. If it occurs, check output of command "ps -FC Xorg" and you'll see that a non-seat0 Xorg server has a lower PID than seat0 one. Moreover, the non-seat0 has opened a TTY, while the seat0 hasn't. [Regression Potential] * Very low. All these patches were well tested in xorg-server "trusty" package available in ppa:ubuntu-multiseat/ppa.
2014-10-01 14:24:49 Laércio de Sousa summary X fails to detect certain video cards on non-seat0 seats [SRU] X doesn't work for video cards with non-KMS drivers on non-seat0 seats
2014-11-05 01:59:37 Mathew Hodson affects fedora hwe-next
2014-11-05 01:59:37 Mathew Hodson hwe-next: importance Unknown Undecided
2014-11-05 01:59:37 Mathew Hodson hwe-next: status Unknown New
2014-11-05 01:59:37 Mathew Hodson hwe-next: remote watch Red Hat Bugzilla #962907
2014-11-05 13:12:35 Maarten Lankhorst tags multiseat saucy multiseat saucy verification-needed
2014-11-09 18:46:10 Mathew Hodson xorg-server (Ubuntu Trusty): status In Progress Fix Committed
2014-11-09 18:47:27 Mathew Hodson bug watch removed https://bugzilla.redhat.com/show_bug.cgi?id=962907
2014-12-01 20:04:49 Mathew Hodson branch linked lp:~ubuntu-multiseat/ubuntu/saucy/xorg-server/bug1209008
2014-12-01 20:05:21 Mathew Hodson branch linked lp:~ubuntu-multiseat/ubuntu/raring/xorg-server/bug1209008
2014-12-08 16:30:25 Mathew Hodson bug added subscriber Canonical Hardware Enablement Team
2014-12-08 16:31:18 Mathew Hodson bug added subscriber SRU Verification
2014-12-08 16:31:29 Mathew Hodson bug added subscriber Ubuntu Stable Release Updates Team
2014-12-09 21:48:47 Mathew Hodson xorg-server (Ubuntu Trusty): status Fix Committed In Progress
2014-12-09 22:02:50 Mathew Hodson tags multiseat saucy verification-needed multiseat trusty
2014-12-09 23:45:51 Robert Hooker bug task deleted hwe-next
2014-12-09 23:45:56 Robert Hooker removed subscriber Canonical Hardware Enablement Team
2014-12-10 18:10:01 Brian Murray xorg-server (Ubuntu Trusty): status In Progress Fix Committed
2014-12-10 18:10:09 Brian Murray tags multiseat trusty multiseat trusty verification-needed
2014-12-13 21:12:40 Andrzej Pietrasiewicz tags multiseat trusty verification-needed multiseat trusty verification-failed verification-needed
2014-12-15 11:39:29 Laércio de Sousa tags multiseat trusty verification-failed verification-needed multiseat trusty verification-done
2014-12-18 16:54:40 Launchpad Janitor xorg-server (Ubuntu Trusty): status Fix Committed Fix Released
2014-12-18 16:54:55 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2021-09-15 16:04:56 XxEarthxX branch unlinked lp:~ubuntu-multiseat/ubuntu/saucy/xorg-server/bug1209008
2021-09-15 16:05:29 XxEarthxX branch linked lp:~ubuntu-multiseat/ubuntu/saucy/xorg-server/bug1209008
2021-09-15 16:05:50 XxEarthxX xorg-server (Ubuntu): assignee XxEarthxX (budwiser)