vkcube
Vulkan spinning cube demo application
TLDR
Run Vulkan demo
SYNOPSIS
vkcube [--c frames] [--presentmode mode] [options_]
DESCRIPTION
vkcube is a simple demo application from the Vulkan SDK that displays a spinning 3D cube rendered using the Vulkan graphics API. It serves as a quick verification tool to confirm that Vulkan drivers and libraries are correctly installed and functioning on the system.
The application opens a window showing a textured cube rotating continuously. If the cube renders and spins smoothly, it indicates that the GPU, Vulkan driver, and display system are working together properly. Options allow selecting a specific GPU, setting the presentation mode, and limiting the number of rendered frames.
As part of the official Vulkan-Tools package maintained by the Khronos Group, vkcube is the C implementation of the demo (vkcubepp is the C++ version). It is commonly used as a first diagnostic step when troubleshooting Vulkan support on Linux systems.
PARAMETERS
--c FRAMES
Frame count.--present_mode MODE
Presentation mode.--gpu INDEX
GPU selection.--width W
Window width.--height H
Window height.
CAVEATS
Vulkan drivers needed. GPU required. Display required.
HISTORY
vkcube is part of the Vulkan SDK, providing a simple test application for Vulkan functionality.
SEE ALSO
vulkaninfo(1), glxgears(1), vkcubepp(1)
