How to enable 3d acceleration?

I want to enable 3d acceleration but the documentation seems to be outdated. It says it is not possible in Debian Buster but we are in Bullseye and the required patches to make it possible should’ve been applied by now. Anyone knows what packages are needed to make this work? What packages should I install in the Whonix guest? Does it work when using virt-manager in the host?