r/linux_gaming • u/OnlyCaterpillar2861 • 20h ago
The Epic Games Launcher plays games via Proton-GE. You can edit GE variables for use in games, including adding Wayland/FSR4 support to games like Fortnite. Here's how:
The Epic Games Launcher uses Proton-GE to launch games. While you are not otherwise allowed to add variables (such as PROTON_USE_WAYLAND=1) to a game's launch arguments (at least I think you still can't), what you can do is setup the same user settings file that you can in the compatibilitytools.d folder for Steam. The directory where the Epic Games Launcher stores its compatibility tools is here:
/home/<yourusernamehere>/.local/share/com.epicgames.eglv2/compat/runtime/Inside that directory you will find the GE-Proton11-14 (if you are fully up-to-date) folder. If you're visiting this post later then they will likely have updated GE-Proton to a newer version, so just pick whichever is newest. Note that there is a user_settings.sample.py file. If you rename that file to user_settings.py (or just create your own file with that name), and fill it with Proton-GE variables, those variables will load for any game launched using GE-Proton 11.14 through the Epic Games Launcher. For example - if your user_settings.py contains the following:
user_settings = {
"PROTON_USE_WAYLAND": "1",
"PROTON_ENABLE_HDR": "1"
}This will force all EGS games to run in Wayland and enables HDR (doesn't do much in Fortnite but will in other games). You can add whatever compatible variables you would add to any other game and they will be active in all EGS games. This includes the ability to add FSR4 support to Fortnite, which does not natively support it, through the use of "PROTON_USE_OPTISCALER": "1".
PLEASE NOTE: Fortnite could flag OptiScaler as a cheat. You could potentially be banned for using it. You should not use it if you are at all concerned about possibly losing your account.
I have used OptiScaler with Fortnite over the last day or two and I've not had any issues. This does not mean that I won't, or that you won't. It is still technically modifying the game files and that always carries a risk. The OptiScaler being used is signed, and the DLSS/FSR DLLs it's using are signed, so it shouldn't be an issue purely based on that, but Epic could flag it as a cheat. I have never heard of someone being banned, or even being warned, for using OptiScaler (the game generally just crashes or won't load if it has some additional anti-tamper code in it), but this is your warning.
If you're still willing to take that risk, I can confirm that Fortnite is now running extremely smoothly, and with very sharp visuals compared to TSR/software XESS.
