Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Currently, my laptop only has one GPU (though it has a slot for a second one, it's a Framework 16). I'd like to run a VM on it, with graphics acceleration. But I don't want to pass through my whole GPU. Is there a way to (for example) create a virtual GPU device that can access some percentage of my GPU's compute power, which I can give to my VMs? And is there a way to make it emulate a specific kind of GPU, like one from Snapdragon or Nvidia?
I think qemu supports both, server and client side GPU acceleration.
VirtManager has OpenGL flag in Spice Display device, and there is 3D acceleration flag in Video device (model Virtio; AFAIR model QXL also is hardware-accelerated). It's been a while since I looked at those, but Virtio Video device should be using VirGL. You might need virgl driver in your guest OS to take full advantage of it.
No idea how does opengl flag in spice interact with Virtio's 3D flag though.
What szatox said
virgl should give you great performance (near native) but it will only work with linux vm.
For win10/11 vm, maybe https://github.com/tenclass/mvisor-win-vgpu-driver ? (Not official)
I have not tested it. And unable to anyway considering how old my gpu is