this post was submitted on 14 Jan 2024
24 points (96.2% liked)

Linux

48185 readers
1109 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
24
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago

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