Running Affinity on Linux (Finally works) (2024)

Wow, thanks @droidragon ! We're so close now it seems ...

So Designer also crash just after clicking "new document".

We can notice different behaviour as you pointed out depending of if you use DXVK 1.5 or 1.4

With 1.5 I get a bunch of fatal d3d errors. It seems that Affinity Designer is not able to find some d3d functions, so maybe we still lack some dlls. Here's an excerpt of the log :

003c:fixme:d3d9:d3d9_swapchain_Present Ignoring dirty_region 00000000494A6840.002c:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00000000000200A0002c:fixme:ninput:RegisterOutputCallbackInteractionContext context 0000000050E24CB0, callback 00000000206B8B70, data 0000000050E0ABB0: stub!.002c:fixme:ninput:SetInteractionConfigurationInteractionContext context 0000000050E24CB0, count 1, configuration 000000000052B9E0: stub!.002c:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x20.002c:fixme:d3d11:d3d11_immediate_context_Flush iface 00000000508A0680 stub!002c:fixme:dxgi:wined3d_swapchain_desc_from_dxgi Ignoring scaling 0x1.002c:fixme:dxgi:wined3d_swapchain_desc_from_dxgi Ignoring alpha mode 0.002c:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.Please configure the application to use double buffering (1 back buffer) if possible.002c:fixme:d3d:wined3d_swapchain_init Unimplemented swap effect 0x3.002c:fixme:d3d11:d3d_blend_state_create Per-rendertarget blend not implemented.002c:fixme:d3d11:d3d11_device_CreateBlendState1 iface 00000000508A0650, desc 000000000052C0B0, state 0000000050E0AFB0 stub!002c:fixme:ver:GetCurrentPackageId (0x528090 (nil)): stub002c:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub002c:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x52a0d0,(nil)): stub002c:err:eventlog:ReportEventW L"Application: Designer.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.Runtime.InteropServices.SEHException\n at Serif.Interop.Persona.UserInterface.DocumentRenderControl.WndProc(IntPtr, Int32, IntPtr, Int"...

Also, the "unhandled exception" is :

Unhandled Exception: System.Runtime.InteropServices.SEHException: External component has thrown an exception. at Serif.Interop.Persona.UserInterface.DocumentRenderControl.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndHost.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.SetWindowPos(HandleRef hWnd, HandleRef hWndInsertAfter, Int32 x, Int32 y, Int32 cx, Int32 cy, Int32 flags) at System.Windows.Interop.HwndHost.OnWindowPositionChanged(Rect rcBoundingBox) at System.Windows.Interop.HwndHost.UpdateWindowPos() at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent() at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at Designer.Application.Main(String[] args)[48:53:20200127,015047.558:ERROR cpu_context_win.cc:138] non-x64 context[48:53:20200127,015047.589:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\xul.dll[48:53:20200127,015047.589:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\lgpllibs.dll[48:53:20200127,015047.590:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\nss3.dll[48:53:20200127,015047.590:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\mozglue.dll[48:53:20200127,015047.810:WARNING in_range_cast.h:38] value 18446531872260300544 out of range[48:53:20200127,015047.810:WARNING in_range_cast.h:38] value 4294967336 out of range[48:53:20200127,015047.810:WARNING in_range_cast.h:38] value 67557297240408079 out of range[48:53:20200127,015047.810:WARNING in_range_cast.h:38] value 277210074185743 out of range[48:53:20200127,015047.810:WARNING in_range_cast.h:38] value 246423748608000 out of range[48:53:20200127,015047.810:WARNING in_range_cast.h:38] value 1086626725639 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 18375663932623765440 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 18446742982787858431 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 966351076352 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 281474171404281 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 280388364664862 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 281474976645376 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 281474976710431 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 9007233615527952 out of range[48:53:20200127,015047.811:WARNING in_range_cast.h:38] value 18446744069414584320 out of range[48:53:20200127,015047.812:WARNING in_range_cast.h:38] value 18446602241004486400 out of range[48:53:20200127,015047.812:WARNING in_range_cast.h:38] value 4051897415282408251 out of range[48:53:20200127,015047.812:WARNING in_range_cast.h:38] value 18402379204720222818 out of range[48:53:20200127,015047.812:WARNING in_range_cast.h:38] value 18402379204720222818 out of range0031:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000022FA80

With 1.4, I'm able see the white page of the document, but as soon as I draw something on it, I get the same result as yours :

002d:fixme:wincodecs:ImagingFactory_CreateEncoder ignoring vendor GUID002d:fixme:path:parse_url failed to parse L"System.Drawing"003d:fixme:d3d9:d3d9_swapchain_Present Ignoring dirty_region 0000000049F70680.002d:fixme:d2d:d2d_factory_CreatePathGeometry1 iface 0000000050A97C70, geometry 0000000050BED798 stub!002d:fixme:ver:GetCurrentPackageId (0x528ce0 (nil)): stub002d:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub002d:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x52ad20,(nil)): stub002d:err:eventlog:ReportEventW L"Application: Designer.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.AccessViolationException\n at Serif.Interop.Persona.UserInterface.DocumentRenderControl.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean"...002d:fixme:advapi:DeregisterEventSource (0xcafe4242) stubUnhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Serif.Interop.Persona.UserInterface.DocumentRenderControl.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndHost.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.IntGetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax) at MS.Win32.UnsafeNativeMethods.GetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax) at System.Windows.Threading.Dispatcher.GetMessage(MSG& msg, IntPtr hwnd, Int32 minMessage, Int32 maxMessage) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at Designer.Application.Main(String[] args)[49:54:20200127,021034.200:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\xul.dll[49:54:20200127,021034.200:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\lgpllibs.dll[49:54:20200127,021034.201:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\nss3.dll[49:54:20200127,021034.201:WARNING pe_image_reader.cc:168] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\mozglue.dll[49:54:20200127,021034.418:WARNING in_range_cast.h:38] value 1801439851048861696 out of range[49:54:20200127,021034.418:WARNING in_range_cast.h:38] value 2522015791595913216 out of range[49:54:20200127,021034.418:WARNING in_range_cast.h:38] value 2522015791595913216 out of range[49:54:20200127,021034.418:WARNING in_range_cast.h:38] value 2522015791595913216 out of range[49:54:20200127,021034.418:WARNING in_range_cast.h:38] value 17969751061706849340 out of range[49:54:20200127,021034.418:WARNING in_range_cast.h:38] value 4107282863668330496 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 17807833401688850432 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 13835058059560353792 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 18237070513411433216 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 18374686483949813760 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 18443917233609506560 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 18446742978492890880 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 18446742978492890880 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 18441374063186893568 out of range[49:54:20200127,021034.419:WARNING in_range_cast.h:38] value 18402943932766879744 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18430353658152550656 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18446742978448349184 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18434875764793933824 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18403509081765334016 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18435440922360545280 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 13837036079922218752 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18436006079927156736 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18436571237493768192 out of range[49:54:20200127,021034.420:WARNING in_range_cast.h:38] value 18436853816277073920 out of range0032:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000022FA80
Running Affinity on Linux (Finally works) (2024)
Top Articles
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 5626

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.