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

Affinity Suite v2.0.4 on linux [ Wine ]


Wanesty

Recommended Posts

1 hour ago, ElementalWarrior said:

Try running with the environment variable WINE_DEBUG=+shell

It'll tell you what the returned values of the icon function is.

I exported that variable and nothing changed, but exporting "WINEDEBUG+=shell" gave me this output.
I am running arch on kernel 6.1.26-1-lts and my packages are up to date, if that is any help.
My iGPU is Intel HD Graphics 630 and I also have a Radeon RX Vega M GL, but my wm should not be using that one.

rum ElementalWarrior-8.3 "/home/my-username/.WineAffinity" wine "/home/my-username/Downloads/affinity-designer-msi-2.0.4.exe"
Rumming /opt/wines/ElementalWarrior-8.3 (wine-8.6) in: /home/my-username/.WineAffinity
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
002c:trace:shell:DllMain 00000002A2380000 0x1 0000000000000000
002c:trace:shell:DllMain 000000023BC00000 0x1 0000000000000000
002c:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x801a,0000000000000000,0,(null),000000000021F5B0
002c:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x1a,000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"AppData",000000000021EB90
002c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Roaming", 000000000021E5B0
002c:trace:shell:_SHGetProfilesValue 000000000000006C,L"ProfilesDirectory",000000000021DAB0,L"C:\\users"
002c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
002c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Roaming", output is L"C:\\users\\my-username\\AppData\\Roaming")
002c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
002c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Roaming")
002c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Roaming")
002c:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x8028,0000000000000000,0,(null),000000000021F5B0
002c:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x28,000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"{5E6C858F-0E22-4760-9AFE-EA3317B67173}",000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath returning 0x80004005
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000002,(null),L"{5E6C858F-0E22-4760-9AFE-EA3317B67173}",000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath returning 0x80004005
002c:trace:shell:_SHGetDefaultValue 0x28,000000000021EB90
002c:trace:shell:_SHGetDefaultValue returning 0x00000000
002c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"%USERPROFILE%")
002c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%", 000000000021E980
002c:trace:shell:_SHGetProfilesValue 0000000000000064,L"ProfilesDirectory",000000000021E290,L"C:\\users"
002c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
002c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%", output is L"C:\\users\\my-username")
002c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username")
002c:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x801c,0000000000000000,0,(null),000000000021F5B0
002c:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x1c,000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"Local AppData",000000000021EB90
002c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local", 000000000021E5B0
002c:trace:shell:_SHGetProfilesValue 000000000000006C,L"ProfilesDirectory",000000000021DAB0,L"C:\\users"
002c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
002c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local", output is L"C:\\users\\my-username\\AppData\\Local")
002c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
002c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local")
002c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local")
002c:trace:shell:DllMain 000000023BC00000 0x0 0000000000000001
002c:trace:shell:DllMain 00000002A2380000 0x0 0000000000000001
00d0:trace:shell:DllMain 00000002A2380000 0x1 0000000000000000
00d0:trace:shell:DllMain 000000023BC00000 0x1 0000000000000000
00d0:trace:shell:ShellDDEInit bInit = TRUE
00d0:trace:shell:SHGetDesktopFolder (000000000021F1C0)
00d0:trace:shell:ISF_Desktop_Constructor unkOut=0000000000000000 {000214e6-0000-0000-c000-000000000046} (IID_IShellFolder)
00d0:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x10,0000000000000000,0,(null),000000000021EC80
00d0:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x10,000000000021E9B0
00d0:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"Desktop",000000000021E9B0
00d0:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\Desktop", 000000000021E3D0
00d0:trace:shell:_SHGetProfilesValue 00000000000000A0,L"ProfilesDirectory",000000000021D8D0,L"C:\\users"
00d0:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
00d0:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\Desktop", output is L"C:\\users\\my-username\\Desktop")
00d0:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
00d0:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\Desktop")
00d0:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\Desktop")
00d0:trace:shell:SHAlloc 3 bytes at 00000000003716A0
00d0:trace:shell:SHAlloc 48 bytes at 0000000000341100
00d0:trace:shell:ISF_Desktop_fnQueryInterface (0000000000341480)->({000214e6-0000-0000-c000-000000000046} (IID_IShellFolder),000000000021F1C0)
00d0:trace:shell:ISF_Desktop_fnQueryInterface -- Interface: (000000000021F1C0)->(0000000000341480)
00d0:trace:shell:SHGetDesktopFolder -- 000000000021F1C0->(0000000000341480) 0x00000000
00d0:trace:shell:ISF_Desktop_fnCreateViewObject (0000000000341480)->(hwnd=0000000000000000,{000214e3-0000-0000-c000-000000000046} (IID_IShellView),000000014001B238)
00d0:trace:shell:ISF_Desktop_fnQueryInterface (0000000000341480)->({93f2f68c-1d1b-11d3-a30e-00c04f79abd1} (IID_IShellFolder2),0000000000341B60)
00d0:trace:shell:ISF_Desktop_fnQueryInterface -- Interface: (0000000000341B60)->(0000000000341480)
00d0:trace:shell:IShellView_Constructor (0000000000341B10)->(0000000000341480)
00d0:trace:shell:IShellView_fnQueryInterface (0000000000341B10)->({000214e3-0000-0000-c000-000000000046}, 000000014001B238)
00d0:trace:shell:IShellView_fnAddRef (0000000000341B10)->(count=1)
00d0:trace:shell:IShellView_fnQueryInterface -- Interface: (000000014001B238)->(0000000000341B10)
00d0:trace:shell:IShellView_fnRelease (0000000000341B10)->(count=2)
00d0:trace:shell:ISF_Desktop_fnCreateViewObject -- (0000000000341480)->(interface=000000014001B238)
0024:trace:shell:DllMain 66080000 0x1 226EFD24
0024:trace:shell:DllMain 71400000 0x1 226EFD24
0024:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8020,00000000,0,(null),226EF2C8
0024:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x20,226EF008
0024:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cache",226EF008
0024:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", 226EEAC8
0024:trace:shell:_SHGetProfilesValue 00000094,L"ProfilesDirectory",226EE038,L"C:\\users"
0024:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
0024:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
0024:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
0024:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
0024:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
0024:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8022,00000000,0,(null),226EF2C8
0024:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x22,226EF008
0024:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"History",226EF008
0024:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", 226EEAC8
0024:trace:shell:_SHGetProfilesValue 0000009C,L"ProfilesDirectory",226EE038,L"C:\\users"
0024:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
0024:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
0024:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
0024:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
0024:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
0024:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8021,00000000,0,(null),226EF2C8
0024:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x21,226EF008
0024:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cookies",226EF008
0024:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", 226EEAC8
0024:trace:shell:_SHGetProfilesValue 000000A0,L"ProfilesDirectory",226EE038,L"C:\\users"
0024:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
0024:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
0024:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
0024:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
0024:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
0024:trace:shell:PathFindOnPathW (L"C:\\users\\my-username\\Temp\\AffinitySetup\\4028df63-ec29-11ed-2389-9cb6d0988def\\SetupUI.exe",226EEBD0)
0024:trace:shell:PathFindOnPathExW (L"C:\\users\\my-username\\Temp\\AffinitySetup\\4028df63-ec29-11ed-2389-9cb6d0988def\\SetupUI.exe",226EEBD0,00000000)
010c:trace:shell:DllMain 66080000 0x1 0055FD24
010c:trace:shell:DllMain 71400000 0x1 0055FD24
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8020,00000000,0,(null),0055EAB8
010c:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x20,0055E7F8
010c:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cache",0055E7F8
010c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", 0055E2B8
010c:trace:shell:_SHGetProfilesValue 00000094,L"ProfilesDirectory",0055D828,L"C:\\users"
010c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
010c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
010c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
010c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8022,00000000,0,(null),0055EAB8
010c:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x22,0055E7F8
010c:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"History",0055E7F8
010c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", 0055E2B8
010c:trace:shell:_SHGetProfilesValue 0000009C,L"ProfilesDirectory",0055D828,L"C:\\users"
010c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
010c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
010c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
010c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8021,00000000,0,(null),0055EAB8
010c:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x21,0055E7F8
010c:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cookies",0055E7F8
010c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", 0055E2B8
010c:trace:shell:_SHGetProfilesValue 000000A0,L"ProfilesDirectory",0055D828,L"C:\\users"
010c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
010c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
010c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
010c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
010c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8025,00000000,0,(null),0055D730
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\windows\\system32")
010c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0055DA88, 00675950, 0055DA8C, 0055DA80
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8025,00000000,0,(null),0055D730
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\windows\\system32")
010c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0055DA88, 00675950, 0055DA8C, 0055DA80
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8025,00000000,0,(null),0055D730
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\windows\\system32")
010c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0055DA88, 00675950, 0055DA8C, 0055DA80
011c:fixme:wbemprox:wbem_locator_ConnectServer authentication not supported
011c:fixme:wbemprox:wbem_locator_ConnectServer specific locale not supported
011c:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
010c:fixme:file:NtLockFile I/O completion on lock not implemented yet
010c:fixme:msg:ChangeWindowMessageFilter c04e 00000001
010c:fixme:dwmapi:DwmAttachMilContent (00010070) stub
0120:fixme:gdi:GdiEntry13 stub
0120:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (00000001): monitor setting ignored
0120:fixme:d3d:wined3d_check_device_format_conversion output 00663608, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
010c:fixme:shell:SHGetStockIconInfo (77, 0x101, 0055E730) semi-stub
010c:fixme:shell:SHGetStockIconInfo flags 0x101 not implemented
010c:trace:shell:SHGetStockIconInfo  77: returning L"C:\\windows\\system32\\shell32.dll" (-1)
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null.
Parameter name: icon
  at System.Windows.Interop.Imaging.CreateBitmapSourceFromHIcon (System.IntPtr icon, System.Windows.Int32Rect sourceRect, System.Windows.Media.Imaging.BitmapSizeOptions sizeOptions) [0x00011] in <9343570ac0be4dbfbf88fa99e199fb25>:0 
  at SetupUI.Util.GetShieldIcon () [0x00044] in <0e1af9b3b4d14750b0bcca529f0ba3af>:0 
  at SetupUI.MainWindow..ctor () [0x000cc] in <0e1af9b3b4d14750b0bcca529f0ba3af>:0 
  at SetupUI.App.OnStartup (System.Windows.StartupEventArgs e) [0x00286] in <0e1af9b3b4d14750b0bcca529f0ba3af>:0 
  at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00014] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&)
  at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.Run () [0x00006] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Application.Run () [0x00009] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
