Fix Arc B390 mesh shading and verify the Series S profile #60

Open
github-bot wants to merge 1 commit from github-bot/gh-60 into main AGit
Owner

@⁠HFASLTO117 on GitHub · 2026-11-25 10:16 UTC · original
HFASLTO117:fix/arc-b390-series-s → main · +131 −34 · 14 files · 1 commits · open

This follows up on #33. On an Intel Arc B390 (Intel driver 32.0.101.8357, Windows 11 build 26300), the public mesh sample hit DXGI_ERROR_DEVICE_HUNG at PresentX, and the native Vulkan mesh test returned a black center pixel where it expected green.

Changes

  • Encode PrimitiveTriangleIndicesEXT as 5296 in the SPIR-V emitters, interpreter and fixtures. The original value, 5294, denotes point indices.
  • Generate the fallback D3D12 mesh triangle's vertices directly from the lane index. Keep the hardware pixel assertions and add an explicit WARP control. The original DXIL can still hang on this driver.
  • Recover the lost FP32 residual when a rounded product cancels its addend in the mixed-precision FMA path. This fixes the observed 0x33800000 → zero mismatch. Performance and other GPUs remain unmeasured.
  • Check Series S/X guest identity and memory budget against the host and guest APIs. Record whether the public GDK storage sample returned from runtime cleanup before checking its telemetry.

Hardware validation

Test Result
Default-profile CTest, initial hardware run 78/90 at 022a8b2, 90/90 with these changes
Explicit Series S profile All three targeted tests passed in each of three consecutive runs
D3D12 mesh sample B390 and WARP reference images matched byte for byte, FNV-1a 617ACFC269023CA5
Native Vulkan mesh dispatch Intel hardware ICD (Vulkan 1.4.330) passed the center-pixel check

Two intermediate full runs finished at 89/90 when test_external_gdk_bringup returned incomplete telemetry. With the shutdown checks, it passed five consecutive isolated runs and both subsequent full runs. The cause of the earlier intermittent failure remains open. Optional subchecks requiring external assets or spirv-val were skipped. Testing used public samples only.

Independent clean build

A clean x64 MSVC Release build with /W4 /utf-8 completed all 396 Ninja steps. It emitted 24 D9025 diagnostics from bundled sample targets overriding /W4 with /W3, and one existing C4996 in winrt_shim.cpp. CTest on that build in the workspace sandbox passed 88/90. test_dstorage_audio_diag_parity exited with a segmentation fault, and test_loader_child_hook_parity failed to create three junctions for its fixture. Both passed in the earlier 90/90 run. The cause of the difference between environments is unconfirmed.

**@⁠HFASLTO117** on GitHub · 2026-11-25 10:16 UTC · [original](https://github.com/californiaAlmonds/OpenScarlett/pull/60) `HFASLTO117:fix/arc-b390-series-s` → `main` · +131 −34 · 14 files · 1 commits · open This follows up on #33. On an Intel Arc B390 (Intel driver 32.0.101.8357, Windows 11 build 26300), the public mesh sample hit DXGI_ERROR_DEVICE_HUNG at PresentX, and the native Vulkan mesh test returned a black center pixel where it expected green. ### Changes - Encode `PrimitiveTriangleIndicesEXT` as 5296 in the SPIR-V emitters, interpreter and fixtures. The original value, 5294, denotes point indices. - Generate the fallback D3D12 mesh triangle's vertices directly from the lane index. Keep the hardware pixel assertions and add an explicit WARP control. The original DXIL can still hang on this driver. - Recover the lost FP32 residual when a rounded product cancels its addend in the mixed-precision FMA path. This fixes the observed 0x33800000 → zero mismatch. Performance and other GPUs remain unmeasured. - Check Series S/X guest identity and memory budget against the host and guest APIs. Record whether the public GDK storage sample returned from runtime cleanup before checking its telemetry. ### Hardware validation | Test | Result | | --- | --- | | Default-profile CTest, initial hardware run | 78/90 at 022a8b2, 90/90 with these changes | | Explicit Series S profile | All three targeted tests passed in each of three consecutive runs | | D3D12 mesh sample | B390 and WARP reference images matched byte for byte, FNV-1a 617ACFC269023CA5 | | Native Vulkan mesh dispatch | Intel hardware ICD (Vulkan 1.4.330) passed the center-pixel check | Two intermediate full runs finished at 89/90 when `test_external_gdk_bringup` returned incomplete telemetry. With the shutdown checks, it passed five consecutive isolated runs and both subsequent full runs. The cause of the earlier intermittent failure remains open. Optional subchecks requiring external assets or spirv-val were skipped. Testing used public samples only. ### Independent clean build A clean x64 MSVC Release build with `/W4 /utf-8` completed all 396 Ninja steps. It emitted 24 D9025 diagnostics from bundled sample targets overriding /W4 with /W3, and one existing C4996 in winrt_shim.cpp. CTest on that build in the workspace sandbox passed 88/90. `test_dstorage_audio_diag_parity` exited with a segmentation fault, and `test_loader_child_hook_parity` failed to create three junctions for its fixture. Both passed in the earlier 90/90 run. The cause of the difference between environments is unconfirmed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:11:31 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/60/head:github-bot/gh-60'
git switch 'github-bot/gh-60'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-60'
git switch 'github-bot/gh-60'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-60'
git switch 'github-bot/gh-60'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-60'
git switch 'main'
git merge --squash 'github-bot/gh-60'
git switch 'main'
git merge --ff-only 'github-bot/gh-60'
git switch 'main'
git merge 'github-bot/gh-60'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.