<div dir="ltr"><span style="font-size:12.8px">Hello,</span><br style="font-size:12.8px"><div style="font-size:12.8px">I'm trying to test what found here:</div><div style="font-size:12.8px"><a href="http://blog.wikichoon.com/2016/05/spice-openglvirgl-acceleration-on.html" target="_blank">http://blog.wikichoon.com/<wbr>2016/05/spice-openglvirgl-<wbr>acceleration-on.html</a><br></div><div style="font-size:12.8px">and here:</div><div style="font-size:12.8px"><a href="https://www.kraxel.org/blog/tag/virgl/" target="_blank">https://www.kraxel.org/blog/<wbr>tag/virgl/</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">My system is a fedora 25 laptop, born in version 23 and gradually updated to 24 and 25 now.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I had a fedora 25 guest that worked ok with "normal"spice and I'm trying to configure with virgl</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Main components currently installed on host:</div><div style="font-size:12.8px">qemu-kvm-2.7.0-7.fc25.x86_64<br></div><div style="font-size:12.8px">libvirt-2.2.0-2.fc25.x86_64<br></div><div style="font-size:12.8px">virt-manager-1.4.0-4.fc25.<wbr>noarch<br></div><div style="font-size:12.8px">VirtualGL-2.4-7.fc25.x86_64<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Commands executed to modify configuration:</div><div style="font-size:12.8px"><div>[root@ope46 qemu]# virt-xml f25 --confirm --edit --video clearxml=yes,model=virtio,<wbr>accel3d=yes</div><div>--- Original XML</div><div>+++ Altered XML</div><div>@@ -94,8 +94,9 @@</div><div>       <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/></div><div>     </sound></div><div>     <video></div><div>-      <model type="virtio" heads="1" primary="yes"/></div><div>-      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/></div><div>+      <model type="virtio"></div><div>+        <acceleration accel3d="yes"/></div><div>+      </model></div><div>     </video></div><div>     <redirdev bus="usb" type="spicevmc"></div><div>       <address type="usb" bus="0" port="1"/></div><div><br></div><div>Define 'f25' with the changed XML? (y/n): y</div><div>Domain 'f25' defined successfully.</div><div><br></div><div>[root@ope46 qemu]# virt-xml f25 --confirm --edit --graphics clearxml=yes,type=spice,gl=on,<wbr>listen=none</div><div>WARNING  qemu/libvirt version may not support spice GL</div><div>--- Original XML</div><div>+++ Altered XML</div><div>@@ -86,9 +86,9 @@</div><div>     </channel></div><div>     <input type="mouse" bus="ps2"/></div><div>     <input type="keyboard" bus="ps2"/></div><div>-    <graphics type="spice" autoport="yes"></div><div>-      <listen type="address"/></div><div>-      <image compression="off"/></div><div>+    <graphics type="spice" autoport="no"></div><div>+      <gl enable="yes"/></div><div>+      <listen type="none"/></div><div>     </graphics></div><div>     <sound model="ich6"></div><div>       <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/></div><div><br></div><div>Define 'f25' with the changed XML? (y/n): y</div><div>Domain 'f25' defined successfully.</div><div>[root@ope46 qemu]# </div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I don't know if the WARNING above is a generic one or if it makes any pre-check to system...</div><div style="font-size:12.8px">Anyway both from vrt-manager and virsh I get error </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>[root@ope46 qemu]# virsh start f25</div><div>error: Failed to start domain f25</div><div>error: internal error: process exited while connecting to monitor: 2016-12-13T11:18:37.784324Z qemu-system-x86_64: egl: no drm render node available</div><div>2016-12-13T11:18:37.784375Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL</div><div><br></div><div>[root@ope46 qemu]# </div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">and this in /var/log/libvirt/qemu/f25.log:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>2016-12-13 11:18:37.584+0000: starting up libvirt version: 2.2.0, package: 2.fc25 (Fedora Project, 2</div><div>016-11-14-21:04:29, <a href="http://buildvm-25.phx2.fedoraproject.org/" target="_blank">buildvm-25.phx2.fedoraproject.<wbr>org</a>), qemu version: 2.7.0(qemu-2.7.0-7.fc25), host</div><div>name: <a href="http://ope46.ceda.polimi.it/" target="_blank">ope46.ceda.polimi.it</a></div><div>LC_ALL=C PATH=/usr/local/sbin:/usr/<wbr>local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=spice /usr/bin/qemu-k</div><div>vm -name guest=f25,debug-threads=on -S -object secret,id=masterKey0,format=<wbr>raw,file=/var/lib/libvirt</div><div>/qemu/domain-2-f25/master-key.<wbr>aes -machine pc-i440fx-2.6,accel=kvm,usb=<wbr>off,vmport=off -cpu Nehalem -</div><div>m 4096 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid d4c23620-b805-4656-9b97-<wbr>d9d4ab9d</div><div>ba63 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/<wbr>var/lib/libvirt/qemu/domain-2-</div><div>f25/monitor.sock,server,nowait -mon chardev=charmonitor,id=<wbr>monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=<wbr>discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.<wbr>0,addr=0x6.0x7 -device ich9-usb-uhci1,masterbus=usb.<wbr>0,firstport=0,bus=pci.0,<wbr>multifunction=on,addr=0x6 -device ich9-usb-uhci2,masterbus=usb.<wbr>0,firstport=2,bus=pci.0,addr=<wbr>0x6.0x1 -device ich9-usb-uhci3,masterbus=usb.<wbr>0,firstport=4,bus=pci.0,addr=<wbr>0x6.0x2 -device virtio-scsi-pci,id=scsi0,bus=<wbr>pci.0,addr=0x8 -device virtio-serial-pci,id=virtio-<wbr>serial0,bus=pci.0,addr=0x5 -drive if=none,id=drive-ide0-0-0,<wbr>readonly=on -device ide-cd,bus=ide.0,unit=0,drive=<wbr>drive-ide0-0-0,id=ide0-0-0,<wbr>bootindex=1 -drive file=/var/lib/libvirt/images/<wbr>f25.qcow2,format=qcow2,if=<wbr>none,id=drive-scsi0-0-0-0 -device scsi-hd,bus=scsi0.0,channel=0,<wbr>scsi-id=0,lun=0,drive=drive-<wbr>scsi0-0-0-0,id=scsi0-0-0-0,<wbr>bootindex=2 -netdev tap,fd=26,id=hostnet0 -device rtl8139,netdev=hostnet0,id=<wbr>net0,mac=52:54:00:17:49:49,<wbr>bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=<wbr>charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=<wbr>vdagent -device virtserialport,bus=virtio-<wbr>serial0.0,nr=1,chardev=<wbr>charchannel0,id=channel0,name=<wbr>com.redhat.spice.0 -spice port=0,disable-ticketing,gl=<wbr>on,seamless-migration=on -device virtio-vga,id=video0,virgl=on,<wbr>bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,<wbr>addr=0x4 -device hda-duplex,id=sound0-codec0,<wbr>bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=<wbr>usbredir -device usb-redir,chardev=charredir0,<wbr>id=redir0,bus=usb.0,port=1 -chardev spicevmc,id=charredir1,name=<wbr>usbredir -device usb-redir,chardev=charredir1,<wbr>id=redir1,bus=usb.0,port=2 -device virtio-balloon-pci,id=<wbr>balloon0,bus=pci.0,addr=0x7 -msg timestamp=on</div><div>char device redirected to /dev/pts/1 (label charserial0)</div><div>2016-12-13T11:18:37.784324Z qemu-system-x86_64: egl: no drm render node available</div><div>2016-12-13T11:18:37.784375Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL</div><div>2016-12-13 11:18:37.891+0000: shutting down</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What can I check? Any pre-requisite in laptop video adapter or other?<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks in advance,</div><div style="font-size:12.8px">Gialuca</div></div>