010c:trace:shell:DllMain 71400000 0x0 00000001
010c:trace:shell:DllMain 66080000 0x0 00000001
0024:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 226EFE98
0024:trace:shell:DllMain 71400000 0x0 00000001
0024:trace:shell:DllMain 66080000 0x0 00000001
00d0:trace:shell:ShellDDEInit bInit = FALSE
00d0:trace:shell:DllMain 000000023BC00000 0x0 0000000000000001

 

Link to comment
Share on other sites

Just a reminder to those having trouble compiling. I built a Docker image that should let you easily build wine sources from scratch on any distro using Docker containers.

If you are inclined to explore docker or already know it, could be a quicker way to get the sources built.

https://forum.affinity.serif.com/index.php?/topic/182758-affinity-suite-v204-on-linux-wine/&do=findComment&comment=1068416

Link to comment
Share on other sites

Photo_ONwine_8_7.jpg.98afe120cf9595956b38a3900b186f04.jpg

I don't know what should I add… fresh compiled Wine and it works even better (only Photo tested for now). But just for good measures I should probably format my (testing) CF Card and start fresh on new installation because I see people encounter problems/bugs I don't even know exist.

Link to comment
Share on other sites

9 hours ago, pedroterrero said:

I just have one question, what is the best distro to run your script and the program as flawlessly as possible? Thank you!

