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

On 10/9/2023 at 9:14 PM, samurainine said:

I want to state that I have been trying to run Affinity products on Linux for a while now. The only solution I could get running is to use Oracle VM, but as others have said, I can do this easily on my desktop PC but my laptop is not as powerful and it falls a bit short when using the virtual machine.

I am no expert on using Wine so it's been a frustrating experience. Usually I find better alternatives to apps that I used on Windows before, but Inkscape doesn't do it for me, and I haven't seen other apps like Designer (besides Illustrator, but I'm not willing to use Adobe products anymore).

I will keep trying to install the apps for a while and tell my experience on it, but I do wish Affinity could help us a bit with this, even by supporting wine devs as I read a while ago in this forum.

I stand here with every other Linux user.

 

Update:

I see what my problem is now. I am trying to use Wine on Wayland, but Wine does not work very well with Wayland yet, I even tried using ElementalWarrior's wayland branch but it throws a viewport error. I will be using a VM, but will keep an eye on any update around here.

if you are using a VM on Linux to get the Affinity products to work well on Linux then the following discussion might be of interest:

https://forum.endeavouros.com/t/affinity-designer/14494

It is technically possible to have a Unix-only way of get the Affinity products to work well on Linux...but only using a macOS VM with macOS Catalina 10.15 or later:

https://www.makeuseof.com/macos-ubuntu-linux-virtual-machine/

Link to comment
Share on other sites

On 10/18/2023 at 10:01 AM, DJ_Panda123 said:

Hi,

followed this guide, and I can install no problem, however I get this error when trying to launch.

How can I fix this?

I want to avoid having to use a Windows VM as I was hoping to have everything native on Linux.

i haven't answered earlier because i'm not sure how to help, i had this issue before but redoing it from the beginning fixed it i believe, or maybe it was an issue with the winmd files, i don't remember exactly.

also, did you follow the guide on page one of this topic or the one on codeberg ? (the one on page one is far from updated and lacks a lot of infos)

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

Link to comment
Share on other sites

Hi! Did someone tested this one in ZorinOS Core and got it to work? I'm switching to linux soon due to current situation of windows since 12 does not support older laptops anyways and i don't want to buy a new one for that privancy concern OS.

And yes! Please consider a Linux Version at least Flatpak. More Windows User are getting forced to give up Windows anyways and i think this counts a lot of affinity users in.

Edited by CuriousDroid
Link to comment
Share on other sites

Wanesty, thank you for pointing me to this thread. I have a programmer friend who is introducing me to linux and is willing to low cost donate me a dedicated computer. So I could provide community service to Serif for getting Affinity a native install on linux using the beta program as an entry way for them. After all this hard work you and others have done to get this far. If I ask nicely, my programmer friend may donate the requisite Windows file itself as long as I keep it for personal use.

Although, I won't have the donated computer until sometime early November due to my friend being quite busy this week and next.

Link to comment
Share on other sites

  • 3 weeks later...

Thank you so much for your guide on Affinity for Linux!

I tried many times to get Affinity to work but your instructions are the only one that work. I also get the crash on export that you already wrote about.

Not a deal breaker for me as I usually only edit one file and I'm sure it will be resolved at some point.

Will the dedicated branch be upstreamed at some point?

Link to comment
Share on other sites

1 hour ago, EatingPaint4Fun said:

Not a deal breaker for me as I usually only edit one file and I'm sure it will be resolved at some point.

yea it's kinda annoying but not that bad, just have to remember to save a lot x)

 

1 hour ago, EatingPaint4Fun said:

Will the dedicated branch be upstreamed at some point?

it's slowly getting there thanks to ElementalWarrior !

wine 9 will probably at least support the v1 without any major issue
(saying wine 9 because: Grunt got the v1 working with mainstream wine 8.16+ but i havent yet)

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

Link to comment
Share on other sites

On 11/12/2023 at 8:12 PM, Wanesty said:

t's slowly getting there thanks to ElementalWarrior !

First of all, thank you for all your effort to make it work. That said, I've been following your guide but I don't really have a .exe Affinty Photo file. The only thing I have is .msi. Would it still work?

 

Also, Bottle's version of Photo V1 works surprisingly well, it even recognizes my AMD GPU, although I can't really use hardware acceleration due the Windows 10 version being older than the recommended.

This is a screenshot of Photo V1 on Bottles

image.png.d603f602c33621cc3171f85572bd10ba.png

Link to comment
Share on other sites

1 hour ago, jaizon said:

First of all, thank you for all your effort to make it work. That said, I've been following your guide but I don't really have a .exe Affinty Photo file. The only thing I have is .msi. Would it still work?

you can get affinity photo 1.X from it's update page

however if you're talking about affinity 2, the extension you might be referring to is MSIX not MSI, and you don't want a MSIX, you need the EXE installer, which is just an exe wrapper of a "msi wizard"

 

1 hour ago, jaizon said:

it even recognizes my AMD GPU, although I can't really use hardware acceleration due the Windows 10 version being older than the recommended.

it recognize it because your linux driver tell wine what model it is, however since wine doesn't have windows drivers support, affinity doesn't recognize your GPU as OpenCL capable(it can't talk to drivers it knows)
you will be able to see that it does say that once you switch wine to windows 10 or above (using bottles itself or winecfg)

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

3 hours ago, Wanesty said:

however if you're talking about affinity 2, the extension you might be referring to is MSIX not MSI, and you don't want a MSIX, you need the EXE installer, which is just an exe wrapper of a "msi wizard"

Yeah, I got that figured out later on Forums and could even install Photo V2, plus I got Photo V1 installed through Bottles and Now I'm making tests eand comparing both, to see which one performs the best.

Thank you for the reply!!!

Link to comment
Share on other sites

5 hours ago, Wanesty said:

you can get affinity photo 1.X from it's update page

however if you're talking about affinity 2, the extension you might be referring to is MSIX not MSI, and you don't want a MSIX, you need the EXE installer, which is just an exe wrapper of a "msi wizard"

 

it recognize it because your linux driver tell wine what model it is, however since wine doesn't have windows drivers support, affinity doesn't recognize your GPU as OpenCL capable(it can't talk to drivers it knows)
you will be able to see that it does say that once you switch wine to windows 10 or above (using bottles itself or winecfg)

Wine doesn't use windows drivers. But OpenCL isn't going to be a direct mapping to windows drivers. Its a library that translates function calls to being called on your gpu.

Linux has native OpenCL drivers, so in theory wine will take the windows OpenCL library calls, and call the linux native OpenCL library. Which will then utilize your gpu.

Problems here could include:

1. Do you have the linux native opencl packages installed for your gpu.

2. How full is wine's implementation of opencl calls to native opencl libraries.

3. Is your wine version compiled with opencl support

4. Is linux opencl native supporting your graphics card? Does it support it well?

5. Does wine call opencl functionality that isn't supported by your card.

Link to comment
Share on other sites

7 hours ago, jaizon said:

First of all, thank you for all your effort to make it work. That said, I've been following your guide but I don't really have a .exe Affinty Photo file. The only thing I have is .msi. Would it still work?

It is really MSI? wine msiexec /i Affinity.msi is the command. More info here.

And i don't think in current form GPU acceleration in Affinity over Wine is viable. Rather don't try luck.

Link to comment
Share on other sites

8 hours ago, jaizon said:

The only thing I have is .msi. Would it still work?

MSIX is basically a archive. You can unzip it via command. (MSI is not) Here's what my extract command looked like.

unzip -d affinity-photo-2.1.1_2023-08-09_00-25 affinity-photo-2.1.1_2023-08-09_00-25.msix

You can also use a GUI:

https://help.gnome.org/users/file-roller/3.26/introduction.html.en
https://peazip.github.io/

After the whole thing is extracted, If memory serves right the .exe you are looking for is "[Archive]/App/Photo.exe"

 

Edit: Morning coffee didn't hit, if you can get a MSIX that would probably be ideal, if not I wanted to attach this information to this thread for others in case they get confused on how to begin an install.

Link to comment
Share on other sites

1 hour ago, Loren Dias said:

MSIX is basically a archive. You can unzip it via command. (MSI is not) Here's what my extract command looked like.

Thanks for clarifying. I actually found the exe downloads though and got it working. But, as of now, at least on my system, the installation in really unstable.

Link to comment
Share on other sites

11 hours ago, ElementalWarrior said:

Wine doesn't use windows drivers. But OpenCL isn't going to be a direct mapping to windows drivers. Its a library that translates function calls to being called on your gpu.

Linux has native OpenCL drivers, so in theory wine will take the windows OpenCL library calls, and call the linux native OpenCL library. Which will then utilize your gpu.

i believe affinity tries to communicate to OpenCL drivers in a certain way which isn't implemented in wine

edit: at least the toggle part of it

 

11 hours ago, Loren Dias said:

if you can get a MSIX that would probably be ideal

i like the idea of getting the exe installer working because it has very weird requirement so if it works the rest should work too,

but yea obviously just do and stick to whatever works for you

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

  • 2 weeks later...

Instaled correct, but when launch, crash:

 

[info@info-virtualbox winewow64-build]$ rum ElementalWarrior-8.14 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Photo 2/Photo.exe"
Rumming /opt/wines/ElementalWarrior-8.14 (wine-7.9-8960-gc12ed146994) in: /home/info/.wineAffinity
011c:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 000006447F100000) stub
011c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
012c:err:ole:CoGetContextToken apartment not initialised
011c:fixme:ntdll:RtlGetCurrentProcessorNumberEx (000000000041BCF8) :semi-stub
011c:fixme:nls:get_dummy_preferred_ui_language (0x0 0xc0a 000000000041B540 0000000000000000 000000000041B544) returning a dummy value (current locale)
011c:fixme:nls:get_dummy_preferred_ui_language (0x0 0xc0a 000000000041B540 0000000000B39B60 000000000041B544) returning a dummy value (current locale)
011c:fixme:virtual:NtFlushProcessWriteBuffers stub
011c:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
011c:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x00000402,0000000000000000,0x0001,0x00000000,000000000041C370,0000000000000000): stub
011c:err:eventlog:ReportEventW L"Application: Photo.exe\n"
011c:err:eventlog:ReportEventW L"Framework Version: v4.0.30319\n"
011c:err:eventlog:ReportEventW L"Description: The process was terminated due to an unhandled exception.\n"
011c:err:eventlog:ReportEventW L"Exception Info: System.TypeInitializationException\n"
011c:err:eventlog:ReportEventW L"Stack:\n"
011c:err:eventlog:ReportEventW L"   at Serif.Affinity.Application..ctor()\n"
011c:err:eventlog:ReportEventW L"   at Photo.Application.Main(System.String[])\n"
011c:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Serif.Affinity.Application' thre
w an exception. ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttrib
ute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeIn
stCount, IntPtr* methodInstArgs, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeIns
tantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] 
typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord)
   at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget)
   at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target)
   at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallba
