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

Affinity Apps will not start on new computer


Recommended Posts

Just upgraded to an HP Spectre. 12th gen Intel CPU with the Intel Arc A370M GPU. 

None of the Affinity applications (Photo 1.10.5.1342) will start on this computer. I think it is related to the OpenCL acceleration being on by default, but I cannot turn it off since I cannot open the applications. Basically, I am dead in the water for my workflow on this computer.

I have tried changing the Graphics Preference in the Advanced Display Options from Letting Windows Decide, to Power Saving (use iris xe), and High Performance (use arc 370). None of that matters to starting the applications.

Is there a way I can start from the command line and disable the Open CL acceleration? Of course, I am only guessing this is the issue. It could be something else entirely. On my older computer with Nvidia graphics everything is running normally with the same versions of the software.

 

Installed from Windows Store.

If this is the issue, I am curious why acceleration is on by default, and why the app does not disable it when it fails to start.

Link to comment
Share on other sites

  • Staff

Hi @dappergenius,

Welcome to the Affinity Forums :)

Sorry to hear you're having trouble!

I can confirm our team are aware of an issue when running Affinity using the new A370M GPUs, which causes a crash on launch.

Our suggested fix is to force Affinity to use the Xe GPU, as you've mentioned. Steps for how to set this can be found below:

Note the FAQ is referring to setting the dedicated card, but in your case you need to select the integrated card.

If you need to disable Hardware Acceleration also, this can be done before the app launches using the below tool:

55 minutes ago, dappergenius said:

If this is the issue, I am curious why acceleration is on by default, and why the app does not disable it when it fails to start.

Unfortunately the Intel A series of GPUs launched after our most recent update (1.10.5) and therefore doesn't yet contain a fix, or automatic detection of this card, disabling Hardware Acceleration. As your laptop also has an Xe GPU, the Affinity app detects this and enables Hardware Acceleration, as this is a supported, working option for the Xe graphics.

I'd also recommend ensuring your Intel drivers are fully up to date for both GPUs, directly from Intels website.

I hope this helps!

Link to comment
Share on other sites

  • Staff

Thank you for trying that for me and I'm sorry to hear this, as this isn't the behaviour I've seen previously with these cards.

Therefore I'd like to request a copy of your eventviewer log in order to better understand what's happening when launching the app.

To generate this please do the following:

1. Open Windows Run (Windows Key + R) and type the following - eventvwr
2. In the window that opens, select the Windows Logs drop-down list on the left and then Applications
3. With the Applications logs selected, navigate to the right side of the window and select Save All Events As... and save them as .evtx (the default option).
4. Attach this saved file to your reply here.  

Many thanks in advance :)

Link to comment
Share on other sites

10 minutes ago, dappergenius said:

The %AppData%\Affinity\ folder is not getting created, so none of the files exist. I was trying the CL disabler when you replied. It is not creating any files as well.

The OpenCL Disabler doesn't create any possible whole missing "AppData%\Affinity\" directory structure, instead it searches/looks for that pre-existing structure in order to determine if and which Affinity apps have been installed. If it doesn't find any such existing directory paths, it thinks that there aren't any Affinity apps installed at all. Thus also not creating any PerformancePreferences.xml files then!

☛ 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

5 minutes ago, dappergenius said:

Here is the log file generated from starting Photo

aphoto.evtx 4.07 MB · 0 downloads

I should add that this is after updating intel drivers from the website. That was on my list of things to do with new computer. Here are the current versions according to Intel:

Arc 370M and Iris Xe on the same version 31.0.101.3430

 

Link to comment
Share on other sites

@dappergenius and @GilletteSignworks

Please download and run Microsoft .Net Repair Tool.

https://aka.ms/DotnetRepairTool

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

Affinity Suite V 2.3.1 & Beta 2.(latest)
Better translations with: https://www.deepl.com/translator  
Need a system wide color picker? Try Microsoft's (New) Power Toys
Need a robust PDF Solution? Have a look at Stirling PDF

There's nothing you get used to faster than working slowly!

Link to comment
Share on other sites

  • Staff

Thanks for providing that file and further information for me!

I can see a few interesting things from your Event Viewer log, firstly the 'HP App Helper' application is crashing around the same time as the Affinity app is launched - although I don't believe this to be a direct cause, but certainly seems to be interfering. I believe this HP app is preinstalled on new devices and if not required it can be removed, which is my recommendation.

Secondly, the Affinity application is crashing when accessing .NET, so I would also recommend following Komatos' above advice in running the .NET repair tool.

