Qubes OS 4.1 is no longer supported:
You should upgrade your system to Qubes OS 4.2 ASAP.
Try to increase VRAM for your HVM qube:
If these steps are necessary then you should do it in a qube, not in dom0.
These instructions are for Qubes OS 4.2, I think there are no Ubuntu templates available for Qubes OS 4.1 anymore.