Skip to content

nix: add vulkan-tools to the dev shell - #244

Merged
brcly merged 1 commit into
brcly:mainfrom
gtb-sbe:nix-vulkan-tools
Nov 26, 2026
Merged

brcly merged 1 commit into
brcly:mainfrom
gtb-sbe:nix-vulkan-tools

Conversation

@gtb-sbe

@gtb-sbe gtb-sbe commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

The flake's dev shell (#192) has no vulkaninfo. select_adapter() in tools/check_translator_gpu.py then returns early and sets no device filter, so --adapter has no effect on NixOS and the translator checks run on whichever device DXVK picks first. That includes the UUID filter from #222, which also reads vulkaninfo --summary.

This adds vulkan-tools to tools, which covers both nix develop and tuxbox-fhs (it uses the same list). flake.lock is unchanged.

Checks

  • nix develop -c vulkaninfo --summary and nix develop -c tuxbox-fhs vulkaninfo --summary list both devices.
  • python tuxbox.py check --no-gpu: all passed (shader compiler build and tests, Python tests, DXBC, XG layout, D3D12 Windows typecheck).
  • python -m unittest tests.test_translator_checks: 5/5 OK.
  • Translator stage on main 4d3dd26 + this change, --adapter 1002:7590: 38/38 cases pass. The adapter line now reads adapter 1002:7590: AMD Radeon RX 9060 XT (RADV GFX1200) and DXVK_FILTER_DEVICE_UUID is set. All 39 guest logs show Skipping: UUID filter for llvmpipe.

Host: RX 9060 XT (1002:7590, RDNA4), Mesa 26.2.6 RADV, GE-Proton11-14, NixOS, kernel 6.18. Single dGPU plus llvmpipe. The full GPU gate was not run for this change; it touches only the dev shell's tool list.

@brcly
brcly merged commit c828fa5 into brcly:main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants