Switch Windows CI virtual displays from usbmmidd_v2 to VirtualDrivers/Virtual-Display-Driver#218
Draft
Switch Windows CI virtual displays from usbmmidd_v2 to VirtualDrivers/Virtual-Display-Driver#218
Conversation
…plicate tests on Windows Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix two unit tests failing on Windows in CI
fix(ci): reduce Windows virtual displays from 2 to 1 to fix topology tests
Mar 17, 2026
…edTopology system tests Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Copilot
AI
changed the title
fix(ci): reduce Windows virtual displays from 2 to 1 to fix topology tests
Fix DuplicatedTopology/MixedTopology system tests failing on Windows CI
Mar 17, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #218 +/- ##
=======================================
Coverage 93.12% 93.12%
=======================================
Files 34 34
Lines 2123 2123
Branches 1086 1086
=======================================
Hits 1977 1977
Misses 82 82
Partials 64 64
Flags with carried forward coverage won't be shown. Click here to find out more. |
…er for Windows virtual displays Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Copilot
AI
changed the title
Fix DuplicatedTopology/MixedTopology system tests failing on Windows CI
Switch Windows CI virtual displays from usbmmidd_v2 to VirtualDrivers/Virtual-Display-Driver
Mar 17, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



SetCurrentTopology_DuplicatedTopologyfails because usbmmidd_v2 creates displays withDISPLAYCONFIG_OUTPUT_TECHNOLOGY_OTHER, which Windows refuses to use in clone/duplicate topology operations on modern runners.Test changes
DuplicatedTopologyandMixedTopologysystem tests now usegetAvailableDevices(*m_layer)(defaultonly_valid_output=true) instead offalse, filtering outDISPLAYCONFIG_OUTPUT_TECHNOLOGY_OTHERdisplays — consistent with how the equivalent mode tests already behave, and enables graceful skip rather than hard fail when no clonable displays are presentCI changes
Replace usbmmidd_v2 with VirtualDrivers/Virtual-Display-Driver (VDD 25.7.23), an officially signed IDD-based driver whose displays:
OTHER), so they pass theonly_valid_output=truefilterInstallation steps added to the
Prepare testsstep:mttvdd.cat→ install intoTrustedPublisherstoreC:\VirtualDisplayDriver\vdd_settings.xmlwith<count>2</count>before driver load (driver reads this on startup to determine monitor count)nefconw.exe install MttVDD.inf "Root\MttVDD"Get-PnpDevice -HardwareID "Root\MttVDD"forOKstatus (up to 60 s) instead of a hardcoded sleepWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/VirtualDrivers/Virtual-Display-Driver/contents/VirtualDisplayDriver/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)https://api.github.com/repos/VirtualDrivers/Virtual-Display-Driver/git/trees/master/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.