PC-Graphics: source-built D3D12 Present plus native Vulkan Windows/Linux #30
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ProhorovIlja--NativeX-Runtime#30
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@ProhorovIlja on GitHub · 2026-11-21 23:07 UTC · original
Acceptance: a normal Windows x64 app creates a D3D12 device, resource upload, command list, swapchain and presents a deterministic visible frame, captures GPU/driver/OS and pixel comparison. Separately build native ELF x86-64 Vulkan renderer on Linux (not Wine/Proton or CPU instruction emulation), verify Vulkan WSI window/Present, disposal, device loss and fallback. Optional Vulkan Windows backend. Explicit barriers, PSO cache and memory budgets; no Xbox D3D12.X claim. Starting evidence: PR #27 D3D12 WARP queue/fence through native PE, NOT Present. Official public source: microsoft/DirectX-Graphics-Samples, KhronosGroup/Vulkan-Samples, microsoft/Xbox-GDK-Samples, exact SHAs tracked in sources/upstreams.json. No game files.
2026-11-22 incremental native graphics proof
Still pending: actual native Windows DXGI and Linux Vulkan WSI window/swapchain Present, deterministic screenshot/readback on each, device-loss and physical AMD/NVIDIA/Intel profiling. Source-built PC demos are separate from Xbox-specific title compatibility.
@ProhorovIlja on GitHub · 2026-11-22 01:28 UTC · original
2026-11-22 source-built graphics milestone — partial progress, not completion. PR #73 independently passed two real Windows D3D12 WARP BC1/BC3 compressed texture tests: genuine GPU texture allocation + GetCopyableFootprints upload + shader-visible SRV descriptor + original HLSL pixel-shader Texture2D.Load + fullscreen draw + 256-pixel (1024 RGBA channel) CPU-oracle readback per compressed format (Windows/Linux CI 44971229821). CPU-oracle PR #72 also passed strict BC1/BC3 4x4 decoder, interpolation, BC3 alpha and non-power-of-two 5x7 raster tests (CI 44970755832). These extend earlier original D3D12 WARP 12-frame DXGI Present/resize (PR #66) and native Linux Vulkan offscreen raster (PR #56). Outstanding: Xbox D3D12.X console resource/command semantics, RDNA2 shader conversion, BC7/BC6H and actual console swizzle, real Window/WSI Present on native Linux, and physical AMD/NVIDIA/Intel GPU correctness/performance; no GTA VI executable/assets or frame tested. WARP and Mesa software GPUs are correctness references, not physical hardware evidence.
@Yoshi-233 on GitHub · 2026-11-25 01:34 UTC · original
I built the native Linux Vulkan fixtures from a clean checkout of
b3087ce0ab191227dc9e7af37cab97a0b097bb98and ran the same Release binaries twice on Ubuntu 24.04.5 x86-64 (kernel 7.0.0-43-generic). All three tests passed on each driver, with zero skips.10de:1fb2, Vulkan 1.4.329388068167296388068167296To reproduce on a host with both ICDs:
The fixtures emit a literal
falsefor their hardware-verification flags on both runs. I checked the NVIDIA adapter separately:vulkaninfo --summaryunder that ICD reported the T400, and the fixture's vendor/device IDs matchedlspci -nnk. This adds an independent NVIDIA offscreen correctness result. Linux window/swapchain Present, device-loss recovery and performance remain open.@Yoshi-233 on GitHub · 2026-11-25 02:45 UTC · original
Following up on my offscreen result: #118 now checks what actually appears in an X11 window after Vulkan presentation and resize. On Ubuntu 24.04.5 under Xvfb, the NVIDIA driver and Mesa llvmpipe each passed three repeat runs. Each run recreated the swapchain three times and checked 83,330 window pixels over eight frames. A deliberately wrong fragment color failed the pixel check.
This covers the Linux X11 path through swapchain recreation. Physical display scanout and device-loss recovery still need separate coverage. The exact CTest command is in the PR.