Hahaha. Common problem with multiscreen with different resolutions. Your laptop screen is below and left of your main display, and X11 renders this black “virtual screen”.
There are multiple solutions:
a) Set your screen resolution and position through KDE Plasma SystemSettings and push the button “apply to SDDM configuration” (I think Plasma 6.0 removed this option, try to find it in the SystemSettings KCM SDDM section).
b) The another solution is the old one. Create a file into /etc/X11/xorg.conf/display.conf with the proper values of position and resolution. Search for in a wiki about examples (archlinux wiki?).
c) They is a third one that I used few years ago. SDDM allows you run any command after the screen initialization. So you can exec your xrand command here. Search about /etc/sddm.conf
Also a solution: Use Wayland, it’ll probably break other things, and Nvidia support is only just getting there; but it’s multi monitor support is amazing, so it should fix that issue. So maybe it’s worth a try?
@kde
It even persists after the login!
Doesn’t get fixed until I re-align my displays in xrandr
Hahaha. Common problem with multiscreen with different resolutions. Your laptop screen is below and left of your main display, and X11 renders this black “virtual screen”.
There are multiple solutions:
a) Set your screen resolution and position through KDE Plasma SystemSettings and push the button “apply to SDDM configuration” (I think Plasma 6.0 removed this option, try to find it in the SystemSettings KCM SDDM section).
b) The another solution is the old one. Create a file into
/etc/X11/xorg.conf/display.conf
with the proper values of position and resolution. Search for in a wiki about examples (archlinux wiki?).c) They is a third one that I used few years ago. SDDM allows you run any command after the screen initialization. So you can exec your xrand command here. Search about
/etc/sddm.conf
Also a solution: Use Wayland, it’ll probably break other things, and Nvidia support is only just getting there; but it’s multi monitor support is amazing, so it should fix that issue. So maybe it’s worth a try?
@SteveTech @jlsalvador
Wayland is trash IMO and it doesn’t even start on my system. I have an nvidia gpu
@jlsalvador
It also happens on two 1080 monitors
@jlsalvador
Can I fully disable the second monitor on sddm?