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

Affinity Photo Freezes with GPU Acceleration On


Recommended Posts

I was hoping that update 1.10 would solve my problem, but it didn't. 

Affinity Photo still freezes a lot with GPU Acceleration On, resulting in a greyed non-responsive app (since it don't fully crashes, just freezes and needs to be force closed, no crash log is created). 

All my drivers are fully updated, tried old and new drivers, and nothing solves the problem. 

 

Hardware Disabled.png

Hardware Enabled.png

DxDiag.txt

Link to comment
Share on other sites

  • Staff

Hey raphaelbonelli,

OpenCL should be working with your 1050Ti - However I do see a few complains about 1050's and 1060's not working well. 

Have you tried removing the driver and installing the new one? I don't just mean checking for updates. Sometimes removing the driver is the only way to fix this. 

Link to comment
Share on other sites

I can confirm this to.
I cannot use the display driver removing tool, because I have no second GPU on the system. :) 
So I have set OpenCL on hold.

Windows 11 (Home)-build: 23H2- build 22631.2715
-  64 bits. 
11e generatie Intel(R) Core(TM) i7-11700K @ 32,60GHz.
Ram: 80 GB  DDR4 -3200 Mhz-  34" breedbeeld
GpuGeforce 3060 -12GB  OC-studiodriver: 537-58 - XP-Pen star03 -
mastodon.nl /@digitalvisuals - website:  digitalvisuals.nl

Affinity Photo2 - Designer 1.10-  Publisher 1.10 - ArtRage 6 - Lumina Aurora - ArtRage.
 

Link to comment
Share on other sites

  • Staff

Thanks for trying that raphaelbonelli - I'm really sorry it did not work.

Both yourself and Studio97Visuals have a 1050 Ti and I'm sure a few other regular forum users have the same GPU, all of whom have issues.

I'm just trying to gather more info and do some more research and will get back to you soon.

 

Link to comment
Share on other sites

4 hours ago, Chris B said:

Thanks for trying that raphaelbonelli - I'm really sorry it did not work.

Both yourself and Studio97Visuals have a 1050 Ti and I'm sure a few other regular forum users have the same GPU, all of whom have issues.

I'm just trying to gather more info and do some more research and will get back to you soon.

 

Thanks. Let me know if I can help with anything else or any info or test.

Link to comment
Share on other sites

  • Staff

It could be that the kernels are being slow to compile. Your benchmark results are good but the bencmark test runs twice and caches the already compiled kernels which doesn't happen in general use with the app. 

I am stonished it doesn't appear to be driver related...

Link to comment
Share on other sites

  • 3 weeks later...

I was having the same problems with freezing with my GTX 1060, I determined that the nVidia 471.xx series of drivers were causing the issue, I installed the June 466.77 drivers and all my freezing issues went away. Latest drivers aren't always the best.

Desktop: AMD Ryzen 9 5900X, 32GB Ram, RTX 3070, LG 27" 4K 10Bit

Windows 11 22h2

Dell Laptop: i7 7700, 32GB Ram, GTX 1060, 16" 4K

Windows 10 22h2

Link to comment
Share on other sites

14 hours ago, RichardMH said:

Have a look at the log file %APPDATA%\Affinity\Photo\1.0\Log.txt

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         Installed
TabletContext::Create: original queue size is 50
TabletContext::Create: new queue size is 128
Attempting to create Direct3D device with adapter NVIDIA NVIDIA GeForce GTX 1050 Ti
Setting screen DPI to 109.10067114094 (scale = 1.0)
Attempting to create Direct3D device with adapter NVIDIA NVIDIA GeForce GTX 1050 Ti
Setting screen DPI to 109.10067114094 (scale = 1.0)
Attempting to create Direct3D device with adapter NVIDIA NVIDIA GeForce GTX 1050 Ti
Setting screen DPI to 109.10067114094 (scale = 1.0)
Attempting to create Direct3D device with adapter NVIDIA NVIDIA GeForce GTX 1050 Ti
Setting screen DPI to 109.10067114094 (scale = 1.0)
Attempting to create Direct3D device with adapter NVIDIA NVIDIA GeForce GTX 1050 Ti
Setting screen DPI to 109.10067114094 (scale = 1.0)
Attempting to create Direct3D device with adapter NVIDIA NVIDIA GeForce GTX 1050 Ti
Setting screen DPI to 109.10067114094 (scale = 1.0)
Exit
 

Log.txt

Link to comment
Share on other sites

  • 1 month later...

I'm also (although not very frequently) experiencing this kind of freezes on my system, whereby my memory is almost fully utilized (RAM and especially VRAM). I believe the fact that my GPU has 12 GB of dedicated RAM (compared to 4 GB for @raphaelbonelli) probably explains why I encounter this problem less frequent. But it happens from time to time (under different usage scenarios, and often - not always - when using brushes).

Afterwards, if I reopen the document that caused the system freeze, the amount of allocated memory is much lower again.

I assume that this may indicate that there are memory leaks in Affinity Photo. I've also logged a defect for this (https://forum.affinity.serif.com/index.php?/topic/150705-affinity-photo-hangs-after-doing-some-hdr-merges-panorama-stitching-memory-leaks/).

Windows 10 Pro - 21H1 | AMD Ryzen 9 3900X - 12 core - 3.8 GHz | 32GB DDR4 - 3.6 GHz RAM | Nvidia RTX 3060 - 12GB VRAM | 2TB SSD Samsung 970 EVO Plus | Wacom Intuos 4M

