Jump to content

Affinity products for Linux


Guest
 Share

Recommended Posts

2 hours ago, 1stn00b said:

This is useless discussion for hunting witches - the only one to blame for no Linux support is actually Serif not others. In the same note Codeweavers that brag themselves with running Windows apps for just $49 didn't even managed to make the Affinity products install : https://www.codeweavers.com/compatibility/crossover/affinity-photo

When Adobe went for the p̶e̶r̶m̶a̶n̶e̶n̶t̶ ̶e̶x̶t̶o̶r̶t̶i̶o̶n̶ service as a subscription model, that did wonders for the sale of competitor products including all the Affinity products, ON1, Exposure and the rest. I might be wrong but, and as with Wine, I get the distinct impression that the Codeweavers developers have not put the effort that they could do in getting the Affinity products to work reasonably well on Crossover. I think it would be useful if we all made the same requests for the Affinity products over on Codeweavers' own forums here: https://www.codeweavers.com/support/forums/

I hope that at some stage we could get to a point where Serif Europe and Codeweavers staff can actually have some discreet discussions about this matter since everyone concerned would make more sales and money (would the staff who read this be willing to do this?).

In the meantime, we can get the Affinity products to work perfectly on Linux so long as we have 16GB and use a virtual machine:

 

Link to comment
Share on other sites

1 hour ago, Mark Ingram said:

Technically you could say "the one to blame for no Linux support is actually the lack of Linux desktop users, which would make the product commercially unviable"

https://gs.statcounter.com/os-market-share/desktop/worldwide

Windows: 75%

macOS: 15%

Linux: 2.75%

 

This is same thing in reality... people don't move inside small cities or villages cause there are no companies there, just small family market , a bar, and 1-2 agricultural companies, but nowadays even young IT people move there cause these small cities and villages have Internet and enough signal to have a connection.