As said, anything recent enough. Manjaro/Arch works without troubles. I still have plans to test it on VoidLinux. I would love to see Affinity Suite on Ubuntu/Linux Mint but this endeavor would probably require druids dancing inside the stones as pushing something inside repositories there is a superhuman act.

Link to comment
Share on other sites

1 hour ago, sadlyOnLinux said:

I exported that variable and nothing changed, but exporting "WINEDEBUG+=shell" gave me this output.
I am running arch on kernel 6.1.26-1-lts and my packages are up to date, if that is any help.
My iGPU is Intel HD Graphics 630 and I also have a Radeon RX Vega M GL, but my wm should not be using that one.

rum ElementalWarrior-8.3 "/home/my-username/.WineAffinity" wine "/home/my-username/Downloads/affinity-designer-msi-2.0.4.exe"
Rumming /opt/wines/ElementalWarrior-8.3 (wine-8.6) in: /home/my-username/.WineAffinity
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
002c:trace:shell:DllMain 00000002A2380000 0x1 0000000000000000
002c:trace:shell:DllMain 000000023BC00000 0x1 0000000000000000
002c:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x801a,0000000000000000,0,(null),000000000021F5B0
002c:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x1a,000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"AppData",000000000021EB90
002c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Roaming", 000000000021E5B0
002c:trace:shell:_SHGetProfilesValue 000000000000006C,L"ProfilesDirectory",000000000021DAB0,L"C:\\users"
002c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
002c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Roaming", output is L"C:\\users\\my-username\\AppData\\Roaming")
002c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
002c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Roaming")
002c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Roaming")
002c:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x8028,0000000000000000,0,(null),000000000021F5B0
002c:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x28,000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"{5E6C858F-0E22-4760-9AFE-EA3317B67173}",000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath returning 0x80004005
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000002,(null),L"{5E6C858F-0E22-4760-9AFE-EA3317B67173}",000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath returning 0x80004005
002c:trace:shell:_SHGetDefaultValue 0x28,000000000021EB90
002c:trace:shell:_SHGetDefaultValue returning 0x00000000
002c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"%USERPROFILE%")
002c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%", 000000000021E980
002c:trace:shell:_SHGetProfilesValue 0000000000000064,L"ProfilesDirectory",000000000021E290,L"C:\\users"
002c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
002c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%", output is L"C:\\users\\my-username")
002c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username")
002c:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x801c,0000000000000000,0,(null),000000000021F5B0
002c:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x1c,000000000021EB90
002c:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"Local AppData",000000000021EB90
002c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local", 000000000021E5B0
002c:trace:shell:_SHGetProfilesValue 000000000000006C,L"ProfilesDirectory",000000000021DAB0,L"C:\\users"
002c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
002c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local", output is L"C:\\users\\my-username\\AppData\\Local")
002c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
002c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local")
002c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local")
002c:trace:shell:DllMain 000000023BC00000 0x0 0000000000000001
002c:trace:shell:DllMain 00000002A2380000 0x0 0000000000000001
00d0:trace:shell:DllMain 00000002A2380000 0x1 0000000000000000
00d0:trace:shell:DllMain 000000023BC00000 0x1 0000000000000000
00d0:trace:shell:ShellDDEInit bInit = TRUE
00d0:trace:shell:SHGetDesktopFolder (000000000021F1C0)
00d0:trace:shell:ISF_Desktop_Constructor unkOut=0000000000000000 {000214e6-0000-0000-c000-000000000046} (IID_IShellFolder)
00d0:trace:shell:SHGetFolderPathAndSubDirW 0000000000000000,0x10,0000000000000000,0,(null),000000000021EC80
00d0:trace:shell:_SHGetUserProfilePath 0000000000000000,0x00000000,0x10,000000000021E9B0
00d0:trace:shell:_SHGetUserShellFolderPath FFFFFFFF80000001,(null),L"Desktop",000000000021E9B0
00d0:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\Desktop", 000000000021E3D0
00d0:trace:shell:_SHGetProfilesValue 00000000000000A0,L"ProfilesDirectory",000000000021D8D0,L"C:\\users"
00d0:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
00d0:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\Desktop", output is L"C:\\users\\my-username\\Desktop")
00d0:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
00d0:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\Desktop")
00d0:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\Desktop")
00d0:trace:shell:SHAlloc 3 bytes at 00000000003716A0
00d0:trace:shell:SHAlloc 48 bytes at 0000000000341100
00d0:trace:shell:ISF_Desktop_fnQueryInterface (0000000000341480)->({000214e6-0000-0000-c000-000000000046} (IID_IShellFolder),000000000021F1C0)
00d0:trace:shell:ISF_Desktop_fnQueryInterface -- Interface: (000000000021F1C0)->(0000000000341480)
00d0:trace:shell:SHGetDesktopFolder -- 000000000021F1C0->(0000000000341480) 0x00000000
00d0:trace:shell:ISF_Desktop_fnCreateViewObject (0000000000341480)->(hwnd=0000000000000000,{000214e3-0000-0000-c000-000000000046} (IID_IShellView),000000014001B238)
00d0:trace:shell:ISF_Desktop_fnQueryInterface (0000000000341480)->({93f2f68c-1d1b-11d3-a30e-00c04f79abd1} (IID_IShellFolder2),0000000000341B60)
00d0:trace:shell:ISF_Desktop_fnQueryInterface -- Interface: (0000000000341B60)->(0000000000341480)
00d0:trace:shell:IShellView_Constructor (0000000000341B10)->(0000000000341480)
00d0:trace:shell:IShellView_fnQueryInterface (0000000000341B10)->({000214e3-0000-0000-c000-000000000046}, 000000014001B238)
00d0:trace:shell:IShellView_fnAddRef (0000000000341B10)->(count=1)
00d0:trace:shell:IShellView_fnQueryInterface -- Interface: (000000014001B238)->(0000000000341B10)
00d0:trace:shell:IShellView_fnRelease (0000000000341B10)->(count=2)
00d0:trace:shell:ISF_Desktop_fnCreateViewObject -- (0000000000341480)->(interface=000000014001B238)
0024:trace:shell:DllMain 66080000 0x1 226EFD24
0024:trace:shell:DllMain 71400000 0x1 226EFD24
0024:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8020,00000000,0,(null),226EF2C8
0024:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x20,226EF008
0024:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cache",226EF008
0024:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", 226EEAC8
0024:trace:shell:_SHGetProfilesValue 00000094,L"ProfilesDirectory",226EE038,L"C:\\users"
0024:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
0024:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
0024:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
0024:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
0024:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
0024:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8022,00000000,0,(null),226EF2C8
0024:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x22,226EF008
0024:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"History",226EF008
0024:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", 226EEAC8
0024:trace:shell:_SHGetProfilesValue 0000009C,L"ProfilesDirectory",226EE038,L"C:\\users"
0024:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
0024:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
0024:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
0024:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
0024:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
0024:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8021,00000000,0,(null),226EF2C8
0024:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x21,226EF008
0024:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cookies",226EF008
0024:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", 226EEAC8
0024:trace:shell:_SHGetProfilesValue 000000A0,L"ProfilesDirectory",226EE038,L"C:\\users"
0024:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
0024:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
0024:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
0024:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
0024:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
0024:trace:shell:PathFindOnPathW (L"C:\\users\\my-username\\Temp\\AffinitySetup\\4028df63-ec29-11ed-2389-9cb6d0988def\\SetupUI.exe",226EEBD0)
0024:trace:shell:PathFindOnPathExW (L"C:\\users\\my-username\\Temp\\AffinitySetup\\4028df63-ec29-11ed-2389-9cb6d0988def\\SetupUI.exe",226EEBD0,00000000)
010c:trace:shell:DllMain 66080000 0x1 0055FD24
010c:trace:shell:DllMain 71400000 0x1 0055FD24
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8020,00000000,0,(null),0055EAB8
010c:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x20,0055E7F8
010c:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cache",0055E7F8
010c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", 0055E2B8
010c:trace:shell:_SHGetProfilesValue 00000094,L"ProfilesDirectory",0055D828,L"C:\\users"
010c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
010c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCache", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
010c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
010c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCache")
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8022,00000000,0,(null),0055EAB8
010c:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x22,0055E7F8
010c:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"History",0055E7F8
010c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", 0055E2B8
010c:trace:shell:_SHGetProfilesValue 0000009C,L"ProfilesDirectory",0055D828,L"C:\\users"
010c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
010c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\History", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
010c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
010c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\History")
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8021,00000000,0,(null),0055EAB8
010c:trace:shell:_SHGetUserProfilePath 00000000,0x00000000,0x21,0055E7F8
010c:trace:shell:_SHGetUserShellFolderPath 80000001,(null),L"Cookies",0055E7F8
010c:trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", 0055E2B8
010c:trace:shell:_SHGetProfilesValue 000000A0,L"ProfilesDirectory",0055D828,L"C:\\users"
010c:trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"C:\\users")
010c:trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\\AppData\\Local\\Microsoft\\Windows\\INetCookies", output is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
010c:trace:shell:_SHGetUserShellFolderPath returning 0x00000000
010c:trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\my-username\\AppData\\Local\\Microsoft\\Windows\\INetCookies")
010c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8025,00000000,0,(null),0055D730
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\windows\\system32")
010c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0055DA88, 00675950, 0055DA8C, 0055DA80
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8025,00000000,0,(null),0055D730
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\windows\\system32")
010c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0055DA88, 00675950, 0055DA8C, 0055DA80
010c:trace:shell:SHGetFolderPathAndSubDirW 00000000,0x8025,00000000,0,(null),0055D730
010c:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\windows\\system32")
010c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0055DA88, 00675950, 0055DA8C, 0055DA80
011c:fixme:wbemprox:wbem_locator_ConnectServer authentication not supported
011c:fixme:wbemprox:wbem_locator_ConnectServer specific locale not supported
011c:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
010c:fixme:file:NtLockFile I/O completion on lock not implemented yet
010c:fixme:msg:ChangeWindowMessageFilter c04e 00000001
010c:fixme:dwmapi:DwmAttachMilContent (00010070) stub
0120:fixme:gdi:GdiEntry13 stub
0120:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (00000001): monitor setting ignored
0120:fixme:d3d:wined3d_check_device_format_conversion output 00663608, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
010c:fixme:shell:SHGetStockIconInfo (77, 0x101, 0055E730) semi-stub
010c:fixme:shell:SHGetStockIconInfo flags 0x101 not implemented
010c:trace:shell:SHGetStockIconInfo  77: returning L"C:\\windows\\system32\\shell32.dll" (-1)
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null.
Parameter name: icon
  at System.Windows.Interop.Imaging.CreateBitmapSourceFromHIcon (System.IntPtr icon, System.Windows.Int32Rect sourceRect, System.Windows.Media.Imaging.BitmapSizeOptions sizeOptions) [0x00011] in <9343570ac0be4dbfbf88fa99e199fb25>:0 
  at SetupUI.Util.GetShieldIcon () [0x00044] in <0e1af9b3b4d14750b0bcca529f0ba3af>:0 
  at SetupUI.MainWindow..ctor () [0x000cc] in <0e1af9b3b4d14750b0bcca529f0ba3af>:0 
  at SetupUI.App.OnStartup (System.Windows.StartupEventArgs e) [0x00286] in <0e1af9b3b4d14750b0bcca529f0ba3af>:0 
  at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00014] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&)
  at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Threading.Dispatcher.Run () [0x00006] in <0c2ea07c5159415f97fb3ecb6b4aafeb>:0 
  at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Application.Run () [0x00009] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
