Jump to content
You must now use your email address to sign in [click for more info] ×

OpenCL issues with 1.9.2


Recommended Posts

With 1.9.2 the UI becomes unresponsive almost immediately when OpenCL is active, CPU usage shots up to 100% and stays there (GPU usage stays at zero, according to task manager)

Merely activating or dragging tabs in the studio can trigger the issue, even with no image open.
This was not the case with 1.9.1, and turning off OpenCL appears to avoid it.

This is on an i5-8265U, UHD Graphics 620, latest Intel drivers (27.20.100.9316), Windows 10 20H2 19042.867

Link to comment
Share on other sites

@DEVS

1.9.2.1035 and it badly crashes if you start a new project (CTRL+N) after you confirm and the program should display the new project canvas...
Same happens loading any image kind.
To avoid this I have to disable HW Acceleration OpenCL in Affinity Photo or Designer (same issue).

PLEASE NOTICE: Affinity Publisher instead runs fine with OpenCL acceleration enabled. This might be an issue with your programs and not an NVidia driver issue.

NVidia SD 461.92
Gaming Laptop ASUS GL703GS (BIOS 310)
32GB (dual channel) DDR4 2666MHz
CPU i7-8750H (iGPU unavailable)
GTX 1070 8GB (Max-P, 10DE 1BE1 - 1043 1011, GP104 A1, vbios 86.04.7c.00.24, Samsung VRAM)
Windows 10 Pro 2004
Desktop res: 1080p (1920x1080)
Screen: 144Hz g-sync AUO B173HAN03.2 [AUO329D]
Audio: Realtek HD Audio (ALC295 chipset)
Hard disks: NVMe Samsung, SSD Crucial
USB Blu-Ray 4K drive: Archgon Star MD-8102P-U3YC-UHDB (Pioneer BDR-UD04)

ROG-mini-22x13.pngASUS Gaming Laptop GL703GS CPU: i7-8750H,  RAM: 32GB DDR4@2666,  Gfx: GTX 1070 8GB GDDR5, Screen: G-Sync AUO B173HAN03.2 17" 1080p 144Hz, HD: SSD + NVMe,  Audio: Realtek HD (ALC295),  Controllers: Hori Fighting Stick Mini, XBox One bt controller, ROG Strix Carry wireless/bt mouse.

Link to comment
Share on other sites

  • Staff
42 minutes ago, hexaae said:

Affinity Publisher instead runs fine with OpenCL acceleration enabled.

The default new document (from the New Document dialog) in Publisher is CMYK, which uses a different code-path. Have you tried Publisher with an RGB document colour space?

Patrick Connor
Serif Europe Ltd

"There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self."  W. L. Sheldon

 

Link to comment
Share on other sites

Hi,

the list of Fixes of version 1.9.2 brags with...

Fixed crash at startup due to bad OpenCL drivers (really this time)

But while the beta version was running perfectly fine, the final version 1.9.2.1035 still constantly crashes at startup, if OpenCL Hardware acceleration is activated AND current NVIDIA driver versions are installed.

Drivers that don't work: 465.89 (Game Ready), 461.92  (Studio / Game Ready), 461.92  (Studio / Game Ready), 461.72 (Studio / Game Ready), 461.40 (Studio / Game Ready), ...)

However, if I install the old NVIDIA driver version 442.92 from May 2020, Affinity Photo/Designer/Publisher runs with acceleration activated! There is a significant speed improvement noticeable.

But what does BAD OPENCL DRIVERS mean anyway? All official NVIDIA drivers after 442.92 are crap?

Since my other Software needs, upgrading to the newer graphics card drivers, I only have three options, which are all not ideal.

  1. Keep Affinity 1.9.2 and install the newest NVIDIA driver. Then I have to disable hardware acceleration. Not good!
  2. Keep Affinity 1.9.2 and install the old 442.92 NVIDIA driver. Then I can enable hardware acceleration but then I get problems with my other software. Not good!
  3. Downgrade to Affinity 1.8.5 and install the newest NVIDIA driver. Then hardware acceleration is usable. Very not good!

I'm wondering why the beta did work with the newest drivers but not the final? Seems Serif has screwed it up - again.

Any ideas?

 

Windows 10 Home 64 Bit
Intel Core i7 8700K
64GB RAM
NVIDIA GeForce GTX 1080 Ti

image.png

Link to comment
Share on other sites

19 minutes ago, Atrus said:

But what does BAD OPENCL DRIVERS mean anyway?

This was mainly referring to some Intel driver installations that hadn't properly cleared old dlls from the system during a driver upgrade. If you're experiencing a crash with NVIDIA, that is something different. Do you have Capture One installed?

Link to comment
Share on other sites

Yes - but I've already disabled the Explorer context menu, renamed the WIC64 folder and finally uninstalled Capture One.

That all didn't help.

I think, I'll go with the 461.92 Studio driver and do without the hardware acceleration. But do you have any idea, why the beta version did run with acceleration and the 461.72 driver and Capture One?

