Easy-GPU-PV icon indicating copy to clipboard operation
Easy-GPU-PV copied to clipboard

Vulkan works !!

Open dbz400 opened this issue 1 year ago • 11 comments

OpenGL works prefectly on both enhanced and basic mode but not vulkan . Any insight?

Running switch emulator , yuzu with opengl .

image

image

dbz400 avatar Jun 10 '23 16:06 dbz400

You cannot do this with Hyper-V's console. Use Parsec like it explains in the readme friend :)

mitchellurgero avatar Jun 11 '23 12:06 mitchellurgero

I just get it to work now wiht NV 545.29 (other not work) . It is due to the vulkan presentation mode . Mailbox will crash but not FIFO

image

dbz400 avatar Jun 20 '23 12:06 dbz400

You'll get higher output (Hyper-V console limited to 30 FPS afaik) if you use parsec.

mitchellurgero avatar Jun 21 '23 18:06 mitchellurgero

I can only get Vulkan working (with NV 545.29 driver) when connected in Enhanced Session Mode, which is a shame because I'd like to use Sunshine with Moonlight to remote in but then Vulkan doesn't work. Did anyone get Vulkan to work with Sunshine or Parsec?

bymodude avatar Jul 28 '23 06:07 bymodude

Yeah Parsec will use the GPU passthrough but enhanced session uses RemoteFX which doesn't use the full passthrough of the card.

mitchellurgero avatar Jul 29 '23 17:07 mitchellurgero

Thanks for clearing that up, so in summary Vulkan is NOT working with gpu partitioning when using Parsec or Sunshine.

What is strange though is that Vulkan works through RDP when connecting to a VM with GPU Partioning enabled with the Microsoft Remote Desktop client from an Android phone. I assume in this scenario it is not using RemoteFX to utilize the GPU of the client (an Android phone). Since Vulkan works with an RDP connection from an Android phone, I assume it would be possible to make it work under Parsec or Sunshine?

bymodude avatar Jul 31 '23 07:07 bymodude

As far as I know RDP will use the Hyper-V virtual display. The GPU Passthrough itself does not natively support vulkan or opengl. But if you have hardware acceleration enabled (it is by default I think) Enhanced session and RDP (both use RemoteFX if the client supports it) it will have basic vulkan support.

That's my understanding.

If you absolutely need opengl or vulkan I'd recommend linux on the host and use PCI passthrough to a VM that way instead. It's more involved to setup BUT it would actually work for your needs.

mitchellurgero avatar Aug 01 '23 18:08 mitchellurgero

Just tested with Windows Insider build 25947 with GPU passthrough (native session , not enhanced session) , vulkan is fully working now with host driver using 537.13.

image

dbz400 avatar Sep 09 '23 07:09 dbz400

Are you sure that is using the passed through GPU? From what I know, Hyper-V console & Enhanced session ONLY use the Hyper-V video adapter NOT the GPU (Hyper-V video adapter supports opengl and vulkan)

mitchellurgero avatar Sep 09 '23 18:09 mitchellurgero

@mitchellurgero Probbaly using the hyper-v video adapter. I basically use the remoteplay in Steam client. The opengl and vulkan is about half of host . Wonder any way to use the true GPU passthrough

dbz400 avatar Nov 17 '23 17:11 dbz400

@mitchellurgero Probbaly using the hyper-v video adapter. I basically use the remoteplay in Steam client. The opengl and vulkan is about half of host . Wonder any way to use the true GPU passthrough

#342 Workaround here, I solved this problem.

simonlsp avatar Nov 22 '23 15:11 simonlsp