wave64 compute shaders refusés sur NVIDIA : 15 des 16 pipelines refusés, ~11 à 14 % des draws du monde abandonnés #186

Closed
opened 2026-11-26 05:36:10 +00:00 by github-bot · 3 comments
Owner

@⁠LooperSalty on GitHub · 2026-11-25 00:59 UTC · original

Constat

Mesuré par le mainteneur (Windows 11, RTX 4070 Super, VICTORY_D3D12_DEBUG=1, nuit du 24 au 25/11) avec la branche anyxboxx/fork-7b0-lot9-gfx de LooperSalty/victory (130bf10) :

  • 15 des 16 pipelines refusés par le pilote (0x80070057) sont des compute shaders wave64. NVIDIA les refuse : « Shader wants wave lane count of 64 but maximum wave lane count for device is 32 ».
  • Le 16e est un pixel shader qui écrit un entier dans une cible R8_UINT avec mélange (cause distincte).
  • Dans le monde, environ 11 à 14 % des draws de chaque image sont abandonnés faute de pipeline, dans tous les essais (12,7 % sur le dernier). Ce sont les objets et murs manquants.
  • Les rapports d'autres cartes NVIDIA (#182, RTX 4060 Laptop, plage de vagues 32..32) donnent le même compte de 16 refus.

Piste

Marvisak/VIctory #1890 : wave64 scindé en deux waves de 32. Portage en cours dans une branche locale de travail, pas encore poussé. Voir aussi #70 et la PR #147 (wave64 sur GPU à vagues de 32 dans l'interpréteur et le HLSL d'AnyXboxX).

Contexte : PR épinglant VIctory sur le lot 9, voir la PR liée ci-dessous.

Terminé quand

  • 0 refus wave64 dans le journal VIctory sur RTX 4070 Super (VICTORY_D3D12_DEBUG=1)
  • la part de draws abandonnés dans le monde passe sous 2 % (médiane des images du monde, journal VIctory)
  • le refus du pixel shader R8_UINT avec mélange est soit corrigé, soit documenté à part
**@⁠LooperSalty** on GitHub · 2026-11-25 00:59 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/186) ## Constat Mesuré par le mainteneur (Windows 11, RTX 4070 Super, `VICTORY_D3D12_DEBUG=1`, nuit du 24 au 25/11) avec la branche `anyxboxx/fork-7b0-lot9-gfx` de LooperSalty/victory (`130bf10`) : - 15 des 16 pipelines refusés par le pilote (`0x80070057`) sont des compute shaders wave64. NVIDIA les refuse : « Shader wants wave lane count of 64 but maximum wave lane count for device is 32 ». - Le 16e est un pixel shader qui écrit un entier dans une cible `R8_UINT` avec mélange (cause distincte). - Dans le monde, environ 11 à 14 % des draws de chaque image sont abandonnés faute de pipeline, dans tous les essais (12,7 % sur le dernier). Ce sont les objets et murs manquants. - Les rapports d'autres cartes NVIDIA (#182, RTX 4060 Laptop, plage de vagues 32..32) donnent le même compte de 16 refus. ## Piste Marvisak/VIctory #1890 : wave64 scindé en deux waves de 32. Portage en cours dans une branche locale de travail, pas encore poussé. Voir aussi #70 et la PR #147 (wave64 sur GPU à vagues de 32 dans l'interpréteur et le HLSL d'AnyXboxX). Contexte : PR épinglant VIctory sur le lot 9, voir la PR liée ci-dessous. ## Terminé quand - [ ] 0 refus wave64 dans le journal VIctory sur RTX 4070 Super (`VICTORY_D3D12_DEBUG=1`) - [ ] la part de draws abandonnés dans le monde passe sous 2 % (médiane des images du monde, journal VIctory) - [ ] le refus du pixel shader `R8_UINT` avec mélange est soit corrigé, soit documenté à part
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:36:10 +00:00
Author
Owner

@⁠akimfomin on GitHub · 2026-11-25 02:20 UTC · original

LooperSalty, for the separate R8_UINT refusal, PortBridge compared pablogonz12's VIctory #1152 and FrancescoGelosoEterea's attributed port #51 against your exact lot 9 pin 130bf10. Lot 9 has two mesh descriptor paths, so the equivalent helper call was applied to both and to ordinary graphics. In 24 synthetic descriptor checks the port removed all enabled blend state on integer targets and preserved float/UNORM state and write masks.

We also passed the two exact ordinary-graphics blend expressions and the same synthetic unsigned/float shader pair to native D3D12 on an RTX 4070 Ti SUPER. The original expression returned E_INVALIDARG (0x80070057). The adapted expression returned S_OK while retaining float-target blending. Adapter and format capability checks matched. This measured synthetic graphics pipeline creation. The mesh paths have descriptor-level checks.

Pinned patch, original authorship, source fixture and RTX logs

AI assistance: OpenAI Codex (GPT-6 family) assisted with the attributed adaptation, extracted fixtures and validation.

**@⁠akimfomin** on GitHub · 2026-11-25 02:20 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/186#issuecomment-7150602954) LooperSalty, for the separate `R8_UINT` refusal, [PortBridge](https://github.com/akimfomin/PortBridge) compared pablogonz12's [VIctory #1152](https://github.com/Marvisak/VIctory/pull/1152) and FrancescoGelosoEterea's [attributed port #51](https://github.com/fxceless/victory-fork/pull/51) against your exact lot 9 pin `130bf10`. Lot 9 has two mesh descriptor paths, so the equivalent helper call was applied to both and to ordinary graphics. In 24 synthetic descriptor checks the port removed all enabled blend state on integer targets and preserved float/UNORM state and write masks. We also passed the two exact ordinary-graphics blend expressions and the same synthetic unsigned/float shader pair to native D3D12 on an RTX 4070 Ti SUPER. The original expression returned `E_INVALIDARG` (`0x80070057`). The adapted expression returned `S_OK` while retaining float-target blending. Adapter and format capability checks matched. This measured synthetic graphics pipeline creation. The mesh paths have descriptor-level checks. [Pinned patch, original authorship, source fixture and RTX logs](https://github.com/akimfomin/PortBridge/blob/f180063c55a1b0af0ff064742c44de8aaf6f5cda/research/rendering-night/anyxboxx-lot9-integer-blend/REPORT.md) AI assistance: OpenAI Codex (GPT-6 family) assisted with the attributed adaptation, extracted fixtures and validation.
Author
Owner

@⁠Skyfrye on GitHub · 2026-11-25 13:33 UTC · original

RTX 5080 data point and a candidate port, in case it saves you time.

I ported Marvisak/VIctory #1890 (wave64 split in two waves of 32) onto the lot 9 pin 80d58f8: LooperSalty/victory#12. If your own port is further along, ignore it; the numbers may still be useful.

Measured on RTX 5080 (driver 621.01, waves 32..32), launcher environment:

pin 80d58f8 with the port
compute pipelines refused offline (translate --pipelines --list, shader pack) 383 E_INVALIDARG 2 E_INVALIDARG + 1 E_OUTOFMEMORY
XboxBvhBuilder.dll compute refused 9 of 52 0 of 52
host pipelines refused in a run (5 min, opening + prologue) 15 compute + 1 mesh 1 compute (6b82bc7d22016cb5, vfx_triangleClip:CS_CollectTriangles_Meshlets)

Two things that differ from the description above, from the frame listings of our runs (VICTORY_CAPTURE):

  • The "dropped without a host pipeline" share (9 to 16 % here) is about 90 % stages of the ray-tracing structure builder, which is off; in the three 3D frames we listed, 0 graphics draws were dropped. So that percentage does not by itself explain missing objects and walls.
  • With the port and VICTORY_BVH_BUILDER=1 the builder starts (all 53 pipelines exist) and the title then dies at world entry with access violations in its own code. No device loss. We are looking at why.

The R8_UINT blend refusal is not touched by any of this.

Related small PRs on the fork: #8 and #11 (textures picked by index: 2.7 → 5.4 fps on this card), #10 (RTX 50 refuses atomicrmw sub on LDS), #9 (device methods 0x1c8 / 0x218 are DeserializePipelineStateX).

AI use: Claude Code (Claude Fable 5.2) did the port and the measurements on my machine with my own copy, and wrote this comment.

**@⁠Skyfrye** on GitHub · 2026-11-25 13:33 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/186#issuecomment-7163956846) RTX 5080 data point and a candidate port, in case it saves you time. I ported Marvisak/VIctory #1890 (wave64 split in two waves of 32) onto the lot 9 pin `80d58f8`: LooperSalty/victory#12. If your own port is further along, ignore it; the numbers may still be useful. Measured on RTX 5080 (driver 621.01, waves 32..32), launcher environment: | | pin `80d58f8` | with the port | | --- | --- | --- | | compute pipelines refused offline (`translate --pipelines --list`, shader pack) | 383 `E_INVALIDARG` | 2 `E_INVALIDARG` + 1 `E_OUTOFMEMORY` | | `XboxBvhBuilder.dll` compute refused | 9 of 52 | 0 of 52 | | host pipelines refused in a run (5 min, opening + prologue) | 15 compute + 1 mesh | 1 compute (`6b82bc7d22016cb5`, `vfx_triangleClip:CS_CollectTriangles_Meshlets`) | Two things that differ from the description above, from the frame listings of our runs (`VICTORY_CAPTURE`): - The "dropped without a host pipeline" share (9 to 16 % here) is about 90 % stages of the ray-tracing structure builder, which is off; in the three 3D frames we listed, 0 graphics draws were dropped. So that percentage does not by itself explain missing objects and walls. - With the port and `VICTORY_BVH_BUILDER=1` the builder starts (all 53 pipelines exist) and the title then dies at world entry with access violations in its own code. No device loss. We are looking at why. The `R8_UINT` blend refusal is not touched by any of this. Related small PRs on the fork: #8 and #11 (textures picked by index: 2.7 → 5.4 fps on this card), #10 (RTX 50 refuses `atomicrmw sub` on LDS), #9 (device methods 0x1c8 / 0x218 are `DeserializePipelineStateX`). *AI use: Claude Code (Claude Fable 5.2) did the port and the measurements on my machine with my own copy, and wrote this comment.*
Author
Owner

@⁠LooperSalty on GitHub · 2026-11-25 13:54 UTC · original

Fermeture groupée par le mainteneur : le dépôt a beaucoup changé depuis le 24/11 (VIctory intégré, interpréteur RDNA 2, runtime GDK, CI), et cette issue décrit un état qui n'est plus celui de main. Si le problème ou la tâche existe toujours sur main à jour, rouvrez-la (ou ouvrez-en une nouvelle) avec les étapes et le commit testé.

**@⁠LooperSalty** on GitHub · 2026-11-25 13:54 UTC · [original](https://github.com/LooperSalty/AnyXboxX/issues/186#issuecomment-7164472841) Fermeture groupée par le mainteneur : le dépôt a beaucoup changé depuis le 24/11 (VIctory intégré, interpréteur RDNA 2, runtime GDK, CI), et cette issue décrit un état qui n'est plus celui de `main`. Si le problème ou la tâche existe toujours sur `main` à jour, rouvrez-la (ou ouvrez-en une nouvelle) avec les étapes et le commit testé.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/LooperSalty--AnyXboxX#186
No description provided.