Link to comment
Share on other sites

1 hour ago, Patrick Connor said:

The default new document (from the New Document dialog) in Publisher is CMYK, which uses a different code-path. Have you tried Publisher with an RGB document colour space?

Just tested, and you're right: choosing RGB16 also Publisher crashed!

With OpenCL acceleration enabled, using CMYK colour space when starting a New project:
- Photo still crashes
- Designer won't crash
- Publisher won't crash

Using default RGB for all of them make them crash.

ROG-mini-22x13.pngASUS Gaming Laptop GL703GS CPU: i7-8750H,  RAM: 32GB DDR4@2666,  Gfx: GTX 1070 8GB GDDR5, Screen: G-Sync AUO B173HAN03.2 17" 1080p 144Hz, HD: SSD + NVMe,  Audio: Realtek HD (ALC295),  Controllers: Hori Fighting Stick Mini, XBox One bt controller, ROG Strix Carry wireless/bt mouse.

Link to comment
Share on other sites

  • Staff
10 hours ago, hexaae said:

...using CMYK colour space.... Photo still crashes

Oh, there's an odd result. Thanks, will try to replicate.

Patrick Connor
Serif Europe Ltd

"There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self."  W. L. Sheldon

 

Link to comment
Share on other sites

10 hours ago, hexaae said:

Just tested, and you're right: choosing RGB16 also Publisher crashed!

With OpenCL acceleration enabled, using CMYK colour space when starting a New project:
- Photo still crashes
- Designer won't crash
- Publisher won't crash

Using default RGB for all of them make them crash.

OpenCL is not rquired for creating or/and rendering. OpenCL speeds up calculatings for e. g. filters.

AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB  | 32 GB DDR4 3200MHz | Windows 11 Pro 23H2 (22631.3296)
AMD A10-9600P | dGPU R7 M340 (2 GB)  | 8 GB DDR4 2133 MHz | Windows 10 Home 22H2 (1945.3803) 

Affinity Suite V 2.4 & Beta 2.(latest)
Better translations with: https://www.deepl.com/translator  
Interested in a robust (selfhosted) PDF Solution? Have a look at Stirling PDF

Life is too short to have meaningless discussions!

Link to comment
Share on other sites

I JUST FOUND THE FIX FOR THE ISSUE!!!

I just recovered that I still had installed the OpenGL and OpenCL compatibility pack from Microsofts App Store.

I installed that as I tried to fix the crashes of Affinity Photo after the Update from 1.8.5 to 1.9.0. Unfortunately that didn't help, but I left it installed nontheless.

After I've uninstalled the App and rebooted my machine, I was able to activate OpenCL hardware acceleration in all Affinity products and had no crashes anymore.

Maybe that helps other users, that have similar problems.

Cheers!

Link to comment
Share on other sites

CONFIRMED

Oh! Just the other day I was wondering if that package I installed some months ago could be the cause of this issue... but since I don't even have a running iGPU/Optimus (my gaming notebook uses dGPU only) ATM I thought it was nearly impossible. Well, YOU'RE RIGHT Atrus! Uninstalling that piece of junk from MS solves the instability issues with OpenCL HW Acceleration in Photo, Desinger and Publisher!

Well done my friend!

ROG-mini-22x13.pngASUS Gaming Laptop GL703GS CPU: i7-8750H,  RAM: 32GB DDR4@2666,  Gfx: GTX 1070 8GB GDDR5, Screen: G-Sync AUO B173HAN03.2 17" 1080p 144Hz, HD: SSD + NVMe,  Audio: Realtek HD (ALC295),  Controllers: Hori Fighting Stick Mini, XBox One bt controller, ROG Strix Carry wireless/bt mouse.

Link to comment
Share on other sites

I have the same issue.

Upgrade my affinity photo to 1.9.2.1035 and affinity designer 1.9.2.1035, applications are keeping crash while opening "New Document" or "Open a Document".

Uninstall / Reboot / Reinstall doesn't solve the issue.

>> 1.9.2, Update Notes: Fixed crash at startup due to bad OpenCL drivers (really this time)
This update seems not work on my system.

Disabling "OpenCL" hardware acceleration could solve the crash problems.

My system:
Geforce GTX 1080, NV Geforce  driver, 465.89, Windows 10 64 bits.

Affinity Log:

[OpenCL] Found 2 platforms:
Name: NVIDIA CUDA
    Vendor: NVIDIA Corporation
    Version: OpenCL 3.0 CUDA 11.3.55
Name: OpenCLOn12
    Vendor: Microsoft
    Version: OpenCL 1.2 D3D12 Implementation
[OpenCL] Found 1 devices for platform NVIDIA CUDA:
NVIDIA GeForce GTX 1080
    Vendor: NVIDIA Corporation
    Version: OpenCL 3.0 CUDA
    Installed

I didn't have this problem with my previous Affinity. The problem started with 1.9.1 and 1.9.2.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.