Repository navigation
docs/linux.md: add root-free micromamba setup section (DOC-LINUX-FEDORA-NOROOT) - #659
Conversation
KernelSmoker
left a comment
There was a problem hiding this comment.
Independent Fedora 45/Bazzite verification of PR head 48cb4bf039cf84870e2eb020a8b4fd87e508959e (base 21625bca8c675c62f9dbffc318ce6a59d57faf31): the documentation CLI flags passed 4/4 tests, links 16/16, and repository paths 3/3. In a rootless UID 1000 Fedora 45 container, micromamba installed LLVM tools 23.1.6 and SPIRV-Tools 2026.4; CMake configured and the runtime build passed 161/161 targets.
One behavior note: with LEONIDA_VULKAN_HEADERS_FETCH=ON and normal system header search paths, CMake selected /usr/include and did not fetch _deps/vulkanheaders-src. With system Vulkan header locations excluded, it fetched the pinned headers and configured successfully. This appears conditional on headers already being found; open PR #491 (CMAKE-VULKAN-HEADERS-PIN) addresses the fetch ordering, so this may be resolved when that change lands. No game data used. GPU execution was not validated because the host NVIDIA driver currently fails Vulkan device creation (vkCreateDevice -3); this is an environment limitation, not a project test result. AI-assisted independent verification.
|
Thanks @KernelSmoker for the independent run and the header observation. Pushed AI-assisted; no game data. |
|
Thanks for clarifying the fallback behavior. I verified the updated head |
|
Merged, thanks! Docs only; the docs tests pass with it merged onto
AI-assisted (Claude Code, Claude Opus 5.5). |
Claimed in the coordination issue as: DOC-LINUX-FEDORA-NOROOT (#14)
What and why
docs/linux.mdassumesaptand root. This adds a short "Without root (micromamba)" section for people who cannot install distribution packages: it installsllvm-tools(llvm-mc with the AMDGPU target) andspirv-toolsfrom conda-forge into a user-owned folder, lets CMake fetch its pinned, hash-checked Vulkan headers (LEONIDA_VULKAN_HEADERS_FETCH=ON,runtime/CMakeLists.txt), then builds the Vulkan tools and runsrun_gpu_tests.py. It also says what is still needed from the system (Vulkan driver,cmake,ninja, a C++ compiler,python3,curl,tar,bzip2), how to keep it offnoexec, how to select the GPU instead ofllvmpipe, and how to clean up. The download of micromambalatestis unsigned and unpinned; the section says so and links the official guide.Section only, no new file. One line is added to the
FOREIGNlist intests/test_docs_cli_flags.pyfor the two micromamba flags the section uses (--strip-components,--override-channels).Tested
python3 -I tests/test_docs_cli_flags.py: 4 passed.python3 -I tests/test_docs_links.py: 16 passed.python3 -I tests/test_docs_repo_paths.py: 3 passed.run_gpu_tests.pysteps ran with this toolchain on a GTX 1660 SUPER (result identical to gpu-test-results: add NVIDIA RTX 2070 SUPER (Linux) results #646, not submitted separately).GPUs tested: NVIDIA GeForce GTX 1660 SUPER, NVIDIA 620.70.06, Fedora Linux 44.
AI-assisted: yes (Claude Code), the section was drafted and checked with tools; reviewed before opening.
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)