[PATCH v2 0/3] Reworked patches to make non-seat0 X servers work with non-KMS video drivers

Laércio de Sousa lbsousajr at gmail.com
Thu Apr 3 07:19:12 PDT 2014


Since version 198, systemd-logind no longer requires a framebuffer device
to create a new seat (it's sufficient to assing at least one suitable device
tagged as "master-of-seat" in udev to a new seat in order to create it).
It opens the possibility to configure multiseat properly using multiple
graphics cards with non-KMS drivers (like NVIDIA proprietary ones).

However, some fixes in Xorg server are still needed to make it start properly
with a non-KMS video driver if an option "-seat seatXXXX",
where "seatXXXX" is not "seat0", is passed.

Patch 1 is mandatory, since it fixes a bug where a non-seat0 X server ends with a
"No devices detected" error, if it tries to start with a non-KMS video driver.

Patches 2-3 are highly recommended to make this solution DM-independent. Without them,
one needs to pass a custom config file via "-config", which may be unsedirable
or even impossible (e.g. if using GDM), if these settings should be targeted to
a particular seat only.

Laércio de Sousa (2):
  xfree86: allow fallback to PCI bus probe for graphics devices on
    non-seat0 X servers (#66851)
  xfree86: add short description about MatchSeat key in xorg.conf man
    page

Oleg Samarin (1):
  xfree86: add new key MatchSeat to xorg.conf sections "Device",
    "Screen", and "ServerLayout"

 hw/xfree86/common/xf86Bus.c    |  4 ++--
 hw/xfree86/common/xf86Config.c | 34 +++++++++++++++++++++++++---------
 hw/xfree86/man/xorg.conf.man   | 24 ++++++++++++++++++++++++
 hw/xfree86/parser/Device.c     |  6 ++++++
 hw/xfree86/parser/Layout.c     |  6 ++++++
 hw/xfree86/parser/Screen.c     |  6 ++++++
 hw/xfree86/parser/xf86Parser.h |  3 +++
 hw/xfree86/parser/xf86tokens.h |  1 +
 8 files changed, 73 insertions(+), 11 deletions(-)

-- 
1.8.4.5



More information about the xorg-devel mailing list