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

Running Affinity on Linux (Finally works)


Recommended Posts

Affinity Designer (and maybe others) finally work with only a few hiccups now, thanks to @qwertymnb on WineHQ !

If you follow his recommendations (link in the post above), you get a workin Designer with only a few refresh issues (move the canvas i.e: scroll on document, to refresh if needed).

Basically, you have to compile wine-tk-glitch with @qwertymnb's patch and run with settings provided on this page to get this result.

EDIT : I confirm that Affinity Publisher work all the same. If someone can test Photo. Also if you install all the apps on the same Wine prefix, you get working Persona's (i.e : changing layout for Designer / Publisher / Photo while on the same app). Another issue could be finding the right font, because sometimes it's not legible.

 

Capture d’écran du 2020-02-04 19-53-18.png

Link to comment
Share on other sites

4 hours ago, bitsandnumbers said:

Affinity Designer (and maybe others) finally work with only a few hiccups now, thanks to @qwertymnb on WineHQ !

If you follow his recommendations (link in the post above), you get a workin Designer with only a few refresh issues (move the canvas i.e: scroll on document, to refresh if needed).

Basically, you have to compile wine-tk-glitch with @qwertymnb's patch and run with settings provided on this page to get this result.

EDIT : I confirm that Affinity Publisher work all the same. If someone can test Photo. Also if you install all the apps on the same Wine prefix, you get working Persona's (i.e : changing layout for Designer / Publisher / Photo while on the same app). Another issue could be finding the right font, because sometimes it's not legible.

 

Capture d’écran du 2020-02-04 19-53-18.png

Can you check the 1.8.x beta as well?

Mădălin Vlad
Graphic Designer
Link to comment
Share on other sites

10 hours ago, bitsandnumbers said:

EDIT : I confirm that Affinity Publisher work all the same. If someone can test Photo. Also if you install all the apps on the same Wine prefix, you get working Persona's (i.e : changing layout for Designer / Publisher / Photo while on the same app). Another issue could be finding the right font, because sometimes it's not legible.

 

Awesome! I can also confirm it works after following the steps in wine forums. What I not able to work with is vk3d 1.5.1, still using 1.4.6, adding d3d9(native) still renders in blackscreen. There is also seems to be some performance hit which I'm not sure if that's just my wine setup issue.

Link to comment
Share on other sites

Thanks to everyone involved in the efforts here. Its excellent progress and very pleasing to see headway is being made.

 

Has anyone spent much time working in Affinity using this (wine) setup?  How are you going with it?

 

(trying to decide if I should set it up or wait in hope of further developments)

 

Thanks

Link to comment
Share on other sites

On 2/5/2020 at 5:53 AM, m.vlad said:

Can you check the 1.8.x beta as well?

I checked, it works same as 1.7.x.

 

On 2/6/2020 at 1:44 PM, wscrcom said:

Thanks to everyone involved in the efforts here. Its excellent progress and very pleasing to see headway is being made.

 

Has anyone spent much time working in Affinity using this (wine) setup?  How are you going with it?

 

(trying to decide if I should set it up or wait in hope of further developments)

 

Thanks

There is a significant performance lost for me atleast. At current state it works better in Virtual Machine then with wine.

 

Affinity also requires another dll: concrt140. This will fix the multiple artboard crash.

Link to comment
Share on other sites

  • 3 weeks later...
12 hours ago, Josue L said:

Can give a step by step breakdown to achieve this because I looked at the link and I'm very confused about what the process to do this is. I'm a new linux user and have no wine experience

you understand this process is experimental and may not work as you expect?

if you want to continue despite that, and are prepared to go though the instructions to try and get it working on your system, you will need to provide details about your specific problem (the point you got up to that didnt work for you, what you did to try and fix the error yourself, and what you need to know to make it work). from there someone might take an interest and try to assist.

Link to comment
Share on other sites

  • 2 weeks later...

Well, after following all instructions (TKG wine with patch, dxvk 1.4.6) I still can't open or save files.

I can start a new file and draw stuff, apply effects, change colors, etc... but all that is a bit useless if I can't save, open or import anything.

