[integration] RT-LINUX-AMD-WORLD: what drew the world on Linux/AMD, with eleven runtime PRs, docs for running per GPU #2350
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2350
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2350"
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?
@aslan2142 on GitHub · 2026-11-26 14:38 UTC · original
aslan2142:linux-amd-world→main· +7421 −391 · 80 files · 60 commits · merged 2026-11-26 14:41 UTCClaimed in the coordination issue as: RT-LINUX-AMD-WORLD
Everything that got the title's 3D world drawn on Linux with an AMD GPU (RX 7900 XTX, RADV, Wine) on 2026-11-26, as one integration PR, plus a page on how to run the game per platform and GPU.
make_game.py's wave64 choice, the address guard, night diagnostics, the BCPack fit fix and docs.aslan2142:linux-amd-world, onmain73516a290.What we measured
docs/linux_proton.mdsection and indocs/running.md:lockup_timeoutdefaults to 2000 ms. World frames take seconds, so runs ended inring gfx timeoutwith no page fault. It has to be raised (root, reboot).--wave64-emulate off). Emulated single-wave compute in the round-loop form hung the GPU and drove RADV's compiler past 12 GiB (53 GB uncapped).gta6rt --precompile-pipelines. The pipelines stage'spipeline_cache.binshared 0 of 5,526 pipeline keys with the game, for three reasons:LEONIDA_RT_AS=offplusLEONIDA_SKIP_COMPUTE, for the 724 library programs of 2 MiB or more (89-167 s each in the driver).LEONIDA_TITLE_WATCHDOG=0+LEONIDA_TITLE_WATCHDOG_KICK). The RVAs are measured locally and are not in the repository.int3after 12 minutes.Our commits
rdna2spirv: no round-loop fallback for single-wave emulated programs9f98dcc61's fallback no longer applies toinline_allplans: a single wave can't split at a barrier.spirv-valcounts are unchanged.docs/design.mdcontract row.make_game: a CPU Vulkan device does not decide the wave64 emulationautotook the smallestmaxSubgroupSizeover all devices, so llvmpipe (8) turned emulation on beside native-wave64 GPUs (all 23,841 wave64 shaders).tests/test_make_game_wave64.py.rdna2spirv.py --address-guardchecks everyheap_baseaccess against a GPU page table.LEONIDA_ADDRESS_GUARD=1keeps that table current.address_guard_testand a semantic test.console_heap_copyandd3d12_console_heap_mirror.LEONIDA_GEOMETRY_HOST), retired when the title remaps their pages; tests ingeometry_views_testandxmem_test.LEONIDA_UNKNOWN_TSHARP,LEONIDA_UNBACKED_VSHARP,LEONIDA_UPLOAD_LOG;LEONIDA_UPLOAD_ALIAS(an experiment, changes behaviour);LEONIDA_INPUT_FILE(button presses from a file, for headless runs).dstorage history: fit packed tails against decoded BCPack siblings: refused BC7 streams in the package drop from 60 to 8 of 5,167. Test intests/test_dstorage_history.py.docs/linux_proton.md: the AMD section.docs/running.md: new, linked fromdocs/README.md. One section per platform and GPU (build, shaders, pre-compile, driver settings, environment with reasons, command, what to expect, known problems). Every value is marked measured by us, reported by others (linked) or TBD.docs/d3d12_vulkan.mdanddocs/gameinput.md.#1914×#1886indocs/d3d12_vulkan.md;#2162× the heap mirror (heap.copy.zero);#2129× the geometry-copy members ind3d12_vulkan_device.cpp.Includes
Each PR is merged at the head below, which hadn't moved since we tested it. The open ones will be closed in favour of this one, with credit to their authors.
a42bffdc3eaf0b8d0cExecuteCommandListsserial stack kept out of TLS callbacks (the startup0xC0000409)d088ea79bTitleTexturereadability synced withtitle_memory_mapbetween passes (draft PR)4cfbdfc0b6ee7ef89bxapu.dllas a command queue with the console's layouts (inside #2044)9520db518b986d274b2769c5a735fa864e536b09de493Submit7bd4cec02button@seconds:holdin input scripts28fc0262dTests
Linux 7.3.6, RX 7900 XTX and Ryzen 9 7950X3D iGPU (RDNA2, gfx1036), RADV Mesa 26.3.1, Wine 11.22 (Staging).
scripts/run_semantic_tests.py).tests/test_*.pywithpython -Ipass, includingtest_ci_registration,test_text_write_line_endings,test_docs_env_varsandtest_tool_stdout_encoding.compileallis clean.check_no_game_data.pyon every added or changed file (80): clean.cteston the iGPU: 112 of 112 passed.main73516a290built the same way: no test went from pass to fail.address_guard,console_heap_copy,d3d12_console_heap_mirror,d3d12_console_heap_mirror_off,heavy_pipeline_cache,list_value_wait_budget,d3d12_placed_write_back,d3d12_title_window_write_back,xapu_opus.d3d12_mesh_heavy_cache(#1914). It runsd3d12_mesh_test, which fails the same way onmainunder Wine on this iGPU (d3d12_mesh).mainare the headless presentation tests and others known under Wine.maina73a57e13, on the RX 7900 XTX.--wave64-emulate off), so the translator fix, which concerns emulated programs only, was not exercised there. Its own measurements are above.Depends on: none (the included PRs are merged here, not depended on).
AI-assisted (Claude Code, Claude Opus 5.5 and Claude Fable 5.2)