microsoft / microsoft/Windows-classic-samples

DisplayCoreCustomCompositor errors

Open
#150 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
5.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

I have some HMDs that I've added the special EDID extension to mark them as non-WinMR HMDs, and I'm trying to use the sample provided in this repo. They are correctly recognized, but are triggering an hresult_error at one of a few places:

In both cases, the hresult returned is "0xd00000f2" which is a complete dead-end when searching, and no further message is available through WinRT.

My system is running Windows 10 1909, on a Radeon RX580 graphics card (latest WHQL driver, Driver Version
19.50.29.27-200515a-355311C-RadeonSoftwareAdrenalin2020 ). The HMDs I'm trying are two modified OSVR HDK headsets (one v1.3 without HDCP, one HDK2 with HDCP), both with a modified EDID to add the non-WinMR HMD flag. Also tested on a Dell XPS13 9370 (Intel graphics) - same result for the HDK2, it can't see the HDK1.3 at all (which I think I expected). Also tested on an NVIDIA GTX1050 - same result for the HDK1.3, "no matching modes" for the HDK2 (which seems unrelated).

I'm currently updating the NVIDIA machine to test on 2004.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Samples/DisplayCoreCustomCompositor/cpp/DisplayCoreCustomCompositor.cpp, especially the TryApply call at lines 279-281 and TryAcquireTargetsAndReadCurrentState at lines 283-285. Run the sample with the reported HMD and inspect the HRESULT handling around both calls. Done means identifying why HRESULT 0xd00000f2 occurs and documenting or fixing behavior so the sample can proceed with the affected headset.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.