Primus-vk(1)
π PVKRUN β THE GLOW UP π
ok so this is the manual for Primus-vk, a little general-commands-manual moment. bestie, if you've ever wanted your fancy Vulkan apps to do their thing on one GPU while the picture shows up somewhere else entirely β yeah, that's literally the whole vibe here. let's get into it β¨
β¨ NAME β¨
pvkrun β run an application with vulkan calculations on a different graphics card
like, you run an app, and the actual vulkan math happens on a different card than the one you'd expect. main character energy fr fr π«Ά
πΈ SYNOPSIS πΈ
pvkrun command
that's it. one command, one job, no notes π
π¦ DESCRIPTION π¦
Primus-vk implements a solution to run applications using the Vulkan-API on a dedicated graphics card, while the image is rendered on an integrated graphics card.
ngl that's the whole pitch: the heavy vulkan lifting goes to the dedicated card, but the actual pixels get shown through the integrated one. the way that works?? obsessed πβ¨
π VARIABLES π
these are the environment variables that tell primus-vk who's who. lowkey the most important part of this whole page, don't skip them π
PRIMUS_VK_DISPLAYIDβ device identification for the device to display the image on (the integrated graphics card, e.g.8086:591d). the identifiers can be obtained with thevulkaninfocommand and are namedvendorIDanddeviceIDβ¨PRIMUS_VK_RENDERIDβ device identification for the device to render the images on (i.e. the dedicated graphics card). identifier syntax is the same as for the variablePRIMUS_VK_DISPLAYIDπ
so like βPRIMUS_VK_DISPLAYIDis the one showing the picture,PRIMUS_VK_RENDERIDis the one doing the work. two cards, two roles, iconic duo behavior π
π SEE ALSO π
iykyk β vulkaninfo is where you go to grab those IDs, and primusrun(1) is the sibling vibe for the OpenGL girlies π§
and that's the whole page, bestie!! this was written back on August 4 2019 under the name Primus-vk(1) β general commands manual, as the footer said. slay, periodt, go render something π β¨
π¦ where this page comes from
- debian bookworm: primus-vk 1.6.2-2 Β· BSD-2-Clause
- debian trixie: primus-vk 1.6.4-4 Β· BSD-2-Clause
- ubuntu jammy: primus-vk 1.6.1-1 Β· BSD-2-Clause
- ubuntu noble: primus-vk 1.6.4-2 Β· BSD-2-Clause
- ubuntu questing: primus-vk 1.6.4-4
- ubuntu resolute: primus-vk 1.6.4-4build1 Β· BSD-2-Clause
- ubuntu stonking: primus-vk 1.6.4-4build1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms