4k 120hz over HDMI 2.1 working almost correctly on a Samsung S95B TV
I have a Samsung S95B TV which supports 4k 120hz over HDMI 2.1 to an RX 6900 XT gpu. Initially this seemed to work, and in practice it sort of does but there's this subtle strange phenomena with using 120hz or 100hz that does not happen on 60hz and down.
If you have a black background and draw a single colored pixel, then translate the content one pixel to the left or right it will dim. It's almost as if for every other pixel row the colored pixel will become grey and dimmed.
To illustrate this problem, I draw an image like this where each square represents a pixel
And here's a video recorded on my phone which shows the problem in motion. I drew the pixels in gimp, set the zoom level to 100% and drag the gimp window carefully around.
In practice this has a noticeable effect on colored graphics that have limited amount of pixels to work with. Like small colored text, pixel perfect gui, etc.
This does not happen on windows. It happens on both wayland and xorg, but looks fine when using 60hz.
I'm using Mesa 22.2.0-devel (git-7b74747 2022-06-16 focal-oibaf-ppa) according to glxinfo
I'm on the KDE Neon distro which is based on Ubuntu 20.04. The Linux kernel version is 5.13.0-51-generic
Some relevant xrandr --verbose output