LinSoftWin / Photoshop-CC2022-Linux

Installer from Photoshop CC 2021 to 2022 on linux with a GUI
BSD 3-Clause "New" or "Revised" License
894 stars 51 forks source link

Error in fedora 39 #126

Open nasawyer7 opened 7 months ago

nasawyer7 commented 7 months ago

PLEASE READ THE REQUIREMENT BEFORE FILLING A BUG. ALSO PLEASE CHECK IF A SIMILLAR ISSUE ISN'T OPEN

Photoshop version eg : CC2022

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: I'm on fedora 39, and in order to get wine 7.22, i had to compile from source. I downloaded wine from the main website, and used ./configure CFLAGS="-I/usr/include/freetype2", since freetype2 wasn't working. Anyways, made it normally after that, and wine --version functions just fine, and it returnes 7.22.

I tried to install 2022 with command line, and I got nathan@fedora:~/Downloads/wine-7.22$ /home/nathan/Music/Adobe-Photoshop/drive_c/launcher.sh %F free(): invalid pointer 0044:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception. 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 wineserver: using server-side synchronization. wine: '/home/nathan/Music//Adobe-Photoshop' is a 32-bit installation, it cannot support 64-bit applications.

Any ideas? Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

System informations

Additional context Add any other context about the problem here.

Is some information are missing it might take longer to find the issue so please complete carefully

MiMillieuh commented 7 months ago

Please just use the latest wine versions and it should be fine. compiling wine is a headache. if you use wine-devel it should be ok.

If you can't install wine for some reasons, you can use one of my builds. they works but they aren't perfect... : https://github.com/MiMillieuh/silverwine (Please note that these builds doesn't work with illustrator yet for dependencies reasons.)

nasawyer7 commented 7 months ago

I previously had the fedora 9.0 wine installed, and kept on running into this issue. Will your wine build fix the windows ten bug?

MiMillieuh commented 7 months ago

It should be fixed in 9.0 builds... did you removed the prefix before reinstalling ?

nasawyer7 commented 7 months ago

yes, just removed ~/.wine and the folder i previously attempted to install too while installing using the default wine 9.0 from fedora, and I still run into that windows error. To install i went into scripts, and ran sh 2022 installer, should 2021 maybe work better?

MiMillieuh commented 7 months ago

Well 2021 is less buggy but if you encounter a win 10 issue I guess it's not really related.

can you share what hardware you're using in details ?

nasawyer7 commented 7 months ago

Yeah, I'm on ryzen 9 6900hs, amd 6700s (gpu), 40 gb ram, fedora 39 kde. Anything else I should add? I never touched wine before this project.

MiMillieuh commented 7 months ago

Not really, I just wanted to be certain that you're on a 64bit system.

Did you installed wine from the winehq repo ?

nasawyer7 commented 7 months ago

no, i just did sudo dnf install wine, and then sudo dnf install wine-devel. When I run wine --version, i get wine-9.0 (Staging)

MiMillieuh commented 7 months ago

Can you install only the devel version and not the staging version as it's known to cause issues with PS https://wiki.winehq.org/Fedora

nasawyer7 commented 7 months ago

Yeah for sure, just installed the devel version from the winehq repo. I still ran into the error, even after i removed ~/.wine before installing. Am i doing something wrong? or leaving around some file I haven't deleted yet from an old wine?

MiMillieuh commented 7 months ago

I don't really know... I can't access your machine 😅

May you can tell me how you're install it ? and how you're installing PS ?

nasawyer7 commented 7 months ago

I just ran git clone to download the files, and then i tried installing everything in the scripts folder. I did not run anything as sudo, just sh scriptname filepath. Both the 2021 and 2022 scripts returned the same issue. Each time I would install to a different folder.

For wine, I just have installed winehq-devel from the wine repository. Wine --version returns wine-9.1.

I think the issue is that it's not using the correct wineprefix. it keeps on defaulting to the wineprefix at .wine (I know this since I can remove it, and it gets repopulated when I run it again.). So, I tried to the export WINEPREFIX=/path/too/install/, but now i get the error: wine client error:0: version mismatch 786/755. Your wine binary was not upgraded correctly, or you have an older one somewhere in your PATH. Or maybe the wrong wineserver is still running?

Searching online it looks like this happenes when you upgrade wine while running, but I'm not doing that.

MiMillieuh commented 7 months ago

Can you try to run it in a clear environment ? like a VM or a distrobox ?

These errors looks like if a wine version has been downgraded and you still try to use your prefix... that's not the case but that's a strange behaviour.

nasawyer7 commented 7 months ago

Alright, just ran it in kvm with a fedora 39 iso. Updated it fully, and then ran it. I installed wine using wine-devel, and when I run wine --version, I got wine-9.1(staging). I will retry with the official wine repository, but i doubt that the outcome will be any different.

Ran into the windows ten error again on system wine.

--annddd just ran into the same issue again on wine repo wine. devel version 9.1

ryzendew commented 6 months ago

it installed fine on fedora 39 i did it yesterday

nasawyer7 commented 6 months ago

it installed fine on fedora 39 i did it yesterday

Which version of wine did you use? I just tried it on the vm and it did not work. Would it matter that I'm in x11? Or that i'm in kde?

rickywid commented 5 months ago

Which version of wine did you use? I just tried it on the vm and it did not work. Would it matter that I'm in x11? Or that i'm in kde?

Not sure if you got it to work, if not, I suggest using this repo instead. I was struggling to get photoshopcc2021 repo to install as well after countless hours wasted but then I tried the other repo and it worked on my first attempt.

Unless you are dead set on using PhotoshopCC2022/2021, you should try the other repo that I linked.