Jump to content
Meteo

An attempt to run Affinity Designer on Linux via Wine

Recommended Posts

GIMP is not even close to being a excelent product. It lacks acceptance because due to it's pretty bad usability it's no fun to use it.

I think one reason might be that there are many volunteer devs to code the tool but less or no UX eperts to get it right.

I hope one day a rich man will make a generous donation to help the project coming closer to something like Affinity.

I believe open source is important and I'm thsnkful these projects exist but sadly GIMP, Inkscape and Scribus fall really short compared to their commetcial competitors and that's mostly because they are hard to use and tooling is cumbersome.


Windows 10 Pro x64 (1903). Intel Core i7-9700K @ 3.60GHz, 32 GB memory, NVidia GTX 780
Affinity Photo 1.7.1.404, Affinity Designer 1.7.1.404, Affinity Publisher 1.7.1.404

Share this post


Link to post
Share on other sites
11 hours ago, BestestGrandad said:

I duly stand corrected.

Strange that they don't mention 64bit when they specifically mention 32 but there you go.

Looks like tomorrow will be spent building another machine and see how far I can get :)
If I get it to work I'll let you know.

Good luck :)


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo, Publisher Beta 1.7.0.140, Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials Instagram & Flickr - Affinity Live 19th June 2019

Share this post


Link to post
Share on other sites
On 1/24/2019 at 7:29 AM, ivan lavosky said:

How did you do that? 

I've just installed Wine 4 and didn't even manage to install it at the first place

image.png.c76251fcc116c11de5f62f82fc0b3536.png

I installed Affinity Designer using my windows tablet and then I put the contents of C:\Program Files\Affinity into a self-extracting archive via 7-zip then moved that executable to my Linux machine

Share this post


Link to post
Share on other sites
14 minutes ago, ꜱᴩʀɪᴛᴇ➀ said:

I installed Affinity Designer using my windows tablet and then I put the contents of C:\Program Files\Affinity into a self-extracting archive via 7-zip then moved that executable to my Linux machine

I would not expect that to work. I think that you would need to copy the installer to someplace where it can be accessed from Wine, and run the installer under Wine. If you simply take the Affinity directory over after install you lose anything that is saved in the Windows Registry, as well as anything user-specific that is saved in your Appdata\Local\Roaming\Affinity directory.

The Affinity applications, like most Windows applications, are not designed as portable applications and have files and settings located in a number of scattered places on your system.


-- Walt

Windows 10 Home, version 1903 (18362.239), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.2.471 and 1.7.2.464 Beta   / Affinity Designer 1.7.2.471 and 1.7.2.4464 Beta  / Affinity Publisher 1.7.2.471 and 1.7.2.458 Beta

Share this post


Link to post
Share on other sites
48 minutes ago, walt.farrell said:

I think that you would need to copy the installer to someplace where it can be accessed from Wine, and run the installer under Wine.

As stated by the person I quoted, the installer outright refuses to even run on WINE to begin with so this is the next best option I can think of. I could also potentially use virtualization containers such as Cameyo or VMWare ThinApps to make absolutely sure that all the install files are in there, but I'm a bit positive that that's all it installs. It seems to be erroring out on doing some Direct X calls when I look at the debug log so it might be something related to WINE's configuration itself

Share this post


Link to post
Share on other sites
1 hour ago, ꜱᴩʀɪᴛᴇ➀ said:

As stated by the person I quoted, the installer outright refuses to even run on WINE to begin with so this is the next best option I can think of. I could also potentially use virtualization containers such as Cameyo or VMWare ThinApps to make absolutely sure that all the install files are in there, but I'm a bit positive that that's all it installs. It seems to be erroring out on doing some Direct X calls when I look at the debug log so it might be something related to WINE's configuration itself

not sure but you could try an app like https://portableapps.com/ to make it "portable"

Share this post


Link to post
Share on other sites

Installation works flawlessly even from exe binary file (need to override concrt140 after installation), but I think there are some D3D10 functions missing.
DXVK works with gdi (no artifacts), but there is no function for some effects library.

unimplemented function d3d10.dll.D3D10StateBlockMaskEnableAll

See: https://github.com/doitsujin/dxvk/issues/657#issuecomment-423802952
However, I found this: https://source.winehq.org/WineAPI/d3d10.html

After overriding d3d10 it just crashes on
 

wine err: Failed to create surface


Without dxvk
 

0042:err:d3d:context_restore_gl_context Failed to restore GL context 0x63000 on device context 0x1c00080, last error 0x6.

 I think the only solution without any help from Serif, would be implementing those missing functions in dxvk.

I'm not a c/c++ dev, but I'd like to play with it. Unfortunatelly, out of time atm. Maybe Serif could help? 

