Tests: skip low-VRAM test before taking VRAM_TEST_LOCK (#42) #1241
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1251"
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?
Imported from ivall/xcl. Originally posted by WASDeKeys on 2026-11-24T13:44:28Z.
Skips
d32s8_targets_take_their_own_size_of_video_memoryon adapters with under 8 GB of dedicated video memory before acquiringVRAM_TEST_LOCK. Prevents VRAM exhaustion (0x8007000E/E_OUTOFMEMORY) during concurrent test runs on <= 6 GB cards, which previously panicked while holding the mutex and poisoned subsequent VRAM tests. Fixes #42.What is in it
crates/xcl/src/hle/d3d12x/vram.rs: query DXGIDedicatedVideoMemoryand callrunner::skip_test("< 8 GB VRAM")before acquiringVRAM_TEST_LOCKwhen under 8 GB.Tested
32.0.15.9597), AMD Ryzen 5 7235HS, Microsoft Windows NT 10.0.26200.0,rustc 1.100.0 (0ef1bc386 2026-11-09), debug (cargo test) and release (cargo build --release -p xcl).cargo test -p xcl --lib d32s8_targets_take_their_own_size_of_video_memory -- --nocapture: 1 passed, 0 failed, 0 ignored (863 filtered out); cleanly skips withSKIPPED hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory: < 8 GB VRAMin 0.02 s.cargo test --workspace -- --test-threads=4: 751 passed, 0 failed, 41 ignored;SKIPPEDGPU tests: 2no wave64(gpu::recomp::tests), 1< 8 GB VRAM(hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory).fetch_updatedeprecation warnings inreal.rsandxgameruntime/mod.rs).Regression run
Not tested
XCL_SAMPLE_*retail test inputs.AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T14:02:17Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:Thanks!
Imported from ivall/xcl. Originally posted by WASDeKeys on 2026-11-24T17:52:14Z.
please merge this? @ivall
upstream-sync referenced this pull request2026-11-24 23:06:49 +00:00
upstream-sync referenced this pull request2026-11-25 10:09:30 +00:00
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T04:32:35Z.
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.Pull request closed