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

Focus Merge crashes when using Nvidia graphics card


sapstar

Recommended Posts

Hi all, I am new to Affinity Photo and to the forum. I am trying to do a focus merge with photos shot on Sony A7R III which is a 42MP camera. Each file is around 80MB. My Laptop has the below specs.

  • Intel Core i7-9750H - 6 cores 12 threads
  • Integrated Intel UHD Graphics 630
  • NVIDIA GeForce GTX 1660 Ti 
  • 32 GB Memory
  • SSD Storage

I am using the latest drivers and have all the recent OS updates. 

I have tried focus merge with a few different sets of raw files in 1.8 last version, 1.9 and 1.9.1. As soon as the focus merge starts Affinity photo crashes. I then tried converting the raw files to TIFF and it still crashes as soon as the focus merge starts.

I also tried with the OpenCL option Checked and Un Checked. Didn't make any difference.

In Nvidia control panel, I changed my primary graphics card from Nvidia to the integrated Intel GPU. After this change, focus merge works. How can I resolve this problem. I have attached the Affinity Photo crash reports here.

CrashReports.zip

Edited by sapstar
adding OpenCL settings.
Link to comment
Share on other sites

@sapstar, I was wondering if focus merge worked in 1.8.5?

The only other thing I could suggest is to uninstall the NVIDIA graphics drivers completely and then reinstall the latest ones from scratch. This may be different to simply updating. I have seen a couple of threads where this seems to have helped.

Link to comment
Share on other sites

Hello @sapstar,

I have an identical problem. As soon as the rendering starts the program crashes.
When I open my preferences and go to "Performance" and set the renderer to "Warp" the problem is over. As soon as I change it back to default, my videocard, the problem starts again.
I had this problem since the last few versions. I leave it on Warp now but this is not the way it supposed to function.

 

Edited by Gompie
Link to comment
Share on other sites

34 minutes ago, Subclavius said:

@sapstar, I was wondering if focus merge worked in 1.8.5?

The only other thing I could suggest is to uninstall the NVIDIA graphics drivers completely and then reinstall the latest ones from scratch. This may be different to simply updating. I have seen a couple of threads where this seems to have helped.

Same problem in 1.8.5. This is not specific to 1.9. I have uninstall NVIDIA drivers and installed the studio drivers as suggested in another forum post. This didn't make any difference. 

Link to comment
Share on other sites

15 minutes ago, Subclavius said:

Which Renderer is APhoto using?  You can check this from Edit > Preferences > Performance.  Does it make any difference if you change from NVIDIA to using Intel Integrated Graphics, or to WARP?

He has already mentioned this above, or does he mean "In Nvidia control panel" in the system control?1

[ In Nvidia control panel, I changed my primary graphics card from Nvidia to the integrated Intel GPU. After this change, focus merge works. How can I resolve this problem. I have attached the Affinity Photo crash reports here.]

Preference.gif.aa7bdd4e1feb5a80a4ef9be7d0abfa65.gif

Link to comment
Share on other sites

On 2/26/2021 at 8:05 PM, sapstar said:

...have attached the Affinity Photo crash reports...

Crashes there at this point ...

Quote

Operating system: Windows NT
                  10.0.18362 900
CPU: amd64
     family 6 model 158 stepping 10
     12 CPUs

GPU: UNKNOWN

Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0x8

Process uptime: 630 seconds

Thread 0 (crashed)
 0  KERNELBASE.dll + 0x3a799
    rax = 0x00007ff8b9eea9f0   rdx = 0x00007ff8421e31b8
    rcx = 0x0000002b733fe4e0   rbx = 0x0000018f229ed350
    rsi = 0x0000018f25292c08   rdi = 0x0000000000000007
    rbp = 0x0000002b733fe2a0   rsp = 0x0000002b733fdc30
     r8 = 0x0000018f2582a9f0    r9 = 0x0000018f28bea160
    r10 = 0x0000018f2582a9f0   r11 = 0x0000000000000000
    r12 = 0x0000018f229ed350   r13 = 0x00000000002e0552
    r14 = 0x0000000000000000   r15 = 0x0000000000000000
    rip = 0x00007ff8cf2ca799
    Found by: given as instruction pointer in context
 1  Serif.Interop.Persona.ni.dll + 0x27258f6
    rbp = 0x0000002b733fe330   rsp = 0x0000002b733fe2b0
    rip = 0x00007ff8442858f6
    Found by: previous frame's frame pointer
 2  Serif.Interop.Persona.ni.dll + 0x2725c66
    rbp = 0x0000002b733fe3a0   rsp = 0x0000002b733fe340
    rip = 0x00007ff844285c66
    Found by: previous frame's frame pointer
 3  Serif.Interop.Persona.ni.dll + 0x2723a5c
    rbp = 0x0000002b733fe400   rsp = 0x0000002b733fe3b0
    rip = 0x00007ff844283a5c
    Found by: previous frame's frame pointer
 4  Serif.Affinity.ni.dll + 0xeb1c1d
    rbp = 0x0000002b733fe470   rsp = 0x0000002b733fe410
    rip = 0x00007ff845b51c1d
    Found by: previous frame's frame pointer
 5  0x7ff85a0bdf33
    rbp = 0x0000002b733fe650   rsp = 0x0000002b733fe480
    rip = 0x00007ff85a0bdf33
    Found by: previous frame's frame pointer
 6  Serif.Interop.Persona.ni.dll + 0x20db30d
    rbp = 0x0000002b733fe710   rsp = 0x0000002b733fe660
    rip = 0x00007ff843c3b30d
    Found by: previous frame's frame pointer
 7  Serif.Interop.Persona.ni.dll + 0x20d6c80
    rbp = 0x0000002b733fe770   rsp = 0x0000002b733fe720
    rip = 0x00007ff843c36c80
...
...

 

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

  

1 hour ago, Gompie said:

Hello @sapstar,

I have an identical problem. As soon as the rendering starts the program crashes.
When I open my preferences and go to "Performance" and set the renderer to "Warp" the problem is over. As soon as I change it back to default, my videocard, the problem starts again.
I had this problem since the last few versions. I leave it on Warp now but this is not the way it supposed to function.

 

  

1 hour ago, ChristAlix said:

He has already mentioned this above, or does he mean "In Nvidia control panel" in the system control?1

[ In Nvidia control panel, I changed my primary graphics card from Nvidia to the integrated Intel GPU. After this change, focus merge works. How can I resolve this problem. I have attached the Affinity Photo crash reports here.]

Initially I was changing this in nvidia control panel but later figured I can change it in Affinity performance settings.

Below is what works.

  1. Change Renderer to Integrated GPU.
  2. Change Renderer to Warp. (I am unsure what this option means)

Using NVIDIA graphics still crashed. Previously I just uninstalled the driver and installed studio drivers again as clean install. But based on the above recommendations, I have tried DDU in Safe Mode and reinstalled drivers again. The problem is still not resolved. 

Link to comment
Share on other sites

14 minutes ago, sapstar said:

I am not sure why Affinity can't recognise the GPU. I have other programs using it successfully. I can see it is correctly identified in device manager.

Your crash report's "attachment_Log.txt" file already probably told which GPU was in use ...

Quote

Loading colour profiles
    Monitors
        Name: Generic PnP Monitor
        Adapter: Intel(R) UHD Graphics 630
        Primary: Yes
        Has user profile: Yes
        Profile name: GGG_SDCA029.icc

    System
        Found 15 system profiles (parsed 15)
        Loading colour profile (system): wsRGB.cdmp
        Loading colour profile (system): wscRGB.cdmp
        Loading colour profile (system): sRGB Color Space Pro
       ...
       ...

 

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

4 minutes ago, v_kyr said:

Your crash report's "attachment_Log.txt" file already probably told which GPU was in use ...

 

Not sure I understand this. My laptop has 2 graphics cards. The integrated graphics card runs the laptop screen. Do you mean I have to select the same graphics card that is used by the monitor?

Link to comment
Share on other sites

4 minutes ago, sapstar said:

Not sure I understand this. My laptop has 2 graphics cards. The integrated graphics card runs the laptop screen. Do you mean I have to select the same graphics card that is used by the monitor?

It doesn't matter to Affinity Photo or Dersigner whether they have one or even five graphics cards. You select the "Preferences" menu in Affinity and choose the graphics card that should be responsible for " rendering" the displayed graphics in the Affinity Photo application window.

Please have a look at the "Affinity Photo Help" under "Preferences".

Link to comment
Share on other sites

6 minutes ago, ChristAlix said:

WARP: Please have a look at the "Affinity Photo Help". 

Thanks for clarifying. I did try the option and it worked. But most of the graphics processing was being done by the integrated graphics card when I checked in Performance Monitor. While this works, it's not ideal. This is very much like selecting the integrated card which also works.

Link to comment
Share on other sites

2 minutes ago, ChristAlix said:

It doesn't matter to Affinity Photo or Dersigner whether they have one or even five graphics cards. You select the "Preferences" menu in Affinity and choose the graphics card that should be responsible for " rendering" the displayed graphics in the Affinity Photo application window.

Please have a look at the "Affinity Photo Help" under "Preferences".

Yes. As I explained above. I tried these options already. Affinity crashes when I select the dedicated graphics card. I was pointed out an error from the logs in the previous posts which says GPU UNKNOWN and another post suggests the GPU is Intel Gaphics which is my integrated Graphics card. I just ran another test to make sure the above logs are correct. I believe the graphics card shown in attachment_Log.txt is purely the GPU which is running the screen and not the one rendering in the background.

Link to comment
Share on other sites

1 minute ago, ChristAlix said:

To be on the safe side, simply switch off the integrated graphics card in your BIOS settings, this worked well for my colleague.

Wouldn't that make my laptop screen stop working? NVIDIA control panel suggests my Laptop display is connected to it.

image.png.585c6c7485b43b9bbb110eca22ba8e7f.png

Link to comment
Share on other sites

14 minutes ago, sapstar said:

Würde das nicht dazu führen, dass mein Laptop-Bildschirm nicht mehr funktioniert? Das NVIDIA-Bedienfeld weist darauf hin, dass mein Laptop-Display daran angeschlossen ist.

image.png.585c6c7485b43b9bbb110eca22ba8e7f.png

This NVIDIA setting is only for "PhysX" and this processor interface language only works with special 3D / CAD / Finite Elements or scientific programs. You cannot set "Acceleration" of Affinity here. In addition, Affinity Photo works with OpenCL interface.

image.png.ef65ff074b6c4677ee26c5ea76a77dce.png


If you disable the Intel GPU in the BIOS, don't worry, your laptop screen or external monitor will continue to work. There is an "electronic switching" to the video outputs automatically inside the laptop.

 

Have the guts, it'll work out!!

Link to comment
Share on other sites

1 minute ago, ChristAlix said:

This NVIDIA setting is only for "PhysX" and this processor interface language only works with special 3D / CAD / Finite Elements or scientific programs. You cannot set "Acceleration" of Affinity here. In addition, Affinity Photo works with OpenCL interface.
If you disable the Intel GPU in the BIOS, don't worry, your laptop screen or external monitor will continue to work. There is an "electronic switching" to the video outputs automatically inside the laptop.

Have the guts, it'll work out!!

Thank you for explaining this. I will try it now.

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.