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 the vulkaninfo command and are named vendorID and deviceID ✨
  • 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 variable PRIMUS_VK_DISPLAYID πŸŽ€
so like β€” PRIMUS_VK_DISPLAYID is the one showing the picture, PRIMUS_VK_RENDERID is 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 πŸ’…βœ¨