https://bugs.winehq.org/show_bug.cgi?id=46470
--- Comment #18 from Sveinar Søpler cybermax@dexter.no --- Thanks for your efforts.
1. Ofc i wont do a fresh install of Linux due to this.. 2. Eh no. "a little old" is the understatement of the year. Absolutely horrible to suggest sticking to 390 "Ubuntu drivers" and the likes when you try to help out testing DXVK/vkd3d and general stuff. 3. See #2 4. Ok 5. Thx for patch.
Sure, i understand the "for-dummies" approach, and thank you for that. Someone might get helped by this tho :)
The problem MAY have been a old install of CUDA, or even possibly some testing from my side "way back", but i just reinstalled the default ocl-icd-libopencl1 packages and it did not seem to affect the usage of Cuda/Opencl on nvidia (As i think it is actually libnvidia-opencl.so.1 that is used by nvidia).
sudo apt --reinstall install ocl-icd-libopencl1 ocl-icd-libopencl1:i386
Compile went fine after this, and wine have no errors with clinfo (Even GPU Caps Viewer detected OpenCL platform correctly).
So, thanks for the patch. Gonna keep this in my own "wine-patches" hacks until you get it upstreamed :)