From: Igor Mammedov <imammedo@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Torsten Wohlfarth <towo@siduction.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [BUG] qemu git error with virgl
Date: Mon, 4 Jan 2021 19:50:55 +0100 [thread overview]
Message-ID: <20210104195055.7d60dbc4@redhat.com> (raw)
In-Reply-To: <a6651e26-58b8-cee0-bb15-198e6fb64d48@redhat.com>
On Sun, 3 Jan 2021 18:28:11 +0100
Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
> Cc'ing Gerd + patch author/reviewer.
>
> On 1/2/21 2:11 PM, Torsten Wohlfarth wrote:
> > Hello,
> >
> > i can't start any system if i use virgl. I get the following error:
> >
> > qemu-x86_64: ../ui/console.c:1791: dpy_gl_ctx_create: Assertion
> > `con->gl' failed.
Does following fix issue:
[PULL 12/55] vl: initialize displays _after_ exiting preconfiguration
> > ./and.sh: line 27: 3337167 Aborted qemu-x86_64 -m 4096
> > -smp cores=4,sockets=1 -cpu host -machine pc-q35-4.0,accel=kvm -device
> > virtio-vga,virgl=on,xres=1280,yres=800 -display sdl,gl=on -device
> > intel-hda,id=sound0,msi=on -device
> > hda-micro,id=sound0-codec0,bus=sound0.0,cad=0 -device qemu-xhci,id=xhci
> > -device usb-tablet,bus=xhci.0 -net
> > nic,macaddr=52:54:00:12:34:62,model=e1000 -net
> > tap,ifname=$INTERFACE,script=no,downscript=no -drive
> > file=/media/daten2/image/lineageos.qcow2,if=virtio,index=1,media=disk,cache=none,aio=threads
> >
> > Set 'tap3' nonpersistent
> >
> > i have bicected the issue:
> >
> > towo:Defiant> git bisect good
> > b4e1a342112e50e05b609e857f38c1f2b7aafdc4 is the first bad commit
> > commit b4e1a342112e50e05b609e857f38c1f2b7aafdc4
> > Author: Paolo Bonzini <pbonzini@redhat.com>
> > Date: Tue Oct 27 08:44:23 2020 -0400
> >
> > vl: remove separate preconfig main_loop
> >
> > Move post-preconfig initialization to the x-exit-preconfig. If
> > preconfig
> > is not requested, just exit preconfig mode immediately with the QMP
> > command.
> >
> > As a result, the preconfig loop will run with accel_setup_post
> > and os_setup_post restrictions (xen_restrict, chroot, etc.)
> > already done.
> >
> > Reviewed-by: Igor Mammedov <imammedo@redhat.com>
> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> >
> > include/sysemu/runstate.h | 1 -
> > monitor/qmp-cmds.c | 9 -----
> > softmmu/vl.c | 95
> > ++++++++++++++++++++---------------------------
> > 3 files changed, 41 insertions(+), 64 deletions(-)
> >
> > Regards,
> >
> > Torsten Wohlfarth
> >
> >
> >
>
>
next prev parent reply other threads:[~2021-01-04 18:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-02 13:11 [BUG] qemu git error with virgl Torsten Wohlfarth
2021-01-03 17:28 ` Philippe Mathieu-Daudé
2021-01-04 18:50 ` Igor Mammedov [this message]
2021-01-04 19:37 ` Torsten Wohlfarth
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=20210104195055.7d60dbc4@redhat.com \
--to=imammedo@redhat.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=towo@siduction.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).