You are not logged in.
Hello
Apologies in advance for a lack of understanding and/or redundant/useless information, I'm fairly new to Arch here..
I'm currently on 5.15.5-arch1-1 with Plasma 5.23.4 (xorg). I have 2 monitors on my machine;
DP-2 2560x1440 (primary)
DP1- 1920x1080 (secondary)
my GPU is an MSI 2070S with nvidia driver 495.44
On my initial Arch install < a week ago, I got KDE plasma up and running and my monitors worked as expected right away. The only thing that I noticed is that some of the "main" applications, such as system settings, would open on my 2nd monitor as if it was my main. I doubled checked my display settings under system settings and sure enough, my main monitor was set as the primary.
Just this morning I had the idea to check my nvidia settings and I noticed that my second monitor was set as `X screen 0` and my main was set as `X screen 2`. Out of intuition I changed my main to x screen 0 and my second to x screen 1. Reboot and found that my 2nd monitor appeared to be off. It turns out that it's "on" and nvidia is detecting it, but KDE doesn't detect it at all. I can move my cursor to it and it just becomes an X.
I tried to change the x screens back to 0 and 2 but I could only change them back to 0 (2nd) and 1 (main), but this actually makes things worse, KWin completely crashes and I can only open a terminal.
I moved my /etc/X11/xorg.conf to my home directory to see if it would generate another one and it did, but I'm back to my original problem with only having my main monitor. Nvidia still detects my 2nd though
Here is my current /etc/X11/xorg.conf file:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 495.44
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 1920 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 S2716DG"
HorizSync 34.0 - 222.0
VertRefresh 30.0 - 144.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Acer XV240Y"
HorizSync 193.0 - 193.0
VertRefresh 48.0 - 165.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce RTX 2070 SUPER"
BusID "PCI:7:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce RTX 2070 SUPER"
BusID "PCI:7:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-3"
Option "metamodes" "DP-2: 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" "DP-0: 1920x1080_144 +0+0 {AllowGSYNC=Off}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSectionI'm not sure what I could do next, my thoughts are telling me to fresh install everything nvidia and pray but I don't think thats the best idea.
If anyone has any tips, or if anyone needs more information/logs please let me know!
Thanks,
Offline
You've created a zaphod-oriented configuration - just delete that file.
Static server layouts are discouraged anyway and the nvidia-settings generated ones are particularily bad (the mouse and kbd drivers don't exist since a decade…)
Offline
You've created a zaphod-oriented configuration - just delete that file.
Static server layouts are discouraged anyway and the nvidia-settings generated ones are particularily bad (the mouse and kbd drivers don't exist since a decade…)
I've just taken a look through this page. It seems my second monitor is not being detected when I get rid of the xorg.conf file. $DISPLAY returns `:0`.
Alternatively, using xrandr returns this:
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95 + 144.00* 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)what should I do to get my 2nd monitor visible again?
Offline
What does the updated xorg log look like?
Offline