My current setup includes two 1440p monitors and a 4K TV . In the evening I use a script to switch off the monitors and use the TV. Due to the different resolutions, scaling is a problem. Both X11 and Wayland have their own problems.

My setup: Arch, KDE, Nvidia RTX 2060 with proprietary NVIDIA drivers (edit: version 545.29.06), 2x 1440p 144Hz monitors (DP-0, DP-1), 1x 4K 60Hz TV via (HDMI-0)

X11: Currently my procedure is as follows when I want to switch from monitors to my TV:

  1. I turn the TV on
  2. I change the Global scale to 175% via the KDE GUI. (I haven’t found a command to implement in a script yet)
  3. I use xrandr to switch to the TV only. xrandr --output HDMI-0 --primary --mode 3840x2160 --pos 5120x0 --rotate normal --rate 60 --output DP-0 --off --output DP-1 --off

The monitors turn off, but the TV shows a black screen. After a restart the TV works and the scaling is correct. So far I haven’t found a way to change the scaling and switch to the TV without a restart.

Oddly if I turn on all screens at the same time, it works. All of them show the desktop xrandr --output HDMI-0 --mode 3840x2160 --pos 5120x0 --rotate normal --rate 60 --output DP-0 --primary --mode 2560x1440 --pos 0x1124 --rotate normal --output DP-1 --off --output DP-2 --mode 2560x1440 --pos 2560x1124 --rotate normal However, when I use step 3 afterwards, the TV shows a black screen again.

I tried to find solutions, but it’s hard to figure out, since I’m not sure if it’s a driver problem, KDE problem, …

Wayland:

  • the max refresh rate for the TV is 30 Hz
  • with the TV turned on the system freezes every few seconds for a second or two

I haven’t tinkered with Wayland a lot. The freezes make it a no-go for now. X11 at least has a workaround, even though it’s a bit annoying.

Even though I have used Linux for a while. I’m probably still considered a beginner, so any help would be appreciated.

  • minimalfootprintOP
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    545.29.06 I had the problems for quite some time with different driver versions