I started using Manjaro with a 2560x1440 monitor but unfortunately, xrandr does not automatically detect the resolution. After some digging through forums/Arch wiki this series of commands worked for me:
Resolution
cvt12 2560 1440 60 -b
xrandr --newmode "2560x1440_60.00_rb2" 234.59 2560 2568 2600 2640 1440 1467 1475 1481 +hsync -vsync
xrandr --addmode HDMI-2 "2560x1440_60.00_rb2"
xrandr --output HDMI-2 --mode "2560x1440_60.00_rb2"
xrandr output
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
1920x1080 60.02 + 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
1920x1080 60.00 60.00 50.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1280x800 59.91
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
2560x1440_60.00_rb2 60.00*
But, this only works for session and resets after reboot. I tried to run the script at boot but it does not work since xrandr is not loaded yet, then I put it in autostart tab in kde settings and it works after login. But, I would prefer it running with SDDM startup or xrandr startup, if possible.
Solutions tried:
config
Section "Monitor"
Identifier "HDMI-2"
Modeline "2560x1440_60.00_rb2" 234.59 2560 2568 2600 2640 1440 1467 1475 1481 +hsync -vsync
Option "PreferredMode" "2560x1440_60.00_rb2"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "HDMI-2"
DefaultDepth 24
SubSection "Display"
Modes "2560x1440_60.00_rb2"
EndSubSection
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
-
Adding a xorg.conf file ( also disappears at reboot )
-
https://forum.manjaro.org/t/cant-get-my-monitor-to-work-at-144hz/65419/21
But result is always the same: Stuck black screen without SDDM greeter.
journalctl -xb
systemctl status sddm.service
both show no errors but systemctl shows my UID as 965 and user UID should be more than 1000 I think?
systemctl
● sddm.service - Simple Desktop Display Manager
Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-12-02 03:04:20 +03; 5min ago
Dec 02 03:04:23 pc sddm[2385]: Socket server starting...
Dec 02 03:04:23 pc sddm[2385]: Socket server started.
Dec 02 03:04:23 pc sddm[2385]: Loading theme configuration from "/usr/share/sddm/themes/breath2/theme.conf"
Dec 02 03:04:23 pc sddm[2385]: Greeter starting...
Dec 02 03:04:23 pc sddm-helper[2397]: [PAM] Starting...
Dec 02 03:04:23 pc sddm-helper[2397]: [PAM] Authenticating...
Dec 02 03:04:23 pc sddm-helper[2397]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=965) by (uid=0)
Dec 02 03:04:23 pc sddm-helper[2397]: [PAM] returning.
Dec 02 03:04:23 pc sddm[2385]: Greeter session started successfully
Dec 02 03:04:23 pc sddm[2385]: Message received from greeter: Connect