User Tools

Site Tools


it_best_practise:multiseat:linux

This is an old revision of the document!


Versionsinformationen:

* Betriebssystem: CentOS 7.3 und höher / OpenSUSE 42.1 und höher * Mindestvoraussetzung:xorg-x11-server-Xorg Version 1.16 und höher

Weitere Betriebssysteme: Ubuntu 16.04 und höher

Installation:

* CentoOS 7.3 / gdm

 Installiere das Basissystem, den NVIDIA Treiber, sowie den Gnome Desktop
 yum -y install epel-release
 yum -y install dkms
 yum -y groupinstall "KDE Plasma Workspaces" "KDE desktop" "X Window System" "Fonts" "GNOME desktop"

Konfiguration:

Stelle fest, welche ID die PCI-Slots der Grafikkarten haben lspci | grep VGA Output bei drei eingebauten Grafikkarten z.B.:

 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
 02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
 03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)

erstelle drei login sessions durch anlegen der Datei /etc/udev/rules.d/10-nvidia.conf mit:

 
 DEVPATH=="/devices/pci0000:00/0000:00:02.0/0000:01:00.0", TAG+="master-of-seat" 
 DEVPATH=="/devices/pci0000:00/0000:00:02.0/0000:01:00.0", TAG+="graphics0"
 DEVPATH=="/devices/pci0000:00/0000:00:03.0/0000:02:00.0", TAG+="master-of-seat"
 DEVPATH=="/devices/pci0000:00/0000:00:03.0/0000:02:00.0", TAG+="graphics1"
 DEVPATH=="/devices/pci0000:00/0000:00:04.0/0000:03:00.0", TAG+="master-of-seat"
 DEVPATH=="/devices/pci0000:00/0000:00:04.0/0000:03:00.0", TAG+="graphics2"
  
 DEVPATH=="/devices/pci0000:00/0000:00:02.0/0000:01:00.0/*", TAG+="seat0",  ENV{ID_SEAT}="seat0"
 DEVPATH=="/devices/pci0000:00/0000:00:03.0/0000:02:00.0/*", TAG+="seat1",  ENV{ID_SEAT}="seat1"
 DEVPATH=="/devices/pci0000:00/0000:00:04.0/0000:03:00.0/*", TAG+="seat2",  ENV{ID_SEAT}="seat2"
  
 DEVPATH=="/devices/pci0000:00/0000:00:02.0/0000:01:00.0", TAG+="master-of-seat", TAG+="graphics0", ENV{ID_SEAT}="seat0"
 DEVPATH=="/devices/pci0000:00/0000:00:03.0/0000:02:00.0", TAG+="master-of-seat", TAG+="graphics1", ENV{ID_SEAT}="seat1"
 DEVPATH=="/devices/pci0000:00/0000:00:04.0/0000:03:00.0", TAG+="master-of-seat", TAG+="graphics2", ENV{ID_SEAT}="seat2"

Aktiviere die Konfiguration mit dem Befehl udevadm trigger

lösche die Standardkonfigurationsdatei /etc/X11/xorg.conf und erstelle die Konfigurationsdatei /etc/X11/xorg.conf.d/99-nvidia.conf mit folgendem Inhalt

 
 # /etc/X11/xorg.conf.d/99-nvidia.conf provided by http://elrepo.org
 
 Section "Files"
       ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
       ModulePath   "/usr/lib64/xorg/modules"
 EndSection
 
 Section "Device"
   Identifier     "Seat0"
   Driver         "nvidia"
   BusID          "PCI:01:00:0"
   Option         "ProbeAllGpus" "FALSE"
   MatchSeat      "seat0"
 EndSection
  
 Section "Device"
   Identifier     "Seat1"
   Driver         "nvidia"
   BusID          "PCI:02:00:0"
   Option         "ProbeAllGpus" "FALSE"
   MatchSeat      "seat1"
 EndSection
 
 Section "Device"
   Identifier     "Seat2"
   Driver         "nvidia"
   BusID          "PCI:03:00:0"
   Option         "ProbeAllGpus" "FALSE"
   MatchSeat      "seat2"
 EndSection
it_best_practise/multiseat/linux.1497272214.txt.gz · Last modified: 2024/02/27 11:40 (external edit)