qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christopher Covington <cov@codeaurora.org>
To: "Gerd Hoffmann" <kraxel@redhat.com>,
	qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [Qemu-devel] [PATCH 0/9] add virtio-gpu with 2d support
Date: Mon, 23 Mar 2015 16:19:27 -0400	[thread overview]
Message-ID: <5510754F.4050906@codeaurora.org> (raw)
In-Reply-To: <1426240033-24673-1-git-send-email-kraxel@redhat.com>

Hi Gerd,

This looks great, thanks for your work on this. Unfortunately, I'm seeing the
segfault below.

Alex, do you have any thoughts on how well this might be able to replace the
Goldfish Framebuffer on the Android Emulator?

On 03/13/2015 05:47 AM, Gerd Hoffmann wrote:
>   Hi,
> 
> Next round of virtio-gpu patches.  Patches 1-8 are meant to be merged,
> patch 9 is a hack to simplify testing with libvirt and will not be
> merged.
> 
> Changes since the RfC submission earlier this month are a bunch of
> sanity checks being added (mostly pointed out by max) and the
> virtio-1.0 adaptions are squashed in now.
> 
> This series depends on virtio 1.0 patches still not merged.
> 
> This series is also available via git:
>   git://git.kraxel.org/qemu tags/virtio-gpu-2015-03-13
> 
> The virtio patches are here (mst's virtio-1.0 branch, rebased to master):
>   git://git.kraxel.org/qemu tags/virtio-mst-rebased-2015-03-13
> 
> Guest kernel driver is here:
>   git://git.kraxel.org/linux virtio-gpu
> 
> Usage:
>   qemu-system-x86_64 -vga virtio [ ... ]
>   qemu-system-x86_64 -device virtio-vga [ ... ]
>   qemu-system-ppc64 -M pseries -device virtio-gpu-pci [ ... ]
>   qemu-system-arm -M virt -device virtio-gpu-device [ ... ]

git remote add kraxel git://git.kraxel.org/qemu
git fetch kraxel
git checkout tags/virtio-gpu-2015-03-13
./configure --target-list=aarch64-softmmu
make -j 12
gdb --args aarch64-softmmu/qemu-system-aarch64 -M virt -cpu cortex-a57 \
  -device virtio-gpu-device
[...]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fb0ac0 (LWP 26568)]
gd_switch (dcl=0x5555563285d0, surface=0x0) at ui/gtk.c:565
565         trace_gd_switch(vc->label, surface_width(surface), surface_heigh
t(surface));
(gdb) bt
#0  gd_switch (dcl=0x5555563285d0, surface=0x0) at ui/gtk.c:565
#1  0x00005555558ba706 in register_displaychangelistener (
    dcl=0x5555563285d0) at ui/console.c:1353
#2  0x00005555558dcd80 in gd_vc_gfx_init (view_menu=0x555556bf4220,
    group=<optimized out>, idx=<optimized out>, con=0x555556333de0,
    vc=0x555556328598, s=0x555556328470) at ui/gtk.c:1705
#3  gd_create_menu_view (s=0x555556328470) at ui/gtk.c:1781
#4  gd_create_menus (s=0x555556328470) at ui/gtk.c:1807
#5  gtk_display_init (ds=<optimized out>, full_screen=false,
    grab_on_hover=false) at ui/gtk.c:1894
#6  0x0000555555609247 in main (argc=<optimized out>,
    argv=<optimized out>, envp=<optimized out>) at vl.c:4292

Thanks,
Chris

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

      parent reply	other threads:[~2015-03-23 20:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13  9:47 [Qemu-devel] [PATCH 0/9] add virtio-gpu with 2d support Gerd Hoffmann
2015-03-13  9:47 ` [Qemu-devel] [PATCH] opengl: require glx Gerd Hoffmann
2015-03-13 10:31   ` Gerd Hoffmann
2015-03-13  9:47 ` [Qemu-devel] [PATCH 1/9] virtio-gpu/2d: add hardware spec include file Gerd Hoffmann
2015-03-16 16:20   ` Max Reitz
2015-03-17  7:54     ` Gerd Hoffmann
2015-03-13  9:47 ` [Qemu-devel] [PATCH 2/9] virtio-gpu/2d: add virtio gpu core code Gerd Hoffmann
2015-03-16 18:28   ` Max Reitz
2015-03-16 20:15   ` Max Reitz
2015-03-17  8:21     ` Gerd Hoffmann
2015-03-13  9:47 ` [Qemu-devel] [PATCH 3/9] virtio-gpu-pci: add virtio pci support Gerd Hoffmann
2015-03-16 18:49   ` Max Reitz
2015-03-13  9:47 ` [Qemu-devel] [PATCH 4/9] virtio-vga: add virtio gpu device with vga compatibility Gerd Hoffmann
2015-03-16 19:17   ` Max Reitz
2015-03-13  9:47 ` [Qemu-devel] [PATCH 5/9] virtio-vga: add '-vga virtio' support Gerd Hoffmann
2015-03-16 19:30   ` Max Reitz
2015-03-13  9:47 ` [Qemu-devel] [PATCH 6/9] virtio-vga: add vgabios configuration Gerd Hoffmann
2015-03-16 19:38   ` Max Reitz
2015-03-13  9:47 ` [Qemu-devel] [PATCH 7/9] virtio-vga: add vgabios binary Gerd Hoffmann
2015-03-16 19:39   ` Max Reitz
2015-03-13  9:47 ` [Qemu-devel] [PATCH 8/9] virtio-gpu: add to display-vga test Gerd Hoffmann
2015-03-16 17:16   ` Paolo Bonzini
2015-03-17  8:25     ` Gerd Hoffmann
2015-03-13  9:47 ` [Qemu-devel] [PATCH 9/9] [hack] virtio-gpu: maskerade as -device VGA Gerd Hoffmann
2015-03-23 20:19 ` Christopher Covington [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=5510754F.4050906@codeaurora.org \
    --to=cov@codeaurora.org \
    --cc=alex.bennee@linaro.org \
    --cc=kraxel@redhat.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).