010c:trace:shell:DllMain 71400000 0x0 00000001
010c:trace:shell:DllMain 66080000 0x0 00000001
0024:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 226EFE98
0024:trace:shell:DllMain 71400000 0x0 00000001
0024:trace:shell:DllMain 66080000 0x0 00000001
00d0:trace:shell:ShellDDEInit bInit = FALSE
00d0:trace:shell:DllMain 000000023BC00000 0x0 0000000000000001

 

It won't be related to your gpu.

This says iIcon is -1. Which serif probably handles this default value as null in a variable in c# code.

You can try this patch

https://bugs.winehq.org/show_bug.cgi?id=45868

https://github.com/wine-staging/wine-staging/blob/master/patches/shell32-SHGetStockIconInfo/0001-shell32-Improve-semi-stub-SHGetStockIconInfo-try-fin.patch

But it's quite old and you might have conflicts.

Link to comment
Share on other sites

1 hour ago, Daegalus said:

Just a reminder to those having trouble compiling. I built a Docker image that should let you easily build wine sources from scratch on any distro using Docker containers.

If you are inclined to explore docker or already know it, could be a quicker way to get the sources built.

https://forum.affinity.serif.com/index.php?/topic/182758-affinity-suite-v204-on-linux-wine/&do=findComment&comment=1068416

