linux/run-7900.sh: MESA_PREFIX picks the RADV of one run #33

Closed
github-bot wants to merge 1 commit from gh-pr/33/head into gh-pr/33/base
Owner

@⁠Molier on GitHub · 2026-12-01 00:58 UTC · original
Molier:linux-mesa-prefix → main · +6 −0 · 1 files · 1 commits · closed without merging

MESA_PREFIX=<prefix> sets VK_DRIVER_FILES to that prefix's radeon ICD for this run only, so a
Vulkan-only Mesa build installed into a prefix of its own can be compared against the system's driver
without touching the system. When the prefix has no ICD, the script stops with the path it looked for.

Split out of #4 as you suggested. The script that builds such a prefix is left out: it follows whatever
Mesa main is that day.

Checked: bash -n, MESA_PREFIX=/nonexistent stops with MESA_PREFIX: no /nonexistent/..., and a
prefix with the ICD passes that check and carries on (it is what the 5800X numbers in #4 were measured
with).

**@⁠Molier** on GitHub · 2026-12-01 00:58 UTC · [original](https://github.com/Slaktarn700/SlaktarnVI/pull/33) `Molier:linux-mesa-prefix` → `main` · +6 −0 · 1 files · 1 commits · closed without merging `MESA_PREFIX=<prefix>` sets `VK_DRIVER_FILES` to that prefix's radeon ICD for this run only, so a Vulkan-only Mesa build installed into a prefix of its own can be compared against the system's driver without touching the system. When the prefix has no ICD, the script stops with the path it looked for. Split out of #4 as you suggested. The script that builds such a prefix is left out: it follows whatever Mesa main is that day. Checked: `bash -n`, `MESA_PREFIX=/nonexistent` stops with `MESA_PREFIX: no /nonexistent/...`, and a prefix with the ICD passes that check and carries on (it is what the 5800X numbers in #4 were measured with).
MESA_PREFIX=<prefix> sets VK_DRIVER_FILES to that prefix's radeon ICD for this
run only, so a Mesa main build (Vulkan only, prefix install) can be compared
against the system's driver without touching the system. It stops with the
path it looked for when there is no ICD there.

Split out of #4 as asked; the build script that makes such a prefix is left
out because it follows whatever Mesa main is that day.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 03:06:41 +00:00
github-bot closed this pull request 2026-12-01 03:06:41 +00:00
Author
Owner

@⁠Slaktarn700 on GitHub · 2026-12-01 02:29 UTC · original

Taken into main as your commit (57bfc69), thank you. One change after it (680b9b6): the driver file may also be called radeon_icd.json, as it is here with Mesa 26.3.1. Tried in a game: with a prefix holding a copy of the driver, the running game had only that copy mapped, two minutes, right picture, no crash; a prefix without the file stops with the message.

**@⁠Slaktarn700** on GitHub · 2026-12-01 02:29 UTC · [original](https://github.com/Slaktarn700/SlaktarnVI/pull/33#issuecomment-7298669019) Taken into main as your commit (57bfc69), thank you. One change after it (680b9b6): the driver file may also be called `radeon_icd.json`, as it is here with Mesa 26.3.1. Tried in a game: with a prefix holding a copy of the driver, the running game had only that copy mapped, two minutes, right picture, no crash; a prefix without the file stops with the message.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.