nomi-san / parsec-vdd

✨ Perfect 4K@240Hz Virtual Display
MIT License
1.78k stars 89 forks source link

How to make a screen work on specific GPU? #47

Open gehaoyu-cn opened 4 weeks ago

gehaoyu-cn commented 4 weeks ago

Hi, thank you for you work. I have a issue about multi GPUs. I have four GPUs and I add four screen. I run some andriod simulators on the screen. I found total four screen load on one single GPU. Is there a way to make a screen work on specific GPU? I want the four screen load average on each GPU. Thank you. Wish you a good day.

nomi-san commented 4 weeks ago

As I said in #46 about selecting parent GPU, you should find the Vendor ID of your GPU. But I'm not sure VDD can support a specific GPU per virtual display.

Run this program to enumerate your GPUs: enum_dxgi.zip

Adapter (1): AMD Radeon(TM) Graphics
  LUID: 0x20F88
  Vendor ID: 0x1002
  Device ID: 0x1638

I don't have any device that has multiple GPUs to support your case, so do it yourself. Note that my app does not support multiple VDD adapters, you should modify the source code to run multiple instances and install multiple VDD adapters via devcon/nefcon. Then follow this guide to set Vendor ID before pluggin a virtual display for each VDD.

In case of multiple GPUs have the same Vendor ID (AMD - 0x1002, NVIDIA - 0x10DE), the issue cant be solved with VDD. I see you have opened the same issue in https://github.com/itsmikethetech/Virtual-Display-Driver/issues/110, that's open source project and easy to solve your case.

itsmikethetech commented 1 day ago

Latest HDR beta has this implemented, but may be buggy. Please let us know how it works for you. https://github.com/itsmikethetech/Virtual-Display-Driver/releases/tag/24.7.18HDR