ckLocation& fallbackLocation)
   at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()
   at System.Resources.ResourceManager..ctor(String baseName, Assembly assembly)
   at Serif.Affinity.ResourceManager.Initialise(Assembly assembly, String resourceName)
   at Serif.Affinity.Application..cctor()
   --- End of inner exception stack trace ---
   at Serif.Affinity.Application..ctor()
   at Photo.Application.Main(String[] args)
wine: Unhandled exception 0xe0434352 in thread 11c at address 0000000174013BC7 (thread 011c), starting debugger...
Unhandled exception: 0xe0434352 in 64-bit code (0x00000174013bc7).
0148:fixme:dbghelp:x86_64_find_runtime_function RunTime_Function outside IMAGE_DIRECTORY_ENTRY_EXCEPTION unimplemented yet!
0148:fixme:dbghelp:x86_64_find_runtime_function RunTime_Function outside IMAGE_DIRECTORY_ENTRY_EXCEPTION unimplemented yet!
Register dump:
 rip:0000000174013bc7 rsp:000000000041de60 rbp:000000000041ecf9 eflags:00000206 (   - --  I   - -P- )
 rax:000000000041dec0 rbx:0000000000a820c0 rcx:000000000041de80 rdx:0000000000000000
 rsi:0000000000000001 rdi:0000000000000001  r8:000006447f100000  r9:000000000041e018 r10:0000000000000059
 r11:00000644800121d0 r12:0000000000000005 r13:000000000041dff8 r14:00000000e0434352 r15:0000000000a820c0
