Repository navigation
Conversation
Tiled texture pools map sampled and attachment textures. Disallow buffers so the host can allocate the pool without a buffer compatibility requirement. Assisted-by: OpenAI Codex (GPT-6.2-Sol high)
|
Rerun on the new head Rerun on the new head Tested
Not tested
AI use
Earlier run, on
|
|
Independent verification on current Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti (driver current, WDDM); Rust stable MSVC, debug. The PR's own new test fails on this hardware, and it takes an existing GPU test down with it:
So on this driver the texture-only heap flag is rejected outright. If the flag is required for correctness on some titles, it probably needs a fallback (try AI use: test runs by Devin (Cognition, SWE-2); no code changes. |
|
The AMD driver refuses the heap too, so this does not look NVIDIA-specific (re the open question in the report above). Tested (head
Not tested: the D3D12 debug layer, so the runtime's own message for the refusal is not captured. AI use: the tests were run and this report was written by an AI agent, Claude Code (Claude Opus 5.5), on the hardware above. The numbers are copied from the actual test output. |
…vall#1142, ivall#1150, ivall#1156, ivall#1182, ivall#1191, ivall#1195, ivall#1221 Integrate 10 high-impact open upstream PRs on top of upstream/main (930e8b4): - ivall#1182: share video memory across render targets aliased onto one physical page (~1.85-2.1 GB VRAM saved) - ivall#1142: declare tiled texture pools texture-only (D3D12_HEAP_FLAG_DENY_BUFFERS) for vkd3d-proton - ivall#1097: report process memory under Wine via PagefileUsage fallback - ivall#1078: bound BCPack record scratch memory to 2 KiB stack batches - ivall#1150: convert console clear-value formats in CreatePlacedResource - ivall#1156: release the interface returned by QueryInterface in class_for - ivall#1139: check pointer alignment in is_adopted before dereferencing - ivall#1195: skip ExecuteIndirect dispatch of untranslated console compute pipelines - ivall#1191: VirtualProtect commits lazy pages in its range first - ivall#1221: unmark lazy away mappings in FreeTitlePhysicalPages Assisted-by: Antigravity (Google DeepMind)
…maps (xcl-dev#594) Re-apply XCL_PAGE_BUDGET_MB LRU texture eviction (xcl-dev#640) and fenced unmaps (xcl-dev#594) on top of upstream/main (930e8b4) + xcl-dev#1182/xcl-dev#1142/xcl-dev#800, using real::create_raw_fence for vram queue fences under Wine. Assisted-by: Antigravity (Google DeepMind)
…ll#1221, and updated Linux PRs Update fork README for upstream/main 930e8b4 (BCPack BC1-BC7, XCL_PSO_WAIT_MS, low-VA ASLR < 2^40, alloc_pool, sparse tile parking/pool reuse, direct page moves, write-watch merge), newly integrated PRs (ivall#1078, ivall#1097, ivall#1139, ivall#1142, ivall#1150, ivall#1156, ivall#1182, ivall#1191, ivall#1195, ivall#1221), and updated Linux PRs (ivall#867, ivall#871, ivall#877). Assisted-by: Antigravity (Google DeepMind)
…ly pools (xcl-dev#1142) on TilePool
Apply the texture-only heap preference and per-device E_INVALIDARG fallback when the contiguous tile pool allocates its next heap. Assisted-by: OpenAI Codex (GPT-6.2-astra)
|
Tested the runtime change from
The control logged an access violation inside Vulkan memory allocation immediately after an unflagged 64 MiB heap request and exited. The patched run reached the external timeout with loading artwork still on screen. It recorded 2,877 presents, 82,401 storage requests, 148 storage failures, and no presents in the last 18 two-second samples. Neither run logged a device removal or kernel Xid. This single pair confirms the heap choice under streaming load. Gameplay and native Windows fallback remain unverified on this machine. OpenAI Codex assisted with the matched runs and trace analysis. |
|
Independent native Windows check of exact PR head Tested
I did not run the full GPU workspace suite or a paired title smoke on this PR. The focused GPU test confirms heap creation and flag assertions; it does not measure sustained texture streaming or identify in its output whether the fallback was used. AI-assisted testing, adapter-selection verification, and report drafting with OpenAI Codex (GPT-6). No game data was used. |
|
I rebased the change onto On Bazzite 44, RTX 5060 Laptop GPU, NVIDIA 615.78.08 and GE-Proton 11-14, the Windows MSVC debug test binary ran
Both revisions failed the D32S8 test at readback-buffer creation with OpenAI Codex (GPT-6) resolved the conflict and ran the tests. |
Merge current main into the existing PR branch. Preserve per-device pool flags, reclamation and the allocator and packed-mip tests. Assisted by OpenAI Codex (GPT-6).
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
|
NVIDIA and AMD full-suite run, to go with the reports above by fromthemoonx, since none of them covers AMD. Tested exact head Tested
Not tested
AI use
|
Tiled texture pools can use texture-only heaps on vkd3d-proton. This lets the Vulkan backend choose texture-compatible memory and avoid a backing buffer. Native Windows D3D12 drivers tested in this thread reject the two-category heap flags with
E_INVALIDARG. Retry with the standard all-resource heap and reuse that choice after a successful fallback.What is in it
DENY_BUFFERSwhen the contiguous tile allocator creates a shared 64 MiB pool. Retry withNONEonly onE_INVALIDARGand remember a successful fallback per device.Tested
The new Windows MSVC release build at
ce510fcpreserves heap slot reuse and per-device reclaim. Both 15-second startup checks finished with exit zero.The workspace counts below are from the previous revision.
Bazzite 44 Testing F44.20261011, kernel 7.2.9-ogc2.1.fc44.x86_64, Intel Core 7 240H, GeForce RTX 5060 Laptop GPU 8 GB, NVIDIA 615.78.08. Both workspaces were cross-built for Windows MSVC in release mode with Rust 1.98.1 and run under Proton Experimental 11.0-20261112. Both used vkd3d-proton
4522cc1a8b1347f+with local allocation changes.All 19 workspace test executables ran serially on each revision with one test thread. Main
8f5fca5reported 1,096 passed, 6 failed, 46 ignored. PR head0005f67reported 1,100 passed, 6 failed, 46 ignored. The same six tests failed on both. They cover depth UAV resource flags, Opus and XMA2 voice playback, the synthetic title end-to-end run, PLS disk quota and predication state.Both runs printed the same 26 SKIPPED markers across 16 tests. They cover wave64, unsupported per-lane FP16/FP32 forms, driver-cache disabling, optional heap windows and D3D12 debug layers. Those subcases are excluded from hardware coverage.
A separate RTX run of the VRAM tests and shared-pixel fixture reported 16 passed, 0 failed, 1 ignored benchmark, no SKIPPED markers. It covered actual tiled heap flags, both texture classes, shared pixel readback, the fallback/error tests and upstream's packed 3D mip-tail test. The native NVIDIA and AMD reports in this thread reproduced the original heap creation failure on
04938bb.Regression run
Same offline title, fresh data and caches, cloned Proton prefixes, and the same 512 MiB coherent window. The current comparison is
e1d84b7againstce510fc. Both blocks come fromscripts/smoke.ps1.Main
xcl-smoke v1
commit: e1d84b7
gpu: NVIDIA GeForce RTX 5060 Laptop GPU
title: retail-offline-1142-refresh
seconds: 15
exit: 0x0
frames shown: 217 (PresentX 217)
presents per 2 s (last 3): 60 47 40
device removals: 0
crashes: 0
peak commit: 0 MB
PR head
xcl-smoke v1
commit: ce510fc
gpu: NVIDIA GeForce RTX 5060 Laptop GPU
title: retail-offline-1142-refresh
seconds: 15
exit: 0x0
frames shown: 205 (PresentX 206)
presents per 2 s (last 3): 46 40 40
device removals: 0
crashes: 0
peak commit: 0 MB
Previous startup comparison for 0005f67
Same offline title, fresh per-arm data and cache, cloned Proton prefixes, and a 512 MiB coherent window. Both blocks below were emitted by
scripts/smoke.ps1from clean checkouts. The startup comparison finished with 195 versus 193 frames. Wine reported zero committed process memory for both.Main
PR head
Not tested
Native Windows on the new head and sustained gameplay. Wine reported zero committed process memory on both arms.
AI use
OpenAI Codex with GPT-6.2-Sol high investigated the heap behavior, wrote the initial change and tests, and ran the earlier checks. OpenAI Codex with GPT-6.2-astra carried the change into the contiguous allocator, preserved upstream's new packed-mip coverage during this refresh, ran the matched tests and updated this report.
OpenAI Codex (GPT-6) resolved the current allocator conflict, validated the existing PR branch, and ran the new comparison.