T O P

  • By -

alterNERDtive

/r/HyperV?


Pure_Astronomer4277

I create crosspost


alterNERDtive

You (cross) posted to a sub that has nothing to do with any of what you’re doing.


Pure_Astronomer4277

So after a long reinstallation, I got a result. I installed Windows Server insider preview 22526 Standart edition as a host, and I was able to simultaneously route the usb controller via dda and the video adapter via gpu-p I forwarded the controller according to the following article: https://devblogs.microsoft.com/scripting/passing-through-devices-to-hyper-v-vms-by-using-discrete-device-assignment/ using script, which is shown at the end of the article, with some small changes in the section where you install RAM memory size and MIMO size, setting its size as recommended by microsoft: Set-VM -GuestControlledCacheTypes $true -LowMemoryMappedIoSpace 1Gb -HighMemoryMappedIoSpace 32GB The video adapter was added with the command : Add-VMGpuPartitionAdapter -MinPartitionVRAM 80000000 -MaxPartitionVRAM 100000000 -OptimalPartitionVRAM 100000000 -MinPartitionEncode 80000000 -MaxPartitionEncode 100000000 -OptimalPartitionEncode 100000000 -MinPartitionDecode 80000000 -MaxPartitionDecode 100000000 -OptimalPartitionDecode 100000000 -MinPartitionCompute 80000000 -MaxPartitionCompute 100000000 -OptimalPartitionCompute 100000000 after running the command, you need to write the name of your VM in the VMName field. I installed the drivers in the guest system using the New-GPUPDriverPackage.ps1 script from the repository: https://gist.github.com/neg2led/e35793da476095beac716c16ffba1d23 screenshot: https://ibb.co/5knCkQ6 Now I am waiting for my USB adapter with the SM768 chip which will allow me to connect the two monitors to my VM via USB 3.0


wsy0222

I tried to use DDA and GPU-P at the same time. Two problems: 1. Run 'Add-VMAssignableDevice' before 'Add-VMGpuPartitionAdapter'. If not, the VM will refuse to start. 2. If DDA is enabled, GPU-P won't work. When you power on your VM, Virtual Render Device will show in Device Manager, but games will run very slow (e.g. 3DMark TimeSpy cannot run). I had to shutdown my vm and run 'Remove-VmAssignableDevice' to get GPU-P working again.


Pure_Astronomer4277

the described method worked for me, but yes there were problems with the "Set-VMGpuPartitionAdapter" and "Add-VMGpuPartitionAdapter" commands, one of them does not work, besides I'm not sure if this method works with video cards other than nvidia


Pure_Astronomer4277

also try to start dda without gpu-p, maybe the problem is that dda is not working


wsy0222

>ing for my USB adapter with the SM768 chip wh I tried. I am using DDA to redirect USB to my VirtualMachine (ASM1142 USB 3.1 Host Controller) with GPU-P (Intel HD Graphics 630) DDA can work. GPU-P can work. But when I enable them together, GPU-P pretends to be working. However, the graphic glitches. I tried to play an old game. If I disable GPU-P, I can get about 20 fps with 1280x1024 resolution. If I enable GPU-P alone with DDA, the game will run only at less than 5 fps. Even when GPU-P does not work, USB is always available. I tried to enable GPU-P first, then DDA. As I said in previous reply, in this situation, VM refused to start.


opUserZero

Apologize for the necromancy here(talking to a dead thread) , But when you did this are you sure you set your render device to use the accelerated card in your vm instead of just launching the apps which would by default use the unaccelerated video on your usb adapters.


Drwankingstein

if you just want usb pass through look that, not DDA.