I've been playing with adding `scale` to `~/.config/wayfire.ini` on a Pi 5, since support for this option might change what kind of DSI display products make sense on the Pi.
It looks like integer scales work reasonably well, eg:
These changes are picked up immediately and the display scales accordingly.
This is also a really nice way to get a crisp, 1080p desktop on my 4K TV which has less than compelling upscaling filters otherwise.
Non-integer options, such as 1.5, seem to cause the Taskbar to disappear,.
Despite a bunch of basic desktop working at 2.0 scale, VLC is not happy:
This is with the very run of the mill 'bbb_sunflower_1080p_30fps_normal.mp4' from https://download.blender.org/demo/movie ... al.mp4.zip
Setting the display scale to 1.0 and attempting to play the video again works fine. Starting the video and *then* changing the display scaling also works fine, though it is very clear that - in this case - VLC is not being correctly scaled and rather just pixel-doubled.
I'm not really sure what's happening here and whose problem it is, but it suggests there might be deeper compatibility issue stopping display scaling from being something that could be added to arandr https://github.com/raspberrypi-ui/arandr/
Has anyone else tried this, run into any problems, or got any idea what would need to happen to make it usable?
It looks like integer scales work reasonably well, eg:
Code:
[output:HDMI-A-1]mode = 3840x2160@30000position = 0,0transform = normalscale = 2.0
This is also a really nice way to get a crisp, 1080p desktop on my 4K TV which has less than compelling upscaling filters otherwise.
Non-integer options, such as 1.5, seem to cause the Taskbar to disappear,.
Despite a bunch of basic desktop working at 2.0 scale, VLC is not happy:
Code:
[000055568260d560] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.[00005556826ad870] main playlist: playlist is empty[h264_v4l2m2m @ 0x7ffef4d6e330] Could not find a valid device[h264_v4l2m2m @ 0x7ffef4d6e330] can't configure decoder[00007ffef4d69b60] avcodec decoder error: cannot start codec (h264_v4l2m2m)[00007ffee40013f0] wl_dmabuf vout display: <<< Open: I420 1920x1090(1920x1080 @ 0,0 0/0), cfg.display: 1920x1080, source: 1920x1090(1920x1080 @ 0,0 1/1)wl_surface@46: error 2: Buffer size (1x1) is not divisible by scale (2)The Wayland connection experienced a fatal error: Protocol error
Setting the display scale to 1.0 and attempting to play the video again works fine. Starting the video and *then* changing the display scaling also works fine, though it is very clear that - in this case - VLC is not being correctly scaled and rather just pixel-doubled.
I'm not really sure what's happening here and whose problem it is, but it suggests there might be deeper compatibility issue stopping display scaling from being something that could be added to arandr https://github.com/raspberrypi-ui/arandr/
Has anyone else tried this, run into any problems, or got any idea what would need to happen to make it usable?
Statistics: Posted by gadgetoid — Wed Feb 28, 2024 11:15 am