This is already possible by setting VK_ICD_FILENAMES to only include CPU implementations, but yeah, allowing them when the device filter is set makes sense too so I'll consider that.
Nope, says Skipping CPU adapter: llvmpipe (LLVM 17.0.6, 256 bits) for me.
Post the command you used
Works here so there's probably something wrong on your end.
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.i686.json wine game32.exe
I've tested it locally and it works fine here. Try with VK_DRIVER_FILES instead.
Nope, no difference :-/
Still says this:
warn: Skipping CPU adapter: llvmpipe (LLVM 17.0.6, 256 bits)
info: AMD Radeon RX 7900 XT (RADV NAVI31)
...
Edit: Looks like wine ignores these variables altogether? The VK_DRIVER_FILES env variable doesn't seem to make it into the wine environment.
bwrap --bind / / --ro-bind ~/Programs/OSS/mesa/inst/share/vulkan/icd.d /usr/share/vulkan/icd.d wine32 game32.exe
This seems to do the trick.
DXVK_FILTER_DEVICE_NAMEx1 2024-07
Currently, DXVK simply skips all CPU adapters. This is a good default, but it should be overridable.
Maybe this skip shouldn't occur if
DXVK_FILTER_DEVICE_NAMEis set.