Created attachment 981502 [details] Use seat information for GPU assignment Description of problem: Currently xorg ignores the seat assignments for drm devices because the devices are initialized earlier in the code. Depending on race conditions, the first X server will get more than one of the drm devices, which breaks multiseat systems. This patch fixes that by rejecting drm devices that haven't been assigned to our seat. The code has been mostly taken from config/udev.c and modified. I think I'm cleaning up after myself properly, but another pair of eyes would be appreciated. Version-Release number of selected component (if applicable): xorg-x11-server-Xorg-1.16.2.901-1.fc21.x86_64 (I ran into this in F20 as well, but the other X servers would generally win the race, while on F21, the first X server normally wins the race) How reproducible: Pretty much always Steps to Reproduce: 1. Setup multiseat system with multiple video cards 2. Assign cards to different seats using udev 3. Start display manager Actual results: Display manager only shows on one screen Expected results: Display manager shows on all screens
Created attachment 981503 [details] Updated spec file
Created attachment 981504 [details] Use seat information for GPU assignment Set correct content type
Hi Jonathan, Thanks for the patch. Can you please submit this upstream through the xorg-devel list ? : http://lists.x.org/mailman/listinfo/xorg-devel Then we can get it reviewed there, and once accepted upstream we can see if it is ok to cherry-pick this into the Fedora Xorg packages. Regards, Hans
http://lists.x.org/archives/xorg-devel/2015-January/045307.html I've rebased the patch against HEAD.
xorg-x11-server-1.16.3-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/xorg-x11-server-1.16.3-2.fc21
Package xorg-x11-server-1.16.3-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xorg-x11-server-1.16.3-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1523/xorg-x11-server-1.16.3-2.fc21 then log in and leave karma (feedback).
Hans, thanks so much for pushing this fix out so quickly after it got upstreamed.
(In reply to Jonathan Dieter from comment #7) > Hans, thanks so much for pushing this fix out so quickly after it got > upstreamed. Actually Dave Airlie did that, so you need to thank him :)
Thanks for the heads up. I just sent him an email. :)
xorg-x11-server-1.16.3-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.