vulkan: allow graphics queue only through env var#20599
Conversation
|
While graphics queue measurably helps performance on strix halo's 8060s with 40 CUs, desktop performance is unusable now, like with other smaller GPUs, as commented here: #20551 (comment) |
…ALLOW_GRAPHICS_QUEUE
|
I have updated the PR to require manually setting |
|
@zedbytes That means you should now be using |
|
@0cc4m agreed, building with master and updated flag now ! |
|
@0cc4m post preliminary testing |
|
Quick question: where is this env variable and other available env configuration documented? I cannot find it anywhere :/ |
|
The findings here seem fairly odd, on linux both my 9060XT and 7900XTX the previous change to use the graphics queue resulted in an increase in TG. |
* vulkan: avoid graphics queue on non-RADV AMD drivers * avoid graphics queues on small GPUs * change to only use graphics queue if overridden with env var GGML_VK_ALLOW_GRAPHICS_QUEUE * reenable transfer queue if graphics queue is not used
* vulkan: avoid graphics queue on non-RADV AMD drivers * avoid graphics queues on small GPUs * change to only use graphics queue if overridden with env var GGML_VK_ALLOW_GRAPHICS_QUEUE * reenable transfer queue if graphics queue is not used
* vulkan: avoid graphics queue on non-RADV AMD drivers * avoid graphics queues on small GPUs * change to only use graphics queue if overridden with env var GGML_VK_ALLOW_GRAPHICS_QUEUE * reenable transfer queue if graphics queue is not used
Improve #20551 to fix the reported issues. Only use graphics queue on RADV on larger GPUs.
Fixes #20597