As promised in the first iteration, we will now explore how GPU drivers work in more detail by exploring an application known as
VkCube
. As the program name implies, this application uses the Vulkan API to render a rotating cube on the screen. Its simplicity makes it a prime candidate to be used as a learning aid in our journey through GPU drivers.This article will first introduce the concept of User Mode Drivers (
UMD
s) and Kernel Mode Drivers (KMD
s), breaking down the steps needed to actually describeVkCube
‘s workload to the GPU. This will be done in a more compact way for brevity as it’s a rather extensive topic that has been detailed in several books.We will wrap up with an overview of the actual API offered by Tyr. As previously stated, this is the same API offered by Panthor, which is the C driver for the same hardware.
↫ Daniel Almeida
There isn’t much to add here, except maybe this kitten.
*sigh* Another platform that doesn’t stretch the content box to match the width of the screen, so the sidebars stay all the same unless you make the text GINORMOUS. I just wanted slightly larger text, but I want it wider so I don’t have to go line to line so fast. Apparently…I must *sigh*
But thank you for the kitten.
A very useful article for those who want to learn how GPU drivers work, especially from a fresh perspective with Rust – a language that is increasingly used for system tasks. https://poorbunnygame.org