Re: [libvirt-users] no drm render nodes available

2018-12-06 Thread Erik Skultety
On Thu, Dec 06, 2018 at 04:27:21PM +0100, Erik Skultety wrote:
> On Thu, Dec 06, 2018 at 07:20:50AM -0800, Michael Taboada wrote:
> > If you could handle it that would be great. I can for now downgrade to my 
> > cached git 0.9.0 package to work around this. If you don't mind emailing 
> > back or somehow alerting me the bug has been fixed though, that would be 
> > helpful.
> > -Michael.

So, bugzilla won't let me put you on CC (I assume you don't have an account
there, so the here it is:
https://bugzilla.redhat.com/show_bug.cgi?id=1656895

Regards,
Erik

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Re: [libvirt-users] no drm render nodes available

2018-12-06 Thread Erik Skultety
On Thu, Dec 06, 2018 at 07:20:50AM -0800, Michael Taboada wrote:
> If you could handle it that would be great. I can for now downgrade to my 
> cached git 0.9.0 package to work around this. If you don't mind emailing back 
> or somehow alerting me the bug has been fixed though, that would be helpful.
> -Michael.

Okay, I'll create an upstream bugzilla and put you on CC.
FWIW I'm already testing a fix.

Regards,
Erik

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Re: [libvirt-users] no drm render nodes available

2018-12-06 Thread Michael Taboada

If you could handle it that would be great. I can for now downgrade to my 
cached git 0.9.0 package to work around this. If you don't mind emailing back 
or somehow alerting me the bug has been fixed though, that would be helpful.
-Michael.



On Thu, Dec 06, 2018 at 03:27:10PM +0100, Erik Skultety wrote:

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

I stripped the XML you sent me to the bare minimum to demonstrate a reproducer:

...
   
 
 
   
   
 
 
   
...

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


signature.asc
Description: PGP signature
___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] no drm render nodes available

2018-12-06 Thread Erik Skultety
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  element.

I stripped the XML you sent me to the bare minimum to demonstrate a reproducer:

...

  
  


  
  

...

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

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Re: [libvirt-users] no drm render nodes available

2018-12-06 Thread Erik Skultety
On Wed, Dec 05, 2018 at 01:17:36PM -0800, Michael Taboada wrote:
> Hi,
> I get this error when trying to start a vm using spice as the graphics: 
> "error: internal error: No DRM render nodes available" I can't seem to figure 
> out what could be going on, since it worked just a little while ago.
> Using arch linux, and libvirt from git (4.10.0.22.g6a6925b9b7-1).
> -Michael.

Hi,
can you share your domain XML, qemu version and the result of running
`ls -l /dev/dri`? Since it's 4.10.x I'm fairly confident my recent upstream
changes have something to do with it.

Regards,
Erik

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users