From: Akihiko Odaki <akihiko.odaki@gmail.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>,
"Gerd Hoffmann" <kraxel@redhat.com>
Cc: qemu Developers <qemu-devel@nongnu.org>
Subject: Re: [PATCH v2 00/12] GL & D-Bus display related fixes
Date: Sun, 6 Mar 2022 13:31:29 +0900 [thread overview]
Message-ID: <a667b6a2-ec03-2fcd-9591-c6fe0d40cb9e@gmail.com> (raw)
In-Reply-To: <CAMVc7JU1rfBEHgofiveNopLkyXRLSEG8dA=6cn_qY52BqLB3iw@mail.gmail.com>
On 2022/02/18 1:11, Akihiko Odaki wrote:
>>> You missed only one thing:
>>>> - that console_select and register_displaychangelistener may not call
>>>> dpy_gfx_switch and call dpy_gl_scanout_texture instead. It is
>>>> incompatible with non-OpenGL displays
>>>
>>> displaychangelistener_display_console always has to call
>>> dpy_gfx_switch for non-OpenGL displays, but it still doesn't.
>>
>>
>> Ok, would that be what you have in mind?
>>
>> --- a/ui/console.c
>> +++ b/ui/console.c
>> @@ -1122,6 +1122,10 @@ static void displaychangelistener_display_console(DisplayChangeListener *dcl,
>> } else if (con->scanout.kind == SCANOUT_SURFACE) {
>> dpy_gfx_create_texture(con, con->surface);
>> displaychangelistener_gfx_switch(dcl, con->surface);
>> + } else {
>> + /* use the fallback surface, egl-headless keeps it updated */
>> + assert(con->surface);
>> + displaychangelistener_gfx_switch(dcl, con->surface);
>> }
>
> It should call displaychangelistener_gfx_switch even when e.g.
> con->scanout.kind == SCANOUT_TEXTURE. egl-headless renders the content
> to the last DisplaySurface it received while con->scanout.kind ==
> SCANOUT_TEXTURE.
Hi,
Let me remind that the release date is approaching but the regression
which breaks switching the console for vnc with egl-headless is still
not fixed. (vnc has the feature to switch consoles with Ctrl+Alt+[1-9]
if it is not bound to a particular console.)
Please fix this or, if not possible, revert the changes related to dbus.
My patch series is available for fixing the problem. The design it
adopted is somewhat controversial and it cannot be applied to the
current master branch. Please tell me if it is necessary to rebase this.
https://patchew.org/QEMU/20220213024222.3548-1-akihiko.odaki@gmail.com/
Regards,
Akihiko Odaki
prev parent reply other threads:[~2022-03-06 4:32 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 11:58 [PATCH v2 00/12] GL & D-Bus display related fixes marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 01/12] ui/console: fix crash when using gl context with non-gl listeners marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 02/12] ui/console: fix texture leak when calling surface_gl_create_texture() marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 03/12] ui: do not create a surface when resizing a GL scanout marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 04/12] ui/console: move check for compatible GL context marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 05/12] ui/console: move dcl compatiblity check to a callback marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 06/12] ui/console: egl-headless is compatible with non-gl listeners marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 07/12] ui/dbus: associate the DBusDisplayConsole listener with the given console marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 08/12] ui/console: move console compatibility check to dcl_display_console() marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 09/12] ui/shader: fix potential leak of shader on error marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 10/12] ui/shader: free associated programs marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 11/12] ui/console: add a dpy_gfx_switch callback helper marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 12/12] ui/dbus: fix texture sharing marcandre.lureau
[not found] ` <CAMVc7JWYPZv9yWg0OQfoHQrwaZkb++crxePYQWKTD+af--NLGA@mail.gmail.com>
2022-02-17 12:42 ` Fwd: " Akihiko Odaki
2022-02-17 12:58 ` [PATCH v2 00/12] GL & D-Bus display related fixes Akihiko Odaki
2022-02-17 16:12 ` Marc-André Lureau
2022-02-17 16:11 ` Akihiko Odaki
2022-02-17 17:07 ` Marc-André Lureau
2022-02-17 17:25 ` Akihiko Odaki
2022-02-17 17:36 ` Marc-André Lureau
2022-02-17 17:43 ` Akihiko Odaki
2022-03-07 11:56 ` Marc-André Lureau
2022-03-06 4:31 ` Akihiko Odaki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a667b6a2-ec03-2fcd-9591-c6fe0d40cb9e@gmail.com \
--to=akihiko.odaki@gmail.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).