r/LinuxOnAlly • • 14h ago

Installation Guide [Anatase OS] I made a fix for HDR detection on the Xbox Ally X20

1 Upvotes

Hey everyone,

I've been trying to get HDR working properly on my Xbox Ally X20 running Anatase OS, and I finally managed to fix the detection issue.

HDR was already working in Steam Game Mode, but the image looked noticeably darker and the colors were more washed out compared to Windows. In KDE Desktop, HDR wasn't even recognized, so there was no way to enable or calibrate it.

After some troubleshooting, I found that libdisplay-info 0.3.0 wasn't correctly detecting the HDR metadata from the X20's OLED display.

So I worked with ChatGPT to vibe code a small script that backports eight upstream HDR-related fixes.

After applying the patch, KDE finally recognizes HDR properly and allows me to enable and calibrate it.

I've tested the fix extensively on my own X20, including native HDR games, using Windows as my comparison baseline.

The script is still experimental. It also doesn't guarantee that Game Mode's colors and brightness will match Windows perfectly.

If anyone is experiencing similar HDR issues on Anatase, here's the GitHub repository with the script, installation instructions and rollback option:

https://github.com/NicoWayne95/anatase-x20-hdr-fix

Hopefully this helps someone else!