Skip to content

Conversation

@phreer
Copy link

@phreer phreer commented Dec 23, 2025

This PR improves device selection logic to support environments where the rendering device and display device are separate, which is common in SR-IOV and Virtualization setups (e.g., Intel iGPU VF for rendering + virtio-GPU for display).

This ensures the function's semantics align with its name and simplifies
the implementation of subsequent patch.
In certain SR-IOV virtualization setups, rendering and display functions
are split across different DRM nodes. A typical case is using an Intel
iGPU Virtual Function (VF) as the Vulkan render device, while using
virtio-GPU as the KMS device for output.

If the detected Vulkan primary device is found to be unsatisfactory for
KMS, the backend will now attempt to initialize an alternative
KMS-capable device to ensure a working display.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant