﻿# Linux Vulkan quad views: what zero-copy composition establishes

qv-vulkan reports Linux headset operation and direct swapchain sampling. Separate its correctness tests from measured GPU savings and full eye-tracking timing.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/linux-vulkan-quadviews-zero-copy-performance-boundary/
Language: en

## A Vulkan layer that composes quad views

The [qv-vulkan project](https://github.com/artscout/linux-vulkan-quadviews-openxr-layer) implements an OpenXR API layer for Vulkan games on Linux. It exposes quad-view and foveated-rendering support, composes a wide peripheral view and a smaller focus view for each eye, and submits ordinary stereo images to the runtime. Its README reports headset operation under SteamVR with a Pimax Crystal Super in October 2026.

That report is more than a claim that the code compiles, but it is still the project's own compatibility observation. The reviewed material does not provide a matched GPU performance experiment with frame-time distributions, driver versions and an independently repeated workload.

## Zero copies does not mean zero composition cost

The README says the composition samples directly from the game's swapchain images within their sub-image rectangles, avoiding an additional copy. This is a specific implementation claim about the input path. The compositor still samples, filters and blends imagery, and its output still needs to reach the runtime.

Consequently, the absence of a copy is not a measured saving in total GPU time or memory traffic. A removed transfer may help, while filtering, synchronization or a changed render workload can dominate the final frame. Preserve those phases rather than translating a zero-copy label into a promised frame-rate gain.

The project also distinguishes bicubic and bilinear peripheral filtering and configurable focus-edge blending. Comparisons need equivalent visible quality; a faster composition with a different filter or focus boundary answers a different question.

## Quad-view geometry is part of correctness

The [Khronos extension specification](https://raw.githubusercontent.com/KhronosGroup/OpenXR-Docs/main/specification/sources/chapters/extensions/varjo/varjo_quad_views.adoc) defines an inner and outer view for each eye, with the inner view fully contained in the outer field of view. Corresponding views for the same eye use identical poses, and runtime blending means the application should still generate the outer image across the inner region.

This contract explains why an attractive focus overlay is insufficient to establish correctness. Check the per-eye geometry, view ordering, edge behavior and image ownership. A geometry or synchronization error can make a result appear fast while producing an incorrect picture or accessing an image after it has been released.

## Read the test boundary before claiming GPU validation

The repository describes end-to-end tests against a fake runtime with scripted gaze, including composition pixels, focus position, stereo passthrough and synchronization validation. Those tests run on lavapipe, a CPU Vulkan implementation. They are useful evidence about the tested logic, but they do not measure a physical GPU's shader cost, memory bandwidth or headset display timing.

Eye tracking is another distinct dependency. The layer relies on gaze supplied by the runtime and falls back to a fixed area when gaze is unavailable. A test of the fixed path should not be presented as validation of the full eye-tracked loop.

## Evaluate the intended headset path

A meaningful performance experiment would preserve game scene, render densities, focus size, filtering, headset, runtime and driver. Measure application rendering and layer composition separately, then inspect final frame timing under sustained load. Include gaze transitions and the runtime's missing-gaze behavior alongside steady fixation.

The [reproducible software-stack guide](/journal/software-stack-reproducibility/) supports that environment record, and the [benchmark-method guide](/journal/inference-benchmark-method/) explains why a declared workload and repeated observations matter. This project supplies an inspectable Linux Vulkan composition path and an author-reported headset case. A GPU saving attributable to avoiding copies remains something to measure on the selected complete path.
