Discussion:
One (Intel) GPU multiseat without Xephyr/Xnest, with a Xorg server per output
Troll Berserker
2018-09-18 15:28:02 UTC
Permalink
Is it possible?
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(us
Adam Jackson
2018-09-18 16:10:38 UTC
Permalink
Post by Troll Berserker
Is it possible?
No.

- ajax
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscripti
Troll Berserker
2018-09-19 22:16:45 UTC
Permalink
Post by Troll Berserker
Is it possible?
No.
Yes, with DRM Leases.
Although there is no production ready solution.
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription ad
Chris Wilson
2018-09-20 06:46:10 UTC
Permalink
Quoting Troll Berserker (2018-09-18 16:28:02)
Post by Troll Berserker
Is it possible?
man 4 intel, search for ZaphodHeads
-Chris
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/x
Dennis Clarke
2018-09-20 14:10:26 UTC
Permalink
Post by Chris Wilson
Quoting Troll Berserker (2018-09-18 16:28:02)
Post by Troll Berserker
Is it possible?
man 4 intel, search for ZaphodHeads
-Chris
_______________________________________________
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
https://www.x.org/archive/current/doc/man/man4/intel.4.xhtml

Option "ZaphodHeads" "string"

Specify the randr output(s) to use with zaphod mode for a particular
driver instance. If you this option you must use it with all
instances of the driver

For example:

Option "ZaphodHeads" "LVDS1,VGA1"


Will assign xrandr outputs LVDS1 and VGA0 to this
instance of the driver.

dc
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription addr
Troll Berserker
2018-09-20 16:33:30 UTC
Permalink
Post by Chris Wilson
Quoting Troll Berserker (2018-09-18 16:28:02)
Post by Troll Berserker
Is it possible?
man 4 intel, search for ZaphodHeads
modesetting driver also supports ZaphodHeads
Will it allow me to share one /dev/dri/card0? I very much doubt it.
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscript
Troll Berserker
2018-09-26 08:22:42 UTC
Permalink
Post by Chris Wilson
Quoting Troll Berserker (2018-09-18 16:28:02)
Post by Troll Berserker
Is it possible?
man 4 intel, search for ZaphodHeads
-Chris
It didn't help much.
First of all, I've created an artificial seat-1 with logind (with the intel driver Xorg won't touch drm node, right?):
$ sudo loginctl attach seat-1 /sys/devices/pci0000\:00/0000\:00\:02.0/graphics/fb0

Then I've written the xorg.conf (attached)

Effect? Only one Xorg starts, at seat0, the Xorg at the seat-1 with intel driver can't get DRM master permission and unloads itself:

[ 1581.001] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[ 1581.001] (II) intel(0): [drm] Contents of '/sys/kernel/debug/dri/0/clients':
[ 1581.001] (II) intel(0): [drm] command pid dev master a uid magic
[ 1581.001] (II) intel(0): [drm] Xorg 2404 0 y y 0 0
[ 1581.001] (II) intel(0): [drm] Xorg 2405 0 n y 0 0
[ 1581.001] (EE) intel(0): Failed to claim DRM device.
[ 1581.002] (II) UnloadModule: "intel"

What is wrong with this xorg.conf?

Loading...