Skip to content
Snippets Groups Projects
  1. Aug 01, 2022
  2. Jul 28, 2022
  3. Jul 19, 2022
  4. Jul 12, 2022
  5. Jul 01, 2022
  6. Jun 28, 2022
  7. Jun 14, 2022
    • Akihiko Odaki's avatar
      ui: Deliver refresh rate via QemuUIInfo · aeffd071
      Akihiko Odaki authored
      
      This change adds a new member, refresh_rate to QemuUIInfo in
      include/ui/console.h. It represents the refresh rate of the
      physical display backend, and it is more appropriate than
      GUI update interval as the refresh rate which the emulated device
      reports:
      - sdl may set GUI update interval shorter than the refresh rate
        of the physical display to respond to user-generated events.
      - sdl and vnc aggressively changes GUI update interval, but
        a guests is typically not designed to respond to frequent
        refresh rate changes, or frequent "display mode" changes in
        general. The frequency of refresh rate changes of the physical
        display backend matches better to the guest's expectation.
      
      QemuUIInfo also has other members representing "display mode",
      which makes it suitable for refresh rate representation. It has
      a throttling of update notifications, and prevents frequent changes
      of the display mode.
      
      Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
      Message-Id: <20220226115516.59830-3-akihiko.odaki@gmail.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      aeffd071
    • Akihiko Odaki's avatar
      ui/cocoa: Fix poweroff request code · 2910abd6
      Akihiko Odaki authored
      
      Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20220529082508.89097-1-akihiko.odaki@gmail.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      2910abd6
    • Volker Rümelin's avatar
      ui/gtk-gl-area: create the requested GL context version · 09053670
      Volker Rümelin authored
      
      Since about 2018 virglrenderer (commit fa835b0f88 "vrend: don't
      hardcode context version") tries to open the highest available GL
      context version. This is done by creating the known GL context
      versions from the highest to the lowest until (*create_gl_context)
      returns a context != NULL.
      
      This does not work properly with
      the current QEMU gd_gl_area_create_context() function, because
      gdk_gl_context_realize() on Wayland creates a version 3.0 legacy
      context if the requested GL context version can't be created.
      
      In order for virglrenderer to find the highest available GL
      context version, return NULL if the created context version is
      lower than the requested version.
      
      This fixes the following error:
      QEMU started with -device virtio-vga-gl -display gtk,gl=on.
      Under Wayland, the guest window remains black and the following
      information can be seen on the host.
      
      gl_version 30 - compat profile
      (qemu:5978): Gdk-WARNING **: 16:19:01.533:
        gdk_gl_context_set_required_version
        - GL context versions less than 3.2 are not supported.
      
      (qemu:5978): Gdk-WARNING **: 16:19:01.537:
        gdk_gl_context_set_required_version -
        GL context versions less than 3.2 are not supported.
      
      (qemu:5978): Gdk-WARNING **: 16:19:01.554:
        gdk_gl_context_set_required_version -
        GL context versions less than 3.2 are not supported.
      vrend_renderer_fill_caps: Entering with stale GL error: 1282
      
      To reproduce this error, an OpenGL driver is required on the host
      that doesn't have the latest OpenGL extensions fully implemented.
      An example for this is the Intel i965 driver on a Haswell processor.
      
      Signed-off-by: default avatarVolker Rümelin <vr_qemu@t-online.de>
      Message-Id: <20220605085131.7711-2-vr_qemu@t-online.de>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      09053670
    • Volker Rümelin's avatar
      ui/gtk-gl-area: implement GL context destruction · e561b3b7
      Volker Rümelin authored
      
      The counterpart function for gd_gl_area_create_context() is
      currently empty. Implement the gd_gl_area_destroy_context()
      function to avoid GL context leaks.
      
      Signed-off-by: default avatarVolker Rümelin <vr_qemu@t-online.de>
      Message-Id: <20220605085131.7711-1-vr_qemu@t-online.de>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      e561b3b7
  8. Jun 03, 2022
    • Thomas Huth's avatar
      ui: Switch "-display sdl" to use the QAPI parser · 9eafdeea
      Thomas Huth authored
      
      The "-display sdl" option still uses a hand-crafted parser for its
      parameters since we didn't want to drag an interface we considered
      somewhat flawed into the QAPI schema. Since the flaws are gone now,
      it's time to QAPIfy.
      
      This introduces the new "DisplaySDL" QAPI struct that is used to hold
      the parameters that are unique to the SDL display. The only specific
      parameter is currently "grab-mod" that is used to specify the required
      modifier keys to escape from the mouse grabbing mode.
      
      Message-Id: <20220519155625.1414365-3-thuth@redhat.com>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      9eafdeea
  9. May 12, 2022
  10. May 11, 2022
  11. May 03, 2022
  12. Apr 28, 2022
  13. Apr 27, 2022
  14. Apr 26, 2022
  15. Apr 25, 2022
  16. Apr 21, 2022
  17. Apr 07, 2022
  18. Apr 06, 2022
  19. Mar 28, 2022
  20. Mar 21, 2022
  21. Mar 18, 2022
  22. Mar 15, 2022
Loading