Stack dump:
0x0000000041de60:  000000000041de80 0000000000000000
0x0000000041de70:  0000000000000005 0000000000a820c0
0x0000000041de80:  00000001e0434352 0000000000000000
0x0000000041de90:  0000000174013bc7 0000000000000005
0x0000000041dea0:  ffffffff80131534 0000000000000000
0x0000000041deb0:  0000000000000000 0000000000000000
0x0000000041dec0:  000006447f100000 0000000000a820c0
0x0000000041ded0:  000000000041e0e8 0000064400000001
0x0000000041dee0:  0000064480012020 000006447f1682ec
0x0000000041def0:  0000000000000059 000006447f1d1010
0x0000000041df00:  fffffffffffffffe 0000000000000000
0x0000000041df10:  0000064480012020 0000064402000059
Backtrace:
=>0 0x00000174013bc7 in kernelbase (+0x13bc7) (0x0000000041ecf9)
  1 0x0006447f206e39 in clr (+0x106e39) (0x0000000041ecf9)
  2 0x0006447f59bfb4 in clr (+0x49bfb4) (0x0000000041ecf9)
  3 0x0006447f59c906 in clr (+0x49c906) (0x0000000041ecf9)
  4 0x0006447f61b99b in clr (+0x51b99b) (0x0000000041ecf9)
  5 0x0006447f61b9a9 in clr (+0x51b9a9) (0x0000000041ecf9)
  6 0x0006447f522eb4 in clr (+0x422eb4) (0x0000000041ecf9)
  7 0x0006447f143470 in clr (+0x43470) (0x0000000041ecf9)
  8 0x0006447f26b848 in clr (+0x16b848) (0x0000000041ecf9)
