Unity flickers black when using on a Hyper-V VM

can someone help me? I am running unity in a hyper-v vm but it keeps flickering black when I move the mouse like in this example:

The problem is that it only happens when I am using the enhanced session from hyper-v. It there a way to fix it, I need some features from the enhanced session?
I am using unity 2022.3.14f1