Skip to content

Conversation

valpackett
Copy link
Contributor

vDRM is great, but not supported everywhere yet, so on some machines the only way to get GPU acceleration is via Venus. Also, make it possible to use software rendering only while still having working cross-domain Wayland.


Should we also automatically set MESA_LOADER_DRIVER_OVERRIDE=zink when Venus is selected?


let virgl_flags = VIRGLRENDERER_USE_EGL
| VIRGLRENDERER_DRM
| VIRGLRENDERER_NO_VIRGL
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this flag supposed to be set unconditionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, after submitting I realized I should've added a comment there – it's seems to only be strictly necessary when not having any dri nodes present (software-only with no GPU devices present, without this flag → guest hang)..

However, legacy virGL is not very desirable (especially in terms of security) and doesn't actually work anyway. So I think it's better to hard-disable it unconditionally.

@slp
Copy link
Collaborator

slp commented Sep 29, 2025

Should we also automatically set MESA_LOADER_DRIVER_OVERRIDE=zink when Venus is selected?

Yes, please export that variable when Venus is selected.

…zation modes

vDRM is great, but not supported everywhere yet, so on some machines the only way
to get GPU acceleration is via Venus. Also, make it possible to use software
rendering only while still having working cross-domain Wayland.

Signed-off-by: Val Packett <[email protected]>
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.

3 participants