Closed Saancreed closed 1 year ago
Could you try nvapi from https://github.com/SveSop/nvidia-libs ? This fork contains https://github.com/SveSop/dxvk-nvapi/commit/c2e0d2d04a11bb402a2815eab50fcc2fcdf1347e so at least we would pass this assertion and could see what happens next.
I don't have the game myself so I can't really test that, sorry :disappointed:
We will need someone else for that.
Could you try nvapi from https://github.com/SveSop/nvidia-libs ? This fork contains SveSop@c2e0d2d so at least we would pass this assertion and could see what happens next.
Game starts, but performance is bad(5fps in main menu)
Could you try nvapi from https://github.com/SveSop/nvidia-libs ? This fork contains SveSop@c2e0d2d so at least we would pass this assertion and could see what happens next.
Game starts, but performance is bad(5fps in main menu)
After compiling the shaders and enabling DLSS, it is playable.
@rserpent thanks for the confirmation, fortunately it is indeed just about those two methods Saancreed mentioned.
Could you please test https://github.com/jp7677/dxvk-nvapi/pull/117 without NVML? You can grab a build from https://github.com/jp7677/dxvk-nvapi/actions/runs/4557328491 This is a minimal implementation which essentially just returns zeros. May be we can get away with something like this, maybe hidden behind a profile since it is pretty bad...
Please also post you logs with this version (DXVK_NVAPI_LOG_LEVEL=info
and DXVK_NVAPI_LOG_PATH=/home/user/
, but with the log folder of your choice). Thanks.
This should now be resolved on master.
Well, actually not only that, without
wine-nvml
in the prefix it does this (logs provided by CME on LGD):… and otherwise it does:
… after which it dies in both cases. That gives us two problems, maybe more if the game tries to call more functions after we fix the one that's causing it to explode now:
NvAPI_GPU_GetPstates20
, which we can either fake or try to retrieve fromlibnvidia-api.so.1
somehow. If the former is enough to satisfy the game, I'd say we could avoid the issues mentioned in the other thread, at least for now.NvAPI_GPU_GetGpuCoreCount
, so either Proton would need to shipwine-nvml
or we need to fake a success if NVML can't be used.