0x00000174013bc7 kernelbase+0x13bc7: add $0xc8, %rsp
Modules:
Module  Address                                 Debug info      Name (176 modules, 8 for wow64 not listed)
PE      0000000019de0000-000000001a29e000       Deferred        mscorlib
PE      000000001cba0000-000000001cef0000       Deferred        presentationcore
PE      0000000055600000-0000000055950000       Deferred        presentationcore
PE      000000007a800000-000000007ad8c000       Deferred        opengl32
PE      000000007c000000-000000007c4be000       Deferred        mscorlib
PE      0000000100000000-000000010392e000       Deferred        serif.interop.persona
PE      0000000103930000-000000010725e000       Deferred        serif.interop.persona
PE      0000000107260000-0000000107809000       Deferred        libicu
PE      0000000107810000-0000000107d77000       Deferred        libpdfium
PE      0000000107d80000-00000001082a5000       Deferred        pdflib
PE      00000001082b0000-000000011b6cd000       Deferred        libpersona
PE      000000011b6d0000-000000011cb72000       Deferred        wined3d
PE      000000011cb80000-000000011cc95000       Deferred        libepub
PE      000000011cca0000-000000011cf92000       Deferred        libgeometry
PE      000000011cfa0000-0000000120ab5000       Deferred        libraster
PE      0000000120ac0000-0000000120b7a000       Deferred        libheif
PE      0000000120b80000-0000000121032000       Deferred        libmetadata
PE      0000000121040000-0000000121180000       Deferred        libxmp
PE      0000000121180000-00000001215ac000       Deferred        libocio
PE      00000001215b0000-0000000124d89000       Deferred        librenderer
PE      0000000124d90000-0000000125283000       Deferred        libstory
PE      0000000125290000-000000012534c000       Deferred        libhunspell
PE      0000000125350000-00000001253f6000       Deferred        libidmlimport
PE      0000000125400000-00000001254bc000       Deferred        liblf
PE      00000001254c0000-0000000125f30000       Deferred        libpdfimport
PE      0000000125f30000-0000000126224000       Deferred        libpsd
PE      0000000126230000-000000012640b000       Deferred        libbook
PE      0000000126410000-00000001267c4000       Deferred        libcommands
PE      00000001267d0000-0000000127a0e000       Deferred        libaffinity
PE      0000000127a10000-0000000127a1b000       Deferred        libpk
PE      0000000127a20000-000000012dff3000       Deferred        librastertools
PE      000000012e000000-000000012fce2000       Deferred        libdwgimport
PE      000000012fcf0000-000000012fcf2000       Deferred        usp10
PE      000000012fd00000-000000012fd34000       Deferred        libcrashpad
PE      000000012fd40000-000000012fd4f000       Deferred        libscripting
PE      000000012fd50000-000000012fdc0000       Deferred        serif.windows
PE      000000012fdc0000-000000012fe30000       Deferred        serif.windows
PE      0000000140000000-00000001403da000       Deferred        photo
PE      0000000170000000-000000017037f000       Deferred        ntdll
PE      0000000174000000-00000001745fe000       Dwarf-4-5       kernelbase
PE      0000000178000000-00000001781a4000       Deferred        kernel32
PE      0000000180000000-0000000180ed2000       Deferred        serif.affinity
PE      00000001cb930000-00000001cba7b000       Deferred        dxgi
PE      00000001ccdd0000-00000001cce8b000       Deferred        rsaenh
PE      00000001ce760000-00000001ce791000       Deferred        kerberos
PE      00000001d0e20000-00000001d1322000       Deferred        oleaut32
PE      00000001d4930000-00000001d49ce000       Deferred        netapi32
PE      00000001d8c90000-00000001d8db7000       Deferred        advapi32
PE      00000001dbc50000-00000001dbf6c000       Deferred        dwrite
PE      00000001de160000-00000001de47c000       Deferred        urlmon
PE      00000001eaf60000-00000001eb024000       Deferred        sechost
PE      0000000206620000-000000020667b000       Deferred        d3d12
PE      000000020b860000-000000020be08000       Deferred        ole32
PE      00000002169d0000-0000000216f91000       Deferred        user32
PE      0000000223d50000-0000000223e15000       Deferred        winspool
PE      0000000228280000-00000002285cc000       Deferred        msvcrt
PE      000000023bc00000-000000023c9a2000       Deferred        shell32
PE      0000000250cd0000-0000000250d3a000       Deferred        mpr
PE      0000000251d80000-0000000251de6000       Deferred        winex11
PE      000000025dc30000-000000025dc50000       Deferred        version
PE      00000002605d0000-00000002605e8000       Deferred        vcruntime140
PE      000000026c190000-000000026c1b4000       Deferred        nsi
PE      000000026c230000-000000026c2f8000       Deferred        uxtheme
PE      0000000288480000-0000000288773000       Deferred        wldap32
PE      00000002964d0000-0000000296884000       Deferred        crypt32
PE      00000002a2380000-00000002a249c000       Deferred        shlwapi
PE      00000002ac810000-00000002ac843000       Deferred        vcruntime140_1
PE      00000002bb0a0000-00000002bb354000       Deferred        gdi32
PE      00000002bde30000-00000002bde84000       Deferred        shcore
PE      00000002c73a0000-00000002c73d0000       Deferred        win32u
PE      00000002c7470000-00000002c784f000       Deferred        ucrtbase
PE      00000002ee630000-00000002ee686000       Deferred        bcrypt
PE      00000002fb3c0000-00000002fb91f000       Deferred        comctl32
PE      00000002fba30000-00000002fbad5000       Deferred        concrt140
PE      0000000311f40000-0000000311f8d000       Deferred        msv1_0
PE      0000000313390000-00000003133c2000       Deferred        compstui
PE      0000000316bf0000-0000000316dc2000       Deferred        mscms
PE      000000031bef0000-000000031c2b1000       Deferred        msvcp140
PE      000000031c5d0000-000000031c75f000       Deferred        combase
PE      0000000345640000-0000000345868000       Deferred        wininet
PE      0000000368420000-00000003686a3000       Deferred        rpcrt4
PE      0000000370f70000-000000037101b000       Deferred        ws2_32
PE      0000000393730000-00000003937ad000       Deferred        imm32
PE      00000003982d0000-000000039835c000       Deferred        iphlpapi
PE      00000003afef0000-00000003affa2000       Deferred        secur32
PE      0000000516f00000-0000000516fea000       Deferred        diasymreader
PE      000006427ee50000-000006427eebf000       Deferred        mscoree
PE      000006447f100000-000006447fa65000       Export          clr
PE      000006447faf0000-000006447fc67000       Deferred        clrjit
PE      000006447fd00000-000006447fdd1000       Deferred        msvcr100_clr0400
PE      00000644ff540000-00000644ff5d0000       Deferred        mscoreei
PE      00000644ffae0000-00000644ffaf4000       Deferred        nlssorting
ELF     00007f1f0a97a000-00007f1f0a9a0000       Deferred        libgpg-error.so.0
ELF     00007f1f0a9a0000-00007f1f0a9c5000       Deferred        libgcc_s.so.1
ELF     00007f1f0a9c5000-00007f1f0a9e7000       Deferred        liblz4.so.1
ELF     00007f1f0a9e7000-00007f1f0ab30000       Deferred        libgcrypt.so.20
ELF     00007f1f0ab30000-00007f1f0ab3c000       Deferred        libcap.so.2
ELF     00007f1f0ab3c000-00007f1f0ac30000       Deferred        libsystemd.so.0
ELF     00007f1f0ac30000-00007f1f0ac81000       Deferred        libdbus-1.so.3
ELF     00007f1f0ac81000-00007f1f0ac94000       Deferred        libavahi-client.so.3
ELF     00007f1f0ac94000-00007f1f0ad32000       Deferred        libcups.so.2
ELF     00007f1f0ad52000-00007f1f0ae82000       Deferred        opengl32.so
ELF     00007f1f0ae82000-00007f1f0aed6000       Deferred        libgssapi_krb5.so.2
ELF     00007f1f0aed6000-00007f1f0aee7000       Deferred        libresolv.so.2
ELF     00007f1f0aee7000-00007f1f0aeee000       Deferred        libkeyutils.so.1
ELF     00007f1f0aeee000-00007f1f0aefc000       Deferred        libkrb5support.so.0
ELF     00007f1f0aefc000-00007f1f0af02000       Deferred        libcom_err.so.2
ELF     00007f1f0af02000-00007f1f0af30000       Deferred        libk5crypto.so.3
ELF     00007f1f0af30000-00007f1f0b008000       Deferred        libkrb5.so.3
ELF     00007f1f0b00c000-00007f1f0b01b000       Deferred        libavahi-common.so.3
ELF     00007f1f0b01b000-00007f1f0b021000       Deferred        winspool.so
ELF     00007f1f0b021000-00007f1f0b028000       Deferred        netapi32.so
ELF     00007f1f0b028000-00007f1f0b031000       Deferred        kerberos.so
ELF     00007f1f0b031000-00007f1f0b03c000       Deferred        libffi.so.8
ELF     00007f1f0b03c000-00007f1f0b0e2000       Deferred        libgmp.so.10
ELF     00007f1f0b0e2000-00007f1f0b12b000       Deferred        libhogweed.so.6
ELF     00007f1f0b12b000-00007f1f0b2e5000       Deferred        libunistring.so.5
ELF     00007f1f0b2e5000-00007f1f0b3b8000       Deferred        libzstd.so.1
ELF     00007f1f0b3b8000-00007f1f0b46a000       Deferred        libbrotlienc.so.1
ELF     00007f1f0b46a000-00007f1f0b600000       Deferred        libp11-kit.so.0
ELF     00007f1f0b600000-00007f1f0b803000       Deferred        libgnutls.so.30
ELF     00007f1f0b803000-00007f1f0b808000       Deferred        msv1_0.so
ELF     00007f1f0b808000-00007f1f0b860000       Deferred        libnettle.so.8
ELF     00007f1f0b860000-00007f1f0b877000       Deferred        libtasn1.so.6
ELF     00007f1f0b877000-00007f1f0b899000       Deferred        libidn2.so.0
ELF     00007f1f0b89d000-00007f1f0b8a7000       Deferred        secur32.so
ELF     00007f1f0b8a7000-00007f1f0b8ad000       Deferred        crypt32.so
ELF     00007f1f0b8ad000-00007f1f0b8b3000       Deferred        ws2_32.so
ELF     00007f1f0b8b3000-00007f1f0b8b9000       Deferred        dwrite.so
ELF     00007f1f0b8dd000-00007f1f0b8e5000       Deferred        libxfixes.so.3
ELF     00007f1f0b8e5000-00007f1f0b8f1000       Deferred        libxcursor.so.1
ELF     00007f1f0b8f1000-00007f1f0b905000       Deferred        libxi.so.6
ELF     00007f1f0b905000-00007f1f0b90a000       Deferred        libxcomposite.so.1
ELF     00007f1f0b90a000-00007f1f0b917000       Deferred        libxrandr.so.2
ELF     00007f1f0b917000-00007f1f0b924000       Deferred        libxrender.so.1
ELF     00007f1f0b924000-00007f1f0b92b000       Deferred        libxxf86vm.so.1
ELF     00007f1f0b92b000-00007f1f0b930000       Deferred        libxinerama.so.1
ELF     00007f1f0b930000-00007f1f0b938000       Deferred        libxdmcp.so.6
ELF     00007f1f0b938000-00007f1f0ba7b000       Deferred        libx11.so.6
ELF     00007f1f0ba7b000-00007f1f0bb00000       Deferred        winex11.so
ELF     00007f1f0bf91000-00007f1f0bfbc000       Deferred        libxcb.so.1
ELF     00007f1f0bfbc000-00007f1f0bfd1000       Deferred        libxext.so.6
ELF     00007f1f0bff8000-00007f1f0bffd000       Deferred        libxau.so.6
ELF     00007f1f0bffd000-00007f1f0c002000       Deferred        dnsapi.so
ELF     00007f1f0c002000-00007f1f0c00d000       Deferred        bcrypt.so
ELF     00007f1f0c039000-00007f1f0c064000       Deferred        libexpat.so.1
ELF     00007f1f0c064000-00007f1f0c0b3000       Deferred        libfontconfig.so.1
ELF     00007f1f0c0b3000-00007f1f0c14e000       Deferred        libpcre2-8.so.0
ELF     00007f1f0c14e000-00007f1f0c29a000       Deferred        libglib-2.0.so.0
ELF     00007f1f0c29a000-00007f1f0c3a8000       Deferred        libharfbuzz.so.0
ELF     00007f1f0c3a8000-00007f1f0c476000       Deferred        libfreetype.so.6
ELF     00007f1f0c476000-00007f1f0c563000       Deferred        libm.so.6
ELF     00007f1f0c563000-00007f1f0c700000       Deferred        win32u.so
ELF     00007f1f0d164000-00007f1f0d187000       Deferred        libbrotlicommon.so.1
ELF     00007f1f0d187000-00007f1f0d1aa000       Deferred        libgraphite2.so.3
ELF     00007f1f0d1aa000-00007f1f0d1b9000       Deferred        libbrotlidec.so.1
ELF     00007f1f0d1b9000-00007f1f0d1f3000       Deferred        libpng16.so.16
ELF     00007f1f0d1f3000-00007f1f0d206000       Deferred        libbz2.so.1.0
ELF     00007f1f0d206000-00007f1f0d220000       Deferred        libz.so.1
ELF     00007f1f0d320000-00007f1f0d353000       Deferred        liblzma.so.5
ELF     00007f1f0d353000-00007f1f0d36d000       Deferred        libunwind.so.8
ELF     00007f1f0d36d000-00007f1f0d426000       Dwarf-4         ntdll.so
ELF     00007f1f0d429000-00007f1f0d60b000       Deferred        libc.so.6
ELF     00007f1f0d62d000-00007f1f0d662000       Deferred        ld-linux-x86-64.so.2
ELF     00007f1f0d662000-00007f1f0d667000       Deferred        <wine-loader>
ELF     00007fffbc594000-00007fffbc595000       Deferred        [vdso].so
PE      00007ffffe300000-00007fffff1d2000       Deferred        serif.affinity
PE      00007fffff1e0000-00007fffff4f7000       Deferred        libacs
PE      00007fffff500000-00007fffff548000       Deferred        libipc
PE      00007fffff550000-00007fffffb20000       Deferred        libkernel
PE      00007fffffb20000-00007fffffc00000       Deferred        libnetwork
PE      00007fffffc00000-00007fffffc43000       Deferred        libp2p
PE      00007fffffc50000-00007fffffc9e000       Deferred        dnsapi
PE      00007fffffca0000-00007fffffcbb000       Deferred        libbmp
PE      00007fffffcc0000-00007fffffcce000       Deferred        libdxcore
PE      00007fffffcd0000-00007fffffcfa000       Deferred        libjbig2dec
Threads:
process  tid      prio    name (all IDs are in hex)
00000038 services.exe
        0000003c    0
        00000040    0     wine_rpcrt4_server
        0000004c    0     wine_rpcrt4_io
        00000064    0     wine_rpcrt4_io
        00000084    0     wine_rpcrt4_io
        000000ac    0     wine_rpcrt4_io
        000000c4    0     wine_threadpool_timerqueue
        000000c8    0
        000000f8    0     wine_rpcrt4_io
        000000fc    0     wine_threadpool_worker
