feat(run): VICTORY_ICD chooses the Vulkan driver's ICD file (unset: deps/mesa-inst's RADV, as before) #644

Open
github-bot wants to merge 1 commit from github-bot/gh-644 into main AGit
Owner

@⁠Raptorbk45 on GitHub · 2026-12-05 22:37 UTC · original
Raptorbk45:feat/run-icd → main · +7 −1 · 3 files · 1 commits · open

env.sh always points VK_DRIVER_FILES at deps/mesa-inst's RADV. To compare against a second RADV build (one with counters, or a patch being tried) one has to edit the script. VICTORY_ICD=<path to an ICD json> (environment, run.conf, or a ./run.sh … VICTORY_ICD=… argument) uses that file instead; run.sh stops if it does not exist and prints the driver library it resolves to. Unset: exactly as before, and nothing new is printed.

How it was checked

Run after the final edit, on Linux (CachyOS), against main at 8c4e6633:

  • cargo xtask policy: passes
  • bash -n run.sh: ok
  • VICTORY_ICD=/tmp/x.json bash -c 'source ./env.sh; echo $VK_DRIVER_FILES' prints /tmp/x.json; unset, it prints deps/mesa-inst/…/radeon_icd.x86_64.json as before

Not run: run.sh with a game (the run.sh part is the existence check and the printed line).

Branch head: 270b10dd.

Checks

  • One subject
  • Unset = main
  • Docs: docs/SETTINGS.md (runtime-only settings)
  • N/A: test (shell); checked by hand as above
  • Queue checked: nothing open on the driver selection
  • cargo xtask policy
**@⁠Raptorbk45** on GitHub · 2026-12-05 22:37 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/644) `Raptorbk45:feat/run-icd` → `main` · +7 −1 · 3 files · 1 commits · open `env.sh` always points `VK_DRIVER_FILES` at `deps/mesa-inst`'s RADV. To compare against a second RADV build (one with counters, or a patch being tried) one has to edit the script. `VICTORY_ICD=<path to an ICD json>` (environment, `run.conf`, or a `./run.sh … VICTORY_ICD=…` argument) uses that file instead; `run.sh` stops if it does not exist and prints the driver library it resolves to. Unset: exactly as before, and nothing new is printed. ## How it was checked Run after the final edit, on Linux (CachyOS), against `main` at 8c4e6633: - `cargo xtask policy`: passes - `bash -n run.sh`: ok - `VICTORY_ICD=/tmp/x.json bash -c 'source ./env.sh; echo $VK_DRIVER_FILES'` prints `/tmp/x.json`; unset, it prints `deps/mesa-inst/…/radeon_icd.x86_64.json` as before Not run: `run.sh` with a game (the `run.sh` part is the existence check and the printed line). Branch head: `270b10dd`. ## Checks - [x] One subject - [x] Unset = `main` - [x] Docs: `docs/SETTINGS.md` (runtime-only settings) - N/A: test (shell); checked by hand as above - [x] Queue checked: nothing open on the driver selection - [x] `cargo xtask policy`
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 22:39:44 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/644/head:github-bot/gh-644'
git switch 'github-bot/gh-644'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-644'
git switch 'github-bot/gh-644'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-644'
git switch 'github-bot/gh-644'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-644'
git switch 'main'
git merge --squash 'github-bot/gh-644'
git switch 'main'
git merge --ff-only 'github-bot/gh-644'
git switch 'main'
git merge 'github-bot/gh-644'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.