Virt-manager errors with 3D acceleration enabled

Something is wrong with virt-manager.
I have created a Windows 10 virtual machine and I try to use openGL for 3D acceleration. When I choose spice server I get this error:

Then when I try to prevent that error by choosing virtio with 3D acceleration enabled this error comes up:

Is this a bug? I can’t find a solution.
Can someone help me?
I thought Red Hat was “enterprise” grade linux and yet I didn’t get such errors when using Debian stable.