ich habe hier (Stretch, XFCE) eine (!) Grafikkarte mit 4 Displayport-Ausgängen, mit der ich gerne Multiseat betreiben möchte. Das Auftrennen via udev funktioniert:
Code: Alles auswählen
# loginctl list--saets
Unknown operation list--saets.
root@zaphod:~# loginctl list-seats
SEAT
seat-1
seat0
2 seats listed.
# loginctl seat-status seat-1
seat-1
Devices:
├─/sys/devices/pci0000:00/0000:00:02.0/0000:03:00.0/drm/card0/card0-DP-2
│ [MASTER] drm:card0-DP-2
└─/sys/devices/pci0000:00/0000:00:12.2/usb1/1-6
...
Es ist nicht möglich zwei X für jeden Displayport-Ausgang zu starten. Solche Versuche werden immer in /var/log/Xorg.1.log mit
Code: Alles auswählen
[ 338.385] (**) RADEON(0): Option "ZaphodHeads" "DisplayPort-0"
[ 338.385] (==) RADEON(0): RGB weight 888
[ 338.385] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 338.385] (--) RADEON(0): Chipset: "VERDE" (ChipID = 0x682b)
[ 338.385] (EE) RADEON(0): [drm] failed to set drm interface version.
[ 338.385] (EE) RADEON(0): Kernel modesetting setup failed
[ 338.385] (II) UnloadModule: "radeon"
[ 338.385] (EE) Screen(s) found, but none have a usable configuration.
Hat jemand eine Idee dazu?
Noch: Versuche mit amdgpu statt radeon scheitern, weil die Karte nicht unterstützt wird (hat nur GCN 1), und amdgpu-pro läßt sich nicht installieren, weil es (noch?!) massive Versions-Probleme mit den Libs gibt.
------
Infos:
Code: Alles auswählen
# lspci | grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus LE [Radeon HD 8830M] (rev 87)
Code: Alles auswählen
# cat /etc/udev/rules.d/72-a-master-seats.rules
KERNEL=="card0-DP-2", KERNELS=="card0", SUBSYSTEMS=="drm", TAG+="seat", TAG+="master-of-seat", ENV{ID_SEAT}="seat-1"
Code: Alles auswählen
# cat /etc/X11/seat0.conf
Section "DRI"
Mode 0666
EndSection
Section "ServerFlags"
Option "AutoAddGPU" "0"
Option "Xinerama" "0"
Option "ProbeAllGpus" "0"
Option "MultiGPU" "0"
Option "Clone" "0"
Option "ColorTiling2D" "1"
Option "DRI" "3"
EndSection
Section "Monitor"
Identifier "DisplayPort-0"
EndSection
Section "Device"
Identifier "dev0"
Driver "radeon"
# Driver "amdgpu"
BusId "PCI:3:0:0"
MatchSeat "seat0"
Option "Seat" "seat0"
Option "ZaphodHeads" "DisplayPort-0"
EndSection
Section "Screen"
Identifier "screen0"
Device "dev0"
Monitor "DisplayPort-0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1920x1080" "1280x1024" "1024x768"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "seat0"
MatchSeat "seat0"
Screen 0 "screen0" 0 0
Option "Seat" "seat0"
Option "SingleCard" "on"
Option "Clone" "0"
EndSection