toluschr Posted July 28, 2019 Share Posted July 28, 2019 (edited) (on Fedora 30, Affinity 1.6.5.135) Information I tried to run Affinity previously, but only got to the point of "VK_CHILD_WINDOW_RENDERING" not being implemented and after not using Affinity Photo for a long time to stay with Linux I got the following message on Discord: So I had to try it out and what can I say? It works flawlessly! Installation Download Affinity 1.6.5 from: "https://store.serif.com/de/update/windows/photo/1/" The following commands are required to install and use Affinity Photo (Run EVERYTHING in the same terminal instance). Open a terminal in the same folder, you downloaded Affinity into! # Download and extract the correct wine version curl -L https://lutris.nyc3.cdn.digitaloceanspaces.com/runners/wine/wine-lutris-vkchildwindow-4.12.1-x86_64.tar.xz > wine-lutris-vkchildwindow-4.12.1-x86_64.tar.xz tar xf wine-lutris-vkchildwindow-4.12.1-x86_64.tar.xz # Set the path to wine for winetricks to work correctly export WINE="$PWD/lutris-vkchildwindow-4.12.1-x86_64/bin/wine" # Remove the old wine prefix rm -rf ~/.wine alias wine=$WINE wine wineboot -i When this window opens, click on "Cancel" # Downloading the newest version of winetricks curl -L https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks > winetricks chmod +x winetricks Now that everything is downloaded, and a new prefix was created, you have to install some dependencies. Follow the instructions in the setups and click on "Reboot Now". You can ignore warnings by the setups. # To prevent errors from mono ./winetricks remove_mono -q # For the installer ./winetricks dotnet35sp1 -q # For the main application ./winetricks dotnet472 -q # Set windows to 8.1, since aero is not found if set to win7 ./winetricks win81 -q Run the installer with: (Deselect desktop shortcut) wine affinity-photo-1.6.5.135.exe Install DXVK to make Affinity Photo work git clone https://github.com/doitsujin/dxvk ./dxvk/setup_dxvk.sh install Affinity should now be installed under "~/.wine" Desktop Shortcut Run this code below! cd ~/.local/share/applications/ echo "[Desktop Entry]" >> "Affinity Photo.desktop" echo "Name=Affinity Photo" >> "Affinity Photo.desktop" echo "Exec=$WINE '/home/$USER/.wine/drive_c/Program Files/Affinity/Photo/Photo.exe'" >> "Affinity Photo.desktop" echo "Icon='/home/$USER/.local/share/applications/$(ls ../icons/hicolor/256x256/apps | grep Photo | head -n 1)'" >> "Affinity Photo.desktop" echo "Type=Application" >> "Affinity Photo.desktop" echo "Categories=Photo;Utility;" >> "Affinity Photo.desktop" Edited August 1, 2019 by toluschr Fixed: downloading runner not working Tjandra, Nathan Shirley, Redsandro and 8 others 6 5 Link to comment Share on other sites More sharing options...
BestestGrandad Posted July 31, 2019 Share Posted July 31, 2019 Hi For info this does not appear to work! To be exact the curl command to get the wine tar file point to a file that either does not exist or is protected in some way which prohibits download. Shame really but there you go - save anyone else wasting a couple of hours trying to work out why they can't extract the tar file Link to comment Share on other sites More sharing options...
toluschr Posted July 31, 2019 Author Share Posted July 31, 2019 I am so sorry that the download link is broken. I tested it and it worked on the day I created the post. I will update it as soon as I have time! Link to comment Share on other sites More sharing options...
toluschr Posted August 1, 2019 Author Share Posted August 1, 2019 I am sorry for the inconvenience. I just updated the url. Have fun with Affinity Photo! Link to comment Share on other sites More sharing options...
BestestGrandad Posted August 1, 2019 Share Posted August 1, 2019 Thanks for the update - the new link worked :-) However (and I think this is my system) I cannot get the Affinity installer to run. Would be interested if anyone gets it to work on LUbuntu 18.0.4 and if so what packages need installing after a fresh install. Link to comment Share on other sites More sharing options...
ssergio-ll Posted August 2, 2019 Share Posted August 2, 2019 (edited) Hello. I use KDE NEON 18.04 (Ubuntu + KDE). I can't install dependencies with winetricks. The windows of installation are very small. I attach capture: Help me? Thanks! On 7/28/2019 at 1:09 PM, toluschr said: wine wineboot -i Edited August 2, 2019 by ssergio-ll Link to comment Share on other sites More sharing options...
ssergio-ll Posted August 3, 2019 Share Posted August 3, 2019 Hello. Now i can see windows of installation but i can't install donet35sp1. The installation finish on error. Help? Thanks Link to comment Share on other sites More sharing options...
sajmonella9 Posted August 22, 2019 Share Posted August 22, 2019 Hi, when i try install Photo / Designer 1.6.5 i got SetupUI crash. on Last version 1.7.x working good , but when i wanna do something on canvas i got crash. Summary : 1.7.x Work but can work on canvas. 1.6.5 don't wanna install (wine affinity-xxx.exe) crashing SetupUI . All installed. nhandled exception: 0xe0434352 in 32-bit code (0x7b452e8c). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b452e8c ESP:0032e5e4 EBP:0032e658 EFLAGS:00000216( - -- I -A-P- ) EAX:0032e5fc EBX:00000000 ECX:00000010 EDX:0032e6d0 ESI:0032e6d0 EDI:00000001 Stack dump: 0x0032e5e4: 22006792 01695b48 01695b48 0012fca0 0x0032e5f4: 00001302 072ba300 e0434352 00000001 0x0032e604: 00000000 7b452e8c 00000005 88980406 0x0032e614: 00000000 00000000 00000000 008c0000 0x0032e624: 00000000 01695b48 00000005 00000000 0x0032e634: 00000000 0012fca0 0032e724 00000001 Backtrace: =>0 0x7b452e8c in kernel32 (+0x22e8c) (0x0032e658) 1 0x00a15383 EntryPoint+0x13c782() in clr (0x0032e704) 2 0x00a15588 EntryPoint+0x13c987() in clr (0x0032e7cc) 3 0x05943ee5 (0x0032e7fc) 4 0x06399a9a (0x0032e998) 5 0x0639ddb4 (0x0032e9f8) 6 0x0639dbbd (0x0032eab4) 7 0x0639586a (0x0032eacc) 8 0x05440e5b (0x0032eb0c) 9 0x05440d9b (0x0032eb2c) 10 0x05440c75 (0x0032eb48) 11 0x053efebd (0x0032eb84) 12 0x04bcc4f7 (0x0032ebd8) 13 0x04bc85fb (0x0032ec24) 14 0x0038d08e (0x0032ec58) 15 0x7e760bfc in user32 (+0xa0bfb) (0x0032ec88) 16 0x7e76118d in user32 (+0xa118c) (0x0032ecc8) 17 0x7e763585 in user32 (+0xa3584) (0x0032ed18) 18 0x7e71f91e in user32 (+0x5f91d) (0x0032ed88) 19 0x7e7258ea in user32 (+0x658e9) (0x0032ede8) 20 0x7e725b80 in user32 (+0x65b7f) (0x0032ee38) 21 0x7e75eb6c in user32 (+0x9eb6b) (0x0032ef68) 22 0x7e75d024 in user32 (+0x9d023) (0x0032efc8) 23 0x7e171fb6 (0x0032f058) 24 0x7e1731c3 (0x0032f188) 25 0x7e173c79 (0x0032f1b8) 26 0x7e7613c3 in user32 (+0xa13c2) (0x0032f218) 27 0x7e71fa3d in user32 (+0x5fa3c) (0x0032f2e8) 28 0x7e72835a in user32 (+0x68359) (0x0032f338) 29 0x056e02af (0x0032f384) 30 0x056e01e6 (0x0032f3a0) 31 0x056e0085 (0x0032f3e0) 32 0x056cfdf4 (0x0032f434) 33 0x056cf88e (0x0032f440) 34 0x056cf7f6 (0x0032f44c) 35 0x056cf5a7 (0x0032f468) 36 0x056cef99 (0x0032f478) 37 0x056cef5c (0x0032f484) 38 0x03b1e9a5 (0x0032f498) 39 0x008ceaf6 EntryPoint+0xffffffff() in clr (0x0032f4a4) 40 0x008d1d50 EntryPoint+0xffffffff() in clr (0x0032f4f8) 41 0x008d7764 EntryPoint+0xffffffff() in clr (0x0032f560) 42 0x009493f0 EntryPoint+0x707ef() in clr (0x0032f68c) 43 0x00949ad1 EntryPoint+0x70ed0() in clr (0x0032f900) 44 0x009499b7 EntryPoint+0x70db6() in clr (0x0032fdf8) 45 0x00949c9d EntryPoint+0x7109c() in clr (0x0032fe50) 46 0x00949be3 EntryPoint+0x70fe2() in clr (0x0032fe90) 47 0x00919d5c EntryPoint+0x4115b() in clr (0x0032fecc) 48 0x1000d93b EntryPoint+0xffffffff() in mscoreei (0x0032ff08) 49 0x79007f16 EntryPoint+0x50c1() in mscoree (0x0032ff18) 50 0x79004de3 EntryPoint+0x1f8e() in mscoree (0x0032ff48) 51 0x7b484480 in kernel32 (+0x5447f) (0x0032ffd8) 52 0x7b481d5a in kernel32 (+0x51d59) (0x0032ffec) 0x7b452e8c: addl $12,%esp Modules: Module Address Debug info Name (57 modules) PE 400000- 582000 Deferred setupui PE 8c0000- fae000 Export clr PE fb0000- 10a5000 Deferred msvcr120_clr0400 PE 3b50000- 3bd0000 Deferred clrjit PE 48d0000- 4a19000 Deferred wpfgfx_v0400 PE 4a20000- 4a98000 Deferred msvcp120_clr0400 PE 4aa0000- 4b6a000 Deferred presentationnative_v0400 PE 6050000- 6138000 Deferred diasymreader PE 10000000-1007d000 Export mscoreei PE 79000000-7904a000 Export mscoree PE 7a170000-7a175000 Deferred d3dcompiler_47 PE 7a840000-7a849000 Deferred opengl32 PE 7afd0000-7afd4000 Deferred api-ms-win-core-winrt-string-l1-1-0 PE 7b160000-7b168000 Deferred propsys PE 7b430000-7b602000 Export kernel32 PE 7b8b0000-7b8ba000 Deferred wined3d PE 7bc30000-7bc47000 Deferred ntdll PE 7be30000-7be35000 Deferred d3d9 PE 7be80000-7be86000 Deferred dwmapi PE 7be90000-7be97000 Deferred wintrust PE 7bee0000-7bee7000 Deferred dbghelp PE 7bf70000-7bf93000 Deferred wininet PE 7c030000-7c035000 Deferred odbccp32 PE 7c050000-7c055000 Deferred mspatcha PE 7c070000-7c075000 Deferred imagehlp PE 7c090000-7c094000 Deferred sxs PE 7c0c0000-7c0d4000 Deferred urlmon PE 7c350000-7c357000 Deferred ws2_32 PE 7c390000-7c39d000 Deferred mpr PE 7c3c0000-7c3c6000 Deferred uxtheme PE 7c410000-7c415000 Deferred cabinet PE 7c440000-7c444000 Deferred usp10 PE 7c4a0000-7c4f6000 Deferred comctl32 PE 7c5f0000-7c5fa000 Deferred aclui PE 7c630000-7cf2b000 Deferred shell32 PE 7d050000-7d054000 Deferred dwrite PE 7d570000-7d576000 Deferred shcore PE 7d5b0000-7d5f8000 Deferred crypt32 PE 7d6a0000-7d6a5000 Deferred bcrypt PE 7d6c0000-7d6c5000 Deferred rsaenh PE 7d740000-7d74e000 Deferred oleaut32 PE 7d860000-7d864000 Deferred api-ms-win-core-xstate-l2-1-0 PE 7d870000-7d878000 Deferred combase PE 7dee0000-7def9000 Deferred setupapi PE 7e160000-7e165000 Deferred winex11 PE 7e210000-7e21d000 Deferred rpcrt4 PE 7e410000-7e414000 Deferred api-ms-win-core-quirks-l1-1-0 PE 7e420000-7e424000 Deferred api-ms-win-appmodel-runtime-l1-1-2 PE 7e440000-7e446000 Deferred imm32 PE 7e480000-7e495000 Deferred msvcrt PE 7e550000-7e55e000 Deferred gdi32 PE 7e6c0000-7e7b4000 Export user32 PE 7e8e0000-7e8f2000 Deferred shlwapi PE 7e950000-7e95d000 Deferred advapi32 PE 7ee50000-7ee68000 Deferred kernelbase PE 7efe0000-7efe5000 Deferred version PE 7eff0000-7eff3000 Deferred wow64cpu Threads: process tid prio (all id:s are in hex) 00000008 affinity-photo-1.6.5.135.exe [Z:\home\empty\Downloads\affinity-photo-1.6.5.135.exe] 00000009 0 0000000e services.exe 00000062 0 0000005b 0 0000001d 0 00000015 0 00000010 0 0000000f 0 00000011 explorer.exe 00000025 0 00000024 0 00000023 0 00000012 0 00000013 winedevice.exe 0000001a 0 00000019 0 00000018 0 00000014 0 0000001b plugplay.exe 0000001f 0 0000001e 0 0000001c 0 0000004f (D) C:\users\empty\Temp\AffinitySetup\a3d22e29-c4b5-11e9-2389-4ccc6a6e0641\SetupUI.exe ["C:\users\empty\Temp\AffinitySetup\a3d22e29-c4b5-11e9-2389-4ccc6a6e0641\SetupUI.exe" /log=true] 00000076 0 0000006f 0 0000006e 0 0000006d 0 00000068 0 00000057 0 00000053 0 00000052 2 00000051 0 00000050 0 <== 00000059 mscorsvw.exe 0000005f 0 0000005e 0 0000005d 0 0000005a 0 00000060 mscorsvw.exe [C:\windows\Microsoft.NET\Framework\v4.0.30319\mscorsvw.exe] 00000065 0 00000064 0 00000063 0 00000061 0 00000069 msiexec.exe [C:\windows\syswow64\msiexec.exe -Embedding 79] 0000006a 0 00000077 explorer.exe 0000007b 0 0000007a 0 00000079 0 00000078 0 System information: Wine build: wine-4.12.1.r1.gaccf1895 ( TkG Staging Esync ) Platform: i386 (WOW64) Version: Windows 8.1 Host system: Linux Host version: 5.2.9-arch1-1-ARCH Link to comment Share on other sites More sharing options...
Redsandro Posted August 23, 2019 Share Posted August 23, 2019 Not sure if relevant, but here is the English download page. https://store.serif.com/en-us/update/windows/photo/1/ In case download contains i18n. Fractoggen 1 Link to comment Share on other sites More sharing options...
Redsandro Posted August 23, 2019 Share Posted August 23, 2019 For me this is not working. Half of the winetricks command end/freeze with an empty window open (but work fine with the default installed wine). However since it's working for you, I'm optimistic this will work itself out! On 7/28/2019 at 1:09 PM, toluschr said: I tried to run Affinity previously, but only got to the point of "VK_CHILD_WINDOW_RENDERING" not being implemented and after not using Affinity Photo for a long time to stay with Linux I got the following message on Discord: Where can we track when this patch is being merged to mainline? I prefer to (wait for and) install a package version from the beta repository, so not to mess with the ability to run my existing wine apps. Link to comment Share on other sites More sharing options...
D’T4ils Posted October 4, 2019 Share Posted October 4, 2019 Has there been any updates on this? Link to comment Share on other sites More sharing options...
bitsandnumbers Posted December 20, 2019 Share Posted December 20, 2019 I tried this with Affinity Designer and Publisher, and so far this how to brought me as far as I could get compared to other solutions. Although I didn't get past the license window. After entering my licenses, Affinity splash screen appear and freezes in place. I get this error in terminal, along with the long "fixme" list : "00a9:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet". At the end, this error is repeating alone indefinitely. OS: Manjaro (archlinux) 64 bits Wine Lutris VK 4.12.1 Affinity Designer & Publisher v1.7.3 Hope the search to make it work is still going on... Link to comment Share on other sites More sharing options...
GayCoonie Posted December 22, 2019 Share Posted December 22, 2019 You know you can just change the active prefix to use winetricks with it right? Unless I'm missing something there's no need to delete your existing prefix and make a new one in the same place. Link to comment Share on other sites More sharing options...
Daftfrog Posted January 9, 2020 Share Posted January 9, 2020 There is an install script for Designer on Lutris now: https://lutris.net/games/af/ It still freezes at the loading screen for me, but maybe you will have better luck. D’T4ils 1 Link to comment Share on other sites More sharing options...
bitsandnumbers Posted January 10, 2020 Share Posted January 10, 2020 On 1/9/2020 at 8:31 AM, Daftfrog said: There is an install script for Designer on Lutris now: https://lutris.net/games/af/ It still freezes at the loading screen for me, but maybe you will have better luck. Thanks for the heads up ! Link to comment Share on other sites More sharing options...
Carlos# Posted January 10, 2020 Share Posted January 10, 2020 On 1/9/2020 at 8:31 AM, Daftfrog said: There is an install script for Designer on Lutris now: https://lutris.net/games/af/ It still freezes at the loading screen for me, but maybe you will have better luck. Me too. Instalation without issues, freezes on splash screen! Heads on the right direction.... Link to comment Share on other sites More sharing options...
droidragon Posted January 22, 2020 Share Posted January 22, 2020 On 1/9/2020 at 2:01 PM, Daftfrog said: There is an install script for Designer on Lutris now: https://lutris.net/games/af/ It still freezes at the loading screen for me, but maybe you will have better luck. This need more work. The launch screen stuck is due to mscms.dll, to fix this 'stuck' download the dll or copy from windows and put it in system32 and syswow64, after that add the mscms to DLL overrides with 'n,b' values. Now the app opens but there is another few issues. 1) The Ui is very glitchy. 2) It crahes when opening heavy file or even creating a Artboard. 3) There is some issue with saving the file. 4) Probably many more untested things. To fix issue numer one switch to older version of DXVK (1.4.x). Now the Ui is fine and 'everything' in Ui seems to work until you create new Doc. or open an exisiting one and click inside. Unfortunately this is as far I got for now. The Ui crash Error is:- Unhandled 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:20200122,111229.033:WARNING in_range_cast.h:38] value 18446531872260300544 out of range [49:54:20200122,111229.033:WARNING in_range_cast.h:38] value 4294967336 out of range [49:54:20200122,111229.033:WARNING in_range_cast.h:38] value 67557297240408079 out of range [49:54:20200122,111229.034:WARNING in_range_cast.h:38] value 277210074185743 out of range [49:54:20200122,111229.034:WARNING in_range_cast.h:38] value 246423748608000 out of range [49:54:20200122,111229.034:WARNING in_range_cast.h:38] value 1086626725639 out of range [49:54:20200122,111229.034:WARNING in_range_cast.h:38] value 18375663932623765440 out of range [49:54:20200122,111229.035:WARNING in_range_cast.h:38] value 18446742982787858431 out of range [49:54:20200122,111229.035:WARNING in_range_cast.h:38] value 966351076352 out of range [49:54:20200122,111229.035:WARNING in_range_cast.h:38] value 281474171404281 out of range [49:54:20200122,111229.035:WARNING in_range_cast.h:38] value 280388364664862 out of range [49:54:20200122,111229.036:WARNING in_range_cast.h:38] value 281474976645376 out of range [49:54:20200122,111229.036:WARNING in_range_cast.h:38] value 281474976710431 out of range [49:54:20200122,111229.036:WARNING in_range_cast.h:38] value 9007233615527952 out of range [49:54:20200122,111229.036:WARNING in_range_cast.h:38] value 18446744069414584320 out of range [49:54:20200122,111229.036:WARNING in_range_cast.h:38] value 18446602241004486400 out of range [49:54:20200122,111229.037:WARNING in_range_cast.h:38] value 4051897415282408251 out of range [49:54:20200122,111229.037:WARNING in_range_cast.h:38] value 18402379204720222818 out of range [49:54:20200122,111229.037:WARNING in_range_cast.h:38] value 18402379204720222818 out of range Link to comment Share on other sites More sharing options...
bitsandnumbers Posted January 27, 2020 Share Posted January 27, 2020 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 00000000000200A0 002c: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)): stub 002c:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub 002c:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x52a0d0,(nil)): stub 002c: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 range 0031: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 GUID 002d: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)): stub 002d:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub 002d:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x52ad20,(nil)): stub 002d: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) stub Unhandled 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 range 0032:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000022FA80 Link to comment Share on other sites More sharing options...
Pariah73 Posted January 27, 2020 Share Posted January 27, 2020 Just curious if one could run Affinity products in a Win or Mac virtual machine on a Linux computer? Link to comment Share on other sites More sharing options...
droidragon Posted January 27, 2020 Share Posted January 27, 2020 (edited) @bitsandnumbers I think and, just a wild guess, the reason AD is crashing because it's not able to write to memory or disk. When you open an existing doc. it throws error while saving and it fails. So it's maybe possible when it tries to use th memory or disk to save an existing change we made in doc. Or it's just a .Net error. .Net in wine from what I read online is hit or miss for windows application. 18 minutes ago, Pariah73 said: Just curious if one could run Affinity products in a Win or Mac virtual machine on a Linux computer? Yes for windows, that's how I have been using it for a while now. I don't know much about Mac. Edited January 27, 2020 by droidragon Link to comment Share on other sites More sharing options...
Pariah73 Posted January 27, 2020 Share Posted January 27, 2020 1 minute ago, droidragon said: @bitsandnumbers I think and, just a wild guess, the reason AD is crashing because it's not able to write to memory or disk. When you open an existing doc. it throws error while saving and it fails. So it's maybe possible when it tries to use th memory or disk to save an existing change we made in doc. Or it's just a .Net error. .Net in wine from what I read online is hit or miss for windows application. Yes for windows, that's how I have been using it for a while now. I don't know much about Mac. Thank you! I've just about had enough of Windows 10 and I miss Linux terribly Andy2 1 Link to comment Share on other sites More sharing options...
bitsandnumbers Posted January 27, 2020 Share Posted January 27, 2020 @Pariah73 I have Affinity Designer working on Windows and MacOS VMs (I was using both before switching to Linux for good). They work without any issue, but best on VMWare (Virtualbox has no effiecient way of dealing with video memory, and Affinity products throw a D3D error). VMWare Player is free to use and enough to run Affinity products with all the features. Some Linux distros make it difficult to install VMWare though (or is it VMWare make it difficult to install their products on other distros than a few select ones ?), so choose carefully. @droidragon Maybe .NET is the culprit, but installing almost all .NET versions always bring to the same outcome. It's true that it can still be because of Wine interpretation of it... I think the relevant line that interest us is this one : "Serif.Interop.Persona.UserInterface.DocumentRenderControl.WndProc". The crash seem entirely related to this function. So since the document is rendered with .NET and D3D, it's either one of them, or both ? I tried also installing dotnet48 but to no avail :/ I hope you're wrong and that we're not doomed by a non functional .NET for Affinity products :/ Link to comment Share on other sites More sharing options...
Pariah73 Posted January 28, 2020 Share Posted January 28, 2020 4 hours ago, bitsandnumbers said: @Pariah73 I have Affinity Designer working on Windows and MacOS VMs (I was using both before switching to Linux for good). They work without any issue, but best on VMWare (Virtualbox has no effiecient way of dealing with video memory, and Affinity products throw a D3D error). VMWare Player is free to use and enough to run Affinity products with all the features. Some Linux distros make it difficult to install VMWare though (or is it VMWare make it difficult to install their products on other distros than a few select ones ?), so choose carefully Thank you for the tip! I would have started with VB, so I'm glad you mentioned this. I'll be sure to research beforehand which distros work best with it. Thanks again! Link to comment Share on other sites More sharing options...
droidragon Posted January 28, 2020 Share Posted January 28, 2020 7 hours ago, bitsandnumbers said: @droidragon Maybe .NET is the culprit, but installing almost all .NET versions always bring to the same outcome. It's true that it can still be because of Wine interpretation of it... I think the relevant line that interest us is this one : "Serif.Interop.Persona.UserInterface.DocumentRenderControl.WndProc". The crash seem entirely related to this function. So since the document is rendered with .NET and D3D, it's either one of them, or both ? I tried also installing dotnet48 but to no avail I hope you're wrong and that we're not doomed by a non functional .NET for Affinity products Google search does say it's mostly .net related and one result I found which said it maybe fonts related. Maybe we need to post it in wine forums but yeah I hope I'm wrong too about .Net Link to comment Share on other sites More sharing options...
bitsandnumbers Posted January 28, 2020 Share Posted January 28, 2020 8 hours ago, droidragon said: Google search does say it's mostly .net related and one result I found which said it maybe fonts related. Maybe we need to post it in wine forums but yeah I hope I'm wrong too about .Net I was actually thinking about fonts... but there's still this string that clearly print "Serif.Interop.Persona.UserInterface.DocumentRenderControl.WndProc" which make me think the issue is much broader than that I may be wrong though. You're right about the wine forums, they're more used to read the logs than us and may have encountered the error before. EDIT : Topic create at WineHQ : https://forum.winehq.org/viewtopic.php?f=8&t=33433 MeatRadiator 1 Link to comment Share on other sites More sharing options...
Recommended Posts