Jump to content
toluschr

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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Very good that there are progress with Wine! Will be possible to pack Affinity apps into something like winepak or snap package for easy install?

Edited by Murz

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
On 2/4/2020 at 12:13 PM, 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 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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
2 hours ago, wscrcom said:

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.

Yes I am aware of the experimental nature of trying to run the affinity suite on linux.

The entire process confused me. I have heard of wine, but I have no idea how to use it and how do the stuff that was mentioned in that link that leads to the wine forums.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Posted (edited)

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

Share this post


Link to post
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).

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hey Guys - Thanks for super human effort from Trisquel and ubuntu 16.04LTS user of PhotoPlus and PagePlus.

 

Just noticed this 23 hours old

AffPhotoLutris.png

Share this post


Link to post
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 ).

Share this post


Link to post
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?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Posted (edited)

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

Share this post


Link to post
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

Share this post


Link to post
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

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.