Skip to content

Let FEX runners use x86 variants if CrossOver has no arm64 folder - #335

Open
loopback-dude wants to merge 1 commit into
NotProtonNot:mainfrom
loopback-dude:variants-fex-x86
Open

loopback-dude wants to merge 1 commit into
NotProtonNot:mainfrom
loopback-dude:variants-fex-x86

Conversation

@loopback-dude

@loopback-dude loopback-dude commented Nov 27, 2026 •

Copy link
Copy Markdown

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.

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.
@NotProtonNot

NotProtonNot commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Okay. This is reasonable, I can do this. Will review for merging.

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

Successfully merging this pull request may close these issues.

2 participants