From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:34812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h29GQ-0003ny-SQ for qemu-devel@nongnu.org; Fri, 08 Mar 2019 01:45:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h29GQ-0002NB-7I for qemu-devel@nongnu.org; Fri, 08 Mar 2019 01:45:50 -0500 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]:38796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h29GP-0002MO-S4 for qemu-devel@nongnu.org; Fri, 08 Mar 2019 01:45:50 -0500 Received: by mail-lj1-x244.google.com with SMTP id 199so16485328ljj.5 for ; Thu, 07 Mar 2019 22:45:49 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: manish jaggi Date: Fri, 8 Mar 2019 12:15:37 +0530 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] egl: EGL_MESA_image_dma_buf_export not supported / Failed to initialize EGL render node for SPICE GL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= Cc: QEMU , mjaggi@marvell.com, Jayachandran Chandrasekharan Nair On Thu, Mar 7, 2019 at 9:55 PM Marc-Andr=C3=A9 Lureau wrote: > > Hi > > On Thu, Mar 7, 2019 at 3:00 PM manish jaggi wrote: > > > > Hi List, > > I am trying to run qemu with spice gl=3Don with the below command line > > and getting errors. > > > > qemu-system-x86_64 -cdrom ubuntu-18.04.2-desktop-amd64.iso -hda > > u1.qcow2 -enable-kvm -m 1G -cpu host -smp 8 -machine vmport=3Doff -boot > > order=3Ddc -device virtio-vga,virgl=3Don -spice > > gl=3Don,unix,addr=3D/home/mjaggi/spice.sock,password=3D1,disable-ticket= ing > > -soundhw hda -device virtio-serial -chardev > > spicevmc,id=3Dvdagent,debug=3D0,name=3Dvdagent -device > > virtserialport,chardev=3Dvdagent,name=3Dcom.redhat.spice.0 > > > > qemu-system-x86_64: egl: EGL_MESA_image_dma_buf_export not supported > > qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL > > It's a limitation of your graphics driver, it doesn't support the > required extensions. > > Which GPU and driver do you have? > AMD RX560, using mainline 5.0 kernel. is EGL_MESA_image_dma_buf_export must for spice gl=3Don? > thanks > > > > > Qemu configuration > > ./configure --enable-sdl --with-sdlabi=3D2.0 --enable-opengl > > --enable-virglrenderer --enable-system --enable-modules > > --target-list=3Dx86_64-softmmu --enable-kvm --disable-werror > > > > ... > > OpenGL support yes > > OpenGL dmabufs yes > > > > As per configure script > > > > #include > > #ifndef EGL_MESA_image_dma_buf_export > > # error mesa/epoxy lacks support for dmabufs (mesa 10.6+) > > #endif > > int main(void) { return 0; } > > EOF > > if compile_prog "" "" ; then > > opengl_dmabuf=3Dyes > > fi > > fi > > > > So if OpenGL dmabufs is yes, should I be getting > > EGL_MESA_image_dma_buf_export not supported error ? > > What I could be missing here > > Need help/guidance. > > > > -Thanks > > Manish > > > > > -- > Marc-Andr=C3=A9 Lureau