diff options
| author | tedin7 <110300616+tedin7@users.noreply.github.com> | 2026-11-23 15:11:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-23 08:11:02 -0600 |
| commit | e76cb47fb500b74f51d0aa51e680cc72beed09c9 (patch) | |
| tree | c958a0f618e0b3d6b1b54f7298635e04ba43160f /docs/testing.md | |
| parent | 82c6e08dd5a18ee46e8f82eefd265d9d9687afd0 (diff) | |
Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel UHD 770 queueCount 1), plus a CPU-signal hang fix (#5110)
Squash-merged after review of PR #5110 - Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel UHD 770 queueCount 1), plus a CPU-signal hang fix
Diffstat (limited to 'docs/testing.md')
| -rw-r--r-- | docs/testing.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md index f279548ce..82bc8ca68 100644 --- a/docs/testing.md +++ b/docs/testing.md | |||
| @@ -503,6 +503,16 @@ another GPU. For the host side of the comparison tests, `LEONIDA_HOST_ADAPTER` p | |||
| 503 | The GPU tools of `runtime/test/shaders` (`vk_compute_test`, `vk_harness`, ...) read it the same way through | 503 | The GPU tools of `runtime/test/shaders` (`vk_compute_test`, `vk_harness`, ...) read it the same way through |
| 504 | `vk_device_pick.h`, and fail with a message naming the filter when it matches no device. | 504 | `vk_device_pick.h`, and fail with a message naming the filter when it matches no device. |
| 505 | 505 | ||
| 506 | Two test settings make the layer's standalone device look like a GPU with fewer Vulkan queues, so D3D12 queues share | ||
| 507 | them (`docs/d3d12_vulkan.md` section 4.4) on any GPU: `LEONIDA_VK_MAX_QUEUES_PER_FAMILY=N` (1 to 16) creates at most | ||
| 508 | N Vulkan queues per queue family, and `LEONIDA_VK_GRAPHICS_FAMILY_ONLY=1` puts COMPUTE and COPY queues in the | ||
| 509 | graphics family, as on a GPU without async compute or transfer families. Both together give the shape of the Intel | ||
| 510 | UHD 770 on Windows and of lavapipe, one family with one queue; the `d3d12_queue_share_one_queue` and | ||
| 511 | `d3d12_queue_wait_one_queue` tests run that way, and any other test can be run so by hand. The device logs what it | ||
| 512 | applied; a queue count outside 1 to 16 is ignored, with a message. Only tests apply them: the device that | ||
| 513 | `gta6rt --run` creates for a game (`LEONIDA_D3D12=vulkan`) ignores both and prints `... is a test setting; the | ||
| 514 | game's device ignores it`, so leaving them set cannot slow a game down (`run_tiny_frame_queue_test_settings`). | ||
| 515 | |||
| 506 | ## Known problems | 516 | ## Known problems |
| 507 | 517 | ||
| 508 | | What you see | Cause | What to do | | 518 | | What you see | Cause | What to do | |