Long day and tired eyes I decided to change resolution. I had been using Plasma X11 as usual on my desktop with 2560 x 1440 resolution so changed to 1600 x 900 which is also 16x9. When I tried to apply, my screen went black. I had to do a forced reboot to get back to the login screen and changed to Wayland and now all is good.
It seems my monitor thinks it only accepts 60Hz Refresh rate but I am sure it can be variable.
Is there anything I can do to get my X11 screen back with a lower resolution?
It does seem that Wayland is now sound and reliable but I have a follow up question;
I am not sure all my apps will work work with Wayland and I know that Team Viewer is still rather shaky when my machine is running Wayland. Team Viewer is still in Beta mode. How can I fix my X11 resolution?
It’s possible you need no more than log out of Plasma, remove the content of ~/.cache/, then log back into Plasma. If that doesn’t work, using root authority create a file in /etc/X11/xinit/xinitrc.d/ containing:
xrandr --output HDMI-1 --mode 2560x1440
Simply xrandr from a running Xorg session will report the current connection name at any time. You might want to try 1920x1080 instead, or try it from within a session when eyes tire. Also, you need to check Xorg.0.log, found in either /var/log/ or ~/.local/share/xorg/, to find out the correct output name to use where I have HDMI-1 above:
# grep onnec /var/log/Xorg.0.log
[1630231.458] (II) modeset(0): Output HDMI-1 disconnected
[1630231.458] (II) modeset(0): Output HDMI-2 connected
[1630231.458] (II) modeset(0): Output DP-1 disconnected
[1630231.458] (II) modeset(0): Output HDMI-3 disconnected
[1630231.458] (II) modeset(0): Output DP-2 disconnected
#
I don’t believe the xrandr command has any effect on Wayland.
It’s possible KScreen6 may make this all for naught, but you can disable KScreen in systemsettings if necessary to have it work. I’ve always kept KScreen2 disabled. I use this process for configuring multiple screens to my liking regardless which session type I log into.