qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtio graphics don't work with NVIDIA proprietary driver


From: Nick S
Subject: Re: Virtio graphics don't work with NVIDIA proprietary driver
Date: Fri, 22 Jul 2022 09:21:25 -0700

You cannot really have 3D acceleration on a virtual spice display. If you connect a monitor to your passthrough card, you'll get 3d accelerated graphics on it. One feature that seems to be missing from qemu is some way to mirror that GPU screen into the VMM console. 

On Fri, Jul 8, 2022 at 6:48 AM Phillips Rogfield <thebudget72@gmail.com> wrote:

I have virt-manager on a Fedora Workstation 26 host.

I have set up a Virtual Machine with Windows 11 Educational.

I have a Spice display server, with Listen Type set to “None”, OpenGL set on with my NVIDIA graphics card.

I use proprietary NVIDIA drivers.

I also use virtio video with 3D acceleration set on.

However when I start the virtual machine, I get the following error:


Error starting domain: internal error: process exited while connecting to monitor: 2022-07-08T13:45:11.588270Z qemu-system-x86_64: egl: eglInitialize failed
2022-07-08T13:45:11.588413Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1384, in startup
    self._backend.create()
  File "/usr/lib64/python3.10/site-packages/libvirt.py", line 1353, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: process exited while connecting to monitor: 2022-07-08T13:45:11.588270Z qemu-system-x86_64: egl: eglInitialize failed
2022-07-08T13:45:11.588413Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL

How can I have my VM work with 3D acceleration on NVIDIA graphics card?

Best,

Phil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]