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

Add AMD CPUs support by omitting 32-bit dependencies #22

Closed
PSzczepanski1996 opened this issue Feb 15, 2022 · 4 comments
Closed

Add AMD CPUs support by omitting 32-bit dependencies #22

PSzczepanski1996 opened this issue Feb 15, 2022 · 4 comments

Comments

@PSzczepanski1996
Copy link

PSzczepanski1996 commented Feb 15, 2022

Hello,
So, basically CrossOver 20/21 has problems with running 32-bit code on AMD cpus:
AMD-OSX/bugtracker#6
Not really discussing issue here, because nobody knows really why it happens (some people tells that it's 32 bit code exec fault, some tells you that it's caused by PAT patch stuff etc.), the issue also happens on XIV-on-Mac mod.

What we can do about it?
There are two things to consider - waiting for CrossOver 22, and checking if it resolves AMD CPU support (since it uses odd ldt calls logic as solution to 32-bit code removal since Catalina), or, resolving the mod to not use 32-bit code at all. And I think the second option is far far better, because we really don't know if CrossOver 22 will resolve the issue, but I heard from CodeWeavers member that they want to change the solution (maybe to VT-d based)?

Also, if there is anybody with AMD Hackintosh - testers are wanted. I know there are various CPUs, that can be affected and not really sure if it happens outside Ryzen series and if there is no necessity to write another solution. Also I'm quite interested in the performance on various builds, but this is other problem.

Worth mentioning that threadrippers don't have 32-bit code bug!

@seathasky
Copy link
Collaborator

seathasky commented Feb 15, 2022

Just like @marzent said in discord, use this pre-release: https://github.com/marzent/XIV-on-Mac/releases/tag/v2.99

Stick a full game inside the XIV on Mac prefix: ~/Library/Application Support/XIV on Mac

@PSzczepanski1996
Copy link
Author

Tried it and this errors appears:
image

@PSzczepanski1996
Copy link
Author

PSzczepanski1996 commented Feb 16, 2022

Tried it and this errors appears: image

So, by now, you can fix the issue by just installing DXVK. On AMD Hacks the internal installer is probably broken, so you must manually copy dxvk dir content into the game system32 wine bottle dir, and run wine configuration (winecfg) to switch DirectX11 and DXGI libraries to built-in.

Still, I prefer OOB solution, so the issue STILL can't be closed.

@marzent
Copy link
Owner

marzent commented Mar 16, 2022

64 bit only systems work OOB as of 3.0, the dxvk install failing is a different issue that should probably be tracked separately and not inherent to 64 bit support

@marzent marzent closed this as completed Mar 16, 2022
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

3 participants