LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Multiseat with 2 different GPU's (https://www.linuxquestions.org/questions/linux-desktop-74/multiseat-with-2-different-gpus-4175471394/)

Lauri 07-29-2013 09:38 PM

Multiseat with 2 different GPU's
 
I have integrated intel GPU and discrete NVidia GPU. I'm trying to get a multiseat system working but so far I've only been able to get one GPU to display at a time. Both of my seats work if I only use one at a time like "startx -- -layout Seat1" but when I try to get both of them to work at the same time only Seat0 works.

My xorg.conf:
Code:

Section "ServerLayout"
        Identifier    "Seat0"
        Screen        "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option        "AutoAddDevices"        "off"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Option      "Device"        "/dev/input/by-id/usb-USB_USB_Keykoard-event-kbd"
        Driver      "evdev"
        Option            "XkbModel"                "evdev"
        Option            "XkbLayout"        "fi"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mouse0"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nouveau"
        BusID      "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth    24
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier    "Seat1"
        Screen        "Screen1" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
        Option        "AutoAddDevices"        "off"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Option      "Device"        "/dev/input/by-id/usb-145f_Trust_Keyboard-event-kbd"
        Driver      "evdev"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mouse1"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "igpu0"
        Driver      "intel"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "igpu0"
        Monitor    "Monitor1"
        SubSection "Display"
                Depth    24
        EndSubSection
EndSection

What am I doing wrong here or is it just not possible for Xorg to use two different graphics drivers at the same time?

Meson 07-29-2013 11:05 PM

For starters, you want an instance of Xorg for each session for each seat.

The rest will kind of depend on your distribution, can you give some details?

Lauri 07-30-2013 01:07 AM

I'm using Debian testing.

Lauri 07-30-2013 04:21 AM

I got it working I just had to configure KDM to work with both seats.


All times are GMT -5. The time now is 09:33 PM.