https://bugs.winehq.org/show_bug.cgi?id=55270
Bug ID: 55270 Summary: NVIDIA OptiX SDK samples hang forever Product: Wine Version: 7.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: cybermax@dexter.no Distribution: ---
Running NVIDA OptiX SDK samples hangs forever before drawing to screen. I have bisected this to this particular patch: https://gitlab.winehq.org/wine/wine/-/commit/18ae96e5fb3cbbd53f1a022ba81203d... This patch is from the https://gitlab.winehq.org/wine/wine/-/merge_requests/416 MR
Reverting this by removing XLockDisplay runs the samples again.
I am not sure why the need for a mutex + XLockDisplay is there, but i assume the reasoning is perfectly fine - but maybe only IF one actually expect/get an error? The OptiX samples hits the "ignored_error" thing, but seemingly just stops without releasing the XDisplay again and thus just hang.
If interested in testing these OptiX samples, i have a pre-compiled set here: https://github.com/SveSop/wine-nvoptix/pull/20#issuecomment-1079719794 (Read installation instructions in that post - since the SDK hard-links binaries to images and whatnot in the folder structure)
All of the samples in THAT particular archive do run if you use latest "nvidia-libs" from here: https://github.com/SveSop/nvidia-libs/actions Only nvcuda and nvoptix is needed - no need for DXVK/DXVK-NVAPI to run these samples - but you DO need NVIDIA RTX 2xxx gpu, and with the aforementioned revert of XLockDisplay it runs on wine-8.12 from GIT.
https://bugs.winehq.org/show_bug.cgi?id=55270
Sveinar Søpler cybermax@dexter.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cybermax@dexter.no, | |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=55270
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |18ae96e5fb3cbbd53f1a022ba81 | |203de6b431228 Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=55270
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- It's a duplicate of 53428 and it should be fixed on the NVIDIA side instead.
*** This bug has been marked as a duplicate of bug 53428 ***
https://bugs.winehq.org/show_bug.cgi?id=55270
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Close duplicate.