00000044 svchost.exe
        00000048    0
        00000054    0
        00000058    0     wine_sechost_service
0000005c winedevice.exe
        00000060    0
        00000068    0
        0000006c    0     wine_sechost_service
        00000070    0
        00000074    0
        00000078    0
        000000bc    0
        000000c0    0
0000007c winedevice.exe
        00000080    0
        00000088    0
        0000008c    0     wine_sechost_service
        00000090    0
        00000094    0
        00000098    0
        000000a4    0
        000000a8    0
0000009c plugplay.exe
        000000a0    0
        000000b0    0
        000000b4    0     wine_sechost_service
        000000b8    0     wine_rpcrt4_server
000000f0 rpcss.exe
        000000f4    0
        00000100    0
        00000104    0     wine_sechost_service
        00000108    0     wine_rpcrt4_server
        0000010c    0     wine_rpcrt4_server
        00000140    0     wine_rpcrt4_io
00000118 (D) C:\Program Files\Affinity\Photo 2\Photo.exe
        0000011c    0 <==
        00000128    0
        0000012c    2
        0000014c    0
00000120 conhost.exe
        00000124    0
00000130 explorer.exe
        00000134    0
        00000138    0
        0000013c    0     wine_rpcrt4_server
System information:
    Wine build: wine-7.9-8960-gc12ed146994
    Platform: x86_64 (guest: i386)
    Version: Windows 10
    Host system: Linux
    Host version: 6.6.2-arch1-1
