Jump to content
enneafive

High CPU load when histogram visible with 32bit HDR image

Recommended Posts

Observed several times a 99% CPU load when opened a 32bit HDR image with 2 live filter layers (vignette and unsharp mask). Mouse pointer moves are very irregular during this problem.  CPU load stays at 80-99% even after no more touching Affinity Photo again.

 

After some tests, I remarked:

  • behavior starts after live filters visible/unvisible switching when clicking yellow histogram triangle warning sign.
  • behavior doesn't happen when no histogram visible in Studio
  • behavior doesn't happen with 8bit files

Hope this can be solved because sometimes a histogram can be usefull.

Share this post


Link to post
Share on other sites

Hey enneafive, welcome to the Affinity Forums.

My CPU sits at around 35% but my Memory shoots up to about 95%. When I start panning/zooming my CPU will shoot up to 95% or so. It doesn't seem to make a difference of my Histogram is visible or not though. I do see a bit of a performance hit though but maybe it's not as bad as what you are seeing...

What CPU do you have? The more cores you have, the better Affinity will perform. Also, having a few Live Filters can dramatically impact performance.

I think there's definitely room for improvement. Could you also attach the image you were using? If I can reproduce it to the point where I notice a significant performance hit, it's worth passing to the developers. 

Share this post


Link to post
Share on other sites

Hello Chris,

Thanks for your reply to my question.

The issue is happening on a Intel I7-4720 HQ (2.6GHz 4/8 cores/hyperthreads, 3.6GHz Turbo) with NVIDIA GTX 860M.

I'm attaching the .afphoto file of one of the images having  problems when disabling and re-enabling both live filters and clicking the yellow histogram icon afterward.

Overbroek.afphoto

Share this post


Link to post
Share on other sites

Thanks for the file.

My CPU will spike to about 100% when I click the Coarse Histogram icon but it doesn't cause me an issue as it eventually drops back down to using about 0.3%. I'm not entirely sure why your CPU (which is a bit better than mine) is causing you such an issue. 

I'll pass the file to the developers so they can test it on their higher-spec machines. Thank you. 

 

Share this post


Link to post
Share on other sites

Hello Chris,

Because the test you did with my file didn't give any issue, I did some more tests with the idea that the problem could be in my hardware.

After some clicks on the Coarse Histogram icon, I noticed the silence of my laptop ventilator while having slow mouse response and 99% CPU charge.  The CPU frequency of my laptop was blocked at about 800 MHz. This was the problem giving the issue I saw. The histogram calculation took a very long time because of this slow CPU speed.

Looking for some answers on the internet, I installed ThrottleStop 8.70 from TechPowerUp. So, now the histogram calculation works at turbo speed (3.6 GHz) and gives no more issues as I described.

 

Sorry to think that this was a problem of your excellent software. I now think that this problem has to do with Windows 10 energy management.

Please inform your developers that this was a false alarm and that possibly similar problems could be resolved in the same way.

 

Thank you for taking this issue into consideration.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×