Repository navigation
nix: add vulkan-tools to the dev shell - #244
Merged
Merged
Conversation
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The flake's dev shell (#192) has no
vulkaninfo.select_adapter()intools/check_translator_gpu.pythen returns early and sets no device filter, so--adapterhas no effect on NixOS and the translator checks run on whichever device DXVK picks first. That includes the UUID filter from #222, which also readsvulkaninfo --summary.This adds
vulkan-toolstotools, which covers bothnix developandtuxbox-fhs(it uses the same list).flake.lockis unchanged.Checks
nix develop -c vulkaninfo --summaryandnix develop -c tuxbox-fhs vulkaninfo --summarylist 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.main4d3dd26+ this change,--adapter 1002:7590: 38/38 cases pass. The adapter line now readsadapter 1002:7590: AMD Radeon RX 9060 XT (RADV GFX1200)andDXVK_FILTER_DEVICE_UUIDis set. All 39 guest logs showSkipping: UUID filterfor 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.