[xrandr v2] Select NearestNeighbour filtering for pixel exact scaling

Chris Wilson chris at chris-wilson.co.uk
Sun Sep 24 08:51:33 UTC 2017


Quoting Matt Turner (2017-09-01 22:17:58)
> Was there a reason this did not land?

It needs a touch more work:

"I was wondering, did you (or anyone else) follow up on this patch? I
recently used it with good success, and would be happy if it was
upstream. Especially as I am planning on getting a 4K monitor soon,
and will likely need to run e.g. games at 1080p resolution.

I did have to add a "continue;" at the end of the
if (!strcmp ("--filter", argv[i])) {
block though, or selecting a filter would not work.

As another note, changing the filter only has an effect if the
resolution/scaling is also altered."

My attempt at doing the latter just ended in segv. After which it just
slipped my mind.
-Chris


More information about the xorg-devel mailing list