Following this, restart your PC and then try launching Affinity once again. Note the app may still crash, but hopefully you find files are created under %appdata%\Affinity\Photo\1.0 (Store)\user\ and you can then use the OpenCL tool to disable the setting & launch the app.

Please do let me know how you get on here :)
______________________________________________________

@GilletteSignworks,

Welcome to the Affinity Forums :)

The aforementioned steps should hopefully allow you to open Affinity, please do also let us know if you are having further trouble!

Link to comment
Share on other sites

Running the dotnet repair tool did not resolve the issue. The Photo startup error is the same.

Application: Photo.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at <Module>.Raster.Buffer<Raster::Red8,Raster::Green8,Raster::Blue8,Raster::Alpha8,Raster::X5>.Clear(Raster.Buffer<Raster::Red8,Raster::Green8,Raster::Blue8,Raster::Alpha8,Raster::X5>*, Boolean, Boolean*)
   at Serif.Interop.Persona.UserInterface.FontCellControlHelper.CreatePreviewBitmap(System.ComponentModel.BackgroundWorker)
   at Serif.Interop.Persona.UserInterface.FontCellControlHelper.EnumFontsW(System.Object, System.ComponentModel.DoWorkEventArgs)
   at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)

Exception Info: System.Reflection.TargetInvocationException
   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Serif.Interop.Persona.UserInterface.FontCellControlHelper.OnRunWorkerCompleted(System.Object, System.ComponentModel.RunWorkerCompletedEventArgs)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Link to comment
Share on other sites

I had a chance to mess with this a little, still no success launching either photo or designer. Please excuse my lack of technical knowledge but I will help provide info where I can. 

Working on updating intel driver now to 31.0.101.3430

Tried opening with both Iris and Arc with no difference.

Open CL returns "no file found" for all apps

.Net repair didnt seam to change anything.

I will try to pull logs after I get this intel driver to install. 

I did do a clean install of win11 before setting up this laptop and had to manually install some drivers, not sure if that would have anything to do with this. 

Link to comment
Share on other sites

  • Staff

Thank you both for trying these steps for me and I'm sorry to hear this hasn't helped.

I'd like to try force disabling OpenCL before the app even opens, as this should hopefully allow the required files to be created, and the app to open as expected.

Please navigate to your desktop and right-click on the Affinity Shortcut, then select Properties in the menu that opens.

Within the Target box, add the following at the end of the Affinity app location:

 --no-ocl

This should now appear as follows:

image.png

Select OK, note you may see an 'Admin' popup here, requiring admin permissions to change the shortcut.

Now, try launching the app once again - does this now open as expected please? :)

Link to comment
Share on other sites

Application: Photo.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at <Module>.Raster.Buffer<Raster::Red8,Raster::Green8,Raster::Blue8,Raster::Alpha8,Raster::X5>.Clear(Raster.Buffer<Raster::Red8,Raster::Green8,Raster::Blue8,Raster::Alpha8,Raster::X5>*, Boolean, Boolean*)
   at Serif.Interop.Persona.UserInterface.FontCellControlHelper.CreatePreviewBitmap(System.ComponentModel.BackgroundWorker)
   at Serif.Interop.Persona.UserInterface.FontCellControlHelper.EnumFontsW(System.Object, System.ComponentModel.DoWorkEventArgs)
   at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)

Exception Info: System.Reflection.TargetInvocationException
   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Serif.Interop.Persona.UserInterface.FontCellControlHelper.OnRunWorkerCompleted(System.Object, System.ComponentModel.RunWorkerCompletedEventArgs)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Link to comment
Share on other sites

Looks like for applications installed from the Windows Store, on Windows 11, this option to change the shortcut is no longer available. Is there another way to change the command line? I am not finding anything with google, other than the app is now installed under Window Apps, and I had to change the permissions on that folder to even see inside it.

Link to comment
Share on other sites

  • Staff
13 hours ago, dappergenius said:

Is there another way to change the command line?

Apologies, for apps installed through the Microsoft App Store, you'll need to use the following in an Administrator elevated Command Prompt -

start shell:AppsFolder\SerifEuropeLtd.AffinityPhoto_844sdzfcmm7k0!SerifEuropeLtd.AffinityPhoto --no-ocl

This should perform the same action as the Shortcut method and hopefully allow the app to open :)

Link to comment
Share on other sites

5 minutes ago, dappergenius said:

Excellent. That got Photo started and once it started, I was able to restart it without the command line. Do I just replace photo with Designer and Publisher for those apps? Or is the command more unique than that?

 

Answered on my own. All apps are now running on this computer. Thank you for finally getting the me option I asked for in the original post.

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.