LinuxCommandLibrary

vkcube

TLDR

Run a Vulkan test window

$ vkcube
copy

Use a specific display protocol
$ vkcube --wsi [xlib|wayland|...]
copy

Display help
$ vkcube -h
copy

SYNOPSIS

vkcube [options]

PARAMETERS

--fullscreen
    Run the demo in fullscreen mode

--windowed
    Run the demo in windowed mode

--width
    Set the window width

--height
    Set the window height

--validate
    Enable validation layers for debugging

DESCRIPTION

The vkcube command is a demonstration of the Vulkan graphics API. It displays a rotating cube using Vulkan, showcasing its capabilities and performance.
The command is often used to test Vulkan installations and verify that the graphics drivers are functioning correctly.
It can also serve as a starting point for developers looking to create their own Vulkan applications.

CAVEATS

The vkcube command requires a Vulkan-capable graphics card and a compatible driver.
It may not work on systems with outdated or unsupported graphics hardware.

TROUBLESHOOTING

If the vkcube command fails to run, check the system's graphics drivers and ensure that they are up-to-date and compatible with Vulkan.
Additionally, verify that the Vulkan validation layers are installed and configured correctly.

DEVELOPMENT

Developers can use the vkcube command as a starting point for creating their own Vulkan applications.
The command's source code is available online and can be modified and extended to suit specific needs and use cases.

HISTORY

The vkcube command was first introduced with the initial release of the Vulkan API in 2015.
Since then, it has been maintained and updated by the Vulkan working group to reflect changes and improvements to the API.

SEE ALSO

Copied to clipboard