Replies: 2 comments
|
I can confirm this exact crash ( Root cause: Wine 11.12 (and 11.12-v4) run Affinity on wine-mono. Wine-Mono's own maintainer has confirmed it doesn't implement loading What actually fixed it for me: installing real Microsoft .NET Framework 4.8 into the 11.12/v4 prefix, same as the installer already does for 9.14/10.10: This also sets the native DLL override for My guess is the installer's fix would be to drop the wine-version gate on the WinMetadata/winetricks-dotnet setup step (or at least also run Two more things I hit and fixed after that, in case they're useful for others:
Happy to open a PR for the WinMetadata/dotnet48 gate change if that's welcome. |
|
Just to throw my two cents - same problem on Fedora Workstation 44 with an RTX 3060ti and RTX 5070. What solved it (at least for now) for me was, on the 3060ti machine, to switch the Wine version for 10.10 and then back to 11.12. On the RTX 5070 machine I just uninstalled and then installed again and it now works. Hope this helps. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
On my system, Affinity v3 installed via the GUI installer with ElementalWarrior Wine 11.12 crashes with a fatal
System.TypeLoadException(Windows.Foundation.FoundationContractcannot be loaded) every time, at startup, once the main window has loaded. The installer deliberately skips WinMetadata and wintypes.dll setup on 11.12 (Skipping WinMetadata and wintypes.dll setup for Wine 11.12+ (not needed)), but on this machine 11.12's built-in WinRT metadata support does not appear to work. Manually adding WinMetadata and the wintypes shim did not fix it under 11.12.A clean install using Wine 10.10 (where the installer's WinMetadata + wintypes setup actually runs) works perfectly on the same machine.
System
AffinityLinuxInstaller.py), Affinity v3 Enterprise EXEThe crash (Wine 11.12)
The app fully initialises: APL stages 0–4 complete, WineFix patches apply, vkd3d-proton initialises cleanly on RADV (SM 6.8, DXR, "DX Ultimate supported"). Then, when the startup message/update dialog runs, it dies:
Relevant startup log excerpt (successful init up to the crash)
What I tried under Wine 11.12 (all reproduced the identical crash)
WINEDLLOVERRIDES="opencl=d"— no change (crash is unrelated to OpenCL).drive_c/windows/system32/WinMetadata/using the project's own archive (releases/download/10.4-Wine-Affinity/WinMetadata.tar.xz). All.winmdfiles present and verified. No change. Note: the GUI's Reinstall WinMetadata button reportsSkipping WinMetadata and wintypes.dll setup for Wine 11.12+ (not needed)and thenWinMetadata reinstallation completed!without doing anything.wintypes_shim.dll.sofromElementalWarrior/wine-wintypes.dll-for-affinity, placed aswintypes.dllnext toAffinity.exe, and setHKCU\Software\Wine\DllOverrides\wintypes = native. The module loads (noerr:moduleoutput) but the crash is unchanged.wineboot -uprefix update under 11.12 — no change.Other installer issues hit along the way
Could not run AffinityHook.exe: illegal environment variable name(Python env handling). Because it aborted there, vkd3d-proton was never installed into the prefix, producing a cascade oferr:module:import_dll Library d3d12.dll ... not found(→ libdxcore → libraster → librenderer → libStory → libpsd → libpersona ...) on every launch until I installed vkd3d-proton 3.0.1 manually. This error caused the memory usage to increase so much that it was killed by the kernel OOM killer and crashed.Failed to download winefix-v0.3.0.zip: <urlopen error [Errno 110] Connection timed out>— transient, but a retry/resume for release downloads would help.What fixed it
A completely clean install choosing Wine 10.10, letting the installer run its full WinMetadata + wintypes setup as designed. The app now launches and runs correctly. Same machine, same Affinity EXE, same everything else. Still need to manually download and install some of the files.
Happy to provide more logs or do something additional if that can help.
All reactions