https://bugs.winehq.org/show_bug.cgi?id=46470
--- Comment #17 from Amruth Aradhya a.amruth@gmail.com --- (In reply to Sveinar Søpler from comment #15)
It seems this patch is not compatible when linking with the nVidia libOpenCL.so.1.0.0 lib
opencl.o: In function `wine_clSetDefaultDeviceCommandQueue': ... collect2: error: ld returned 1 exit status winegcc: gcc failed Makefile:191: recipe for target 'opencl.dll.so' failed
7 "undefined references" during the ld phase, and the libOpenCL.so.1.0.0 file is massively different on my install vs. the VM install.
Anyone with a working nVidia card get this compiled correctly? And if so.. what driver version.
I use 418.43 (Latest) binary installed via the nVidia .run file.
PS. Cuda and OpenCL apps works fine in both Linux and Wine, so its "working" even tho these error messages occur :)
Suggestions to @Sveinar Søpler r u facing too many issues. Welcome to Linux !
1. do fresh install on linux. 2. install nvidia drivers as per your linux distro guide. It safe, stable and tested. the drivers may be little old but easy to install and debug issues. i.e apt install method
while installation through apt install method. it warns which package are getting removed/replaced if any. at least we can debug such situation. its lot of reading, takes lot of time but safe and correct method.
[ the method u r claiming i.e installation nvidia drivers through sudo installation scripts from direct nvidia website is not recommended. as its a blind write method. even though its latest driver, its very difficult debug such issues. now you have run into such situation.]
3. I have tested the up to third patch on debian stable, with default nvidia driver version 390 the third patch was working refer to comment #14
4. also you can try easy steps 1 to 3 for getting source code and build dependency as explained in comment #14
5. the last patch released [attachment #63713] test is in progress.