You are not logged in.

#1 2022-11-20 23:32:43

bender
Member
Registered: 2021-06-02
Posts: 3

New monitor in Dual monitor setup not being displayed in Xrandr

I'm having an issue with a new monitor I have in its configuration in Xrandr
Its 1440p along with my main and replacing the old 4k second monitor I had. The monitor functions fine and is turned when running tty2 as well as my display manager (though there is an X cursor) and some commands such as xlock.
I'm not having any trouble with my primary monitor and its functioning the same

The monitor is functional and plugged in, shows under nvidia-settings and is included along with my primary monitor in my xorg.conf

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

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 520.56.06

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

Section "Files"
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      "DELL S2721DGF"
    HorizSync       250.0 - 250.0
    VertRefresh     48.0 - 165.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL S2721DS"
    HorizSync       115.0 - 115.0
    VertRefresh     48.0 - 75.0
    Option         "DPMS"
EndSection

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

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3080"
    BusID          "PCI:8:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "nvidiaXineramaInfoOrder" "DFP-3"
# Removed Option "metamodes" "DP-2: 3840x2160_60 +0+0, DP-0: 2560x1440_165 +3840+0"
# Removed Option "metamodes" "DP-0: 2560x1440_165 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Coolbits" "12"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DP-0: 2560x1440_165 +0+0; DP-0: nvidia-auto-select +0+0; DP-0: 2560x1440_144 +0+0; DP-0: 2560x1440_120 +0+0; DP-0: 2048x1152 +0+0; DP-0: 1920x1200 +0+0; DP-0: 1920x1080 +0+0; DP-0: 1920x1080_60 +0+0; DP-0: 1920x1080_60_0 +0+0; DP-0: 1920x1080_50 +0+0; DP-0: 1920x1080_24 +0+0; DP-0: 1680x1050 +0+0; DP-0: 1600x1200 +0+0; DP-0: 1280x1024 +0+0; DP-0: 1280x1024_60 +0+0; DP-0: 1280x800 +0+0; DP-0: 1280x720 +0+0; DP-0: 1280x720_50 +0+0; DP-0: 1152x864 +0+0; DP-0: 1024x768 +0+0; DP-0: 1024x768_60 +0+0; DP-0: 800x600 +0+0; DP-0: 800x600_60 +0+0; DP-0: 720x576 +0+0; DP-0: 720x480 +0+0; DP-0: 640x480 +0+0; DP-0: 640x480_60 +0+0; DP-0: 640x480_60_0 +0+0; DP-0: nvidia-auto-select +0+0 {viewportin=1440x900, viewportout=2304x1440+128+0}; DP-0: nvidia-auto-select +0+0 {viewportin=1366x768, viewportout=2560x1439+0+0}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "DP-2: 2560x1440_75 +0+0 {AllowGSYNC=Off}"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "nvidiaXineramaInfoOrder" "DFP-3"
    Option         "Stereo" "0"
    Option         "metamodes" "DP-2: 2560x1440 +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

and xrandr -q output:

Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95 + 165.08*  143.91   120.00
   2048x1152     60.00
   1920x1200     59.88
   1920x1080    119.88    60.00    59.94    50.00    23.98
   1680x1050     59.95
   1600x1200     60.00
   1280x1024     75.02    60.02
   1280x800      59.81
   1280x720      59.94    50.00
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   720x576       50.00
   720x480       59.94
   640x480       75.00    59.94    59.93
DP-1 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

all my packages are up to date including nvidia drivers, using DWM and it may be related to that, however as it also has same issue in SDDM I think its something else.

Please let me know if any other info is needed and thanks for the help.

Offline

#2 2022-11-21 07:54:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: New monitor in Dual monitor setup not being displayed in Xrandr

Section "Device"
    Identifier     "Device0"
…
    BusID          "PCI:8:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
…
    BusID          "PCI:8:0:0"
    Screen          1
EndSection

Step #1: remove that pointless, crufted config file.
Step #2: ?
Step #3: ?
Step #4: ?
Step #5: Profit!

Offline

Board footer

Powered by FluxBB