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

Merged
gtb-sbe merged 1 commit from upstream-pr/244 into main 2026-11-26 17:08:19 +00:00
gtb-sbe commented 2026-11-26 15:51:08 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by gtb-sbe on 2026-11-26T15:51:08Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:issue:6630310314 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/244). Originally posted by [gtb-sbe](https://github.com/gtb-sbe) on 2026-11-26T15:51:08Z. --- 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox!244
No description provided.