Full Affinity Suite (Photo, Designer & Publisher): all version 1.10.5.1342 with HW acceleration ON, Nvidia Studio drivers up-to-date (511.65)

Capture One for Sony v.22 (build 15.1.1.2) | Nik Collection (DXO version 4.3.3) | Topaz AI (Denoise 3.6.1, Sharpen 4.1.0 & Gigapixel 5.8.0)

Link to comment
Share on other sites

  • Staff

Did you try the older 466.77 drivers that Gregory St. Laurent? 

It may also be worth trying to disable your Intel GPU from Device Manager. If OpenCL is failing, it might be dropping back and forth between hardware and software rendering.

Link to comment
Share on other sites

I've tried a lot of older drivers, including 466.77 (always cleaning with DDU between installations).

When I disable the Intel GPU, I lose some functions on laptop monitor (like controlling it's brightness or callibration/profiling), but I'll try it anyway, at least for some time, to see if Affinity Photo stops crashing. 

Link to comment
Share on other sites

21 minutes ago, Chris B said:

Just to clarify - I am not suggesting that you disable it permanently - I just want to see if that stops the app falling back to software which I think it might be doing.

I've did some quick crazy stress test with many layers, live filters, overlays and transformations. The vRam got very high and than lowered after sometime, Affinity Photo even got a little slow, but didn't crashed. I'll do some normal usage for some days and report back.

Captura de tela 2021-10-13 115320.png

Link to comment
Share on other sites

@raphaelbonelli

Of course I don't know if the root cause of your system freezes is the same as my freezes (see my earlier reply in this post), but the symptoms are at least identical (i.e. almost exhausted RAM and VRAM).

I have no Intel GPU on my system, so I also can't deactivate it. Because I also encountered a number of unresponsive AP situations, I'm not sure whether the Intel GPU plays a key role in these freezes.

As a (temporary!) test, I've deactivated hardware acceleration (since 2 or 3 days). Since I've done that, I haven't witnessed system freezes anymore (although this does not mean that they can't popup again, I'll keep my fingers crossed for now...). 

Obviously, I remain hopeful that the freeze issue(s) will be solved in a structural way, without the need to deactivate features

FYI: I actually built a completely new system with a (quite expensive) GPU, (mainly) because the GPU of my previous system did not support HA in AP...

Windows 10 Pro - 21H1 | AMD Ryzen 9 3900X - 12 core - 3.8 GHz | 32GB DDR4 - 3.6 GHz RAM | Nvidia RTX 3060 - 12GB VRAM | 2TB SSD Samsung 970 EVO Plus | Wacom Intuos 4M

Full Affinity Suite (Photo, Designer & Publisher): all version 1.10.5.1342 with HW acceleration ON, Nvidia Studio drivers up-to-date (511.65)

Capture One for Sony v.22 (build 15.1.1.2) | Nik Collection (DXO version 4.3.3) | Topaz AI (Denoise 3.6.1, Sharpen 4.1.0 & Gigapixel 5.8.0)

Link to comment
Share on other sites

  • Staff
17 minutes ago, raphaelbonelli said:

The temporary disabling of the Intel GPU on my notebook seems to solve the problem. vRam usage very high without crashing.

@Chris B- Do you think it's something that can be solved in a patch or update in the future, so I could use hardware accelation without disabling the Intel GPU?

Captura de tela 2021-10-14 103759.png

It's usually driver related. If the gpu is supported and it has drivers that are working correct, it should just work. 

If it isn't, there's something unique to the pc conig. causing the issue. 

Removing drivers and installing clean ones works for some and not others. 

I can't say if it will be fixed in a patch as I don't know if it's us or the config. 

You aren't losing anything per se by not using OpenCL, you just aren't getting the performance boost some people get. We do seem to see more OpenCL issues with the 10 series cards than we do with the 20 or 30 but that's probably because there's more of them. 

Link to comment
Share on other sites

55 minutes ago, Chris B said:

You aren't losing anything per se by not using OpenCL, you just aren't getting the performance boost some people get. We do seem to see more OpenCL issues with the 10 series cards than we do with the 20 or 30 but that's probably because there's more of them. 

I understand. It's sad because I don't have any problem with other apps like Affinity Designer, Publisher, Capture One, DaVince Resolve or Blender, all of them heavy users of the GPU. But I also can understand the Dell sometimes don't make the things easier with their notebook, all customized, with custom drivers and things like that.

 

I'll reenable the Intel GPU and disable the GPU usage on Affinity Photo until further notice.

Thanks a lot!

Link to comment
Share on other sites

  • Staff

Hey raphaelbonelli,

As a last-ditch attempt at trying to sort this... I'd highly recommend trying to update the Intel driver. I have an Alienware laptop which is a Dell in a fancy shell and it was a nightmare back when we first launched Affinity with OpenCL. Essentially, Dell use their own update process which you may or may not be aware of and for some reason, it kept failing to update the Intel GPU correctly - I ended up doing a clean install to remove all the Dell software.

You could try uninstalling any driver software for the Intel GPU that Dell has installed/updated to and grab the drivers directly from intel. The Dell software may have just updated over the top (or not at all! Who knows with Dell!) so a clean install of the drivers might work.

Link to comment
Share on other sites

2 hours ago, Chris B said:

You could try uninstalling any driver software for the Intel GPU that Dell has installed/updated to and grab the drivers directly from intel. The Dell software may have just updated over the top (or not at all! Who knows with Dell!) so a clean install of the drivers might work.

Thanks for the headsup Chris. Will be trying that today!

Already checked Intel drivers and there is a newer one.

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.