https://bugs.winehq.org/show_bug.cgi?id=55140
--- Comment #5 from Alois Schlögl alois.schloegl@gmail.com --- Comment on attachment 74784 --> https://bugs.winehq.org/attachment.cgi?id=74784 log file running DXVK_NVAPI_LOG_LEVEL=info WINEDEBUG=+loaddll,+nvml wine gpu_caps_viewer on wine/8.11 + nvidia-libs
attached is the log file when running
DXVK_NVAPI_LOG_LEVEL=info WINEDEBUG=+loaddll,+nvml wine gpu_caps_viewer.exe on wine 8.11 + nvidia-libs.
Most important, GPU_CAPS_VIEWER does not crash, and it recognizes the nvidia gpu in my case. So, I can not reproduce this.
I checked also the install nvidia dll's and these are schloegl@myhost:~$ ls -1 .wine/drive_c/windows/sys*/nv* .wine/drive_c/windows/system32/nvapi64.dll .wine/drive_c/windows/system32/nvcuda.dll .wine/drive_c/windows/system32/nvcuvid.dll .wine/drive_c/windows/system32/nvencodeapi64.dll .wine/drive_c/windows/system32/nvoptix.dll .wine/drive_c/windows/syswow64/nvapi.dll .wine/drive_c/windows/syswow64/nvcuda.dll .wine/drive_c/windows/syswow64/nvcuvid.dll .wine/drive_c/windows/syswow64/nvencodeapi.dll .wine/drive_c/windows/syswow64/nvml.dll
However, in my case I do not see that nvmlInit_v2 is called twice. Maybe, the difference is that I compiled everything from source for my platform (using debian11, cuda 11.4.4, nvidia-driver 470.xx, mingw-cross-environment). Using some pre-compiled binaries from some other platform might not work.