By defining all those dependencies in docker you're asking for a maintenance pita. You'd be better off using a pacman based root image and having one step just install build deps from the arch aur package

Link to comment
Share on other sites

On 5/5/2023 at 10:30 PM, BLKFSH said:

One small thing I've noticed is that reordering the layout still seems to cause issues, can anyone else confirm this?

yes, the UI is a bit janky one fix is to :

image.png.a5292f55220567b0338bdbe189679a58.png

enable "Emulate a virtual desktop" in winecfg (rum it open in your wineprefix), change the Desktop size to your monitor resolution, apply it,

then open any affinity software place everything how you want it and save it with :

image.png.92129a5874024e29a85628fb5af6762c.png

close affinity, maybe start winecfg back and disable the virtual desktop if you dislike it

 

6 hours ago, ElementalWarrior said:

Probably any rolling release distro. So arch, Manjaro, fedora, etc

ugh i really need to make a aur PKGBUILD of your branch x) (and an actual wiki-like guide)

up to date guide for the Affinity Suite on Linux :  codeberg.org/affinity-wine-docs

Link to comment
Share on other sites

14 hours ago, ElementalWarrior said:

By defining all those dependencies in docker you're asking for a maintenance pita. You'd be better off using a pacman based root image and having one step just install build deps from the arch aur package

I agree, at the time I was just trying to build it quick, and I don't have much practice using Arch in docker images. It's always alpine, distroless, debian, etc. So I just used what worked for me for quickness.

When I get back from vacation, where I make an arch based one.

Link to comment
Share on other sites

So as requested, here is slightly modified wine-git PKGBUILD.

Disclaimer: Please don't push it into AUR or any other repo. AUR is full of orphaned one-use packages without any maintainer. There is no need for just one more. Thank you. You need to share modifications, share it here. You need support, ask here or anywhere on this forum.

TLDR: uninstall any Wine you may have installed, extract it to somewhere with enough space (my current build: 40683 entries, size 5,2GB):

  • ~/build/packages default on Arch
  • /var/tmp/pamac when using pamac on Manjaro

cd there; makepkg -i, wait hours and try winecfg after installation

Rest is same. I haven't even bothered with rum on winetricks, simply installed dontet48, WinRT files, Affinity from MSI and it works just fine.

makepkg: Run just this for creating package to be manually installed afterwards

