You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
On systems running AMD iGPUs, the iGPU's DX12 backend is labelled as a DiscreteGpu, while the Vulkan backend is labelled as an IntegratedGpu. This can cause issues when requesting a high power adapter as it will choose the DX12 backend over the Vulkan backend on systems that only have an AMD iGPU.
Repro steps
Run any wgpu application that requests a high power adapter on a laptop with an AMD iGPU and no discrete GPU on Windows.
Expected vs observed behavior
Expected: You get a Vulkan backend.
Observed: You get a DX12 backend.
Interesting. I had noticed with certain AMD drivers on a laptop with AMD Vega iGPU and mobile RTX 3080 discrete GPU that wgpu would use the Vega with DX12, but if I updated the drivers to the latest from AMD, then it would use the RTX with Vulkan. I guess this logic and that the newer driver exposed the cache coherent UMA, whatever that is, is probably what was making the difference?
Description
On systems running AMD iGPUs, the iGPU's DX12 backend is labelled as a DiscreteGpu, while the Vulkan backend is labelled as an IntegratedGpu. This can cause issues when requesting a high power adapter as it will choose the DX12 backend over the Vulkan backend on systems that only have an AMD iGPU.
Repro steps
Run any wgpu application that requests a high power adapter on a laptop with an AMD iGPU and no discrete GPU on Windows.
Expected vs observed behavior
Expected: You get a Vulkan backend.
Observed: You get a DX12 backend.
Extra materials
https://gist.github.com/Elabajaba/0a4f6cd1202791f1a4ccfc544d130481
kvark's aha: https://matrix.to/#/!XFRnMvAfptAHthwBCx:matrix.org/$i9mLMKUQ4BP1YCSOM8kcOTlt55YxOIHCHAUOy6g_QRE
Platform
Windows 10, tested on wgpu 0.11 and wgpu 0.12. Laptop with a Vega8 AMD iGPU and no discrete GPU.
The text was updated successfully, but these errors were encountered: