GPU: initialize the Series S compositor on Proton #1486

Open
Filip722 wants to merge 1 commit from upstream-pr/1486 into main
Filip722 commented 2026-11-27 15:51:01 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-27T15:51:01Z.


On Bazzite with GE-Proton11-14, Series S can present a black window when the two-plane compositor fails to initialize with 0x80004005. This loses the interface plane, including the loading UI.

Serialize the compositor's two-SRV table and static sampler with D3D12, and compile its existing fullscreen triangle and pixel shader as SM5.0. This preserves the current compositor's sampling, alpha math and presentation path. The separate overlay implementation in #1081 also serializes its own root signature.

The existing composes_scaled_premultiplied_plane_on_gpu test reproduces the initialization failure without the title. In the unmodified 5dbf5ce build it failed in Composer::new on the RTX 5060 Laptop. The same composer source is present at 52dfd12. With the proposed change the existing scaled and premultiplied pixel readback test passes on that GPU. The readback-ticket test, all seven scheduler tests, and the staged asset-policy check also passed.

Rust 1.98.1, Windows MSVC release diagnostics, Bazzite 44, NVIDIA 615.78.08, GE-Proton11-14 and vkd3d-proton 3.2.0.

Assisted by Codex (GPT-6.2-Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:issue:5529435150 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1486). Originally posted by [Filip722](https://github.com/Filip722) on 2026-11-27T15:51:01Z. --- On Bazzite with GE-Proton11-14, Series S can present a black window when the two-plane compositor fails to initialize with `0x80004005`. This loses the interface plane, including the loading UI. Serialize the compositor's two-SRV table and static sampler with D3D12, and compile its existing fullscreen triangle and pixel shader as SM5.0. This preserves the current compositor's sampling, alpha math and presentation path. The separate overlay implementation in #1081 also serializes its own root signature. The existing `composes_scaled_premultiplied_plane_on_gpu` test reproduces the initialization failure without the title. In the unmodified `5dbf5ce` build it failed in `Composer::new` on the RTX 5060 Laptop. The same composer source is present at `52dfd12`. With the proposed change the existing scaled and premultiplied pixel readback test passes on that GPU. The readback-ticket test, all seven scheduler tests, and the staged asset-policy check also passed. Rust 1.98.1, Windows MSVC release diagnostics, Bazzite 44, NVIDIA 615.78.08, GE-Proton11-14 and vkd3d-proton 3.2.0. Assisted by Codex (GPT-6.2-Sol High).
Filip722 commented 2026-11-27 15:57:35 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-27T15:57:35Z.


Matched offline follow-up on the RTX 5060 Laptop under GE-Proton11-14. I rebuilt the exact 52dfd12 control. Its physical pixel fixture failed at Composer::new with 0x80004005. The same fixture passed with e0c158b.

In the title, both Series S launches used the same checkpoint, warm caches and launcher settings. The control remained black through the 88-second comparison and logged 1,708 compositor initialization failures. The patched build displayed account controls by 17 seconds and visible boot imagery by 45 seconds, without a compositor initialization warning. A later black loading view and separate indirect-clamp initialization failures still need work.

Windows CI is blocked by the same texture-test precedence lint as main. The overlapping lint fix is #1485.

Assisted by Codex (GPT-6.2-Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7222687365 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1486#issuecomment-7222687365). Originally posted by [Filip722](https://github.com/Filip722) on 2026-11-27T15:57:35Z. --- Matched offline follow-up on the RTX 5060 Laptop under GE-Proton11-14. I rebuilt the exact `52dfd12` control. Its physical pixel fixture failed at `Composer::new` with `0x80004005`. The same fixture passed with `e0c158b`. In the title, both Series S launches used the same checkpoint, warm caches and launcher settings. The control remained black through the 88-second comparison and logged 1,708 compositor initialization failures. The patched build displayed account controls by 17 seconds and visible boot imagery by 45 seconds, without a compositor initialization warning. A later black loading view and separate indirect-clamp initialization failures still need work. Windows CI is blocked by the [same texture-test precedence lint as main](https://github.com/fxceless/victory-fork/actions/runs/46028114765/job/140604652960). The overlapping lint fix is #1485. Assisted by Codex (GPT-6.2-Sol High).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1486:upstream-pr/1486'
git switch 'upstream-pr/1486'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1486'
git switch 'upstream-pr/1486'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1486'
git switch 'upstream-pr/1486'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1486'
git switch 'main'
git merge --squash 'upstream-pr/1486'
git switch 'main'
git merge --ff-only 'upstream-pr/1486'
git switch 'main'
git merge 'upstream-pr/1486'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
fxceless/victory-fork!1486
No description provided.