ishitatsuyuki / LatencyFleX

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

Not working #13

Closed guglovich closed 2 years ago

guglovich commented 2 years ago

Checked everything according to the guide. https://github.com/ishitatsuyuki/LatencyFleX/blob/master/docs/TROUBLESHOOTING.md At the end of the log file is :

../builtin.cpp: Querying MemoryWineUnixFuncs failed c0000135
../builtin.cpp: Look for library loading errors in the log and check if liblatencyflex_layer.so is installed on your system.

latencyflex_layer.so is in /usr/lib/wine/x86_64-unix/ and /usr/lib64/wine/x86_64-unix/, and liblatencyflex_layer.so is also in /usr/lib/

guglovich commented 2 years ago

steam-1172470.log

ishitatsuyuki commented 2 years ago

If you are running proton, you need to put latencyflex_layer.so inside the Proton lib directory. That should fix it.

guglovich commented 2 years ago

@ishitatsuyuki You mean the folder? Didn't work SteamLibrary/steamapps/common/Proton - Experimental/files/lib

ishitatsuyuki commented 2 years ago

Please refer to the instructions from README.

https://github.com/ishitatsuyuki/LatencyFleX#latencyflex-wine-extensions-required-for-proton-reflex-integration

What I meant is lib64/wine/x86_64-unix.

guglovich commented 2 years ago

It said /usr/lib/wine, I copied everything correctly there, but with Proton it's not very clear, in /.local/share/Steam/steamapps/compatdata//pfx where those folders aren't there or somewhere deeper.

ishitatsuyuki commented 2 years ago

So did you get it right? It's SteamLibrary/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix. And the filename is latencyflex_layer.so (and not liblatencyflex_layer.so).

guglovich commented 2 years ago

So did you get it right? It's SteamLibrary/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix. And the filename is latencyflex_layer.so (and not liblatencyflex_layer.so).

Yes. изображение

ishitatsuyuki commented 2 years ago

Is it working now? If so, please close the issue.

guglovich commented 2 years ago

Is it working now? If so, please close the issue.

It's not working yet.

ishitatsuyuki commented 2 years ago

Please post an updated log.

guglovich commented 2 years ago

steam-1172470.log

intrntbrn commented 2 years ago

i had the same issue (missing liblatencyflex_layer.so) and this fixed it for me:

cp liblatencyflex_layer.so ~/.local/share/Steam/steamapps/common/Proton\ -\ Experimental/files/lib64
cp liblatencyflex_layer.so ~/.local/share/Steam/steamapps/common/Proton\ -\ Experimental/files/lib
guglovich commented 2 years ago

i had the same issue (missing liblatencyflex_layer.so) and this fixed it for me:

cp liblatencyflex_layer.so ~/.local/share/Steam/steamapps/common/Proton\ -\ Experimental/files/lib64
cp liblatencyflex_layer.so ~/.local/share/Steam/steamapps/common/Proton\ -\ Experimental/files/lib

Thanks, one of the two folders was missing a file. Today after all this time I decided to double-check all the folders again and I noticed that I was missing files in /home/user/.local/share/Steam/steamapps/compatdata/1493710/pfx/drive_c/windows/system32/.

Everything works now. In the future I hope for a simpler installation, e.g. you could arrange the folders in the archive so that they are similar to the paths to be copied into the system. And, of course, waiting for the integration for MangoHud to keep track of whether LFX is activated.