On 5/30/2023 at 1:01 AM, ReflexiveTransativeClosure said:I think that you would have to be downscaling from an internal resolution which is a non integer factor of the output.
Yup, that seems to be exactly what's happening. Very good catch!
On 5/30/2023 at 1:01 AM, ReflexiveTransativeClosure said:I also attach a gamescope build with a linear-ish filter. It's something I hacked together in half an hour though, so it won't
be perfect (I'm not a graphics programmer), and only works for exactly 2x scaling. The result is somewhere in-between unfiltered and bicubic for aliasing and softness.
The keybinds are different too (it's based on my downstream tree, sorry), it's meta+b for no filtering (blit), and meta+j for bilinear. meta+k gives somewhat broken bicubic. (Also, if you press meta+n (sample nearest) by accident, you should press meta+l (sample linear) to get everything back to normal).
Like the others suggest, absolutely you should make this a PR for gamescope. That is actually awesome!