qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 2/2] virtio-gpu: Add an option to connect all outputs on


From: Damian Hobson-Garcia
Subject: Re: [RFC PATCH 2/2] virtio-gpu: Add an option to connect all outputs on startup
Date: Wed, 29 Mar 2023 16:57:35 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 2023/03/08 11:25, Damian Hobson-Garcia wrote:
When multiple outputs are enabled using the "max_outputs" attribute,
only the first connector appears as "Connected" in the guest DRM
device.  Additional connectors must be enabled from the host side
UI frontend before they are usable by the guest.  However, multiple
outputs can still be of use on a headless configuration, if for example,
the display will only be used for taking periodic screenshots in the
guest or integration into a CI pipeline, etc.

Add an option to start all of the outputs in the "Connected" state,
so that they are immediately available to the guest.

I was also thinking that since the main application for this is headless configurations, it could be possible to implement this in
ui/egl-headless.c.

Calling dpy_set_ui_info() for each console during initialization is enough to enable the outputs, but then there is the question of what resolution to pass in the ui_info. Hardcoded? Add a new option to the `egl-headless` display property?

Are there any thoughts on this approach vs. addressing this at the display driver (virtio-gpu) level?

Thank you,
Damian






reply via email to

[Prev in Thread] Current Thread [Next in Thread]