You are not logged in.

#1 2022-08-08 20:15:19

GalacticHadess
Member
Registered: 2022-08-08
Posts: 1

KDE 2 gpu 2 screens not working

I have an rtx 3080 ti and a gtx 1650, and I want to connect one screen to the 3080 ti and my other screen to the 1650, in order to then make a GPU passthrough virtual machine setup with one screen on the VM and not the other.
I tried using nvidia-settings to make a xorg config, which didn't really work out, i had the second screen frozen on the login screen and when I put my mouse on it it drew a cross as the mouse. I don't want to use Xinerama since I want to maximise windows per screen.
Here is the xorg config it generated :

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 515.65.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer KG271"
    HorizSync       33.0 - 91.0
    VertRefresh     30.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung S24D330"
    HorizSync       30.0 - 81.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3080 Ti"
    BusID          "PCI:9:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1650"
    BusID          "PCI:3:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#2 2022-08-09 07:14:38

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: KDE 2 gpu 2 screens not working

Please edit your post and wrap the config in "code" tags, https://bbs.archlinux.org/help.php#bbcode

make a GPU passthrough virtual machine setup with one screen on the VM and not the other

https://wiki.archlinux.org/title/PCI_pa … ng_the_GPU

Passing a device through implies to "hide" it from the host, what means you won't have to configure it there at all.
Otherwise it's https://wiki.archlinux.org/title/Multih … te_screens unless you use BaseMosaic or Xinerama (which will allow you to move windows across screens/GPUs, but xinerama breaks randr - there's however https://aur.archlinux.org/packages/fakexrandr-git though idk whether that's still maintained and functional)

Offline

Board footer

Powered by FluxBB