jamesstringerparsec / Easy-GPU-PV

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

How to make parsec not auto-install everytime VM is started? #394

Closed TreeOfSelf closed 3 months ago

TreeOfSelf commented 3 months ago

Parsec is trash compared to open-source alternative SunShine/Moonlight. If you insist on having it install with the VM, at least don't have it so it auto installs itself every time the VM is booted.

mitchellurgero commented 3 months ago

Parsec is trash compared to open-source alternative SunShine/Moonlight. If you insist on having it install with the VM, at least don't have it so it auto installs itself every time the VM is booted.

This is a Parsec dev that made this repo, so it makes sense. That said - it's a scheduled task I believe. If you disable it there it should stop autoinstalling.

TreeOfSelf commented 3 months ago

Thanks - It seems deleting the tasks does not work, it will just re-add them. Disabling them does work.

TreeOfSelf commented 3 months ago

Nah, actually. Even disabling/deleting the tasks it just re-adds them.

I just commented out the lines from the CopyFilesToVM.ps1 and that seems to have worked.

SavageTheUnicorn commented 2 months ago

Nah, actually. Even disabling/deleting the tasks it just re-adds them.

I just commented out the lines from the CopyFilesToVM.ps1 and that seems to have worked.

Which lines specifically? I'm trying to check myself but I'll probably break the script.

TreeOfSelf commented 2 months ago

CopyFilesToVM.ps1

Lines 173-175 I believe are all you need to comment.

SavageTheUnicorn commented 2 months ago

I had commented many more than that lol It caused issues after reboot, the Hyper V display adapter would reinstall and reenable every reboot.

TreeOfSelf commented 2 months ago

I had commented many more than that lol It caused issues after reboot, the Hyper V display adapter would reinstall and reenable every reboot.

I could be wrong, but I think the Hyper V display adapter has more to do with the enhanced viewing session of Hyper V than Easy-GPU-PV. I usually just have the display adapter on to switch to my native resolution, and then disable it after.

SavageTheUnicorn commented 2 months ago

I had commented many more than that lol It caused issues after reboot, the Hyper V display adapter would reinstall and reenable every reboot.

I could be wrong, but I think the Hyper V display adapter has more to do with the enhanced viewing session of Hyper V than Easy-GPU-PV. I usually just have the display adapter on to switch to my native resolution, and then disable it after.

Honestly, I'm unsure about this too because for one I have enhanced viewing session entirely disabled, and two I always get stuck back to the Hyper V display adapter default res and refresh rate and I cannot change the refresh rate at all since the ParsecVDD never makes a virtual monitor after the reboot.

TreeOfSelf commented 2 months ago

image This is what mine looks like, if I disable the Hyper-V Video, then I can't change resolution. I actually just realized I also have enhanced viewing disabled.

SavageTheUnicorn commented 2 months ago

Yeah mine is similar but the monitor shown in display settings when right clicking the desktop reverts to the HyperVMonitor upon reboots and I can't get the ParsecVDA to activate again afterwards ( i can get the vda active with this project; https://github.com/timminator/ParsecVDA-Always-Connected but it still seems to be connecting to the HyperVMonitor rather than the active VDA)

SavageTheUnicorn commented 2 months ago

I was missing the lines "host_virtual_monitors = 1" and "host_privacy_mode = 1" in my config.txt under the C:\ProgramData\Parsec folder in the guest machine! I also set the file to Read Only in the properties afterwards. Rebooted and fixed!