XDisplay: answer XDisplayTryEnableHdrMode on its own CLSID #1069
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1069
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1069/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@icedream on GitHub · 2026-11-24 11:15 UTC · original
icedream:xdisplay-hdr→main· +11 −0 · 1 files · 1 commits · closed without mergingWhat is in it
03f0fe74-fdd9-4e5c-b630-f9339c47acc5/ IID35f07670-706e-4bfb-9476-090798c5ebf3, which is wheregdk_table.rsputsXDisplayTryEnableHdrMode(version 4). XCL had no object on that CLSID:XDISPLAY(1b339674-328d-4283-a200-3171f18d3639) carriesXLaunchUriand the two timeout deferrals, soQueryApiImplwent throughpc_object, found nothing, and answeredREGDB_E_CLASSNOTREGwithXDisplay: missingin the log.XDisplayHdrModeResult::Disabled(2) and leaves the_Out_opt_XDisplayHdrModeInfo(three floats, written only when HDR is on) untouched, which is the outcome the GDK header gives for a display that does not carry HDR. XCL shows the title in an SDR swap chain, soEnabledwould claim an output mode the host window does not have.The retail title below asks at t=1.5 s, before its first frame, and carries on either way: the difference in the log is the answer line. It was the last GDK call in that title's boot that XCL answered
missing.Tested
x86_64-pc-windows-gnu; release for the regression runs, the suite in the default profilecargo test --workspace -- --test-threads=4: 727 passed, 0 failed, 41 ignored (SKIPPED GPU tests: none, the suite ran against the RX 7700S; the 41 are#[ignore]benches and probes).cargo build --workspacefirst, otherwisee2e::test_title_runs_and_game_folder_is_untouchedfails on its own "build first" assert.Regression run
main:
PR:
Same title, same 120 s, head
2a0123cwith a clean tree: 3261 of 3374 frames (97 %), peak commit unchanged, no device removal, no crash. The two log lines either side of the change:Not tested
Disabled; XCL still has no HDR path in its swap chain, so this stops the class being unregistered, it does not make HDR work.gdk_table.rshas exactly one entry for03f0fe74-…, so the class implements that one and nothing else, and a title asking for more gets the samemissingas before.AI use
@icedream on GitHub · 2026-11-24 11:35 UTC · original
Closing on AI model requirements, seems like a non-discussion point.
Pull request closed