LinuxCommandLibrary

vkcubepp

TLDR

Run Vulkan cube demo

$ vkcubepp
copy
Run with validation layers
$ vkcubepp --validate
copy
Run on specific GPU
$ vkcubepp --gpu_number [0]
copy
Run in fullscreen
$ vkcubepp --fullscreen
copy
Suppress frame count output
$ vkcubepp --suppress_popups
copy
Display help
$ vkcubepp --help
copy

SYNOPSIS

vkcubepp [options]

DESCRIPTION

vkcubepp displays a spinning 3D cube rendered using the Vulkan graphics API. It's a simple test application to verify that Vulkan drivers and libraries are correctly installed and functioning.
Part of the Vulkan-Tools package from the Khronos Group, vkcubepp is written in C++ (vkcube is the C version). Both produce the same visual output but demonstrate different API usage patterns.
Running with --validate enables Vulkan validation layers, useful for developers debugging Vulkan applications. The cube should spin smoothly if Vulkan is working correctly.

PARAMETERS

--validate

Enable Vulkan validation layers.
--gpu_number n
Select GPU by index.
--fullscreen
Run in fullscreen mode.
--present_mode mode
Set presentation mode.
--suppress_popups
Suppress informational popups.
--width n
Window width in pixels.
--height n
Window height in pixels.
--help, -h
Display help.

CAVEATS

Requires Vulkan-capable GPU and drivers. May fail silently if Vulkan is misconfigured. Part of vulkan-tools package. Window system support (X11/Wayland) depends on build options.

HISTORY

vkcubepp is part of the official Vulkan-Tools repository maintained by the Khronos Group. Vulkan was released in 2016 as a successor to OpenGL, providing lower-level GPU access. The cube demo serves as a minimal Vulkan test case.

SEE ALSO

Copied to clipboard