[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
** Branch linked: lp:~ubuntu-multiseat/xorg-server/trusty-matchseat -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Fix Released Status in “xorg-server” package in Ubuntu: Fix Released Status in “xorg-server” source package in Trusty: In Progress Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
** Description changed: - From https://bugs.freedesktop.org/show_bug.cgi?id=66851: + [Impact] - 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. + * 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 option where + != 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. - This same problem was encoutered by a user with two NVIDIA cards; see - bug #976124. + Patch xfree86_allow_fallback_to_pci_bus_probe_for_non_seat0.patch from + lp:~ubuntu-multiseat/xorg-server/trusty-matchseat fixes this. - A patch was supplied to the upstream bug report, and this patch seems to - fix the problem. + * 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). - 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. + 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
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
** Also affects: xorg-server (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: xorg-server (Ubuntu Trusty) Status: New = In Progress ** Changed in: xorg-server (Ubuntu Trusty) Assignee: (unassigned) = Laércio de Sousa (lbssousa) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Fix Released Status in “xorg-server” package in Ubuntu: Fix Released Status in “xorg-server” source package in Trusty: In Progress Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
This bug was fixed in the package xorg-server - 2:1.15.1-0ubuntu8 --- xorg-server (2:1.15.1-0ubuntu8) utopic; urgency=medium * debian/patches/xfree86-pci-bus-probe-non-seat0.patch - Upstream patch to fix No devices detected error for seats other than seat0. (LP: #1209008) -- Alberts Muktupavels alberts.muktupav...@gmail.com Tue, 01 Jul 2014 17:12:51 +0300 ** Changed in: xorg-server (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Fix Released Status in “xorg-server” package in Ubuntu: Fix Released Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
** Branch linked: lp:~albertsmuktupavels/xorg-server/lp-1209008 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Fix Released Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
** Changed in: xorg-server Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Fix Released Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
Fixed in upstream. See commit http://cgit.freedesktop.org/xorg/xserver/commit/?id=29b1484bb9555e45067669cbfe68a3c40596f4ff -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
Hi there! Oleg Samarin, who introduced the master-of-seat concept in systemd- logind, has recently submitted a patch for xorg-server that introduces a new capability: MatchSeat. The concept is explained here: http://lists.x.org/archives/xorg-devel/2013-September/037945.html and the patch is available here: http://lists.x.org/archives/xorg-devel/2013-September/037946.html As you can see, it includes my small patch for fixing that no devices detected error. In fact, I've shared privately this patch with him before opening bug freedesktop#66851, and I believe it makes more sense to include my patch in a more comprehensive work like his. I strongly recommend that you try this new patch. I'll finally begin my switch back to Ubuntu tomorrow, so I can upload to Multiseat PPA soon. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
Raring and saucy packages containing the patch have been uploaded to the multiseat PPA: https://launchpad.net/~ubuntu-multiseat/+archive/ppa -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
Hi guys! Glad to see that my patch works for you. I left Ubuntu some time ago to try some other systemd-enabled distros (Fedora and openSUSE) for better multiseat support. Thanks to your collaboration, I will be back to Ubuntu soon. BTW, the following patch is a little bit more appropriate for Xorg 1.13, used in raring. https://build.opensuse.org/package/rawsourcefile/home:lbssousa:branches:openSUSE:12.3:Update/xorg-x11-server/ -xorg-server-1.13.2-support-legacy-pci-bus-probe-not- seat0.patch?srcmd5=688fc60a359b923f83ae948f2b58c71f -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
** Branch linked: lp:~albertsmuktupavels/xorg-server/fix-no-devices- detected-for-seats-other-than-seat0 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xorg-server (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Unknown Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
(continuing the conversation from bug #976124 here since this bug report seems more relevant) but there were problems - huge memory leaks. In attached zip are log files for xorg and lightdm. My .xsession-errors was full of error lines: dconf-CRITICAL **: unable to create file '/home/alberts/.cache/dconf/user': Permission denied. dconf will not work properly. And at least one line of this: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login. These did not go away when you added the 'master-of-seat' udev tag? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Unknown Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
Launchpad has imported 2 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=66851. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2013-07-12T12:02:04+00:00 Laércio de Sousa wrote: Created attachment 82364 Go further with legacy PCI bus probe on non-seat0 seats when no platform bus devices are found 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. I've wrote a small patch that solves my problem, going further with PCI bus probe, while tries to keep the current behavior if a platform bus device is found on secondary seats. Please consider applying it, or giving another solution. Thanks in advance! Related bug: https://bugzilla.redhat.com/show_bug.cgi?id=962907 Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1209008/comments/0 On 2013-08-06T22:59:14+00:00 Freedesktop-a7x wrote: Downstream Ubuntu bug report: https://bugs.launchpad.net/bugs/1209008 Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1209008/comments/4 ** Changed in: xorg-server Status: Unknown = Confirmed ** Changed in: xorg-server Importance: Unknown = Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to:
[Desktop-packages] [Bug 1209008] Re: X fails to detect certain video cards on non-seat0 seats
These did not go away when you added the 'master-of-seat' udev tag? I did not test it... But memory leaks is not releated to this bug. I think it caused because o permission denied error. Memory leaks was for gnome-settings-daemon, indicator-applet-complete if I remember correctly. Xorg itself worked ok. So patch from upstream fixes problem failing to detect video card for seats other than seat0. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1209008 Title: X fails to detect certain video cards on non-seat0 seats Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in Fedora: Unknown Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1209008/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp