gamepaper renders Vulkan games as dynamic wallpapers on Wayland compositors using the BACKGROUND layer, bringing your desktop to life with real-time 3D content.
vkQueuePresentKHR callsVK_KHR_external_memory_fdSCM_RIGHTSโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Wayland Compositor (Sway/Hyprland) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ BACKGROUND Layer โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โ โ gamepaper (EGL/OpenGL) โ โ โ โ Background rendering
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โฒ โ
โ โ DMA-BUF fd (IPC) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Vulkan Layer โ โ โ API interception
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โฒ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Game (Vulkan) โ โ โ Headless rendering
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โฒ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Nested Compositor (wlroots) โ โ โ Virtual display
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Auto-detect resolution and rotation
gamepaper -o HDMI-A-1 -- vkcube
# Specify resolution and scale factor
gamepaper -w 1920 -h 1080 -s 0.5 -o HDMI-A-1 -- vkcube
# Limit framerate for power saving
gamepaper --fps 30 -o HDMI-A-1 -- steam steam://rungameid/123
zwlr_layer_shell_v1 (BACKGROUND layer)VK_KHR_external_memory_fd + VK_IMAGE_TILING_LINEAREGL_EXT_image_dma_buf_import + GL_OES_EGL_image_externalSCM_RIGHTS (file descriptor passing)