check: translator GPU stage finds no adapter on RADV when the host and Proton device names differ #219

Open
opened 2026-11-26 10:55:54 +00:00 by github-bot · 0 comments
Owner

@⁠JeffreyBytes on GitHub · 2026-11-26 10:26 UTC · original

On this machine every case in "Shader translator on the GPU" fails on main (773278a), while Lanes and the D3D12 regression controls pass:

FAIL  alu  RuntimeError: guest failed: 1 {'error': 'device failed: 0x80004005'}
FAIL  swizzle  GPU readback failed: …/translator-work/swizzle.json
…
FAIL  lockstep  FAIL: 245 of 245 cases, guest exit 1

Cause. select_adapter() in tools/check_translator_gpu.py (added in #194, 7602f1a) sets DXVK_FILTER_DEVICE_NAME and VKD3D_FILTER_DEVICE_NAME to the name vulkaninfo --summary prints on the host. Here that is:

deviceName         = AMD Radeon RX 6700 XT (RADV NAVI22)

Inside Proton the same card has a shorter name, so the filter matches nothing. From a guest's gpu.log:

info:  Found device: AMD Radeon RX 6700 XT (radv 26.3.1)
info:    Skipping: Device filter
warn:  DXVK: No adapters found. Please check your device filter settings
err:   Failed to initialize DXVK.
warn:vkd3d-proton:d3d12_get_adapter: Failed to create DXGI factory, hr 0x80004005.

Check. With the filter name forced to AMD Radeon RX 6700 XT and nothing else changed, all 30 cases pass.

Machine. AMD Radeon RX 6700 XT (1002:73df), Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14, single GPU.

Question for other machines. I don't know yet where the name is shortened (Mesa for Wine applications, or Proton), so I can't say which setups are affected. @⁠NickStallman, your Raphael run on Mesa 26.0.8 passed this stage. If you have a RADV card, could you compare these two?

vulkaninfo --summary | grep deviceName
grep -h "Found device" build/check/translator-work/*/gpu.log | sort -u

Possible fix. Drop a trailing (…) from the name before filtering, since both filters match substrings. On a machine with two cards of the same model that would no longer tell them apart, so filtering by something other than the name may be better.

**@⁠JeffreyBytes** on GitHub · 2026-11-26 10:26 UTC · [original](https://github.com/brcly/TuxBox/issues/219) On this machine every case in "Shader translator on the GPU" fails on `main` (`773278a`), while Lanes and the D3D12 regression controls pass: ```text FAIL alu RuntimeError: guest failed: 1 {'error': 'device failed: 0x80004005'} FAIL swizzle GPU readback failed: …/translator-work/swizzle.json … FAIL lockstep FAIL: 245 of 245 cases, guest exit 1 ``` **Cause.** `select_adapter()` in `tools/check_translator_gpu.py` (added in #194, `7602f1a`) sets `DXVK_FILTER_DEVICE_NAME` and `VKD3D_FILTER_DEVICE_NAME` to the name `vulkaninfo --summary` prints on the host. Here that is: ```text deviceName = AMD Radeon RX 6700 XT (RADV NAVI22) ``` Inside Proton the same card has a shorter name, so the filter matches nothing. From a guest's `gpu.log`: ```text info: Found device: AMD Radeon RX 6700 XT (radv 26.3.1) info: Skipping: Device filter warn: DXVK: No adapters found. Please check your device filter settings err: Failed to initialize DXVK. warn:vkd3d-proton:d3d12_get_adapter: Failed to create DXGI factory, hr 0x80004005. ``` **Check.** With the filter name forced to `AMD Radeon RX 6700 XT` and nothing else changed, all 30 cases pass. **Machine.** AMD Radeon RX 6700 XT (`1002:73df`), Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14, single GPU. **Question for other machines.** I don't know yet where the name is shortened (Mesa for Wine applications, or Proton), so I can't say which setups are affected. @⁠NickStallman, your Raphael run on Mesa 26.0.8 passed this stage. If you have a RADV card, could you compare these two? ```sh vulkaninfo --summary | grep deviceName grep -h "Found device" build/check/translator-work/*/gpu.log | sort -u ``` **Possible fix.** Drop a trailing ` (…)` from the name before filtering, since both filters match substrings. On a machine with two cards of the same model that would no longer tell them apart, so filtering by something other than the name may be better.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:55:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.