Repository navigation
Conversation
…ere is no interactive window station Over OpenSSH or as a service (session 0) the process's window station is not interactive: no window is visible there, so find_title_window has nothing to pick, and PowerSetRequest(PowerRequestDisplayRequired) answers ERROR_NOT_SUPPORTED, so XDisplayAcquireTimeoutDeferral fails (measured on Windows 10 19045 over SSH; the system and away-mode requests work there). From a desktop session both tests pass (measured in an RDP session on the same machine). title_window returns 77 (SKIP) without an interactive station; xgameruntime_offline skips only its two display-deferral checks, and only when the request is refused with ERROR_NOT_SUPPORTED there. Both use window_station.h's has_interactive_window_station(), as the DXGI tests do. ProjectLeonida#1217 documents the SSH difference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JordanWebDev
approved these changes
Nov 25, 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.
Item:
TEST-SESSION0-DESKTOP-SKIPProblem
Run over OpenSSH or as a service, a process lives in session 0, whose window station is not interactive. Two runtime tests fail there for reasons that are not runtime bugs:
title_window: no window is ever visible, sofind_title_windowhas nothing to pick and the test stops attitle_window_test.cpp:85(found == windows.title).xgameruntime_offlineandxgameruntime_offline_hdr:PowerSetRequest(PowerRequestDisplayRequired)answersERROR_NOT_SUPPORTED(50) in session 0, soXDisplayAcquireTimeoutDeferral acquires a display power request handleandconcurrent display deferrals have distinct handlesfail. The system and away-mode requests do work there (measured with a small PowerShell probe of the same calls over SSH).From a desktop session all three pass. #1217 already notes the SSH difference for
xgameruntime_offline.Change
title_window_test: returns 77 (SKIP, with a line saying why) whenhas_interactive_window_station()is false;SKIP_RETURN_CODE 77on the test.xgameruntime_offline_test: when the first acquire answersHRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED)and there is no interactive window station, it checks that no handle was left and prints a SKIP line for the two handle checks; everywhere else they are checked as before. The rest of the test is unchanged.runtime/test/window_station.h'shas_interactive_window_station()(theWSF_VISIBLEflag), as the DXGI and present tests already do. No runtime change.Testing
Windows 10 Pro 19045, GTX 1050 Ti, NVIDIA 582.66, MSVC RelWithDebInfo, base
5fab93967, 3 runs each way:title_windowSkipped,xgameruntime_offlineandxgameruntime_offline_hdrpass (on main all three fail there).python -I scripts/check_no_game_data.pyon the changed files: clean.AI-assisted (Claude Code, Opus 5.5).
🤖 Generated with Claude Code