jamesstringerparsec / Easy-GPU-PV

A Project dedicated to making GPU Partitioning on Windows easier!
4.24k stars 426 forks source link

Allow resolution change #201

Closed PrestonTaylor closed 1 year ago

PrestonTaylor commented 2 years ago

Simple change for setting difference resolutions. -Maximum or -Single are required for this to take affect, -Maximum will add other resolutions to the available list inside the OS.

Kodikuu commented 1 year ago

The virtual display driver used by the script handles the actual resolution during use, not this script or Hyper-V.

PrestonTaylor commented 1 year ago

@Kodikuu incorrect. If it had no affect you wouldn't already but using it in the existing code. Running this command makes changes to the virtual display driver and most importantly the "Maximum" arg allows games to detect that you have multiple resolutions available and unity games won't force set your window size to max.

When using parsec:

Before image

After image

Kodikuu commented 1 year ago

You're setting the maximum of the HyperV monitor that is supposed to be inactive during the Parsec stream.

You are not setting anything on the Parsec Virtual Display Adapter with your command.

Your command only works if your VM isn't working properly. Chances are you're missing one or two configs in your Parsec config on the VM.

On Sun, 12 Mar 2023, 17:37 Preston Taylor, @.***> wrote:

@Kodikuu https://github.com/Kodikuu incorrect. Running this command makes changes to the virtual display driver and most importantly the "Maximum" arg allows games to detect that you have multiple resolutions available and unity games won't force set your window size to max.

When using parsec:

Before [image: image] https://user-images.githubusercontent.com/11053557/224562200-bc257f27-7c2f-420f-a6d2-4c346a8f302c.png

After [image: image] https://user-images.githubusercontent.com/11053557/224562030-1eb24217-1637-43c4-9fec-ed51b018fef4.png

— Reply to this email directly, view it on GitHub https://github.com/jamesstringerparsec/Easy-GPU-PV/pull/201#issuecomment-1465255917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6U6B2MJ7JBYDVHU7JTRILW3YJXLANCNFSM6AAAAAAQBNMBAM . You are receiving this because you were mentioned.Message ID: @.***>

Kodikuu commented 1 year ago

This is my Parsec config, as set by the script and modified by Parsec during runtime. If you're missing the bottom two configs, your VM is not set up properly.

image

Then, in my Device Manager, I can see my partitioned GPU, the disabled HyperV adapter, and Parsec Virtual Display Adapter. The section under Monitors is while connected; There's a basic microsoft display that gets disabled/ignored, and a Parsec virtual display

image

Also while connected, here's the advanced details from Windows' display settings for each of the displays image image

And then finally, my resolution dropdown, which allows up to 4K just fine without any tweaking, because the virtual display adapter defines it's own resolutions. Your command only impacts the Hyper-V display that you're not supposed to be using. image

It does appear that Enhanced Session Mode may need to be on for Parsec's virtual displays to work, despite not using the Hyper-V adapter. Something I'll need to explore