makepkg -e: When rebuilding or if you need to make modification in source code (like version number;-))

One bug I know about is version number. Result will be probably something like wine-git-7.9-5442-gdb8b984c1f8.pkg.tar.zst. No worries, it is latest Wine 8.7 with patches for Affinity:

wine_8_7.png.dec3debc915c02f12b01581f30709207.png

One protip: If running on Nvidia cards and you want to use Vulkan, don't forget to install proprietary drivers and run any Affinity application on right GPU (on multi-GPU setup is Intel GPU by default):

[Desktop Entry]
Name=Affinity Photo 2
Exec=prime-run wine /home/username/.wine/drive_c/Affinity/Photo/Photo.exe
Terminal=true #to observe any errors

No idea how it works on AMD/ATI cards. I have simple Budgie box with nothing more than default installation, browser, terminal and Affinity apps and I can fairly recommend this setup:

ManjaroBox.jpg.7ba44a676e4a3d83fc5302d93f5948f0.jpg

Since Affinity Suite is terrible bloatware (beware of memory leaks - I've encountered few already), might be good idea to work on something light (Budgie, LXQT, XFCE). Crashes and freezes are frequent, but since Serif officially declined any support on platforms other than Windows/Mac is better than nothing. Community is always here to help I guess.

Enjoy,

-Grunt

wine-git.PKGBUILD.tar.gz

Link to comment
Share on other sites

On 5/6/2023 at 11:11 PM, Wanesty said:

enable "Emulate a virtual desktop" in winecfg (rum it open in your wineprefix), change the Desktop size to your monitor resolution, apply it,

That worked, thank you!

One more question, how would I go about adding the affinity suite to the "open with"-menu in Gnome? I know usually you would add a %F to the Exec-attribute in the .desktop-file, but I'm not quite sure how one would go about doing that with Wine (or with Affinity specifically).

I found some hints here but I haven't been able to get it running yet, maybe someone here has got it figured out :)

Link to comment
Share on other sites

dxvk_Photo.png.7fac3027a16382b912a6e5eb78a8b16a.png

Issue with buffers fixed few days ago, DXVK compiled and tested. i have very high hopes.

I have question: Why is officially Direct3D 12 Feature Level 12.0 card recommended? All is see is using D3D9 (dxvk scope). Shouldn't I use Vkd3d instead? I'm confused. There is a switch to switch DX9/DX12 or something I'm missing?

Link to comment
Share on other sites

1 hour ago, Grunt said:

I have question: Why is officially Direct3D 12 Feature Level 12.0 card recommended? All is see is using D3D9 (dxvk scope). Shouldn't I use Vkd3d instead? I'm confused. There is a switch to switch DX9/DX12 or something I'm missing?

It's required to enable Hardware Acceleration (OpenCL) in the application Performance Settings.

-- Walt

Desktop:  Windows 11 Pro, version 22H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 
Laptop:  Windows 11 Pro, version 22H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
        Affinity Photo 1.10.6 (.1665) and 2.2.0 and 2.2.0. beta/ Affinity Designer 1.10.6 (.1665)  and 2.2.0  and 2.2.0 beta / Affinity Publisher 1.10.6 (.1665)  and 2.2.0  and 2.2.0 beta
iPad Pro M1, 12.9", iPadOS 16.7, Apple Pencil 2, Magic Keyboard

      Affinity Photo 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Designer 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Publisher 2.2.0 and 2.2.0 beta

Link to comment
Share on other sites

Posted (edited)
On 5/9/2023 at 12:10 AM, Enryu3D said:

I always found Affinity designer more pleasant to work than illustrator even for some reason.

the Ui and the felling/feedback of it (magnetism, auto selection and it way it renders) really is way better than AI

Affinity for the ease and swiftness of use, AI for the mountain of features

 

8 hours ago, walt.farrell said:

It's required to enable Hardware Acceleration (OpenCL) in the application Performance Settings.

it is not ! running it on wine, no matter which d3dvk/dxvk you use, will most likely not recognize your GPU since it's driver (handled by linux) are not whitelisted as compatible with.

also wine obviously ships with their dxvk and d3dvk, i believe the one Steam's Proton uses are a rewrite/fork of the main branch ones, so if you don't use Steam's you would at most loose some performances

it recognizes my "AMD RX 6700" as an "ATI Radeon HD 5600" and when attempting to enable OpenCL i get this error :

image.png.ba2092877b55315ea192e2f041ea4b35.png

it is caused by Mesa, not directly but Wine is most likely naming AMD Mesa drivers this way since the beginning of the Wine+Mesa development

this can probably be fixed by emulating a different name or by using AMD's proprietary drivers instead (also named AMDGPU PRO drivers) (untested)

EDITs :

- Affinity likely rely on driver interface to know the gpu capabilities (try opening a software like GPU-Z and you'll be greeted by a wonderful nothing) and Mesa is not one Affinity (&most windows on wine apps) know how to communicate with further than the device name wine give it, so it fallback on disabling the feature (even tho yea it could 100% run on openCL and prolly better than with dxvk)

- emulating a different GPU does not solve the issue, i tried a few from Nvidia and AMD and OpenCL cannot be enabled.

 

10 hours ago, Grunt said:

Shouldn't I use Vkd3d instead?

your mileage may vary so if you have time try a few dxvk/d3dvk versions / forks as mentioned above

from my tests i can guess that : the UI use DX9 (Windows Presentation Foundation) and the viewport use either OpenCL or DX11/12
(and probably fallback to OpenGL or a earlier DirectX version if it doesn't detect the right drivers)

 

note: i believe the naming of the project is most often
dxvk = dx9,dx10,dx11
d3dvk = dx12

 

22 hours ago, BLKFSH said:

how would I go about adding the affinity suite to the "open with"-menu in Gnome? I know usually you would add a %F to the Exec-attribute in the .desktop-file

i haven't bothered with this since the drag and drop work and i'm not a fan of having too much stuff in my right click menu

but the post you sent seems to be on the right tracks : if you do try them let us know how it goes !

Edited by Wanesty

up to date guide for the Affinity Suite on Linux :  codeberg.org/affinity-wine-docs

Link to comment
Share on other sites

7 hours ago, Wanesty said:

it is not ! running it on wine, no matter which d3dvk/dxvk you use, will most likely not recognize your GPU since it's driver (handled by linux) are not whitelisted as compatible with.

It is required. It may not be sufficient, but it is certainly required.

-- Walt

Desktop:  Windows 11 Pro, version 22H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 
Laptop:  Windows 11 Pro, version 22H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
        Affinity Photo 1.10.6 (.1665) and 2.2.0 and 2.2.0. beta/ Affinity Designer 1.10.6 (.1665)  and 2.2.0  and 2.2.0 beta / Affinity Publisher 1.10.6 (.1665)  and 2.2.0  and 2.2.0 beta
iPad Pro M1, 12.9", iPadOS 16.7, Apple Pencil 2, Magic Keyboard

      Affinity Photo 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Designer 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Publisher 2.2.0 and 2.2.0 beta

Link to comment
Share on other sites

On 3/9/2023 at 3:37 PM, Wanesty said:

You will need, gcc, winetricks, git (wine build dependencies listed here)
plus some knowledge of both linux and windows

cd into ~/Documents and download Elemental Warrior wine fork :

cd ~/Documents/

git clone https://gitlab.winehq.org/ElementalWarrior/wine.git ElementalWarrior-wine

cd into it and make three new folders :

cd ElementalWarrior-wine/

mkdir wine32-build/ wine64-build/ wine-install/

cd into wine64-build, configure it with your $USER and build it (it will time wait for it to finish) :

cd wine64-build/

/home/USER/Documents/ElementalWarrior-wine/configure --prefix=/home/YOUR-USER-FOLDER/Documents/ElementalWarrior-wine/wine-install --enable-win64

make

cd into wine32-build and do these :

cd /home/USER/Documents/ElementalWarrior-wine/wine32-build/

PKG_CONFIG_PATH=/usr/lib32/pkgconfig /home/USER/Documents/ElementalWarrior-wine/configure --with-wine64=/home/USER/Documents/ElementalWarrior-wine/wine64-build --prefix=/home/YOUE-USER-FOLDER/Documents/ElementalWarrior-wine/wine-install

make

wait for it to finish building and install the wine32-build with :

make install

it will install it in "wine-install"


then to add the wine64 cd into it and do the same :

cd /home/USER/Documents/ElementalWarrior-wine/wine64-build

make install


you now have a folder containing a build of ElementalWarrior's wine fork

 

to use it I'll recommend you get rum a script made by "xhero" to have and use multiples Wine installs side by side :

cd ~/Documents

git clone https://gitlab.com/xkero/rum

install rum into your /bin or any other $PATH so you can call it easily :

sudo cp ./rum/rum /bin/rum

now for rum to find your Wine build you will need to make a new folder "/opt/wines" and copy your wine build into it :

sudo mkdir /opt/wines

sudo cp -r ~/Documents/ElementalWarrior-wine/wine-install/ /opt/wines/ElementalWarrior-8.3


you can now install dotnet 48 and "corefonts" with winetricks using :

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" winetricks dotnet48 corefonts

this will create a new Wine Prefix ".WineAffinity" (pretty much a new windows environment) using "ElementalWarrior-8.3" wine folder and install dotnet48

you then need to set wine's win version back to win11 :

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" wine winecfg -v win11

 

you will need a to get Winmd files from a windows virtual machine, partition or from a friend
the folder is :

C:/Windows/System32/WinMetadata

and should be copied into your prefix in the same place PREFIX/drive_c/Windows/System32/WinMetadata


you can now download any Affinity 2.0.4 msi.exe, and install it :

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" wine "PATH-TO-INSTALLER-msi-2.0.4.exe"

you can install all three and use publisher persona to switch between them like you can on windows.


to run the Affinity you installed run :

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" wine "/home/USER/.WineAffinity/drive_c/Program Files/Affinity/Designer 2/Designer.exe

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" wine "/home/USER/.WineAffinity/drive_c/Program Files/Affinity/Photo 2/Photo.exe

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" wine "/home/USER/.WineAffinity/drive_c/Program Files/Affinity/Publisher 2/Publisher.exe


if you experience visual glitches at any point try to use Vulkan renderer instead of OpenGL with :

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" winetricks renderer=vulkan

to swap back use :

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" winetricks renderer=gl

I tried following your (btw really nice) guide but I get "This product can only be installed on Windows 7 Service Pack 1 or higher".

winewrapper says wine-7.9-5443-gd0fe9b9ab64. I clones and built https://gitlab.winehq.org/ElementalWarrior/wine/-/tree/affinity-photo2

terminal output is:

rum afphotohoz /home/aronkvh/.WineAffinity wine /home/aronkvh/Downloads/affinity-photo-1.10.6.exe  
Rumming /opt/wines/afphotohoz (wine-6.0.3 (Ubuntu 6.0.3~repack-1)) in: /home/aronkvh/.WineAffinity
0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\nsiproxy": c0000142

Link to comment
Share on other sites

On 5/10/2023 at 4:42 AM, Wanesty said:

also wine obviously ships with their dxvk and d3dvk, i believe the one Steam's Proton uses are a rewrite/fork of the main branch ones, so if you don't use Steam's you would at most loose some performances

I don't know what is shipped with what (I had dvxk library, supposedly latest from winetricks without success) but since we are already proficient in compilation all I can recommend is:

Don't forget to git pull to latest version before compilation/installation.

Nevertheless:

openclPhoto.png.2e2bb3c630c7b3c6d6c1deae32f74430.png

Same result. nVidia card. Is it good idea to try OpenCL on DirectX? Isn't there any passthrough library similar to dxvk? There is native OCL implementation in Linux, no need or DirectX.

Link to comment
Share on other sites

14 hours ago, aronkvh said:

This product can only be installed on Windows 7 Service Pack 1 or higher

see :

On 3/9/2023 at 3:37 PM, Wanesty said:

you then need to set wine's win version back to win11 :

rum ElementalWarrior-8.3 "/home/USER/.WineAffinity" wine winecfg -v win11

winetricks needs to drop to win7 and bellow to install dotnet40 and dotnet48,¹ it doesn't always set it back to win10

¹winetricks is doing this because win10 and above ships with dotnet48 by default so it will not let you overwrite them, thus it drop wine's version to i believe winXP or win7 to be able to install them (it does it with other dotnet install and other of it's "dlls" ("dependencies"))

---

4 hours ago, Grunt said:

Same result

as i said i believe it is because wine does not need drivers nor could use them, it uses your Linux driver directly, and in this case, Affinity seems to rely on precise driver interfaces to know if your hardware is or isn't compatible ;

since it cannot communicate with said driver (as it doesn't know how to do so with Linux drivers), it just fallback to a Unsupported driver state

4 hours ago, Grunt said:

Is it good idea to try OpenCL on DirectX?

try you can, but

Honestly from what i'm seeing, the only way to force affinity to use your gpu would be to figure which calls are made by affinity so the driver compatibility could be faked

up to date guide for the Affinity Suite on Linux :  codeberg.org/affinity-wine-docs

Link to comment
Share on other sites

15 minutes ago, Wanesty said:

see :

winetricks needs to drop to win7 and bellow to install dotnet40 and dotnet48,¹ it doesn't always set it back to win10

¹winetricks is doing this because win10 and above ships with dotnet48 by default so it will not let you overwrite them, thus it drop wine's version to i believe winXP or win7 to be able to install them (it does it with other dotnet install and other of it's "dlls" ("dependencies"))

Thanks for the answer, but it still can't run for some reason.
 

rum afphotohoz /home/aronkvh/.WineAffinity wine /home/aronkvh/Downloads/affinity-photo-1.10.6.exe  
Rumming /opt/wines/afphotohoz (wine-6.0.3 (Ubuntu 6.0.3~repack-1)) in: /home/aronkvh/.WineAffinity
0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\nsiproxy": c
0000142


it says Exception: image loading failed

Link to comment
Share on other sites

5 minutes ago, Wanesty said:

well it look like you're not using the right wine..

that's what I don't understand, I copied /home/aronkvh/wine/tools/winebuild (built against ElementalWarrior's version) to opt/wines/.
when I run /home/aronkvh/wine/tools/winebuild/winebuild it says it's version 8.3 but when I run from rum it says 6.0.3...
I don't have the folders wine64-build, win32-build and wine-install

Link to comment
Share on other sites

On 5/5/2023 at 11:27 PM, ElementalWarrior said:

i forgot to talk about that,

since it is in a different branch than the one you will download with git clone, if you want to build and use Wine 8.7 you must "checkout" to this branch before building wine :

git clone https://gitlab.winehq.org/ElementalWarrior/wine.git

cd inside said clone, then for this specific branch :

git checkout affinity-photo2-wine87

 

up to date guide for the Affinity Suite on Linux :  codeberg.org/affinity-wine-docs

Link to comment
Share on other sites

1 minute ago, aronkvh said:

that's what I don't understand, I copied /home/aronkvh/wine/tools/winebuild (built against ElementalWarrior's version) to opt/wines/.
when I run /home/aronkvh/wine/tools/winebuild/winebuild it says it's version 8.3 but when I run from rum it says 6.0.3...
I don't have the folders wine64-build, win32-build and wine-install

yea you might want to try and build wine again, maybe try the branch mentioned above

and if you have a good cpu maybe try this :

while compiling wine

make install -j 4

"4" can be changed to half the amount of cores your CPU have
(or the amount of threads if you believe your scheduler can handle it)

up to date guide for the Affinity Suite on Linux :  codeberg.org/affinity-wine-docs

Link to comment
Share on other sites

13 minutes ago, aronkvh said:

I don't have the folders wine64-build, win32-build and wine-install

in opt/wines/thebuild it's normal,

however if you didn't create¹ nor use them² in the directory you cloned wine into

or if you didn't sudo copy the compiled wine to opt/wines/thebuild,

then it's normal rum is using /bin/wine instead...

 

¹

On 3/9/2023 at 3:37 PM, Wanesty said:
mkdir wine32-build/ wine64-build/ wine-install/

² everything else while building

up to date guide for the Affinity Suite on Linux :  codeberg.org/affinity-wine-docs

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.