ishitatsuyuki / LatencyFleX

Vendor agnostic latency reduction middleware. An alternative to NVIDIA Reflex.
Apache License 2.0
797 stars 20 forks source link

How to use on Fedora silverblue / Steam Flatpak #34

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi, since I'm using silverblue and steam flatpak I'm triying to get latencyflex working, since there is not a flatpak for it like mangohud (and sorry if there is something in work) are there any chance to get it working with steam flatpak? Like adding some permission or something like it.

I install latencyflex vulkan layer via a copr, but i'm not really sure if the vulkan layer installation is the same on silverblue.

Proton files are all fine, use to use it on a nobara install

deltainium commented 1 year ago

7 might be worth a read. If I recall correctly there was mention of a workaround on reddit though Im not sure if its strinctly related.

Also a flatpak install for latencyflex is being worked on by @orowith2os and @KyleGospo though their latest commit was back in January

orowith2os commented 1 year ago

I'll pick it back up eventually, need to work through some Vulkan build dependencies first.

KyleGospo commented 1 year ago

@orowith2os some of the dependencies have been removed since we last spoke, may be easier now.

In the meantime you can layer LatencyFleX with my Copr or use Distrobox instead of flatpak Steam.

ghost commented 1 year ago

Just a quick update for anytime who need it, the fix for flatpak steam was the next one:

Move latencyflex.json to ~/.var/app/com.valvesoftware.Steam/.local/share/vulkan/implicit_layer.d/ Move liblatencyflex_layer.so to ~/.var/app/com.valvesoftware.Steam/.local/lib/x86_64-linux-gnu (you will have to make by yourself the last two folders)

It is important to edit latencyflex.json to change "library_path" accordingly.

Then all should be working fine if you install the proton extensions and all the other steps, test it on Apex Legends, working 100%

The Reddit comment was not very clear and was missing some stuff, so hopefully this can help someone