You are not logged in.

#1 2021-11-13 23:02:55

rezad
Member
Registered: 2014-09-17
Posts: 133

difference in scaling with xorg and wayland

I use 150% scaling from system setting in plasma desktop because otherwise font are too small on my 14 inch laptop.
on xorg this causes every thing to zoom in (which is what I want) but still has the resolution of 1080p.
so opening a 1080 picture in image viewer and setting it to actual size will fit the screen exactly.

so  when I open a 1080 video in mpv and fullscreen it and then press i for info it shows
"native resolution 19200x1080" which is the video file resulotion and under it it say scaled resolution at "19200x1080"

xrandr | grep -w connected
XWAYLAND0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm



but when I remove xorg ( to test a issue with ram) and use plasma wayland the scaling got reset to 100 and so I set it 150% and desktop gets zoomed like before.
so far so good.

but the resolution of display changes and goes to 720p. inside the system setting the display and monitor tab shows the 1080 for resolution dropdown but at the top the picture shows a
"Laptop Screen
1280x720"

and to be sure:

xrandr | grep -w connected
XWAYLAND0 connected 1280x720+0+0 (normal left inverted right x axis y axis) 310mm x 170mm

opening a 720p in fullscreen and telling the image viewer to show the actual size will fill the screen so that app think my screen is 720p.

so now mpv  goes even weirder and when I open a 1080 video and fullscreen it and then press i for info it shows
"native resolution 19200x1080" which is the video file resulotion and under it it say scaled resolution at "2560x1440"
so mpv thinks my screen is 1440p.
though mpv may be at fault for this.

amd steam client also gets zoomed which didnt happen in xorg and DOTA game also see 720p monitor when in xorg it saw 1080p.

which one is the correct behavior? could I get my native resolution with wayland and zooming like xorg?

Last edited by rezad (2021-11-13 23:05:44)

Offline

Board footer

Powered by FluxBB