This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Dual-Monitor misconfiguration (NVIDIA driver)

Tags: None
(comma "," separated)
vivri
Registered Member
Posts
2
Karma
0
I cannot open/drag application windows to my second monitor, nor does the menu show on it (it shows on my main monitor), even though I can see it, move the cursor over it, set a background image, and drag widgets onto it(!). I'd like to be able to use the second monitor as an extension of the first. I tried setting up Xinerama via the NVIDIA Settings app and manually in xorg.conf, however that ended up botched as well - the "logical screen" streched to the end of the second monitor, it was a single screen, and wasn't visible on the second monitor.

System:
Code: Select all
KDE neon 5.20,
NVIDIA driver 455.45.01,
Linux Kernel 5.4.0-58-generic


Attaching my xorg.conf file:

Code: Select all
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 440.82


Section "ServerLayout"

# Removed Option "Xinerama" "0"
    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 ED273"
    HorizSync       83.0 - 83.0
    VertRefresh     48.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL 1905FP"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1050 Ti"
    BusID          "PCI:9:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1050 Ti"
    BusID          "PCI:9:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "HDMI-0: 1920x1080 +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         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0 {rotation=left}; DVI-D-0: 1280x1024_75 +0+0 {rotation=left}; DVI-D-0: nvidia-auto-select +0+0 {rotation=right, AllowGSYNC=Off}; DVI-D-0: 1280x1024 +0+0 {rotation=right}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "(null)" "Disable"
EndSection



Let me know what else I should provide, will be happy to do so. Thanks in advance!

Last edited by vivri on Thu Dec 24, 2020 7:56 pm, edited 1 time in total.
vivri
Registered Member
Posts
2
Karma
0
SOLVED - all I had to do was assign the same x-screen in the nvidia settings app, without enabling xinerama. Works as expected vis-a-vis window-moving, full-screen apps, no tearing etc etc
thecec
Registered Member
Posts
4
Karma
0
SOLVED
1. sudo nvidia-settings
2. Go to X Server Display Configuration
3. Select second monitor, which got disabled for some reason
4. Change Disabled to X Screen 0
5. Save and exit

Thank you @vivri for sharing your solution :)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]