Wine cannot load opencl.dll.so

Questions about Wine on Linux
Locked
Ranguna
Newbie
Newbie
Posts: 2
Joined: Fri Mar 05, 2021 12:23 pm

Wine cannot load opencl.dll.so

Post by Ranguna »

Hello everyone,

I'm trying to run playstation now with wine-6.3 under arch linux.

When I run I get the following:

Code: Select all

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

0110:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0110:err:module:open_builtin_file failed to load .so lib "/usr/lib32/wine/opencl.dll.so"
0110:fixme:msg:ChangeWindowMessageFilterEx 00010070 c055 1 00000000
0110:fixme:wbemprox:client_security_SetBlanket 62EA27B0, 001FE1F0, 10, 0, (null), 3, 3, 00000000, 0x00000000
0110:fixme:wbemprox:client_security_Release 62EA27B0
0110:fixme:wbemprox:client_security_SetBlanket 62EA27B0, 00197FB0, 10, 0, (null), 3, 3, 00000000, 0x00000000
0110:fixme:wbemprox:client_security_Release 62EA27B0
Specifically the line about opencl.

The app fails to open later printing a huge stack trace for `QtWebEngineProcess.exe` and others, but I'm betting it's something to do with opencl.

I got similar errors that were fixed by `vcrun2013` winetrick and by installing `lib32-mpg123 lib32-gnutls`.
I also tried chown to my user for directory `/usr/lib32/wine/` but no dice.

This doesn't seem to happen if I run this under sudo (but I have to install a bunch of wine stuff and sudo is not really recommended).

Does anyone know what's going on ?

Thank you!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine cannot load opencl.dll.so

Post by Bob Wya »

@Ranguna

Take a look at: WineHQ AppDB: PlayStation Now / Latest.

The most recent tests indicate that the wine-staging package is required.

Code: Select all

0110:err:module:open_builtin_file failed to load .so lib "/usr/lib32/wine/opencl.dll.so"
Indicates that your are missing a native package 32-bit opencl package.
So perhaps take a look at: Arch Wiki: GPGPU.

You could try:

Code: Select all

pacman -S lib32-opencl-icd-loader
I'm not sure if your CPU/iGPU supports opencl though...

Bob
Ranguna
Newbie
Newbie
Posts: 2
Joined: Fri Mar 05, 2021 12:23 pm

Re: Wine cannot load opencl.dll.so

Post by Ranguna »

@Bob Wya

Thank you so much for posting!
Yep looks like I missed that part about wine staging and was also missing that other package you mentioned.
Ended up installing that and `vulkan-intel nvidia-utils opencl-nvidia lib32-libxcomposite intel-compute-runtime` and applying these winetricks `dxvk vulkansdk corefonts`. No errors anymore but sadly the app didn't run, even with prime-run and wine64.

So I installed lutris and used playstation now installer: https://lutris.net/games/playstation-now/, switched the configs to use 64-bit wine-staging and enabled nvidia prime offload. Now it boots great expect the controller doesn't work in-game, but I'm going to dig into that when I have some time.

Again, @Bob Wya, thank you very much for the help!

Thread solved :)
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine cannot load opencl.dll.so

Post by Bob Wya »

@Ranguna

np ... Glad you're making some progress! 8)

Bob
Locked