Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in fedora 39 #126

Open
nasawyer7 opened this issue Jan 29, 2024 · 17 comments
Open

Error in fedora 39 #126

nasawyer7 opened this issue Jan 29, 2024 · 17 comments

Comments

@nasawyer7
Copy link

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

@MiMillieuh
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Collaborator

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

@nasawyer7
Copy link
Author

nasawyer7 commented Feb 1, 2024

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
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Collaborator

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

Did you installed wine from the winehq repo ?

@nasawyer7
Copy link
Author

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
Copy link
Collaborator

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
Copy link
Author

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 nasawyer7 changed the title Error in fedora 39. 'Photoshop/path/' is a 32-bit installation, it cannot support 64-bit applications. Error in fedora 39 Feb 1, 2024
@MiMillieuh
Copy link
Collaborator

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
Copy link
Author

nasawyer7 commented Feb 4, 2024

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
Copy link
Collaborator

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
Copy link
Author

nasawyer7 commented Feb 6, 2024

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
Copy link
Contributor

it installed fine on fedora 39 i did it yesterday

@nasawyer7
Copy link
Author

nasawyer7 commented Feb 15, 2024

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
Copy link

rickywid commented Apr 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants