New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable nvapi/nvapi64 by default #165
Comments
Great idea! |
Maybe this is related to #336 ? Can someone tell me how to disable nvapi/nvapi64 to test this with that? It only runs full speed in wine-staging, which doesn't have dxvk. E: Tested, unrelated. Does not fix #336. Incidentally, nvapi/nvapi64 is what makes it possible for PhysX to work on NVidia Linux drivers, but that's the extent that the implementation provides. I guess it doesn't work too well while running Vulkan? |
UE4 games constantly searches for nvapi64.dll/nvapi64.dll.so Issue transferred from #1290. Form #1178 and doitsujin/dxvk#622 (comment) .
What affects performance. |
Can confirm, no UE4 directory scans with nvapi/nvapi64 disabled. |
I've checked Unreal source. Problem seems in D3D11RHI module. This can be fixed in UE as well. We just can transform checks from
to
|
what happens if we just grab nvapi dll's and toss it in the desired path? will it just continue without issue? |
Could it help if we'll have Fake dlls can be generated quite simple, e.g. : $ winebuild -m64 --dll --fake-module -o nvapi64.dll
$ winebuild -m32 --dll --fake-module -o nvapi.dll Wine looking for requested dll wherever possible before "Load Order" logic will act (see load_dll and find_dll_file). Disabling For UE4 result will be the same, but the way should be shorter. |
Enable/disable nvapi w/ |
And you can build nvapi only, w/o needing to build/install wine-staging. @aeikum Also there is an option ( I'm going to use those hacks locally for my own needs, but hope they will be useful to solve |
Doitsujin recommends disabling nvapi/nvapi64 when using DXVK but Proton does not set this override. The Flame in the Flood runs at 18fps in the menu because of this and at 60fps with nvapi disabled. I haven't tested in-game yet.
Log: steam-318600.zip
The text was updated successfully, but these errors were encountered: