qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio_gpu testing
@ 2014-12-08 11:19 Vasilis Liaskovitis
  2014-12-08 11:35 ` Gerd Hoffmann
  0 siblings, 1 reply; 2+ messages in thread
From: Vasilis Liaskovitis @ 2014-12-08 11:19 UTC (permalink / raw)
  To: kraxel, qemu-devel, airlied

Hi,

I am testing virtio_gpu/virgl and have followed the instructions at:

https://www.kraxel.org/slides/qemu-gfx/#resources
https://docs.google.com/document/d/1CNiN0rHdfh7cp9tQ3coebNEJtHJzm4OCWvF3qL4nucc/pub

Host runs 3.13 with drm.rnodes=1
My fc20 guest boots fine with virgl and sdl2.0 support. However glxinfo and
piglit sanity seem to have some issues, most likely something wrong with my
setup.

glxinfo says:
libGL error: failed to create dri screen
libGL error: failed to load driver: virtio_gpu

although /usr/lib64/dri/virtio_gpu_dri.so is in the guest (also a symlink
to it named /usr/lib64/dri/virgl_dri.so)

guest dmesg: http://pastebin.com/0xtQKqvU
full glxinfo output: http://pastebin.com/jJibN4gp
xorg loads xf6-video-virgl, log: http://pastebin.com/mgdbB8CY 
piglit sanity log: http://pastebin.com/hqte8mHs

The only crucial difference from the setup described afaict, is that my host
mesa is the default system mesa, it does not support EGL_EXT_image_dma_buf_import,
as: http://cgit.freedesktop.org/~airlied/mesa/log/?h=egl-mesa-drm-buf-export
Does correct functionality depend on EGL_EXT_image_dma_buf_import? (btw branch
egl-mesa-drm-buf-export branch seems old, is there an updated one?). I tried to
use this branch as well but I get no gnome session display / login.

Host mesa is using radeonsi_dri

Also input/cursor is not entirely working in sdl guest display (cursor works,
but is not visible), i guess this may be expected at the moment?

Is the display supposed to work with either an X11 or a wayland session in
the guest?


thanks for any hints,

- Vasilis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] virtio_gpu testing
  2014-12-08 11:19 [Qemu-devel] virtio_gpu testing Vasilis Liaskovitis
@ 2014-12-08 11:35 ` Gerd Hoffmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2014-12-08 11:35 UTC (permalink / raw)
  To: Vasilis Liaskovitis; +Cc: airlied, qemu-devel


> glxinfo says:
> libGL error: failed to create dri screen
> libGL error: failed to load driver: virtio_gpu

> although /usr/lib64/dri/virtio_gpu_dri.so is in the guest (also a symlink
> to it named /usr/lib64/dri/virgl_dri.so)

That used to be named virtio-gpu_dri.so, and I have an additional
symlink so both "virtio_gpu_dri.so" and "virtio-gpu_dri.so" are there.

> The only crucial difference from the setup described afaict, is that my host
> mesa is the default system mesa, it does not support EGL_EXT_image_dma_buf_import,
> as: http://cgit.freedesktop.org/~airlied/mesa/log/?h=egl-mesa-drm-buf-export
> Does correct functionality depend on EGL_EXT_image_dma_buf_import?

Not needed for SDL2 ui.

> Is the display supposed to work with either an X11 or a wayland session in
> the guest?

Didn't try wayland yet.  X11 works fine for me.

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-08 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08 11:19 [Qemu-devel] virtio_gpu testing Vasilis Liaskovitis
2014-12-08 11:35 ` Gerd Hoffmann

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).