011c:fixme:seh:RaiseFailFastException (000000000041D990, 000000000041DA30, 0) stub
 

Edited by desguacemarquesado
Link to comment
Share on other sites

@desguacemarquesado

did you have any warning during the configuration part before building it(with make) ?

try the entire building part again and make sure you don't have any warning/errors

then in a new wineprefix, install dotnet40 and dotnet48, make sure they completed without GUI errors

and then check the location of your winmetadata files

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

  • 2 weeks later...
  • 4 weeks later...

Hi all,

I just tried running Affinity Designer 2 via the ElementalWarrier-8.14 wine branch again after a few months without using it. I updated the app to version 2.3.0 and I'm using Fedora 39 with all packages up to date. I'm using a Framework 13 laptop, 12th gen Intel CPU.

I got frustrated with the flickering when using the OpenGL renderer so gave the Vulkan renderer another try.

I'm really happy to say that not only does the Vulkan renderer remove the flickering, it also supports child windows now somehow! It successfully displays dialogs when renaming artboards and adding an adjustment layer, where previously they didn't appear. It's also not crashed at all in the last hour. With openGL, it crashed every 10 minutes or so. It's a much more usable experience than it was last time I tried.

If you haven't tried the Vulkan renderer in a while, I suggest giving it a try. I don't know what caused things to improve, but the Vulkan renderer is now a much better option on my machine than OpenGL.

