From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbU9V-0003VM-9A for qemu-devel@nongnu.org; Mon, 14 Sep 2015 09:50:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbU9R-0005dr-VF for qemu-devel@nongnu.org; Mon, 14 Sep 2015 09:50:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbU9R-0005dD-P9 for qemu-devel@nongnu.org; Mon, 14 Sep 2015 09:50:33 -0400 Message-ID: <1442238630.13588.1.camel@redhat.com> From: Gerd Hoffmann Date: Mon, 14 Sep 2015 15:50:30 +0200 In-Reply-To: References: <1441797654-15350-1-git-send-email-kraxel@redhat.com> <1441797654-15350-10-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 9/9] gtk/opengl: add opengl context and scanout support (GtkGLArea) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Marc-Andr=E9?= Lureau Cc: QEMU On Fr, 2015-09-11 at 16:44 +0200, Marc-Andr=C3=A9 Lureau wrote: > Hi >=20 > On Wed, Sep 9, 2015 at 1:20 PM, Gerd Hoffmann wrote= : > > This allows virtio-gpu to render in 3d mode. > > Uses native opengl support which is present > > in gtk versions 3.16 and newer. > > > > Signed-off-by: Gerd Hoffmann >=20 > After this patch, when starting qemu I get: >=20 > (qemu-system-x86_64:28264): Gtk-CRITICAL **: gtk_gl_area_make_current: > assertion 'gtk_widget_get_realized (widget)' failed > qemu-system-x86_64: Couldn't find current GLX or EGL context. Can you set a breakpoint to gtk_gl_area_make_current and print a stacktrace when qemu arrives there? I suspect the caller will be gd_gl_area_refresh, can you confirm? thanks, Gerd