Help with enabling HDR in games

Hello everyone,

This is my 1st post here as a new Linux/Bazzite user.

I do not want to move to windows 11 from 10 so I installed Bazzite in dual boot following the video instructions in the main website and everything worked out smoothly.

I can open and work on PDFs, word documents with acrobat or libre office, my Powerline internet connection just worked from the get go, as did my WiFi connection to internet and wireless printer. I am able to watch videos un my ultra wide screen like I did in Windows with VLC player etc.

So pretty much no reason to go back.. I wanted to play resident evil village, which I had already installed on Windows and told myself, let’s try running it on Bazzite. After opening lutris and installing the game through windows game prefix exe it booted up no problems 1st time.

Then after trying to reboot another time I got message missing executable (I found out you have to go in the game’s configuration and tell lutris the path to the exe file of the game.. but it just used that exe to install the game! Why tell Lutris again where the exe is?!).

Anyway, now I wanted to enable HDR (the game supports it and it works normally in Windows after enabling HDR in display settings and on my monitor).

Sadly I still have not been able to enable the HDR option in the game, it stays greyed out.

Under display settings in Bazzite I have HDR enabled and my monitor has HDR also enabled. I went into the game’s configuration and enabled the switches for gamescope and experimental HDR, which as soon as the game is started with lutris it freezes on the 1st screen with the game’s warning message.

Mangohud works fine by itself (btw. How can I configure it to show more info than just the average FPS? There is just an on switch. I’d like to customize it like AMD adrenalin overlay with 1% lows fps, GPU power usage etc.).

I’ve read about adding environment variables in the game’s configuration like DXVK_HDR=1 etc. (not sure if I’m doing it correctly) but it has no effect.

Could someone be so kind and explain to me step by step how I can enable HDR for all windows games that support it?

After that I’d really like to try out fsr4 with my XTX :grinning_face_with_smiling_eyes:

I’m no expert but I usually activate HDR with a steam command like: (This is my example from Helldivers 2 and war thunder)

PROTON_ENABLE_WAYLAND=1 PROTON_ENABLE_HDR=1 ENABLE_HDR_WSI=1 %command%

I just snooped around on protondb until I found that this worked. I’ve found the DXVK can disable the shift+tab menu sometimes, I really don’t know what the commands mean individually either.

Specs:

CPU: 9900x, GPU: 9060xt 16gb, Display: LG 21:9 oled

1 Like

Hey Shep,

Thanks for your quick reply!

I’m using WINE on Lutris in the Runner options for the game. Do these proton commands still work, or do I have to change to ge-proton as runner? The thing is also that I don’t know where to enter these commands in Lutris (the game doesn’t need steam to run, it’s just the (cracked) game files that I installed using the windows game prefix installation). Do I enter these arguments in the Systems Options, Game execution field under Environment Variables?

I just changed the Runner to GE-proton and added those arguments under Environment variables where key are the strings/name and value is the number/command.. and it worked!

Could see clear difference in colour depth and gamut on my oled (especially black gradients).

HDR option just appeared in the display settings of the game :grinning_face_with_smiling_eyes:

I wonder how I wasn’t able to find the answer while googling for hours..

You’re a CHAMP, thank you so so much

:100::tada::confetti_ball:

Maybe you can tell me how to now enable fsr4 so I can try it out? :face_savoring_food:

I really don’t have any idea how to use wine sorry bro, but I’m glad you found a fix.

I’d like to figure FSR 4 too lmao

Hey,

You can give a try to Proton-EM for FSR4 via ProtonPlus app. Just set PROTON_FSR4_UPGRADE=1 the FSR 4.0.0 DLL will be automatically downloaded and everything should just work.

Note: I do not have AMD video card that supports it tho’.

EDIT: The game must already have FSR3.1 support for this to work.

EDIT2: This is also available in `Proton-GE` :person_facepalming:

1 Like

Hello,

Thanks you both again for answering.

CyberOto, I have been researching in the meantime and as you said for games that don’t support fsr3.1 or higher I need to use optiscaler, but that seems easy to do.

I’m going to see if it works on re village.

I have also installed silent hill 2 remake with Lutris and am updating it now to support fsr 3.1. I will not need optiscaler to run then fsr4 on it and just insert DXIL_SPIRV_CONFIG=wmma_rdna3_workaround and PROTON_FSR4_UPGRADE=1 %command% as Environment variables when running the game and use GE-proton as a runner. It should enable fsr4 just like that.

Update:

FSR4 seems to be working. I already played and finished the game, but watching it native (3440x1440) and using FSR4 (super sampling in menu still says 3.1 but is FSR4) is a very different experience. I know the game is optimised like shit and TAA is horrendous in these UE5 games, but I was standing in the starting area and on native (no TSR) hair and trees were very jagged and movement was causing a lot of ghosting (don’t remember it being the case when I played before using HDR and frame gen) and there was a lot of ‘film grain’ on the toilet building. Awful.

Enabling FSR4 quality frames dropped only a bit but things became clearly more detailed, no film grain, no ghosting and hair was clear and had pretty much no jaggies anymore and James’ face was smoother/more detailed as well as the trees were more detailed. What surprised me was that putting FSR4 on performance made no noticeable difference to me quality-wise, but gave me 110fps and very fluid movement.

Thank you for the info, I’ll try this out, but I have a small issue. I just did a system update, and LACT indicates that I’m still on Mesa 25.1.7?