Oddly enough, I can export through Designer.

0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
^C0170:fixme:console:CONSOLE_DefaultHandler Terminating process d2 on event 0

This is what I get when trying to save or open a file.

Link to comment
Share on other sites

19 hours ago, LinuxHG said:

Well, after following all instructions (TKG wine with patch, dxvk 1.4.6) I still can't open or save files.

I can start a new file and draw stuff, apply effects, change colors, etc... but all that is a bit useless if I can't save, open or import anything.

Oddly enough, I can export through Designer.


0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
0142:fixme:seh:call_stack_handlers nested exception
^C0170:fixme:console:CONSOLE_DefaultHandler Terminating process d2 on event 0

This is what I get when trying to save or open a file.

This is probably much more relevant debugging data.

 

01f1:fixme:sxs:SxsLookupClrGuid Ignored flags: 10000
01f1:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4}.
01f1:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {b196b283-bab4-101a-b69c-00aa00341d07}.
01f1:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {af86e2e0-b12d-4c6a-9c5a-d7aa65101e90}.
01f1:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {ecc8691b-c1db-4dc0-855e-65f6c551af49}.
01f1:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90}.
01f1:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {00000003-0000-0000-c000-000000000046}.
01f1:fixme:commdlg:IFileDialog2_fnQueryInterface Unknown interface requested: {00000144-0000-0000-c000-000000000046}.
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {b196b283-bab4-101a-b69c-00aa00341d07} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {af86e2e0-b12d-4c6a-9c5a-d7aa65101e90} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {ecc8691b-c1db-4dc0-855e-65f6c551af49} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {00000003-0000-0000-c000-000000000046} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {00000144-0000-0000-c000-000000000046} (unknown)
01f1:fixme:commdlg:IServiceProvider_fnQueryService Interface {e07010ec-bc17-44c0-97b0-46c7c95b9edc} requested from unknown service {e07010ec-bc17-44c0-97b0-46c7c95b9edc}
01f1:fixme:shell:ViewModeToListStyle ViewMode 0 not implemented
01f1:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x46671700 (2, 1026, a003, 0, 0xafc658)
01f1:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x46671700 (2, 1026, a004, 0, 0xafc658)
01f1:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x46671700 (2, 1025, a003, 1, 0xafc658)
01f1:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x46671700 (2, 1025, a004, 1, 0xafc658)
01f1:fixme:nstc:NSTC2_fnSetControlStyle2 mask & style (0x00000004) contains unsupported style(s): 0x00000004
01f1:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00000000005000BE
0046:fixme:ole:Context_CC_ContextCallback (0000000040677820/0000000040677828)->(000000000141E910, 000000001AA5F788, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000)
0046:fixme:ole:Context_CC_ContextCallback (0000000040677820/0000000040677828)->(000000000141E910, 000000001AA5F688, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000)
01f1:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00000000005200C6
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {b196b283-bab4-101a-b69c-00aa00341d07} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {af86e2e0-b12d-4c6a-9c5a-d7aa65101e90} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {ecc8691b-c1db-4dc0-855e-65f6c551af49} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {00000003-0000-0000-c000-000000000046} (unknown)
01f1:fixme:shell:ShellItem_QueryInterface not implemented for {00000144-0000-0000-c000-000000000046} (unknown)
00e7:fixme:ktmw32:CreateTransaction (0000000000000000 0000000000000000 0x1 0x0 0x0, 0, L"File rename"): stub
00e7:fixme:file:MoveFileTransactedW (L"C:\\users\\nymusicman\\Application Data\\Affinity\\Photo\\1.0\\temp\\5e6bd682", L"C:\\users\\nymusicman\\Desktop\\untitled.afphoto", (nil), (nil), 11, 0x1)
wine: Call from 0x7b00fd5e to unimplemented function vcruntime140_1.dll.__CxxFrameHandler4, aborting
00e7:fixme:seh:call_stack_handlers nested exception
wine: Call from 0x7b00fd5e to unimplemented function vcruntime140_1.dll.__CxxFrameHandler4, aborting
00e7:fixme:seh:call_stack_handlers nested exception
00e7:fixme:seh:call_stack_handlers nested exception

 

