jhob101 Posted November 15, 2024 Posted November 15, 2024 21 minutes ago, Daegalus said: I think those are pkgbuild related files for Arch. If I understood everything and configured it right, the Arch package should be installable with pacman on Arch I tried arch first but rum didn't like it, just tried fedora and seems to have built. Will try the later steps and report back how I get on. I'm running zorin 17.2 - ubuntu 22.04. Quote
markusdd Posted November 15, 2024 Posted November 15, 2024 26 minutes ago, Daegalus said: If you guys turn the changes into a patch file, it can easily be dropped in and a build made. We can make a fork for on1 of my repo to keep it clean or we can add it to the affinity one. Either way, once there are patch files, the rest is easy. One required patch is this one to wine-tkg itself: https://gitlab.winehq.org/wine/wine/-/commit/48ba724640dcf4364f78058b2882866a297acc40 A second one I don't have handy right now but that changes the return value of a DPI scaling function. When they eventually rebase to the newer upstream wine this first patch will be in it but right now it needs to be taken in. Whats a bit more tricky and might cause a conflict is that normal vkd3d is not enough to run on1, as it does not implement all DX12 calls to support DirectML. So you need to run vkd3d-proton in the wine prefix. So it might be possible to have the same wine-tkg but maxybe not the same wine-prefix. (although I think Affinity tools would not be hurt by using vkd3d-proton instead of normal vkd3d) As said we still have 2 issues remaining that need figuring out. Did you publish the patchset from the elemental warrior wine somewhere? Maybe I could play around with my build locally to see how it behaves, I own licenses for On1 and Affinity so it would be easy to check. Quote
Daegalus Posted November 15, 2024 Posted November 15, 2024 29 minutes ago, markusdd said: One required patch is this one to wine-tkg itself: https://gitlab.winehq.org/wine/wine/-/commit/48ba724640dcf4364f78058b2882866a297acc40 A second one I don't have handy right now but that changes the return value of a DPI scaling function. When they eventually rebase to the newer upstream wine this first patch will be in it but right now it needs to be taken in. Whats a bit more tricky and might cause a conflict is that normal vkd3d is not enough to run on1, as it does not implement all DX12 calls to support DirectML. So you need to run vkd3d-proton in the wine prefix. So it might be possible to have the same wine-tkg but maxybe not the same wine-prefix. (although I think Affinity tools would not be hurt by using vkd3d-proton instead of normal vkd3d) As said we still have 2 issues remaining that need figuring out. Did you publish the patchset from the elemental warrior wine somewhere? Maybe I could play around with my build locally to see how it behaves, I own licenses for On1 and Affinity so it would be easy to check. Patches from PRs is easy because you can easily download a PR Patch file. The different vkd3d is also not an issue for affinity, but that's separate from Wine. I don't think wine-tkg embeds it. I don't have a patchset for Elemental's stuff because his is just a branch with a bunch of commits ontop of 9.13, but also mixed in with reverts and other stuff. I tried tracking down all the patches he used based on commit messages and find their PRs but not all of them worked right and it was getting messy. I only have _avg_'s patches added. You can find the patches in the custom patches directory in the repo. I have a few others and I enabled childwindow in wine-tkg. If there are missing changes for Affinity that are critical, I'll find patches for them, or make some out of Elemental's commits when I have time. Might just be best to make a separate repo for wine-tkg-on1 and add in what is needed for on1 and do the build. Quote
Ignore Posted November 16, 2024 Posted November 16, 2024 5 hours ago, bmael said: Hi ! I am writing this message because I have not yet managed to create a working desktop shortcut even following the guide. This line in the terminal works well : rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Publisher 2/Publisher.exe" But the .desktop don't. I'm sorry for my poor capacity. Thanks for your help. Can you try if changing '$HOME' to your actual path works? Quote
ShadowDrakken Posted November 18, 2024 Posted November 18, 2024 Is there any chance of moving these changes (or a more universal implementation of them) upstream to WINE and Proton so that it isn't such a beast to get Affinity V2 working? I followed multiple different guides, including this thread, and none of them are working on Zorin 17.2 (Ubuntu 22.04) I can't get V1 or V2 running correctly (V1 can't write files) on WINE, Rum, or Bottles. And even running V2 in a Win10 VM it just crashes because there's no real video card (tried both VMWare Workstation Pro and Virtual Box). We need a more universal solution, and while I wish that Serif would hear us I doubt Linux is even a blip on their radar. The tedium of making these things work is not something a non-technical user is EVER going to want to deal with. Hell even as a power user I don't want to deal with it. Sorn, Zode, SevenStart and 1 other 4 Quote
maxler Posted November 22, 2024 Posted November 22, 2024 Might aswell ask. i've followed the guide step by step and encounter an issue with the "../configure --prefix="$HOME/Documents/ElementalWarrior-wine/wine-install" --enable-archs=i386,x86_64" command. first it told me about missing packages, so i installed them. then i got the following error: "configure: error: i386 PE cross-compiler not found. This is an error since --enable-archs=i386 was requested." then, i manually removed all the dependencies that Bazzite (the distro i use) told me came pre packaged from the dependencies command, THEN it looped me around and told me other packages like bison were "already requested", so i removed those. i installed the remaining dependencies and executed the configure command. same error, and i have no idea what went awry. could anyone enlighten me on the issue? Quote
Daegalus Posted November 22, 2024 Posted November 22, 2024 36 minutes ago, maxler said: Might aswell ask. i've followed the guide step by step and encounter an issue with the "../configure --prefix="$HOME/Documents/ElementalWarrior-wine/wine-install" --enable-archs=i386,x86_64" command. first it told me about missing packages, so i installed them. then i got the following error: "configure: error: i386 PE cross-compiler not found. This is an error since --enable-archs=i386 was requested." then, i manually removed all the dependencies that Bazzite (the distro i use) told me came pre packaged from the dependencies command, THEN it looped me around and told me other packages like bison were "already requested", so i removed those. i installed the remaining dependencies and executed the configure command. same error, and i have no idea what went awry. could anyone enlighten me on the issue? So doing something like that can break your Bazzite installation. Immutable Distros have a different approach to compiling that makes it so you don't break your system or mess with ostree layers. That solution is Distro box. Create an Arch or Fedora distrobox, and do the build in there. The resulting binary can then be moved to the right place on your Bazzite host system once done. Quote
maxler Posted November 22, 2024 Posted November 22, 2024 16 minutes ago, Daegalus said: So doing something like that can break your Bazzite installation. Immutable Distros have a different approach to compiling that makes it so you don't break your system or mess with ostree layers. That solution is Distro box. Create an Arch or Fedora distrobox, and do the build in there. The resulting binary can then be moved to the right place on your Bazzite host system once done. now that you say that, i did do an arch install and a guy on a discord server guided me through the install. when it was finished, however, we ran into an issue were if i used gl to render, a second window that was on top of everything and didnt accept inputs would appear. on vulkan, the affinity window would become a black void. these happened when opening/creating files. got a clue on that? because even the guy that helped me had no idea Quote
Daegalus Posted November 22, 2024 Posted November 22, 2024 1 hour ago, maxler said: now that you say that, i did do an arch install and a guy on a discord server guided me through the install. when it was finished, however, we ran into an issue were if i used gl to render, a second window that was on top of everything and didnt accept inputs would appear. on vulkan, the affinity window would become a black void. these happened when opening/creating files. got a clue on that? because even the guy that helped me had no idea Did you make sure to only build within the distrobox? Once its built, you leave the arch distrobox, and go back to the host bazzite. Then do the rum steps from bazzite using the stuff you built under arch. Quote
maxler Posted November 22, 2024 Posted November 22, 2024 2 hours ago, Daegalus said: Did you make sure to only build within the distrobox? Once its built, you leave the arch distrobox, and go back to the host bazzite. Then do the rum steps from bazzite using the stuff you built under arch. i believe so, yes. the telltale sign for working within the box is that the command line text pre writing changes colour and content. example with a recent box i made: but screw it, might aswell make a new box and try again. do i follow the same guide for a box? or do i have to follow something specific? Quote
affikaimasu Posted December 12, 2024 Posted December 12, 2024 Hi, I followed the guide but I'm not using rum, I just use a bash script to start Affinity. It exports the WINEPREFIX env var and ./AffinityWine/bin/wine /path/to/executable I've ran into a problem where if I open an .svg, clicking on the svg will cause Affinity Designer to freeze. If I open, then copy, the .svg into an already open document, it will freeze as well. It's worth noting that when running any Affinity program for the first time, it will crash before displaying the activation window. Then it will skip the activation window altogether when ran subsequently. Currently using Arch Linux. I've already tried winapps and rdp'ing into a VM manually, but the software runs very sluggishly this way. Have there been no further developments on getting Affinity running properly on Linux? Also wouldn't it be better for ElementalWarrior's fixes to be merged to upstream? Quote
Pacific Posted December 12, 2024 Posted December 12, 2024 (edited) vcrun2022 solves exporting and saving crashes. @Wanesty Edited December 12, 2024 by Pacific Quote
affikaimasu Posted December 13, 2024 Posted December 13, 2024 (edited) Now it happens that when I open a file, any file, and then click on any object, Affinity Designer would just freeze. I'm at my wits' end, please somebody help. I have also installed vcrun2015 and (never mind, 2015 conflicts with 2022) vcrun2022 if that helps. corefonts and dotnet48 are installed as well. Edited December 13, 2024 by affikaimasu Quote
Ignore Posted December 13, 2024 Posted December 13, 2024 This might be a dumb question: On startup affinity is notifying me that a new version is available (2.5.7) and when i click download it redirects me to the download page, where i can grab the newest .exe file. But how do i install it? Do i just have to call rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine ~/Downloads/affinity-publisher-msi-2.5.7.exe again, even if v2.5.3 is already installed? I am hesitant because i don't want to break my installation since it is working more or less right now. I am new to linux and am just getting started in understanding how wine/rum is working. On that note @Pacific: How do i install vcrun2022 in my wine instance? Do i have to check if an older version of vcrun is installed? If yes, do i need to remove it first? Do i need to download it first and place it in a specific location? I suspect calling rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity winetricks --unattended vcrun2022 or something similar to this is needed to install it, but as i said before, i'm quite hesitant to just try it out out of fear of breaking something 🙃 Thanks for the help everyone! Quote
Pacific Posted December 13, 2024 Posted December 13, 2024 4 minutes ago, Ignore said: This might be a dumb question: On startup affinity is notifying me that a new version is available (2.5.7) and when i click download it redirects me to the download page, where i can grab the newest .exe file. But how do i install it? Do i just have to call rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine ~/Downloads/affinity-publisher-msi-2.5.7.exe again, even if v2.5.3 is already installed? I am hesitant because i don't want to break my installation since it is working more or less right now. I am new to linux and am just getting started in understanding how wine/rum is working. On that note @Pacific: How do i install vcrun2022 in my wine instance? Do i have to check if an older version of vcrun is installed? If yes, do i need to remove it first? Do i need to download it first and place it in a specific location? I suspect calling rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity winetricks --unattended vcrun2022 or something similar to this is needed to install it, but as i said before, i'm quite hesitant to just try it out out of fear of breaking something 🙃 Thanks for the help everyone! if you just followed the gude you just do, rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity winetricks --unattended vcrun2022 and you can update by, rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine [Path to the installer].exe Ignore 1 Quote
Daegalus Posted December 13, 2024 Posted December 13, 2024 Also, if you copy your `.wineAfinity` to say `.wineAffinity2`, you can experiment with the upgrade and vcrun2022 without breaking your primary installation. Just use the new folder when running the commands. Or just use it as the backup folder Incase you need to revert. Ignore 1 Quote
affikaimasu Posted December 14, 2024 Posted December 14, 2024 @Wanesty@ElementalWarriorcan any of you please help me? Quote
Ignore Posted December 14, 2024 Posted December 14, 2024 22 hours ago, Daegalus said: Also, if you copy your `.wineAfinity` to say `.wineAffinity2`, you can experiment with the upgrade and vcrun2022 without breaking your primary installation. Just use the new folder when running the commands. Or just use it as the backup folder Incase you need to revert. Great tip, thanks! 23 hours ago, Pacific said: if you just followed the gude you just do, rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity winetricks --unattended vcrun2022 and you can update by, rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine [Path to the installer].exe Works like a charm, thank you. And i can confirm that using vcrun2022 let's me export to .png without crashing! Quote
affikaimasu Posted December 14, 2024 Posted December 14, 2024 (edited) Am I invisible or something? I give up. Windows just works. Edited December 14, 2024 by affikaimasu f*** you all. Quote
Daegalus Posted December 14, 2024 Posted December 14, 2024 32 minutes ago, affikaimasu said: Am I invisible or something? I give up. Windows just works. No, but you are acting like an entitled asshole and expecting fast support for an issue that isn't easy to solve and behaves differently on every computer. Wanesty and ElementalWarrior are busy people and have their own lives and priorities. Everything they do is in their free time and for the community, but they are not obligated to you. If you haven't noticed, they haven't messaged at all for a while. Also ElementalWarrior has mentioned that his changes aren't easily upstreamable as they might break many other apps. It might be possible, but it would take time to get it just right. Finally, have you considered using Rum, or Bottles, or any other means of setting it up? Each one has different success rates for people. I get great success using Bottles for my affinity, but not Heroic. Others are the opposite. No one can guarantee it working on Linux for you, especially since Serif does nothing to make it easier for us. This is a long shot in the dark to begin with. So maybe cool your jets. Linux is not perfect and I am not sure why you expect everything to work when trying to use Windows software on Linux. Quote
breathless19 Posted December 14, 2024 Posted December 14, 2024 On 12/12/2024 at 7:50 AM, Pacific said: vcrun2022 solves exporting and saving crashes. @Wanesty I can also confirm! Thank you! Also, the updates went perfectly for me. No issues at all. Does anyone know how to remove the "lessons" pop up that "shows on startup"? Unchecking the box doesn't seem to help as it doesn't remember the setting change. 2 hours ago, affikaimasu said: Am I invisible or something? I give up. Windows just works. You should abandon everything you've done and start over with an Arch distrobox container. I know basically nothing about Linux and was able to get it to work with the help of someone else's instructions on making an Arch box earlier in the thread. Go follow those instructions and chances are you will succeed. Quote
rastarr Posted December 15, 2024 Posted December 15, 2024 I have all programs running pretty well except for one issue. It seems that Settings are never saved and persistent on the next restart. Is this due to a missing dependancy? Anyone else have this issue or provide some insight? Using Bottles install from https://github.com/Twig6943/AffinityOnLinux/blob/main/Guides/Bottles/Guide.md Quote
Pacific Posted December 15, 2024 Posted December 15, 2024 7 hours ago, affikaimasu said: Am I invisible or something? I give up. Windows just works. Yeah use windows. You haven't told anything helpful, you just shouting its not working. You haven't told your installation process, which distro I on or anything else and you expect everyone to just reply to you. Clearly state your problem, try following the guide once, reinstall it, properly tell what is happening. If you can't do that don't use Linux. Affinity is not on Linux anyway, shout at the affinity devs to support linux, not the people who try to make it work with wine for free. Wanesty 1 Quote
Pacific Posted December 15, 2024 Posted December 15, 2024 4 hours ago, breathless19 said: I can also confirm! Thank you! Also, the updates went perfectly for me. No issues at all. Does anyone know how to remove the "lessons" pop up that "shows on startup"? Unchecking the box doesn't seem to help as it doesn't remember the setting change. You should abandon everything you've done and start over with an Arch distrobox container. I know basically nothing about Linux and was able to get it to work with the help of someone else's instructions on making an Arch box earlier in the thread. Go follow those instructions and chances are you will succeed. 1 hour ago, rastarr said: I have all programs running pretty well except for one issue. It seems that Settings are never saved and persistent on the next restart. Is this due to a missing dependancy? Anyone else have this issue or provide some insight? Using Bottles install from https://github.com/Twig6943/AffinityOnLinux/blob/main/Guides/Bottles/Guide.md this might be the same issue of settings not saved. Quote
rastarr Posted December 15, 2024 Posted December 15, 2024 30 minutes ago, Pacific said: this might be the same issue of settings not saved. Yes that's right. settings don't get saved, as I asked about. Note, projects and image exports do function correctly with vc2022 installed @Wanesty @ElementalWarrior Quote
Recommended Posts
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.