Photoshop-CC2022-Linux icon indicating copy to clipboard operation
Photoshop-CC2022-Linux copied to clipboard

Error in fedora 39

Open nasawyer7 opened this issue 1 year ago • 17 comments

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

  • Distro :Fedora 39
  • GPU : (AMD)
  • WINE version : 7.22

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

nasawyer7 avatar Jan 29 '24 02:01 nasawyer7

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

MiMillieuh avatar Jan 29 '24 09:01 MiMillieuh

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?

nasawyer7 avatar Jan 31 '24 08:01 nasawyer7

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

MiMillieuh avatar Feb 01 '24 09:02 MiMillieuh

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?

nasawyer7 avatar Feb 01 '24 10:02 nasawyer7

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 ?

MiMillieuh avatar Feb 01 '24 10:02 MiMillieuh

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.

nasawyer7 avatar Feb 01 '24 10:02 nasawyer7

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

Did you installed wine from the winehq repo ?

MiMillieuh avatar Feb 01 '24 10:02 MiMillieuh

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)

nasawyer7 avatar Feb 01 '24 10:02 nasawyer7

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

MiMillieuh avatar Feb 01 '24 10:02 MiMillieuh

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?

nasawyer7 avatar Feb 01 '24 11:02 nasawyer7

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 ?

MiMillieuh avatar Feb 04 '24 21:02 MiMillieuh

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.

nasawyer7 avatar Feb 04 '24 22:02 nasawyer7

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.

MiMillieuh avatar Feb 05 '24 18:02 MiMillieuh

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

nasawyer7 avatar Feb 06 '24 02:02 nasawyer7

it installed fine on fedora 39 i did it yesterday

ryzendew avatar Feb 14 '24 21:02 ryzendew

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?

nasawyer7 avatar Feb 15 '24 03:02 nasawyer7

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.

rickywid avatar Apr 03 '24 16:04 rickywid