Link to comment
Share on other sites

  • 2 weeks later...

Has anybody got this to work yet?

I managed to get it installed with the lutris script and getting to the affinity designer interface, However, as soon as I hover my mouse over the interface it blacks out (archlinux)

You will all so notice bottom left it says 'Compiling shaders...' maybe something to do with DXVK d3d ???

am I flogging a dead horse here?

Please don't make me go back to Windows & Photoshop ;)

DeepinScreenshot_20200326111154.png

DeepinScreenshot_20200326111145.png

Link to comment
Share on other sites

  • 4 weeks later...

It can install all of them. 
GREAT THX.
But I  can't start it: It says , I need a graphic card
that is compatible with direktX10 .
I am using a Geforce 206,
What part I did wrong?


Also tried : winetricks d3dx10

without success

Edited by YiSh99
Link to comment
Share on other sites

I hope that these efforts succeed so that Linux users can buy this software safe in the knowledge that Affinity Photo will work on Linux.

In the meantime, there are a couple of other alternatives that are worth looking at running under Wine, etc. and they are PaintShop Pro and PhotoLine (that last option ought to be more widely known). For simpler image editing, Photoscape 3.7 is already available as an Ubuntu Snap (with Wine obvs).

Link to comment
Share on other sites

  • 2 weeks later...

Hey @toluschr Thank you very much! 

 

For some reason after all your steps, no matter what i do i get to "install .net" inside affinity installer and then it cannot install (as shown in the pictures bellow)

Also when I try to install DXVK i get these errors:

Could not find Wine Gecko. HTML rendering will be disabled.
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/eybtm-rtx/.wine" has been updated.
Could not find Wine Gecko. HTML rendering will be disabled.
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/eybtm-rtx/.wine" has been updated.
/home/eybtm-rtx/dxvk/x64/dxgi.dll: File not found. Skipping.
/home/eybtm-rtx/dxvk/x32/dxgi.dll: File not found. Skipping.
/home/eybtm-rtx/dxvk/x64/d3d9.dll: File not found. Skipping.
/home/eybtm-rtx/dxvk/x32/d3d9.dll: File not found. Skipping.
/home/eybtm-rtx/dxvk/x64/d3d10core.dll: File not found. Skipping.
/home/eybtm-rtx/dxvk/x32/d3d10core.dll: File not found. Skipping.
/home/eybtm-rtx/dxvk/x64/d3d11.dll: File not found. Skipping.
/home/eybtm-rtx/dxvk/x32/d3d11.dll: File not found. Skipping.
 

 

running ubuntu 20.04

core i9 9900k

64ram

rtx 2080ti

 

thank you very much!

Screenshot from 2020-05-03 18-44-26.png

Screenshot from 2020-05-03 18-47-15.png

Link to comment
Share on other sites

while I can get the Affinity to start (with dxvk 1.4.6 - with 1.5x I get some redraw problems where the window contents are black) and some basic tools work I can't save to affinity or psd format. I see this in the logs:

[51:56:20200508,134954.722:ERROR cpu_context_win.cc:144] non-x64 context
[51:56:20200508,134954.866:WARNING pe_image_reader.cc:181] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\xul.dll
[51:56:20200508,134954.868:WARNING pe_image_reader.cc:181] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\lgpllibs.dll
[51:56:20200508,134954.869:WARNING pe_image_reader.cc:181] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\nss3.dll
[51:56:20200508,134954.871:WARNING pe_image_reader.cc:181] CodeView debug entry of unexpected size in C:\windows\system32\gecko\2.47.1\wine_gecko\mozglue.dll
Game is considered exited.

would love to get it working correctly. Even more awesome would be official / semi - official backing by Affinity team. I understand that in the past it was a pain as you'd need to provide a build for each and every linux version / distro, but nowadays it should be much more manageable thx to Flatpak (heck Affinity results would show in Linux app installation centers like GNOME software for basically free :D ).

Link to comment
Share on other sites