Is there a way I can specifically update Mesa? I’m also on the deck-image if that matters.

I’m also very new to Linux/Bazzite (a week or so) and using desktop mode.

I installed the newest Bazzite iso/version and didn’t know you can check your version in LACT (do you know how you can automatically minimize it to the tray icons bottom right? Only thing I was able to do is autorun it at startup, but the window always shows up..).

I’m letting the system update itself or run in the terminal ‘ujust update’, if you need the latest version that might not be included in the automatic updates then you’d need to create a distrobox and install the mesa-git inside it and after run steam inside it (what I found online, but I haven’t used a distrobox yet). When steam is running go to help>system information and you’ll see which mesa version is running.

1 Like

Hey,

Before you do something that you are not comfortable or do not fully understand, please check your current Mesa version with vulkaninfo --summary command.

You can also check Bazzite current version with rpm-ostree status and you can follow the release details on GitHub, e.g., for last stable image:

or use ujust changelogsif you fancy terminal

1 Like

I appreciate the info, thank you. I just ran vulkaninfo –summary, and saw that I’ve got Mesa 25.2, but Lact says I have 25.1.7. I should probably just the vulkaninfo –summary result first right?

Hey,

Yes. Please keep in mind that LACT as flatpak app deployment can only access the Mesa driver available to flatpak, not host Mesa driver.

e.g.,

flatpak list | grep Mesa
Name          Application ID                         Version   Branch           Installation
Mesa          org.freedesktop.Platform.GL.default    25.0.7    23.08            system
Mesa (Extra)  org.freedesktop.Platform.GL.default    25.0.7    23.08-extra      system
Mesa          org.freedesktop.Platform.GL.default    25.1.7    24.08            system
Mesa (Extra)  org.freedesktop.Platform.GL.default    25.1.7    24.08extra       system
Mesa          org.freedesktop.Platform.GL32.default  25.0.7    23.08            system
Mesa          org.freedesktop.Platform.GL32.default  25.1.7    24.08            system
Mesa (Extra)  org.freedesktop.Platform.GL32.default  25.1.7    24.08extra       system

1 Like

Thank you

Is the PROTON_FSR4_UPGRADE=1 command still necessary for games that natively support FSR 4? I’m trying it out and I’m not sure if it’s working yet

Hey,

You can easy check if the FSR4 .DLL file was successfully downloaded in your Proton-GE by checking /home/[USERNAME]/.steam/steam/compatibilitytools.d/Proton-GE[VERSION]/files/lib/wine/amdprop folder.

Note: replace [USERNAME] and [VERSION] with yours. The assumption is that Proton-GE is deployed in the main drive, else you need to adjust the path to your setup.

You should see 2 files there - amdxcffx64.dll and amdxcffx64_version.

I don’t seem to have an amdprop folder, can I just make that folder and download the relevant files off the github you linked and drop them in?

I’ve checked my EM protons and my GE protons, if it’s any indication I download my compatibility layers with ProtonPlus.

Hey,

Yup, you can manually download those and place them in the folder.

1 Like

Hey CyberOto,

I looked for amdxcffx64.dll and amdxcffx64_version for silent hill 2 that I’m running with lutris, to make sure it is actually using FSR4 like I enabled it in my post above, but I had to look in it’s wine prefix folder, go drive_c , windows and then system32, since it’s not installed with steam, and just found the amdxcffx64.dll file.

Is that good enough?

I Lso used ProtonPlus to update proton-ge and proton-em runners to the newest version for steam, but going into the compatibility tools.d folder and the subsequent ones I can’t find the amdprop folder.

I don’t have any steam games that can use FSR4 (at least according to the optiscaler compatibility documentation), but shouldn’t updating the proton runners for steam automatically download these files?

One last thing: I have tried to enable optiscaler with dlss for resident evil 4 remake (steam) and 8 (lutris). Spent hours switching and swapping reframework PS upscaler and base upscaler plugin versions. I can do that now with my eyes closed, but the best I was able to do is temporal upscaler to show up in-game als a menu of reframework, but it still couldn’t find the backend base upscaler plugin and dlss files, even though everything was done to an A following instructions.

I guess the knowledge of which versions of base upscaler and reframework work with each other has been lost.. :rofl: there are dozens of versions and I haven’t got the time to try all possible combinations. I guess I have to give up.

Thanks for your reply in advance.

Hey,

The wine prefix contains a copy of the DLLs that Proton supplies. You might wanna compare the date, size and checksum of both DLL to be sure.

You need to have the PROTON_FSR4_UPGRADE=1 parameter to the command execution, to make sure that FSR4 .DLL is downloaded to the new Proton version and then used in the game.

ProtonPlus makes it easier to use Proton GE Latest (at least for Steam) package, and you kinda have to do the setup once, set it and forget it. The next Proton update will use the same Proton GE Latest folder.

Hey, thanks for the quick reply!

Yea, I just have the amdxcffx64.dllwith a small arrow on it. I guess that it points to the location where it’s stored for proton-ge?

How do I compare them to check whether they match?

I’ll add PROTON_FSR4_UPGRADEto the startup parameter for RE4 in the games properties on steam and see if the amdprop folder with the corresponding files is then created and also make the game run with the newest proton-ge 10 version.

Hey,

Small arrow indicates link. You can check the properties to see where it points.

e.g., from my Bluefin PC, as I’m not in front of the Bazzite one.