notParsec / 문서전체 문서

데이터·검증 자료

evidence/windows-vm-graphics-20261003/parsec-min-frame-evidence.json

design/evidence/windows-vm-graphics-20261003/parsec-min-frame-evidence.json

출처: 현재 작업 폴더 · 원문 다운로드

{
  "schema": 1,
  "recordedAtUtc": "2026-10-03",
  "baseline": "Windows Parsec 150-104a",
  "coreSha256": "8c8c4299ddf503b2c25c0905b0a0820f3e8238c252e9ace37bf25964ef4a8f6f",
  "coreHashVerifiedFromLocalLfsObject": true,
  "workingTreeBinaryFilesAreLfsPointers": true,
  "source": "analysis/parsec/decompiled/parsecd-150-104a.dll/decompiled.c",
  "sourceSha256": "c0f4001d2b1e94787bf136c6f3eab7ae048a33a423d510b4f367b46a2e251ff2",
  "sourceKind": "Ghidra decompiler pseudocode; not original source; recovered names/types are inferred",
  "excerptNormalization": "LF, trailing whitespace removed, one final newline",
  "functions": [
    {
      "address": "0x180044740",
      "function": "FUN_180044740",
      "sourceLine": 33405,
      "normalizedExcerptSha256": "ea6c54f69033cfe110bf28c763c8e019759c80bdac51aa5281e5803a41d6d27e",
      "observation": "Successful DXGI capture initialization requests continuous display power and starts FUN_1800a4310 with helper state stored at capture+0x28."
    },
    {
      "address": "0x180044850",
      "function": "FUN_180044850",
      "sourceLine": 33451,
      "normalizedExcerptSha256": "ef64838ea130f8b2eaac96b5013270f8e00d89115e71b95cc1293bb3e6dd8cf6",
      "observation": "Capture cleanup sets helper stop byte+8, waits/closes the helper thread, frees its state, and clears continuous execution state."
    },
    {
      "address": "0x180044d60",
      "function": "FUN_180044d60",
      "sourceLine": 33719,
      "normalizedExcerptSha256": "bd70ca34d25097fbbf96677a78d9f6d6af834644905a30664edf7cbce7e50f4f",
      "observation": "DXGI_ERROR_WAIT_TIMEOUT (-0x7785ffd9) writes 1 to helper byte+10 when helper state exists."
    },
    {
      "address": "0x1800a4310",
      "function": "FUN_1800a4310",
      "sourceLine": 99777,
      "normalizedExcerptSha256": "7c3d648650b7d05d460d31466401debcdf6d6a16b3f80c17421c368fde4e8fbb",
      "observation": "ParsecMinFrameRate%u helper owns a 1x1 no-activation layered transparent topmost window and DXGI swap chain; helper bytes+9/+10 select alpha 1 plus Present, otherwise alpha 0; +10 is cleared each iteration."
    }
  ],
  "machineCodeChecks": [
    {
      "address": "0x1800a4679",
      "instruction": "xor r8d,r8d",
      "meaning": "Present flags = 0"
    },
    {
      "address": "0x1800a467c",
      "instruction": "mov edx,0x1",
      "meaning": "Present SyncInterval = 1"
    },
    {
      "address": "0x1800a4684",
      "instruction": "mov r9,QWORD PTR [rax+0x40]",
      "meaning": "Swap-chain vtable Present slot, invoked at 0x1800a4688"
    }
  ],
  "helperParameters": {
    "extendedWindowStyle": "0x08080028",
    "windowStyle": "0x90000000",
    "dimensions": [
      1,
      1
    ],
    "position": "capture origin + (1,1)",
    "originalDevice": "D3D11CreateDevice(NULL, HARDWARE, NULL, flags=0)",
    "originalSwapChain": "BGRA8, sample count 1, two buffers, flip sequential; inferred descriptor types",
    "alphaIdle": 0,
    "alphaRequested": 1,
    "present": [
      1,
      0
    ],
    "sleepMilliseconds": 5
  },
  "unresolved": [
    "Source/meaning of helper byte+9 has not been established.",
    "This static evidence does not prove the helper wakes an automatically powered-off monitor or fixes remote capture.",
    "The new diagnostic deliberately varies device selection and pulse timing for this VM; equivalence is not established."
  ],
  "diagnosticBuild": {
    "purpose": "Private 1x1 noactivation window-damage diagnostic, not published product",
    "sourceSha256": "1541e254c3488b77a2a6c07b9a70c17fbd7cbf285675fbe6c20fe202cf5d094e",
    "exeSha256": "5dac5603b341394ff78f58baeeb71346956e95bb1a1b1b45d23de48cd02a5c1b",
    "bytes": 243200,
    "arguments": [
      "<new-report.jsonl>"
    ],
    "visibleLoopMilliseconds": 10000,
    "requiredExternalProcessTimeoutMilliseconds": 20000,
    "windowsExecuted": true,
    "compileCommand": [
      "/home/ahn/notparsec/target/clang19/usr/lib/llvm-19/bin/clang",
      "--driver-mode=cl",
      "--target=x86_64-pc-windows-msvc",
      "/std:c++17",
      "/EHsc",
      "/MT",
      "/O2",
      "/W3",
      "/DUNICODE",
      "/D_UNICODE",
      "/D_WIN64",
      "/D_WIN32_WINNT=0x0A00",
      "/imsvc",
      "/home/ahn/notparsec/target/xwin-cache/xwin/crt/include",
      "/imsvc",
      "/home/ahn/notparsec/target/xwin-cache/xwin/sdk/include/ucrt",
      "/imsvc",
      "/home/ahn/notparsec/target/xwin-cache/xwin/sdk/include/um",
      "/imsvc",
      "/home/ahn/notparsec/target/xwin-cache/xwin/sdk/include/shared",
      "/imsvc",
      "/home/ahn/notparsec/target/xwin-cache/xwin/sdk/include/winrt",
      "/c",
      "/home/ahn/notparsec/target/vm-minframe-diagnostic-20261003/minframe.cpp",
      "/Fo/home/ahn/notparsec/target/vm-minframe-diagnostic-20261003/minframe.obj"
    ],
    "linkCommand": [
      "/home/ahn/notparsec/target/clang19/usr/lib/llvm-19/bin/lld-link",
      "/machine:x64",
      "/subsystem:console",
      "/out:/home/ahn/notparsec/target/vm-minframe-diagnostic-20261003/minframe-diagnostic.exe",
      "/home/ahn/notparsec/target/vm-minframe-diagnostic-20261003/minframe.obj",
      "/libpath:/home/ahn/notparsec/target/xwin-cache/xwin/crt/lib/x86_64",
      "/libpath:/home/ahn/notparsec/target/xwin-cache/xwin/sdk/lib/um/x86_64",
      "/libpath:/home/ahn/notparsec/target/xwin-cache/xwin/sdk/lib/ucrt/x86_64",
      "kernel32.lib",
      "user32.lib",
      "d3d11.lib",
      "dxgi.lib",
      "uuid.lib"
    ],
    "differences": [
      "Explicit adapter0/UNKNOWN/BGRA instead of original default hardware/flags0",
      "Deterministic black render target clear",
      "Unconditional 100ms diagnostic pulses instead of original timeout flag",
      "Original loop Sleep(5), test bounds pulses and records HRESULTs",
      "Alpha 0 is set before swap-chain construction, unlike the observed original ordering.",
      "Diagnostic adds input/foreground/power notification observations and no-activation hit-test handling."
    ],
    "repositorySource": "scripts/vm/native/minframe_diagnostic.cpp",
    "sourceClassification": "Independently authored C++ diagnostic from documented API behavior and observed control flow; not original source, copied pseudocode, or production app implementation.",
    "compileExitCode": 0,
    "linkExitCode": 0,
    "tools": [
      {
        "path": "target/clang19/usr/lib/llvm-19/bin/clang",
        "sha256": "f6d5286a52de10b1e3e8841457c9903a1ea28f222ac0f58cd616697d0dcd9db3"
      },
      {
        "path": "target/clang19/usr/lib/llvm-19/bin/lld-link",
        "sha256": "7ea5c57a8c0e116cc5b1a7e3596c123e9ac2816fd00c081a4a969b838fe9dbea"
      }
    ]
  },
  "references": [
    {
      "title": "SetThreadExecutionState",
      "url": "https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate"
    },
    {
      "title": "AcquireNextFrame",
      "url": "https://learn.microsoft.com/en-us/windows/win32/api/dxgi1_2/nf-dxgi1_2-idxgioutputduplication-acquirenextframe"
    },
    {
      "title": "Present",
      "url": "https://learn.microsoft.com/en-us/windows/win32/api/dxgi/nf-dxgi-idxgiswapchain-present"
    },
    {
      "title": "SetLayeredWindowAttributes",
      "url": "https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setlayeredwindowattributes"
    },
    {
      "title": "WM_SYSCOMMAND",
      "url": "https://learn.microsoft.com/en-us/windows/win32/menurc/wm-syscommand"
    }
  ],
  "causalTestPreparation": {
    "diagnosticOnly": true,
    "payloadSha256": "c19cdf7014f20a7e888494aaf9961a34ac43081621d5f93f07d389c6836146d0",
    "baseIdleHarness": "scripts/vm/test_guest_display_idle.ps1",
    "baseIdleHarnessSha256": "cd7605057f45921a96c85abb9ecb8dc1bb219ced3b8cdfd11bdb98a48b89b41b",
    "files": [
      {
        "name": "test_guest_display_idle_minframe.ps1",
        "sha256": "8511be14219ee60f4a6d27341f75f83df4a4c3be5da6547283c480e1f86c505c",
        "bytes": 21641
      },
      {
        "name": "notparsec-diagnostics.exe",
        "sha256": "55a65f7da3fae7b2669b294b9b9f1dcf57dd2e7bfef0f9e8abcdb73fd56fb3b4",
        "bytes": 932864
      },
      {
        "name": "minframe-diagnostic.exe",
        "sha256": "5dac5603b341394ff78f58baeeb71346956e95bb1a1b1b45d23de48cd02a5c1b",
        "bytes": 243200
      },
      {
        "name": "minframe_diagnostic.cpp",
        "sha256": "1541e254c3488b77a2a6c07b9a70c17fbd7cbf285675fbe6c20fe202cf5d094e",
        "bytes": 6317
      }
    ],
    "privateHarnessChanges": "Reuse exact Power Policy API idle and finally restoration; replace probe sequence with passive, same-thread baseline, helper plus same-thread capture; independently enforce helper 20 second deadline.",
    "powerShellParsing": "start.ps1, Run.ps1, test_guest_display_idle_minframe.ps1 parsed without errors",
    "transportChecks": "Loopback GET start.ps1/payload.zip bytes verified; private manifest path returned 404",
    "interpretation": "No causal conclusion unless the baseline reproduces absent desktop updates, helper runs normally, and the comparison remains input-free. Actual display power and nonblack pixels require separate evidence."
  },
  "causalTestResult": {
    "raw": "display-idle-minframe.json",
    "helperRaw": "minframe-helper.jsonl",
    "provenance": "display-idle-minframe-provenance.json",
    "verdict": "inconclusive-helper-causality; same-thread wake produced new desktop updates before helper started"
  }
}