[libvirt-users] no drm render nodes available
Erik Skultety
eskultet at redhat.com
Thu Dec 6 14:27:10 UTC 2018
On Thu, Dec 06, 2018 at 05:55:54AM -0800, Michael Taboada wrote:
> Hi,
> Yes. Qemu is version 3.0.0-4, and output is below:
>
> ls -l /dev/dri:
>
> total 0
> drwxr-xr-x 2 root root 60 Nov 28 16:46 by-path
> crw-rw---- 1 root video 226, 0 Nov 28 16:46 card0
>
> domain xml is attached.
> -Michael.
[Putting libvirt-users back on CC]
Yep, this is a pretty serious fail on my account, the code assumes SPICE needs
a DRM render node every time one isn't defined within the XML due to a missing
check for presence of the <gl> element.
I stripped the XML you sent me to the bare minimum to demonstrate a reproducer:
...
<graphics type='spice' autoport='yes'>
<listen type='address'/>
<image compression='off'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
...
Let me know whether you want to create a BZ/fix the bug/both otherwise I'll
take care of everything and mention you in the commit message.
Thanks,
Erik
More information about the libvirt-users
mailing list