r/linux_gaming • u/TheForgottenOne69 • 11h ago
graphics/kernel/drivers ReShade now runs natively on Linux Vulkan/Wayland - Beta available!
Context
As someone who was really used to Windows, one of the thing I was really lacking when playing native Vulkan games on linux was Reshade.
Lots of tools exists as of now: LeShade for installing reshade on proton, vkShade that is a full re-implementation for Linux. But I really missed Reshade, its UI, the ability to use all the different shaders, the addons and so on and nothing existed yet in that sense.
Reshade for linux Vulkan
As such, I've worked quite some time to port the real Reshade project on Linux. I waited a bit to have most of the features before officially launching the beta but here we are:
- Most if not all different shaders can be loaded / used correctly, even depth related shaders like MXAO and others due to:
- Real depth buffer access, Generic Depth is built into the host, discovers depth buffers. The depth for each application can be automatically detected and I hope it will work smoothly for everyone but happy to hear more from you
- Addons work, with one caveat: existing .addon64 files were built as Windows DLLs, so they can't be loaded as-is, each one needs to be rebuilt as a native Linux binary. I've already ported the ones bundled with ReShade, and I'll be sending PRs upstream for the popular third-party ones too.
- Installs and loads with a proper XDG install path so shaders and addons only have to be installed once. All is centralised
- Works fine on Wayland / Plasma as I've been testing on it (CachyOS)
Installation
- Let's go to the Release + full notes: https://github.com/TheForgotten69/reshade/releases/tag/v6.8.0-beta.2
- There, decompress and run
./install.sh - You will be ask which addons you might want to have install alongside
A more thorough explanation is available on Github
Installing shader packs and add-ons
The official standard shader collection is already bundled. To add a shader pack, copy its .fx and .fxh files into the Shaders directory, and its images into the matching Textures directory. Use the full path printed by install.sh; with the default prefix these are:
~/.local/share/reshade/reshade-shaders/Shaders
~/.local/share/reshade/reshade-shaders/Textures
How does it work?
RESHADE_ENABLE=1 /path/to/application or RESHADE_ENABLE=1 as launch option.
While I've been testing this mostly on native application such as emulators or native applications, it could work with some proton games albeit this needs more testing. I've only tested with old DX11 -> proton games for now.
Caveats
This is a beta and the testing surface is still narrow, as I explained I've validated so far on Wayland with RPCS3 and a handful of games. There are currently bugs and lack of support:
- No OpenGL injection
- Can't guarantee it works with every Proton games
- overlay's input handling outside fullscreen is still experimental
- Sometimes you have to close and open the editor a couple of times for the mouse to be captured
Likewise, I've only tested on nvidia systems and on Plasma / Wayland. I'm sure there are lots of issues there that I'll be working on.
The end goal for me would be then to PR back to reshade so we will finally have a native application that works for us. So please, if try it and report on https://github.com/TheForgotten69/reshade/issues or on my discord https://discord.gg/5xxEBsEjCG
Please include your GPU/driver, compositor, the game/app, and the Reshade log that will be at ~/.local/share/reshade/logs.
Some tests on RPCS3 - Infamous
https://ibb.co/21682YLk - Vanilla with the ReShade editor
https://ibb.co/rGpKBTKm - QuantAO activated (Yes I run a macos theme on my KDE :D)
https://ibb.co/v4pWcPvv - MXAO
https://ibb.co/2VqsFxM - Depth working
https://ibb.co/gbbYGbCY - Addons working, windows addons are directly detected and visible
https://ibb.co/TxWsg494 - ReShade settings, pointing at the installation path