Ugh, I swore that this worked on Windows. Likely this is due to the fact that Windows doesn’t actually have a state for fullscreen windows so it’s not getting sized properly on a resolution change?
HTPC can actually use the mouse which is why it’s hidden after it is not used for a bit. Only Windows makes it unhidden on a display mode change.
What I shared contained all the shaders. There were three external shaders listed in that snippet and FSRCNN is only the first.
I presume this means you are playing 4k content on a 4k display. If so, the first two shaders get disabled (the first being a pre-scaler doubler and the second being a downscaler). There is no need to scale the luma channel because the resolution already matches and so that only leaves the KrigBilateral scaler for the chroma channel (unless you are playing 4:4:4 content but that’s highly unlikely outside of raw video editing).
It sounds like you should be doing some performance testing. I would suggest downloading MPV for Windows, copying one of these files (or part of it) to your computer, and running MPV on the CLI with options to see how it performs on your system. Back when I was diagnosing the audio dropouts, I was using this:
mpv.com --hwdec=auto --no-config --audio-spdif=ac3,eac3 --fullscreen --glsl-shaders="\Users\YourUsernameHere\AppData\Local\Plex HTPC\shaders\FSRCNNX_x2_8-0-4-1.glsl" --scale=ewa_lanczos --msg-level=all=v --glsl-shaders-append="\Users\YourUsernameHere\AppData\Local\Plex HTPC\shaders\SSimDownscaler.glsl" --dscale=mitchell --linear-downscaling=no --glsl-shaders-append="\Users\YourUsernameHere\AppData\Local\Plex HTPC\shaders\KrigBilateral.glsl" --cscale=mitchell --sigmoid-upscaling=yes --video-sync=desync testfile.mkv
Then, during playback, if you type shift+i you’ll get an information overlay which includes last, average, and largest frame times. If you then type 2, you’ll get a page which includes these times for each shader. Note that FSRCNN transforms into several staders and some of the others do as well. This should give you a good idea on what can perform on your system.
If it turns out these three scalers are too much for your system, then you may want to look at some other sources for possible options to try. Of the pages that I found containing useful information, one may be of help to you to find the best config that your system can perform.
- My original source for much of the information on FSRCNN https://freetime.mikeconnelly.com/archives/5371
- A source containing some possible other quality configurations: mpv.conf – I am Scum … and so are you.
- A source mentioning multiple other scaler configuration including SSimSuperRes which is a bit less demanding than using FSRCNN mpv Configuration Guide for Watching Videos – Kokomins
- And since you mentioned MadVR, this same author discusses some of the equivalents between settings there and these shaders: MPC-HC and MadVR Setup Guide – Kokomins
I’m not sure how much of this market remains with an HTPC device. My expectation is that most of this has been eroded away by cheap streaming boxes. As I said, RPi would depend on how much available time there is.