Share this post


Link to post
Share on other sites
On 1/27/2019 at 2:51 AM, foxie said:

Installation works flawlessly even from exe binary file (need to override concrt140 after installation)

How did you get around the Exception: ResourceSection bug when launching the installer in WINE?

Share this post


Link to post
Share on other sites
4 hours ago, ꜱᴩʀɪᴛᴇ➀ said:

How did you get around the Exception: ResourceSection bug when launching the installer in WINE?

Didn't encounter it.

But I have staging wine (latest). Arch Linux user. 

multilib/wine-staging 4.0-2

 

Share this post


Link to post
Share on other sites
On 2/13/2019 at 2:32 PM, mvlad said:

Anyone tried with wine 4.1?

The problem is not in wine actually, but https://github.com/doitsujin/dxvk/issues/785

  1. Someone tries to port the api
  2. Serif switch from that effects api
  3. They show us some love and make frankenstein build that uses some of the macos stuff (opengl I guess instead of d3d10) that we could run in wine or directly bundled with wine in flatpak.
  4. They provide community source to make it work (something like WPS office)
  5. They make pure native port

It's not much we can do.

Share this post


Link to post
Share on other sites

I might try installing Affinity Photo & Designer on Ubuntu with Proton, when I'll have time and resources for it.

On 1/24/2019 at 1:49 AM, Steps said:

GIMP is not even close to being a excelent product. It lacks acceptance because due to it's pretty bad usability it's no fun to use it.

I think one reason might be that there are many volunteer devs to code the tool but less or no UX eperts to get it right.

I hope one day a rich man will make a generous donation to help the project coming closer to something like Affinity.

I believe open source is important and I'm thsnkful these projects exist but sadly GIMP, Inkscape and Scribus fall really short compared to their commetcial competitors and that's mostly because they are hard to use and tooling is cumbersome.

I totally agree with you. GIMP is a very powerful program, in some areas it has even more functionally than Affinity or even Photoshop, but the interface and the whole program is made in a way, that it's really unpractical to use. Krita has implemented UX somewhat better, than GIMP, and I would say that's the best free graphics software.

Actually, the same applies to almost all open source productivity software. There isn't a single good solution for music producing - LMMS is as bad as it can get, it always crashes, and after composing a really short loop, it started to completely lag - and no, it's not my computer, I have an i7 & 16 GB RAM. Also, video editing, the best thing I got was Kdenlive, which was at least usable, even though it doesn't have support for OpenFX plugins. It still wasn't as comfortable to use as Vegas Pro, but wasn't as bad as GIMP. The other free & open source video editing (OpenShot is one of which I remember) programs had not enough features even for my basic needs. I'm glad I was able to pick up Vegas Pro on Humble Bundle for $25 a while back.

I don't mind paying for software, if it's worth it. That's why I've decided to purchase Affinity Photo & Designer as well, and I haven't regret my decision.

 

Share this post


Link to post
Share on other sites

Is usability and UI still a huge issue now for GIMP and Inkscape? I use Linux and this how GIMP looks now. I switched a couple months ago. Inkscape also look like this, pretty much.Screenshot-20190519083222-2559x1439.thumb.png.d28f1bad327a2d3e1aa93d28c11645fe.png

Share this post


Link to post
Share on other sites
Just now, Fatih19 said:

Is usability and UI still a huge issue now for GIMP and Inkscape? I use Linux and this how GIMP looks now. I switched a couple months ago. Inkscape also look like this, pretty much.Screenshot-20190519083222-2559x1439.thumb.png.d28f1bad327a2d3e1aa93d28c11645fe.png

Tbh in terms of ui, while that is better than before, I'd still use gravit over that kind of ui. Of course gravit is a valid vector app choice for Linux right now (and one of the strongest imo) but affinity is beyond that.


Mădălin Vlad
Graphic Designer

Share this post


Link to post
Share on other sites
On 4/14/2019 at 6:05 PM, foxie said:

The problem is not in wine actually, but https://github.com/doitsujin/dxvk/issues/785

Quote

Affinity Designer rely heavily on D3D10 Effects which are not currently implemented [in DXVK]

 

Perhaps this is relevant?

Quote

DXVK is now expanding to support Direct3D 10 over Vulkan in Wine. [T]he Effects API is not currently supported. To use it, you will need the `d3dcompiler_43.dll`, which can be grabbed by using `winetricks`.

Source: gamingonlinux.com

Quote

Winetricks installs version 43 only, so you need to find other versions of d3dcompiler somewhere, place them to system32 (64-bit versions) and syswow64 (32-bit versions) and override them in winecfg.

Source: github.com/doitsujin/dxvk

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×