Link to comment
Share on other sites

Hi! I'm trying to follow the guide and I'm already stuck at compiling Wine. (I had a look at https://wiki.winehq.org/Building_Wine#Satisfying_Build_Dependencies but couldn't find a solution at first glance.) The command (I created a folder "WineMod" instead of using Documents)

/home/myuser/WineMod/ElementalWarrior-wine/configure --prefix=/home/myuser/WineMod/ElementalWarrior-wine/wine-install --enable-win64

fails with the error

...
checking for ft2build.h... no
configure: error: FreeType 64-bit development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.

I'm on Ubuntu 22.04.3 LTS x86_64, I enabled i386 with "sudo dpkg --add-architecture i386", and it seems like the packages should be there:

➜  wine64-build git:(master) ✗ sudo apt list --installed | grep 'libfreetype'

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libfreetype-dev/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 amd64 [installed]
libfreetype-dev/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 i386 [installed]
libfreetype6-dev/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 amd64 [installed]
libfreetype6-dev/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 i386 [installed]
libfreetype6/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 amd64 [installed]
libfreetype6/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 i386 [installed]

What am I missing?

Update: Ok, I found out that ft2build.h could be the issue. However, I checked that it is there:

➜  wine64-build git:(master) ✗ ls /usr/include/freetype2/ 
freetype  ft2build.h

Do I need to tell the configure script to look at that location? How? Or am I on the wrong path here?

Edited by Frank Incense
Added more details
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.