I tried the lutris install script and it works so far, that the installer does not complain about missing .NET framework (well, and that it shows a dialog in the first place).

However, it complains what "no supported windows version found". Which I don't understand, because the wine bottle is set to Windows 10. Windows 7 and 8.1 don't work either. I have no idea what the installer is looking for.

Did anyone encounter that problem and/or has an idea how to solve it?

Link to comment
Share on other sites

Try to use winetricks as described you should of course install first wineteicks, let me know if you can get it working, I'm stuck at the installation asking me for .net installation and then failing

./winetricks win81 -q
Link to comment
Share on other sites

Spent hours trying to get Affinity Designer to work.  Tried the three versions of wine 5 stable, dev and staging.  I tried both the Lutris script and installing manually.  It would get to installing .NET 4.xx.xx and it would get stuck in an error loop.  I believe the error was something to do with NTDLL there were also a ton of fixme errors.

Running Mint 19.3, OS linux x64 // Linux 5.3.0-51-generic.

003d:err:ntdll:RtlpWaitForCriticalSection section 0x100a8 "/home/ubuntu/buildbot/runners/wine/wine-src/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 003d, blocked by 01cb, retrying (60 sec)
 

Edited by hazlema
Link to comment
Share on other sites

1 hour ago, hazlema said:

Spent hours trying to get Affinity Designer to work. Tried the three versions of wine 5 stable, dev and staging. I tried both the Lutris script and installing manually. It would get to installing .NET 4.xx.xx and it would get stuck in an error loop. I believe the error was something to do with NTDLL there were also a ton of fixme errors.

Running Mint 19.3, OS linux x64 // Linux 5.3.0-51-generic.

003d:err:ntdll:RtlpWaitForCriticalSection section 0x100a8 "/home/ubuntu/buildbot/runners/wine/wine-src/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 003d, blocked by 01cb, retrying (60 sec)
 

Have you checked this?
 

On 5/6/2020 at 6:15 PM, Mark Ingram said:

There is a log file that's normally written to %APPDATA%\Affinity\Photo\1.0\Log.txt that may contain information about the reasons for the crash.

 

Mădălin Vlad
Graphic Designer
Link to comment
Share on other sites

I FINALLY got .NET to install!!!

Unfortunately I figured out the issue.

On Mint and some Ubuntu versions .NET will only install in a 32 bit environment.  (I'm not sure why)
Affinity Designer will not run in a 32 bit environment.

Quote

 

Here are the steps I used I hope it may be of help to someone
(Note this will not work, it installs a 32 bit environment)

curl -L https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks > winetricks
chmod +x winetricks
sudo cp winetricks /usr/local/bin

curl -L https://lutris.nyc3.cdn.digitaloceanspaces.com/runners/wine/wine-lutris-vkchildwindow-4.12.1-x86_64.tar.xz > wine-lutris-vkchildwindow-4.12.1-x86_64.tar.xz
tar xf wine-lutris-vkchildwindow-4.12.1-x86_64.tar.xz

# Set the path to wine for winetricks to work correctly
export WINE="$PWD/lutris-vkchildwindow-4.12.1-x86_64/bin/wine"

alias wine=$WINE
export WINEARCH=win32 
export WINEPREFIX=~/.wine32

# !!! Don't install mono !!!

wine wineboot -i
winetricks dotnet35sp1

# Can take many minutes just sitting at a prompt, 
# took 5 on my pretty recent computer Rizen 7
# Will launch many .net installs

winetricks dotnet472

# Click restart, will have to do this a few times
# Ignore framework warning, click continue

winetricks win81 -q

# Install your app (or not)

 

 

Link to comment
Share on other sites

I finally got it working,  I used this page to install .NET in a 64 bit environment.

Even though Affinity Designer displays it is unusable, it is not stable and crashes and the display glitches out. 

Guess i'll just need to keep my windows box a bit longer.

How to get 64 bit NET to install under wine:
https://askubuntu.com/questions/783211/cant-install-dotnet45-with-winetricks-on-ubuntu-14-04

Screenshot from 2020-05-10 23-42-25.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.