Premiere Pro not detecting OpenCL

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
flxrbr
Level 1
Level 1
Posts: 6
Joined: Fri May 31, 2024 9:03 pm

Premiere Pro not detecting OpenCL

Post by flxrbr »

I managed to get Adobe Premiere Pro to work with Wine and it's working pretty well!
The only problem is that I can't use OpenCL (is greyed out) to render the videos, so I can only render with sofware (CPU) which is a lot slower.

Is there a way to make it detect and use the OpenCL?
I'm on Arch Linux and I have rocm-opencl-runtime installed. I also tried the opencl-amd from AUR.
Ryzen 5700X3D / Radeon RX 6800XT
User avatar
DarkShadow44
Level 9
Level 9
Posts: 1338
Joined: Tue Nov 22, 2016 5:39 pm

Re: Premiere Pro not detecting OpenCL

Post by DarkShadow44 »

Did you make sure that OpenCL works properly on Linux native applications?
flxrbr
Level 1
Level 1
Posts: 6
Joined: Fri May 31, 2024 9:03 pm

Re: Premiere Pro not detecting OpenCL

Post by flxrbr »

Yes, it works.
User avatar
DarkShadow44
Level 9
Level 9
Posts: 1338
Joined: Tue Nov 22, 2016 5:39 pm

Re: Premiere Pro not detecting OpenCL

Post by DarkShadow44 »

Does luxmark (win64) work under wine? Because it should. I assume you run Arch, having wine-9.9?
flxrbr
Level 1
Level 1
Posts: 6
Joined: Fri May 31, 2024 9:03 pm

Re: Premiere Pro not detecting OpenCL

Post by flxrbr »

LuxMark crashes on startup. I'm on Arch Linux using wine 9.9-2.

Code: Select all

[faugus@archlinux LuxMark-v3.1]$ wine luxmark.exe
0124:fixme:win:NtUserFlashWindowEx 0x7ffffe1fed70 - semi-stub
augus\Downloads\luxmark-windows64-v3.1\LuxMark-v3.1\luxmark.exe: /usr/src/debug/rocm-opencl-runtime/clr-rocm-6.0.2/rocclr/os/os_posix.cpp:321: static void amd::Os::currentStackInfo(unsigned char**, size_t*): Assertion `Os::currentStackPtr() >= *base - *size && Os::currentStackPtr() < *base && "just checking"' failed.
0124:err:seh:call_seh_handlers invalid frame 00007FFFFE0FF1A0 (00007FFFFE102000-00007FFFFE200000)
0124:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
User avatar
DarkShadow44
Level 9
Level 9
Posts: 1338
Joined: Tue Nov 22, 2016 5:39 pm

Re: Premiere Pro not detecting OpenCL

Post by DarkShadow44 »

Something wrong with your OpenCL driver. Have you tried the open source "opencl-rusticl-mesa" already?
flxrbr
Level 1
Level 1
Posts: 6
Joined: Fri May 31, 2024 9:03 pm

Re: Premiere Pro not detecting OpenCL

Post by flxrbr »

I deleted the prefix and tried the different drivers:

Default mesa:
Image

opencl-rusticl-mesa
Image

rocm-opencl-runtime (app doesn't open)
Image
User avatar
DarkShadow44
Level 9
Level 9
Posts: 1338
Joined: Tue Nov 22, 2016 5:39 pm

Re: Premiere Pro not detecting OpenCL

Post by DarkShadow44 »

Sorry, I don't know. Luxmark works for me, both native and under Wine. Not sure why it would only crash for you, and not sure why Adobe doesn't detect OpenCL in the first place either. But there definitely seems to be issues with your drivers
flxrbr
Level 1
Level 1
Posts: 6
Joined: Fri May 31, 2024 9:03 pm

Re: Premiere Pro not detecting OpenCL

Post by flxrbr »

I managed to make Premiere Pro detect the OpenCL by removing all the drivers and installing only the opencl-amd from AUR.
Unfortunately, with OpenCL selected, the preview shows only a white screen.
I also tried on Fedora and the result was the same.
Other users reported that using CUDA with a NVIDIA GPU it works flawlessly.

Image
Locked