[Spice-devel] Spice OpenGL does not work

王杰东 wangjiedong at kylinos.cn
Wed Nov 8 02:00:02 UTC 2017


Ok , i will use a desktop processor to try again .
But do the errors : "virtio 3d acceleration is not  supported" and "egl: no drm render node available , Failed to initializa  EGL render node for SPICE GL" result from hardware devices only or some error configurations ?  
 
------------------ Original ------------------
From:  "Frediano Ziglio"<fziglio at redhat.com>;
Date:  Tue, Nov 7, 2017 08:13 PM
To:  "王杰东"<wangjiedong at kylinos.cn>; 
Cc:  "spice-devel"<spice-devel at freedesktop.org>; 
Subject:  Re: [Spice-devel]  Spice OpenGL does not work

 
The idea of Virgl is to use the host card GPU 3D capabilities to accelerate/provide 3D rendering.


Your card is mainly a 2D VGA card, really useful for remote system administration but quite useless for Virgl.
Desktop processors integrate an Intel GPU which is enough for Virgl.
About ATI/NVIDIA support I'm not sure the support level. dma buffer support is required but seems
missing in NVIDIA cards. Try asking to Qemu mailing list.


Frediano


I use SuperMicro Server to test , it have a Xeon E5-2620 CPU and a ASPEED Video AST2400 , but no discrete GPU . Should i add a ATI/NVIDIA ?
and the outputs are:


 - ls -l /dev/dri
crw-rw-rw-+ 1 root video 226,  0 Nov  3 08:32 card0
crw-rw-rw-  1 root video 226, 64 Nov  3 08:32 controlD64



-eglinfo
Using default X11 display


libEGL warning: DRI2: failed to authenticate
EGL information:
    API version:    1.4
    vendor string:  Mesa Project
    version string: 1.4 (DRI2)
    client APIs:    OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3 
    extensions:
      EGL_KHR_create_context
      EGL_KHR_get_all_proc_addresses
      EGL_KHR_gl_colorspace
      EGL_KHR_surfaceless_context
      EGL_MESA_configless_context
   number of configurations: 20
   ......
   OpenGL information:
   ......
   OpenGL ES 1 information:
   ......
   OpenGL ES 2 information:
   ......



-eglinfo |wc -l
  429


 
 
------------------ Original ------------------
From:  "Frediano Ziglio"<fziglio at redhat.com>;
Date:  Mon, Nov 6, 2017 06:28 PM
To:  "王杰东"<wangjiedong at kylinos.cn>; 
Cc:  "spice-devel"<spice-devel at lists.freedesktop.org>; 
Subject:  Re: [Spice-devel]  Spice OpenGL does not work

 


I followed the section "GL acceleration (virgl)" of spice-user-manual.html to configure my host , but it always failed , 
i updated my environment like this : qemu 2.10 , libvirt 3.6 , spice-server 0.13.90 , spice-gtk 0.33, spice-protocol 0.12.12 , virglrenderer 0.6.0 , but it still did not work .
the errors i cannot resolve include "virtio 3d acceleration is not supported" and "egl: no drm render node available , Failed to initializa EGL render node for SPICE GL" .
if you have some advice or somthing that i ingore to use spice opengl, please help me , thanks !
Would be useful to understand which GPU you have.

Would be useful outputs from:

- ls -l /dev/dri

- lspci -v

- eglinfo

(last in egl-utils package)



Frediano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171108/fb9b6800/attachment.html>


More information about the Spice-devel mailing list