https://bugs.winehq.org/show_bug.cgi?id=51541
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- (In reply to Liam Middlebrook from comment #0)
Created attachment 70384 [details] [PATCH] nvcuda: use libcuda.so.1 SONAME when making dlopen call
nvcuda.dll is unable to find libcuda.so when running within the Steam Runtime pressure-vessel environment. This is because pressure-vessel exposes symlinks to driver DSOs based off their SONAME and the SONAME for CUDA is libcuda.so.1, not libcuda.so
I've attached a patch which fixes this issue and lets me launch CUDA applications from Steam.
This is only a hack working around the real problem with the patch set. We should be using WINE_CHECK_SONAME like everything else.
Though it's really worth examining whether we really want nvcuda in upstream Wine; and, if not, we should remove it from wine-staging.