Repository navigation
Let FEX runners use x86 variants if CrossOver has no arm64 folder - #335
Open
loopback-dude wants to merge 1 commit into
Open
loopback-dude wants to merge 1 commit into
loopback-dude wants to merge 1 commit into
Conversation
Some games need a different DXVK build than the one CrossOver ships. Under Rosetta, swapping it in with a variant already works. Under FEX, NotProton refused every DXVK variant, expecting arm64 files, even though CrossOver's lib/dxvk only has i386 and x86_64 and FEX runs those. The check now always accepts i386 folders, and accepts x86_64 folders on FEX only where CrossOver itself has no arm64 version of that library. DXVK is that case; DXMT, which has an arm64 version, is not.
Owner
|
Okay. This is reasonable, I can do this. Will review for merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was trying to get Sonic & All-Stars Racing Transformed (212480) running with DXVK on the FEX tool. With CX_GRAPHICS_BACKEND=dxvk the window stays blank while the game plays audio. CrossOver's DXVK (cxaddon-1.10.3) fails to compile every pipeline on MoltenVK ("cannot reserve 'texture' resource location at index 0"). wined3d runs it, but the water renders as blocky garbage.
Gcenx's dxvk-macOS-async-v1.10.3 runs the game fine, so I set it up as a variant over lib/dxvk (d3d9.dll only). On the Rosetta tool that worked once the tree had an x86_64 folder. On the FEX tool the variant was refused with "has nothing for aarch64 that lands in this runner". CrossOver's lib/dxvk only has i386 and x86_64, and FEX runs those, so no DXVK variant can ever pass that check on FEX.
The change: i386 folders always count, and x86_64 folders count on FEX when the runner's own copy of dst has no arm64 folder. DXMT has its arm64 folder, so an x86_64-only DXMT tree is still refused on FEX like before, and Rosetta still never takes arm64 files. I made the same change in np_variant_fits (compat_run.sh) and var_fits (webpatch.c) so the panel and the launch agree.
I added cases to runnervariantcheck.sh and featcheck.c. The FEX ones fail on main and pass with the change. The rest of the shell and C checks pass too.