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

Affinity Photo running on Linux with Bottles


aronkvh

Recommended Posts

That is very impressive work around. However, I don't have an active Windows license to pull the necessary files from. I do have a universal license, but my current main driver is MacOS. Also, I don't have the necessary developer skills like the rest of you linux geeks. Not sure how to proceed.

Link to comment
Share on other sites

41 minutes ago, Jon_TA said:

However, I don't have an active Windows license to pull the necessary files from.

you can ask a friend, make a VM or anything, the unsure part is public redistribution of those files, but you don't need a win10-11 license to get them from a windows install

42 minutes ago, Jon_TA said:

Not sure how to proceed.

the guide i referenced earlier will, well, guide you through it, give it a try, read through at least the base page and the tips and fixes page

you can also read through the affinity 2.x on linux topic if you have compiling/running issues, similar ones likely already are referenced over there,
and feel free to ask for help if you're really desperate after trying your best, ahah

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

Link to comment
Share on other sites

@Jon_TA Grunt never managed to get all three Affinity apps to work on Linux reliably/smoothly. There are bugs, there are crashes. Mostly because Affinity suite was not intended as multi-platform application in the first place.  But for very basic work is sufficient and I am surprised myself how good it works. At my workplace I have almost hundred page document/catalogue (created using Photo/Designer/Publisher) and I would love to see this document running on Wine. Only problem is I don't own license for Affinity v1 (personal-license) anymore.

Simple steps:

  • Avoid using Ubuntu and Ubuntu based distributions.
  • Use Wine ver. >= 8.16. By now it is probably everywhere other than Debian stable.
  • Satisfy all dependencies.
  • Use Vulkan backend.

Good luck.

Link to comment
Share on other sites

@Grunt Ouch. That is a shame Affinity trio doesn't work on a multi-platform basis. I guess I am being too altruistic with linux because I see much potential with the platform and the fact that all of you linux users work your butts off to prove a workable concept. I have learned that MacOS is a very expensive platform to develop for. Thanks for all of your hard work and contributions; including all other linux users who put in massive effort to prove a point. 

While there is no perfect method of governance, I do admire the meritocracy of the linux crowd.

Link to comment
Share on other sites

21 hours ago, Jon_TA said:

That is a shame Affinity trio doesn't work

i've gotten all three affinity software working on linux, they aren't perfect and every tool isn't 100% stable but as Grunt said, it's sufficient and really useful to at least be able to open and do minor modification in affinity files (you can usually do more, i've managed to do a lot with photo, designer and publisher on linux)

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

Link to comment
Share on other sites

  • 3 weeks later...

OMG I've been waiting for this for 6 years, now the affinity suit is running well in my Manjaro.

But I still need to enable hardware acceleration, but Affinity says "Unsupported Machine Configuration : Acceleration requires Windows 10.0.19042 (May 2020) and your current version is Microsoft Windows 10 Pro (version 10.0.18363)".

I know, a hack'ish way to change the windows build number/version using regedit, but I'd also like to know if I'm somehow using outdated configuration.

Thank you.

EDIT 1 - after some poking around, I just found out that I can't save any work as mentioned in this thread well, so that means I'm back to square one.

Edited by redluci4
some update after trying the software
Link to comment
Share on other sites

@redluci4 take a look at this topic:

it's the topic related to the guide i wrote on page one,
however said guide is kinda outdated and you should instead look at the new one hosted on codeberg

if you follow it correctly you should be able to run any version of affinity (1 or 2) and any product (photo, designer, publisher)

it isn't flawless but it should be enough for non/light professional work

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

Link to comment
Share on other sites

@Wanesty Thanks for the tip, but the guide doesn't seem to work for me, the entire guide seems to suggest that rum is better than bottles and to use rum with the wine-fork but, I first started getting trouble while trying to install dotnet48 and after that nothing seems to work.

For now, I'm just going to try to make bottles work, because I could get past the setup and even start and make projects with it and even export it to other formats, all I need to do is to find out why I can't save files to a directory as afphoto/design/pub.

Or I'm going to have to ask Affinity for alternative payment methods because I just got the money to get V2 but all of my payments are not accepted by Affinity for now, and I need to do this before the Black-Friday offer ends.

Link to comment
Share on other sites

2 minutes ago, redluci4 said:

if any knows what are the missing keys do let me know.

i believe there's multiple ones, so don't bother honestly

3 minutes ago, redluci4 said:

or I have to find why rum won't even install dotnet48

this is probably a winetricks issue not a rum issue

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

Link to comment
Share on other sites

@Gruntok so I found some guide online here and used it to install affinity inside bottles after many years of no success, and then when I thought everything was fine because the programs started normally (except when it tried to load my online profile) and I could do my work and export it to other formats, but what I couldn't do it open my online account/profile page or save the project as afphoto/design/pub.

So the suggestions I got was to use something called rum, and rum is a script that uses custom wine binaries to run windows executable, what I had to do is to get this wine-fork that was modified for running affinity programs and use it instead, but the problem I face with rum and this custom wine is that I can't even install dotnet48 and that's that.

But with bottles, I can do everything except save my files.

So by far what I've seen in the custom-wine docs is that it says that bottles will not install dotnwt48 properly because it will be missing many reg keys (which I have no proof of, and I don't know how many or what are the keys that's missing)

So my final step would be to find and manually enter the missing keys for bottles, or to make the Winetricks install the dotnet48 properly for rum.

Edit 1 : For additional context, this is my system specs:
---------------------  
OS: Manjaro Linux x86_64  
Host: MS-7C37 3.0  
Kernel: 6.1.62-1-MANJARO  
Uptime: 3 days, 5 hours, 56 mins  
Packages: 2323 (pacman), 1 (dpkg), 46 (flatpak)  
Shell: bash 5.2.15  
Resolution: 3840x2160  
DE: Plasma 5.27.9  
WM: KWin  
Theme: [Plasma], Breeze [GTK2/3]  
Icons: [Plasma], breeze-dark [GTK2/3]  
Terminal: konsole  
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz  
GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590  
Memory: 13562MiB / 32015MiB

Edited by redluci4
system spec
Link to comment
Share on other sites

@GruntThe problem I'm facing with rum is anytime I try to open a windows executable, either an affinity setup or dotnet48 from Microsoft I only get a black screen, I can't install dotnet though Winetricks (exit status 5 - user selected 'Cancel') or use the executable from Microsoft Black Screen.

Edit 1 : But with Bottles, the only things I can't do is save my project-file and view online profile.

Edited by redluci4
Add bottles status
Link to comment
Share on other sites

37 minutes ago, redluci4 said:

The problem I'm facing with rum is anytime I try to open a windows executable, either an affinity setup or dotnet48 from Microsoft I only get a black screen

rum is only a script allowing you to manage the wine build you made, nothing more

also this looks like a compile issue more than a running issue, check that you have all of the necessary dependencies, compile it again and watch if there's any dependencies missing warning/errors the configure part

 

52 minutes ago, Grunt said:

What registry keys

some dotnet 3.5 keys i believe, i don't have a reg file available but you can look at a diff of a .reg between dotnet48 installed through winetricks and a .reg with dotnet48 installed through Bottles

Edited by Wanesty
bold instead of underline

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

Link to comment
Share on other sites

  • 1 month later...

bump + just wanting to say I am adamant that I WILL purchase this software a third time when it gets Linux support (I say "when" because it has to). it is the only reason I spent the past week setting up a vm with gpu passthrough. I can handle every other open source alternative, but this one does not have an acceptable replacement yet.  please and thanks @dev team

Link to comment
Share on other sites

3 hours ago, TotallyNotARobot said:

A bit of Linux news: the Wine 9 release seems to be right around the corner. This means some patches to improve Affinity compatibility might be coming to a stable release soon.

I tried to run kron4ek-wine-9.0-rc3-amd64, but it fails to launch:

What should I try?

Unhandled exception: 0xe0434352 in wow64 32-bit code (0x7a9519f7).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7a9519f7 ESP:0062ea5c EBP:0062eab0 EFLAGS:00000246(   - --  I  Z- -P- )
 EAX:0062ea5c EBX:00000000 ECX:00000010 EDX:0062eb18
 ESI:0062eb18 EDI:00000001
Stack dump:
0x0062ea5c:  e0434352 00000001 00000000 7a9519f7
0x0062ea6c:  00000005 80004003 00000000 00000000
0x0062ea7c:  00000000 77ee0000 0062eb6c 00000001
0x0062ea8c:  00000001 00000001 00000012 03620001
0x0062ea9c:  0062ea58 00000007 0062ea78 00b45d50
0x0062eaac:  00000005 0062eb4c 780970f1 e0434352
Backtrace:
=>0 0x7a9519f7 in kernelbase (+0x119f7) (0x0062eab0)
  1 0x780970f1 in clr (+0x1b70f1) (0x0062eb4c)
  2 0x78097f96 in clr (+0x1b7f96) (0x0062ec14)
  3 0x10a2ed35 in presentationcore.ni (+0xa2ed35) (0x0062ec28)
  4 0x07190733 (0x0062eca8)
  5 0x0529c5f7 (0x0062ece4)
  6 0x052936ae (0x0062eecc)
  7 0x568ddd86 in presentationframework.ni (+0x2cdd86) (0x0062eedc)
  8 0x585bee42 in windowsbase.ni (+0xdee42) (0x0062eef4)
  9 0x585bed85 in windowsbase.ni (+0xded85) (0x0062ef30)
  10 0x585c10cd in windowsbase.ni (+0xe10cd) (0x0062ef78)
  11 0x585bf56f in windowsbase.ni (+0xdf56f) (0x0062efe4)
  12 0x03a13527 in mscorlib.ni (+0x3f3527) (0x0062eff8)
  13 0x03a134e4 in mscorlib.ni (+0x3f34e4) (0x0062f014)
  14 0x585c0f83 in windowsbase.ni (+0xe0f83) (0x0062f044)
  15 0x585c0d80 in windowsbase.ni (+0xe0d80) (0x0062f07c)
  16 0x585bd346 in windowsbase.ni (+0xdd346) (0x0062f0bc)
  17 0x585bc57c in windowsbase.ni (+0xdc57c) (0x0062f0f8)
  18 0x585be661 in windowsbase.ni (+0xde661) (0x0062f134)
  19 0x585be94c in windowsbase.ni (+0xde94c) (0x0062f154)
  20 0x585bee42 in windowsbase.ni (+0xdee42) (0x0062f16c)
  21 0x585bed85 in windowsbase.ni (+0xded85) (0x0062f1a8)
  22 0x585bcf62 in windowsbase.ni (+0xdcf62) (0x0062f200)
  23 0x585be4b4 in windowsbase.ni (+0xde4b4) (0x0062f248)
  24 0x00f1d08e (0x0062f27c)
  25 0x7a1a270c in user32 (+0x6270c) (0x0062f2ac)
  26 0x7a1a2b89 in user32 (+0x62b89) (0x0062f2ec)
  27 0x7a1a4f31 in user32 (+0x64f31) (0x0062f328)
  28 0x7a188b13 in user32 (+0x48b13) (0x0062f384)
  29 0x7a18b12b in user32 (+0x4b12b) (0x0062f3f8)
  30 0x585d7211 in windowsbase.ni (+0xf7211) (0x0062f434)
  31 0x585bb3d7 in windowsbase.ni (+0xdb3d7) (0x0062f47c)
  32 0x585bb319 in windowsbase.ni (+0xdb319) (0x0062f488)
  33 0x568ddd50 in presentationframework.ni (+0x2cdd50) (0x0062f498)
  34 0x568dd90e in presentationframework.ni (+0x2cd90e) (0x0062f4b8)
  35 0x568dd702 in presentationframework.ni (+0x2cd702) (0x0062f4c8)
  36 0x568dc7d6 in presentationframework.ni (+0x2cc7d6) (0x0062f4d4)
  37 0x0529089d (0x0062f4e8)
  38 0x77eef016 in clr (+0xf016) (0x0062f4f4)
  39 0x77ef22ba in clr (+0x122ba) (0x0062f548)
  40 0x77ef850b in clr (+0x1850b) (0x0062f5b8)
  41 0x78091d0b in clr (+0x1b1d0b) (0x0062f6dc)
  42 0x780923ea in clr (+0x1b23ea) (0x0062f948)
  43 0x78092317 in clr (+0x1b2317) (0x0062fe2c)
  44 0x78092498 in clr (+0x1b2498) (0x0062fe84)
  45 0x780925be in clr (+0x1b25be) (0x0062fec4)
  46 0x7808def5 in clr (+0x1adef5) (0x0062ff00)
  47 0x786afa84 in mscoreei (+0xfa84) (0x0062ff38)
  48 0x78747f16 in mscoree (+0x7f16) (0x0062ff48)
  49 0x78744de3 in mscoree (+0x4de3) (0x0062ff68)
  50 0x7acca813 in ntdll (+0x5a813) (0x0062ff80)
  51 0x7accbc82 in ntdll (+0x5bc82) (0x0062ffec)
0x7a9519f7 kernelbase+0x119f7: mov -0x04(%ebp), %ebx
Modules:
Module  Address                 Debug info      Name (139 modules)
PE        400000-  524000       Deferred        setupui
PE       3620000- 4a1c000       Export          mscorlib.ni
PE       52a0000- 5cf2000       Deferred        system.ni
PE       5d40000- 64b4000       Deferred        system.xml.ni
PE       64d0000- 64d8000       Deferred        setupui.resources
PE       6550000- 6582000       Deferred        presentationframework.classic
PE      10000000-10c3d000       Export          presentationcore.ni
PE      56610000-579f3000       Export          presentationframework.ni
PE      580d0000-582d3000       Deferred        system.xaml.ni
PE      584e0000-588fb000       Export          windowsbase.ni
PE      60370000-60475000       Deferred        system.configuration.ni
PE      61a00000-62218000       Deferred        system.core.ni
PE      63c00000-63d30000       Deferred        system.management.ni
ELF     71400000-73fe8000       Deferred        libnvidia-glvkspirv.so.535.129.03
ELF     74000000-770dc000       Deferred        libnvidia-glcore.so.535.129.03
PE      770e0000-771e5000       Deferred        diasymreader
PE      77200000-77521000       Deferred        d3d9
PE-Wine 77540000-7754d000       Deferred        dwmapi
PE      77560000-77581000       Deferred        wminet_utils
PE-Wine 775a0000-7761b000       Deferred        setupapi
PE-Wine 77630000-77663000       Deferred        winevulkan
PE-Wine 77680000-7768d000       Deferred        vulkan-1
PE      776a0000-778cd000       Deferred        dxgi
PE-Wine 778e0000-7791e000       Deferred        wbemprox
PE-Wine 77930000-77940000       Deferred        wmiutils
PE      77950000-779d9000       Deferred        clrjit
PE      779f0000-77ad3000       Deferred        presentationnative_v0400
PE      77af0000-77b5b000       Deferred        msvcp140_clr0400
PE      77b70000-77cfd000       Deferred        wpfgfx_v0400
PE-Wine 77d10000-77d90000       Deferred        dwrite
PE-Wine 77da0000-77dd6000       Deferred        rsaenh
PE      77df0000-77e9b000       Deferred        ucrtbase_clr0400
PE      77eb0000-77ec4000       Deferred        vcruntime140_clr0400
PE      77ee0000-7868f000       Export          clr
PE      786a0000-7872d000       Export          mscoreei
PE      78740000-7878a000       Export          mscoree
PE-Wine 787a0000-787ac000       Deferred        nsi
PE-Wine 787c0000-787d5000       Deferred        dnsapi
PE-Wine 787f0000-78815000       Deferred        iphlpapi
PE-Wine 78830000-7886a000       Deferred        uxtheme
PE-Wine 78880000-78896000       Deferred        winex11
PE-Wine 78d50000-78d65000       Deferred        compstui
PE-Wine 78d80000-78db6000       Deferred        winspool
PE-Wine 78ef0000-78f1a000       Deferred        wintrust
PE-Wine 78f30000-78f3d000       Deferred        version
PE-Wine 78f50000-78f78000       Deferred        ws2_32
PE-Wine 78f90000-78fb0000       Deferred        mpr
PE-Wine 78fc0000-79048000       Deferred        wininet
PE-Wine 79060000-790f8000       Deferred        urlmon
PE-Wine 79110000-7911f000       Deferred        sxs
PE-Wine 79130000-79147000       Deferred        shcore
PE-Wine 79160000-791ae000       Deferred        shlwapi
PE-Wine 791c0000-79b02000       Deferred        shell32
PE-Wine 79b20000-79c2d000       Deferred        oleaut32
PE-Wine 79c40000-79c54000       Deferred        coml2
PE-Wine 79c70000-79cf9000       Deferred        rpcrt4
PE-Wine 79d10000-79d5f000       Deferred        combase
PE-Wine 79d70000-79e84000       Deferred        ole32
PE-Wine 79ea0000-79eb4000       Deferred        odbccp32
PE-Wine 79ed0000-79edf000       Deferred        mspatcha
PE-Wine 79ef0000-79f6c000       Deferred        dbghelp
PE-Wine 79f80000-79f90000       Deferred        imagehlp
PE-Wine 79fa0000-79fb6000       Deferred        bcrypt
PE-Wine 79fd0000-7a0a7000       Deferred        crypt32
PE-Wine 7a0c0000-7a0dc000       Deferred        imm32
PE-Wine 7a0f0000-7a121000       Deferred        win32u
PE-Wine 7a140000-7a301000       Export          user32
PE-Wine 7a320000-7a3a6000       Deferred        gdi32
PE-Wine 7a3c0000-7a516000       Deferred        comctl32
PE-Wine 7a530000-7a54f000       Deferred        cabinet
PE-Wine 7a560000-7a647000       Deferred        ucrtbase
PE-Wine 7a660000-7a689000       Deferred        sechost
PE-Wine 7a6a0000-7a756000       Deferred        msvcrt
PE-Wine 7a770000-7a7b2000       Deferred        advapi32
PE-Wine 7a7d0000-7a928000       Deferred        msi
PE-Wine 7a940000-7abd8000       Export          kernelbase
PE-Wine 7abf0000-7ac56000       Deferred        kernel32
PE-Wine 7ac70000-7ad24000       Export          ntdll
ELF     7ccd4000-7ce00000       Deferred        libglx_nvidia.so.0
ELF     7ce00000-7d205000       Deferred        libcrypto.so.3
ELF     7d23d000-7d2df000       Deferred        libnvidia-glsi.so.535.129.03
ELF     7d2df000-7d36b000       Deferred        libvulkan.so.1
ELF     7d36b000-7d400000       Deferred        winevulkan.so
ELF     7d450000-7d500000       Deferred        libssl.so.3
ELF     7d62b000-7d644000       Deferred        libdrm.so.2
ELF     7d65c000-7d700000       Deferred        libcups.so.2
ELF     7d805000-7d824000       Deferred        libxcb-glx.so.0
ELF     7d824000-7d8a1000       Deferred        libgmp.so.10
ELF     7d8a1000-7da53000       Deferred        libunistring.so.5
ELF     7da53000-7dc00000       Deferred        libp11-kit.so.0
ELF     7dc00000-7de3a000       Deferred        libgnutls.so.30
ELF     7de83000-7de95000       Deferred        libresolv.so.2
ELF     7de95000-7dea5000       Deferred        libffi.so.8
ELF     7dea5000-7def1000       Deferred        libhogweed.so.6
ELF     7def1000-7df48000       Deferred        libnettle.so.8
ELF     7df48000-7df5f000       Deferred        libtasn1.so.6
ELF     7df5f000-7dfb7000       Deferred        libidn2.so.0
ELF     7e222000-7e227000       Deferred        librt.so.1
ELF     7e227000-7e22e000       Deferred        libnvidia-tls.so.535.129.03
ELF     7e22e000-7e233000       Deferred        winspool.so
ELF     7e233000-7e239000       Deferred        ws2_32.so
ELF     7e239000-7e23e000       Deferred        dwrite.so
ELF     7e23e000-7e247000       Deferred        libxfixes.so.3
ELF     7e247000-7e254000       Deferred        libxcursor.so.1
ELF     7e254000-7e269000       Deferred        libxi.so.6
ELF     7e269000-7e277000       Deferred        libxrandr.so.2
ELF     7e277000-7e2a7000       Deferred        libxcb.so.1
ELF     7e2a7000-7e400000       Deferred        libx11.so.6
ELF     7e501000-7e506000       Deferred        libxcomposite.so.1
ELF     7e506000-7e514000       Deferred        libxrender.so.1
ELF     7e514000-7e51b000       Deferred        libxxf86vm.so.1
ELF     7e51b000-7e520000       Deferred        libxinerama.so.1
ELF     7e520000-7e526000       Deferred        libxau.so.6
ELF     7e526000-7e53d000       Deferred        libxext.so.6
ELF     7e53d000-7e541000       Deferred        dnsapi.so
ELF     7e541000-7e547000       Deferred        crypt32.so
ELF     7e547000-7e553000       Deferred        bcrypt.so
ELF     7e555000-7e5e0000       Deferred        winex11.so
ELF     7e7a2000-7e7ce000       Deferred        libexpat.so.1
ELF     7e7ce000-7e823000       Deferred        libfontconfig.so.1
ELF     7e823000-7e8c0000       Deferred        libpcre2-8.so.0
ELF     7e8c0000-7e8e3000       Deferred        libbrotlicommon.so.1
ELF     7e8e3000-7e907000       Deferred        libgraphite2.so.3
ELF     7e907000-7ea77000       Deferred        libglib-2.0.so.0
ELF     7ea77000-7eaa0000       Deferred        libgcc_s.so.1
ELF     7eaa0000-7eaae000       Deferred        libbrotlidec.so.1
ELF     7eaae000-7ebfc000       Deferred        libharfbuzz.so.0
ELF     7ebfc000-7ec3e000       Deferred        libpng16.so.16
ELF     7ec3e000-7ec51000       Deferred        libbz2.so.1
ELF     7ec51000-7ec6b000       Deferred        libz.so.1
ELF     7ec6b000-7ed2c000       Deferred        libfreetype.so.6
ELF     7ed2c000-7ee05000       Deferred        libm.so.6
ELF     7ee1d000-7efa8000       Deferred        win32u.so
ELF     f7c00000-f7e32000       Deferred        libc.so.6
ELF     f7ebc000-f7f78000       Export          ntdll.so
ELF     f7f7a000-f7f7f000       Deferred        libdl.so.2
ELF     f7f7f000-f7f84000       Deferred        libpthread.so.0
ELF     f7f9e000-f7fd3000       Deferred        ld-linux.so.2
ELF     f7fd3000-f7fd7000       Deferred        <wine-loader>
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 start.exe
    00000024    0     
00000030 services.exe
    00000034    0     
    00000038    0     wine_rpcrt4_server
    00000048    0     wine_threadpool_worker
    0000007c    0     wine_rpcrt4_io
    00000094    0     wine_rpcrt4_io
    000000a0    0     wine_rpcrt4_io
    000000b8    0     wine_rpcrt4_io
    000000dc    0     wine_rpcrt4_io
    000000f8    0     wine_threadpool_timerqueue
    000000fc    0     
    0000012c    0     wine_rpcrt4_io
00000074 svchost.exe
    00000078    0     
    00000084    0     
    00000088    0     wine_sechost_service
0000008c winedevice.exe
    00000090    0     
    00000098    0     
    0000009c    0     wine_sechost_service
    000000a4    0     
    000000a8    0     
    000000ac    0     
    000000f0    0     
    000000f4    0     
000000b0 winedevice.exe
    000000b4    0     
    000000bc    0     
    000000c0    0     wine_sechost_service
    000000c4    0     
    000000c8    0     
    000000cc    0     
    000000d8    0     
    000000ec    0     
000000d0 plugplay.exe
    000000d4    0     
    000000e0    0     
    000000e4    0     wine_sechost_service
    000000e8    0     wine_rpcrt4_server
00000100 conhost.exe
    00000104    0     
00000108 affinity-photo-1.10.6.exe
    0000010c    0     
00000110 explorer.exe
    00000114    0     
    00000118    0     
    0000011c    0     wine_rpcrt4_server
00000124 rpcss.exe
    00000128    0     
    00000130    0     
    00000134    0     wine_sechost_service
    00000138    0     wine_rpcrt4_server
    0000013c    0     wine_rpcrt4_server
    00000140    0     wine_rpcrt4_io
00000148 (D) C:\users\aronkvh\Temp\AffinitySetup\66ea09bf-b0d0-11ee-2389-c86000c5c9ab\SetupUI.exe
    0000014c    0 <== 
    00000150    0     
    00000154    2     
    00000158    0     
    00000160    0     
    00000174    0     
0000016c conhost.exe
    00000170    0     
System information:
    Wine build: wine-9.0-rc3
    Platform: x86_64 (guest: i386)
    Version: Windows 10
    Host system: Linux
    Host version: 6.5.0-14-generic

 

Link to comment
Share on other sites

On 1/11/2024 at 1:03 PM, TotallyNotARobot said:

A bit of Linux news: the Wine 9 release seems to be right around the corner. This means some patches to improve Affinity compatibility might be coming to a stable release soon.

I will second this.  I have purchased this software twice already.  But know I'm 100% Linux.  I will purchase a third time when it supports linux.

Link to comment
Share on other sites

21 hours ago, nosaj2 said:

I will second this.  I have purchased this software twice already.  But know I'm 100% Linux.  I will purchase a third time when it supports linux.

Ditto! Now happily running 100% Linux on desktop and laptop. Ready to buy Affinity Photo again as soon as it is available! Hint hint...

Link to comment
Share on other sites

On 1/11/2024 at 11:28 PM, aronkvh said:

What should I try?

Not to run SetupUI. It is 32-bit .NET application and just source of different problems. As you run installer, there should be directory C:\User\yourusername\Temp\AffinitySetup\ in wine c_drive. Installer is self-extracting archive. Pause installer/wine after execution (SIGSTOP) and simply find Affinity.msi in this directory and copy it somewhere. Then it is just question of double-clicking or msiexec. If I remember correctly, MSI installers where provided somewhere in history but Serif replaced it wit this 32-bit SetupUI.exe.

Or ask Serif for MSI installers. If you really have to, run exe installer on Mono (32-bit version).

Quote
C:\users\aronkvh\Temp\AffinitySetup\66ea09bf-b0d0-11ee-2389-c86000c5c9ab\

Here MSI installer resides. In your case. Good luck.

Link to comment
Share on other sites

On 1/11/2024 at 4:43 AM, Volant said:

bump + just wanting to say I am adamant that I WILL purchase this software a third time when it gets Linux support (I say "when" because it has to). it is the only reason I spent the past week setting up a vm with gpu passthrough. I can handle every other open source alternative, but this one does not have an acceptable replacement yet.  please and thanks @dev team

I'm afraid that Serif Europe has made it crystal clear that there will be no Linux versions of their Affinity products not least because the Linux desktop market share still unfortunately lags well behind that of macOS.

The only way I know to get a Unix-only solution to getting Affinity Photo to run on Linux is to use macOS as a VM on a Linux computer.

However, there are promising developments about Affinity Photo to run in Wine on Linux as set out in this very useful discussion and the comparable one here:

 

Link to comment
Share on other sites

  • 2 weeks later...

Since Fedora just released Wine 9 into its repositories, I figured I'd give Bottles and AffinityCustomBottleRecipe.yml another spin.

First, I had to switch to the NVIDIA driver. Then this happened when starting the Affinity Designer v1 installer:

0120:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"SetupUI.exe" cannot be loaded

I read elsewhere on the internet that you should install Mono in that case, so I did. Having done that, I retried:

0120:err:mscoree:wine_mono_assembly_preload_hook_v2_fn Failed to load L"C:\\windows\\Microsoft.NET\\assembly\\GAC_64\\PresentationCore\\v4.0_4.0.0.0__31bf3856ad364e35\\PresentationCore.dll", status=3

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Application' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00117] in <f5c1cf7e75a94ccaa98b39898fde8d44>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Navigation.BaseUriHelper..cctor () [0x00000] in <c8543cf9ae2e4c3ea7ec30d842c3dd79>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Application.ApplicationInit () [0x0000a] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
  at System.Windows.Application..cctor () [0x0002e] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
   --- End of inner exception stack trace ---
  at SetupUI.App..ctor () [0x00000] in <72f437d7ce3046b398d2c9a0a888da43>:0 
  at SetupUI.App.Main () [0x00001] in <72f437d7ce3046b398d2c9a0a888da43>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Application' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00117] in <f5c1cf7e75a94ccaa98b39898fde8d44>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Navigation.BaseUriHelper..cctor () [0x00000] in <c8543cf9ae2e4c3ea7ec30d842c3dd79>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Application.ApplicationInit () [0x0000a] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
  at System.Windows.Application..cctor () [0x0002e] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
   --- End of inner exception stack trace ---
  at SetupUI.App..ctor () [0x00000] in <72f437d7ce3046b398d2c9a0a888da43>:0 

I figured I'd install .NET Framework 3.5, since in older attempts I got a popup from the Affinity installer mentioning it was not present on my computer. The .NET Framework installer failed too:

wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
0548:err:ole:com_get_class_object class {acadf079-cbcd-4032-83f2-fa47c4db096f} not registered
0548:err:ole:com_get_class_object no class object {acadf079-cbcd-4032-83f2-fa47c4db096f} could be created for context 0x1
regsvr32: Failed to load DLL 'C:\windows\system32\licdll.dll'
regsvr32: Failed to load DLL 'C:\windows\system32\regwizc.dll'
0568:err:eventlog:ReportEventW L"0x80070002"
regsvr32: Successfully registered DLL 'C:\windows\system32\prntvpt.dll'
regsvr32: Failed to load DLL 'C:\windows\system32\spool\prtprocs\x64\FilterPipelinePrintProc.dll'
regsvr32: Successfully registered DLL 'C:\windows\syswow64\prntvpt.dll'
04dc:err:msidb:TransformView_set_row trying to modify existing table
04dc:err:msidb:TransformView_set_row trying to modify existing column
04dc:err:msidb:TransformView_set_row trying to modify existing column
[... cutting some repetitive output here ...]
04dc:err:msidb:TransformView_set_row trying to modify existing column
0650:err:eventlog:ReportEventW L"System.TypeInitializationException: The type initializer for 'System.ServiceModel.Install.IisHelper' threw an exception. ---> System.TypeLoadException: Could not load type of field 'System.ServiceModel.Install.Configuration.IIS7ConfigurationLoader:serverManager' (0) due to: Could not load"...
0650:err:eventlog:ReportEventW L"   --- End of inner exception stack trace ---\r\n"
0650:err:eventlog:ReportEventW L"  at Microsoft.Tools.ServiceModel.CommandArguments..ctor (System.String[] args) [0x003e2] in <b26c266450894ba4be93dee1b269237f>:0 \r\n"
0650:err:eventlog:ReportEventW L"  at Microsoft.Tools.ServiceModel.ServiceModelReg.Run (System.String[] args) [0x00000] in <b26c266450894ba4be93dee1b269237f>:0 \r\n"
0650:err:eventlog:ReportEventW L"  at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun (System.String[] args) [0x00031] in <b26c266450894ba4be93dee1b269237f>:0"
04dc:err:msi:execute_script Execution of script 0 halted; action L"[C:\\windows\\Microsoft.NET\\Framework\\v3.0\\Windows Communication Foundation\\ServiceModelReg.exe /r /x /y /v;dummy;C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\<=>S-1-5-21-0-0-0-1000<=>{2BA00471-0328-3743-93BD-FA813353A783}]DD_CA_InstallXwsRegExe_X86.3643236F_FC70_11D3_A536_00902"... returned 1603
04dc:err:msi:ITERATE_Actions Execution halted, action L"InstallExecute" returned 1603
0158:err:winediag:CorIsLatestSvc If this function is called, it is likely the result of a broken .NET installation
0158:err:eventlog:ReportEventW L".NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Tried to start a service that wasn't the latest version of CLR Optimization service. Will shutdown\n"
012c:err:winediag:CorIsLatestSvc If this function is called, it is likely the result of a broken .NET installation
012c:err:eventlog:ReportEventW L".NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - Tried to start a service that wasn't the latest version of CLR Optimization service. Will shutdown\n"

image.png.5721299e5330d3039d7c453747b5415f.png

The furthest I got was using Grunt's advice:

Quote

If you really have to, run exe installer on Mono (32-bit version).

I created a 32-bit bottle and then I got this:

image.png.dcfd98439569e162e5a6599310e976f6.png

Before closing the installer, I went into C:\users\yourusername\Temp\AffinitySetup and copied the files including the MSI file somewhere safe using a drive mount. Moving back into the 64-bit bottle, I mounted the files, ran msiexec /i Affinity.msi, and the files were installed. Launching Designer.exe however was a dead end:

0288:err:mscoree:FixupVTableEntry unsupported vtable fixup flags 0

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Application' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00000] in <f5c1cf7e75a94ccaa98b39898fde8d44>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Navigation.BaseUriHelper..cctor () [0x00000] in <15140128ad0e4325b5eee7f4d3b7dfa3>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Application.ApplicationInit () [0x0000a] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
  at System.Windows.Application..cctor () [0x0002e] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
   --- End of inner exception stack trace ---
  at Serif.Interop.Persona.Application..ctor () [0x00093] in <e2ea0c1866f5461184b86a9362a33273>:0 
  at Serif.Affinity.Application..ctor () [0x00012] in <02b007b6ef634d67a9715f716059e267>:0 
  at Designer.Application..ctor () [0x00000] in <b65c843ad19e4c7db88c9cab6d74fd56>:0 
  at Designer.Application.Main (System.String[] args) [0x00000] in <b65c843ad19e4c7db88c9cab6d74fd56>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Application' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00000] in <f5c1cf7e75a94ccaa98b39898fde8d44>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Navigation.BaseUriHelper..cctor () [0x00000] in <15140128ad0e4325b5eee7f4d3b7dfa3>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Application.ApplicationInit () [0x0000a] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
  at System.Windows.Application..cctor () [0x0002e] in <26eafdf1b0b84f2eb9ff9eee9b33548e>:0 
   --- End of inner exception stack trace ---
  at Serif.Interop.Persona.Application..ctor () [0x00093] in <e2ea0c1866f5461184b86a9362a33273>:0 
  at Serif.Affinity.Application..ctor () [0x00012] in <02b007b6ef634d67a9715f716059e267>:0 
  at Designer.Application..ctor () [0x00000] in <b65c843ad19e4c7db88c9cab6d74fd56>:0 

While I've been able to start Affinity Designer v1 in the past, unfortunately now I no longer get to the splash screen. If anyone knows any Wine troubleshooting guides that may help, let me know.

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.