Skip to content

Fix/ffvii rebirth - #6

Merged
maxjivi05 merged 8 commits into
mainfrom
fix/ffvii-rebirth
Sep 28, 2026
Merged

maxjivi05 merged 8 commits into
mainfrom
fix/ffvii-rebirth

Conversation

@maxjivi05

Copy link
Copy Markdown
Contributor

No description provided.

The Linux build linked libexpat and read its drirc from /usr/local/share/drirc.d,
which the WinNative rootfs does not have, so Turnip's vkd3d and DXVK options never
applied: vkd3d-proton detected only Shader Model 6.0 unless VKD3D_SHADER_MODEL
overrode it, and the D3D texture coordinate rounding and alpha-to-coverage
emulation were off.

Build with -Dxmlconfig=disabled, as the Android drivers are, and fail verification
when a package reads its defaults from disk.
FINAL FANTASY VII REBIRTH draws its world with mesh shaders and creates
compute shaders that declare WaveSize(32). Turnip had no VK_EXT_mesh_shader
and no subgroup size below 64 on A8XX, so the game's pipelines failed.

Apply two Mesa commits from linux/patches after the existing scripts:
compute-based mesh shader emulation, and half-wave subgroups for a required
subgroup size of 32. Verification fails when either is missing.
With mesh shaders and wave32 subgroups in place, the game still lost the
device on A8XX, at the title or while loading gameplay.

Add three Mesa commits to linux/patches: sanitize cube map sampling
directions, invalidate bindless descriptors through A8XX's dedicated
registers, and fetch command streams through a KGSL virtual BO alias that
is unbound before the memory is freed. Refresh the mesh shader patch with
its per-component output copy, and verify the new patches in the build.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T09:03:24.471618Z 1533c6b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@maxjivi05
maxjivi05 merged commit c88a565 into main Sep 28, 2026
1 of 2 checks passed
@maxjivi05
maxjivi05 deleted the fix/ffvii-rebirth branch September 28, 2026 09:02
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.

1 participant