And at the same time, if companies move away or close, all values there deprecates and people try to sell their houses and try to move to closer villages that have railway for trains , or closer to bigger cities in the region,  in which they can buy a house with what they have (can't afford in bigger cities if renting and others have not a good ROI) , in this example.. is Windows XP and 7, only AVG for example makes updates, and Mozilla Firefox same, other software companies have stopped supporting them (although outdated apps still work there, especially printer ones), and you can see in Steam OS Share monthly (for visual reference) how step by step 7 and 8 lose users and 10 and 11 grows.

But let's get this over with and hope we will get a simple template install for "simple on-click adding information in inputs" users :) for the Wine.

Cheers

Edited by ShadeOn
Link to comment
Share on other sites

1093439660_Screenshotfrom2022-08-0413-37-37.png.4e27e18aadeffd1b821aa2cc6a2c6f3f.png

Hello,

Could some one test save/save_as a project? I get "save failed because access to the file was lost" while 0 kb file is created.

Exports works fine.

I tested Photo-1.10.4 and affinity Photo-1.10.5 - same result; tried different bottles; gave all permissions to Bottles; different save locations.

It is known bug for different Affinity applications and versions, so it might be bad luck on my side. It has something to do with ".NET Framework 3.5 and 4.8" or "controlled folder access".

Thank you.

Link to comment
Share on other sites

27 minutes ago, 1stn00b said:

Check if u have Dedicated Sandbox enabled in Preferences aka sandbox in sandbox ; > - from my experience it disable completely access to your Home folder even if that is accessible to the main Bottles Flatpak Sandbox

bottlesandbox.png.df8c888c2bb700a27fc60979f12a9b3c.png

No, I have it off.

When/if the flickering is solved, I'll reinstall my whole system.

Thank you for your contribution so far.

Link to comment
Share on other sites

2 hours ago, Kastas said:

Could some one test save/save_as a project? I get "save failed because access to the file was lost" while 0 kb file is created.

I can confirm that save as function does not work. Does not depend on file size.

When i create new file, function save/save as does not work.

When open existing file and do some changes, function Save works, but save as - no.

Link to comment
Share on other sites

Running with terminal shows they use MoveFileTransactedW that Microsoft say will be deprecated and advises to not be used :

Quote

[Microsoft strongly recommends developers utilize alternative means to achieve your application’s needs. Many scenarios that TxF was developed for can be achieved through simpler and more readily available techniques. Furthermore, TxF may not be available in future versions of Microsoft Windows. For more information, and alternatives to TxF, please see Alternatives to using Transactional NTFS.]

Quote

04dc:fixme:file:MoveFileTransactedW (L"C:\\users\\noname\\AppData\\Roaming\\Affinity\\Photo\\1.0\\temp\\62ebeb1c", L"Z:\\home\\noname\\test.afphoto", 0000000000000000, 0000000000000000, 11, 0000000000000001)

 

Link to comment
Share on other sites

Today I tried to do exactly what @Snapseedcomments a few pages ago.

I tried to run affinity designer through virtual box.

And the performance is good. I thought I would have crashes and I wouldn't even be able to open the heavy files correctly, but everything worked as expected by the few tests I did.

The only downside to all of this is having to boot into a Windows system and having to install it.

As before becoming a linux user I was always building the PC and testing older builds of windows, I ended up installing an old and customized version. On the plus side, it only took up 9GB after installation. Of course many features, drivers and internal services have been removed!

---

Just in case, I decided to use qemu/KVM because it has a degree of hardware approximation.

quemu/kvm - Using Virt Manager

1849663848_Capturadetelade2022-08-0918-28-44.png.0f4999a6cd538d009a62b2e27c920395.png

Virtual box!

965192576_Capturadetelade2022-08-0918-29-10.png.73080252f39fe6dbb0ae47122f25f0fb.png

And the final performance was pretty much the same.

 I had a little delay at times but that's all.
---

My conclusion, if you really need affinity and want to stop having a dual boot this is the best solution at the moment!

Link to comment
Share on other sites

14 minutes ago, Kajac said:

Today I tried to do exactly what @Snapseedcomments a few pages ago.

I tried to run affinity designer through virtual box.

And the performance is good. I thought I would have crashes and I wouldn't even be able to open the heavy files correctly, but everything worked as expected by the few tests I did.

The only downside to all of this is having to boot into a Windows system and having to install it.

As before becoming a linux user I was always building the PC and testing older builds of windows, I ended up installing an old and customized version. On the plus side, it only took up 9GB after installation. Of course many features, drivers and internal services have been removed!

---

Just in case, I decided to use qemu/KVM because it has a degree of hardware approximation.

quemu/kvm - Using Virt Manager

1849663848_Capturadetelade2022-08-0918-28-44.png.0f4999a6cd538d009a62b2e27c920395.png

Virtual box!

965192576_Capturadetelade2022-08-0918-29-10.png.73080252f39fe6dbb0ae47122f25f0fb.png

And the final performance was pretty much the same.

 I had a little delay at times but that's all.
---

My conclusion, if you really need affinity and want to stop having a dual boot this is the best solution at the moment!

There's a talk of a way to run windows software with KVMs in a headless way but I'm to newb to mess with that. Also, that involves using a second graphics card for hardware passthrough

 

 

Link to comment
Share on other sites

On 8/9/2022 at 10:57 PM, Kajac said:

Today I tried to do exactly what @Snapseedcomments a few pages ago.

I tried to run affinity designer through virtual box.

And the performance is good. I thought I would have crashes and I wouldn't even be able to open the heavy files correctly, but everything worked as expected by the few tests I did.

The only downside to all of this is having to boot into a Windows system and having to install it.

As before becoming a linux user I was always building the PC and testing older builds of windows, I ended up installing an old and customized version. On the plus side, it only took up 9GB after installation. Of course many features, drivers and internal services have been removed!

---

Just in case, I decided to use qemu/KVM because it has a degree of hardware approximation.

quemu/kvm - Using Virt Manager

1849663848_Capturadetelade2022-08-0918-28-44.png.0f4999a6cd538d009a62b2e27c920395.png

Virtual box!

965192576_Capturadetelade2022-08-0918-29-10.png.73080252f39fe6dbb0ae47122f25f0fb.png

And the final performance was pretty much the same.

 I had a little delay at times but that's all.
---

My conclusion, if you really need affinity and want to stop having a dual boot this is the best solution at the moment!

To be entirely fair, it was Affinity forum member Hartmut Doering's original idea to get Affinity Photo running on Linux via the virtual machine route. His innovatory post can be found here:

 

Link to comment
Share on other sites

Unless that virtual machine is set-up with GPU passtrough, it's just a waste of resources compared to running the windows only software thru Bottles/Wine. Also you get lower performances adding a layer of virtualization in between.

Also Wine doesn't emulate anything - it translate Windows API calls to Linux API calls

Link to comment
Share on other sites

7 hours ago, 1stn00b said:

Wine doesn't emulate anything - it translate Windows API calls to Linux API calls

What Linux API calls? Years ago I looked into X trying to convert my Windows software to it, and was only frustrated because there was no official API. There is a zillion of third party systems that are so complicated that trying to figure them out would be a waste of my time, so nowadays I just write libraries of video effects (but no one seems to know they even exist) but without any GUI except for Windows.

Link to comment
Share on other sites

Quote

Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

https://www.winehq.org/

Link to comment
Share on other sites

16 minutes ago, geenat said:

Just to echo 1stn00bthe Bottles route is the future for native GPU support, a lot less heavier too.

Things will be dandy once the flickering issues are sorted, then we can all move on from keeping Windows for only 1 freakin app, lol.

 

God bless your words my friend

Right now the only piece of software work focused missing on Linux is a graphic suit. We do have Inkscape that's in a good shape for vector but if I have to be honest, our raster editing is a mess.

Also, Scribus is not that good of a option for Publisher either.

Link to comment
Share on other sites

On 8/11/2022 at 9:30 AM, 1stn00b said:

Unless that virtual machine is set-up with GPU passtrough, it's just a waste of resources compared to running the windows only software thru Bottles/Wine. Also you get lower performances adding a layer of virtualization in between.

Also Wine doesn't emulate anything - it translate Windows API calls to Linux API calls

Tbh, any form of virtualisation is going to be a relative resource hog which is why other methods are preferable if we can get them working. Also, I like your description of Wine because it is effectively a live translation layer that can work very well.

For me, the ideal situation would be to end up where Affinity Photo ran on Linux as well as PhotoLine that gets a Platinum rating for working so well with Wine.

Link to comment
Share on other sites

https://vfxplatform.com/linux/

so vfx companies mostly use Linux according to a survey done by VES (the visual effects society. ) there’s a pdf with recommendations on Linux builds (commissioned because CentOS is end of life ) 

while I understand that making affinity cross platform in Linux as well would be a massive pain for the developers, it is a shame  because there few options for high end paint work under Linux

Link to comment
Share on other sites

Quote

while I understand that making affinity cross platform in Linux as well would be a massive pain for the developers

🙄 Stop yourself. These are poorly informed assumptions in 2022.

As a developer who has worked with Mono on Linux on multiple occasions, I find it difficult to buy this excuse in 2022 because:

* In Affinity's case, Mono is particularly well supported on Linux, but we even have straight up .NET now. This has been the case for some time now. (Unity 3D, OpenRA, etc.) The Mac version probably already uses the same backend. 🙄

* For distribution, AppImage format works, is used by both Krita and Inkscape highly successfully.

I'm more inclined to believe there just aren't any Linux-inclined developers on staff, or resources are tight enough that its difficult for Affinity executive(s) to justify the Linux build. Once the initial legwork is done, continually pushing out a Linux build would be simple.

 

The very least Affinity can do is what they are doing now, attempting to guide people who are having this work in Bottles on Linux.

Link to comment
Share on other sites

Their public filing history : https://find-and-update.company-information.service.gov.uk/company/02117968/filing-history doesn't show their about to go bankrupt, or struggling so i find it funny they can't afford better developers if the one they have are unfit to develop on other platforms like Android or Linux : > They have exactly 3 products that generate their income so their growth will come from increasing platform diversity, launching new products and off course a payed upgrade to version 2.0.

Link to comment
Share on other sites

  • Moderators
3 hours ago, 1stn00b said:

 so i find it funny they can't afford better developers if the one they have are unfit to develop on other platforms like Android or Linux : > 

Stop these insults, or leave the forums

Patrick Connor
Serif Europe Ltd

"There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self."  W. L. Sheldon

 

Link to comment
Share on other sites

3 hours ago, 1stn00b said:

They have exactly 3 products that generate their income

There are currently eight products, not three, and there will be nine when Affinity Publisher on iPad is released.

Alfred spacer.png
Affinity Designer/Photo/Publisher for Windows 1.10 • Windows 10 Home/Pro
Affinity Photo for iPad 1.10 • Designer for iPad 1.10 • iPadOS 15.6.1 (iPad Air 2)

Link to comment
Share on other sites

19 hours ago, geenat said:

I'm more inclined to believe there just aren't any Linux-inclined developers on staff, or resources are tight enough that its difficult for Affinity executive(s) to justify the Linux build.

Agreed. Affinity has made their position clear on this forum and Twitter, at least, that they are happy with the way things are. Quite frankly, it is their company which they formed to do what they wanted to do. As a business owner of more than 20 years, comments and suggestions are always welcome and occasionally, gratefully, implemented. However, nothing is more irritating than when someone waltzes into your company demanding that they rearrange the universe on their behalf. Whereas I am disappointed that there isn't an Affinity Suite for Linux, since native apps always work best, I respect their choices. And kudos to them for trying to help out people attempting alternate installations!😎

Link to comment
Share on other sites

4 hours ago, 1stn00b said:

i find it funny they can't afford better developers if the one they have are unfit to develop on other platforms like Android or Linux

Come on, mate! You’ve been of great help so far, this kind of comments is completely unnecessary. You’re spitting on the face of the people who’s giving us a hand with all this WINE stuff :(

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...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.