My laptop has a HR monitor, eDP1. I want to connect a second large monitor (TV) via HDMI adapter to show video with VLC. Default the second monitor is expected to have high resolution, so with a relative low resolution everything is displayed all too large and clumpsy (menus, icons etc) while the window has to be scaled down.
My question is how to configure the correct resolution for the second primary monitor DP1 with xrandr?
See the current xrandr output below and additional inxi details.
xrandr
Screen 0: minimum 16 x 16, current 5760 x 2160, maximum 32767 x 32767
DP-1 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 530mm x 300mm
1920x1080 59.96*+
1440x1080 59.99
1400x1050 59.98
…
eDP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 290mm x 170mm
3840x2160 59.98*+
2048x1536 59.95
1920x1440 59.90
inxi -GSaz needs to be run within a running X session to tell us more about what’s happening. Also, please place ``` on a line by itself both before and after command input/output you paste here, to preserve the formatting as you saw it.
Thank you for commenting:
This command output is taken in a Gnome session terminal after connecting the second monitor and with VLC loaded. (Tested also with Gnome on Xorg without any visually VLC change, still huge menus and buttons and small area to see the video)
@malcolmlewis
I dived more into it and found the reason that caused this issue and solved it. Some years ago I beta tested openSUSE and SLED using this XPS 9370 ultrabook. With its 13" built-in 4k UHD 3840x2160 display, the DTE gui became so small and almost unreadable. The gui setup I found that solved it comfortable were setting Display zoom to 200% + Accessibility Large Text enabled. When I now temporary backed the display zoom to 100% and disabled large text, the gui and VLC window worked useable (again) on the Joined 1920x1080 monitor.
For possibly later documentation of interest for this issue, I attach here my settings screenshot and updated inxi output after this.
I started composing this hours ago, got interrupted, and forgot about it. FTR it may be worth knowing anyway, for anyone using multiple displays with massively different display densities.
To clarify @malcolmlewis’ comment, your Phillips 244E is limited to 1080P, so you need a different TV supporting 4K to play 4K content @4K from your laptop on the TV. To simply resize all those too big objects on the 244E using X11, xrandr should be able to scale it, independent of the options Plasma settings provide. e.g.:
Here, a similar set of values matched to the displays I use shrinks fonts and everything else quite a bit. While the scale factor NAICT is not technically limited, you may find fonts look better when net DPI works out to a multiple of 12 or 24 that comes close to matching the display’s dot pitch, or a nearly even multiple or fraction of it. My eyes aren’t good enough to find any value in 4K, so even though I have a 4K TV in the living room, when I connect Linux to it I run it 1920x1080 and don’t attempt to find anything to watch on it having a higher resolution format.