-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client/VM is stuck at 1024x768 #190
Comments
I don't have a solution, but I've noticed that when you disable the MS Hyper V Adapter, it defaults to an MS Basic Adapter, which can't go any higher. (validate by right clicking Desktop>Display>Advanced Setting). As of now, I cannot get Parsec to go above 1080p no matter what I do because of this. MS Basic is limited to 768p and the Hyper Visor Display is limited to 1080. I can SEE the nVidia adapter is Device Manager, but other than when I use RDP, I have never been able to get Parsec to go above 1080p (the dummy plug I have goes well above that and works with other Streaming Services) |
I am not sure the exact cause, but I was able to use Custom Resolution Utility to add a custom resolution and then was able to set the new resolution in Display Settings. The VM originally was not locked to 1024x768, but after a Windows Update and restart, that is when the issue started occurring. |
I tried that out, and after doing some reading in the forums, it wont help. It comes back around to the VM only seeing the Hyper V Video and not the Parsec Video or the actual nVidia GPU, and it can't make changes to the Hyper V setup. I'm starting to toy with the idea of giving VMWare ESXi a try since nVidia opened up their drivers earlier this year. See if that can't get it going since it's a bit more mature regarding GPU sharing/partitioning and Passthrough. Thank you for the idea though. It was something I didn't even know existed. |
This issue is easily fixed by installing a virtual display like usbmmidd The cause of the issue you are experiencing is that
The solution is to install a virtual display that is always "plugged in", like the one I mentioned above. This is analogous to using a dummy HDMI plug. You should then set the guest to display only this new virtual display. |
I've tried usbmmidd when I first started playing with GPU-P and had the same results, but admit, at this point, it may be worth revisiting with leasons learned. I do use a dummy plug that is able to do up to 4k, but I've only tasked it with a max of 1440p within other programs, so I do know it is working as intended, but this also may be worth revisting with leasons learned and a different plug just to see if there's something Parsec isn't liking about it? With that said, when I use Parsec to connect directly to the host that only has the dummy plug, it works in 1440. But that is outside the VM and direct connect to the machine and GPU. Another test I have in mind is I have another 1440 monitor sitting around. Thinking about digging it out and plugging it in with power, but leaving it off as I've read that some have tried that with better luck under differnt situations. Thank you for the reply. I'll most likely be revisting usbmmidd tonight and remove the dummy plug. Appreciate your input and time! edit When redoing everything, things stay as they are until I reboot, then I lose everything. It's all still there in Device Manager, but I can no longer access it from the desktop |
I deployed a test VM using nothing but the scripts for EZ GPU and it still fails to work. I run the usbmmidd again, and again, it shows upand I can change the primary monitor/only show on the correct one, but again, when I reboot, it completely vanishes |
I found a band-aid/work around that is working. Don't like it as a perminant solution, so I'll keep researching, but will use this for now. Apologies, I don't knokw the proper way to link in git. I'll put a link to the thread and the actual message I used. link "Ok I think I found a workaround, the trick is to activate a virtual display before the parsec driver. PS: even the option to use client resolution is working." |
Yes, usbmmidd needs to be enabled on each boot. I did it by adding a startup script in |
Well the actual issues is . When I log into my vm through the same account that is logged into my vm persecs, the persec virtual display Adapter started working, and it shows me the correct resolution ie. 1080p or even allow me to change the resolution of my vm. But as soon as I disconnect and try to log in from guest persec account. Persec virtual display adapter didn't work. And Microsoft basic display driver seems to be on i.e. 1024x768 resolution gets displayed. So the actual problem is how persec virtual display Adapter acts on host and guests connect. Usbmmidd display driver works only if u uninstall and re-install it again and again after each remote session, which is quite annoying. I hope this makes the issue clear , And help in more trouble shooting. Also a very thanks for providing this script, can't say it's perfect but still it do open many opportunities. I hope this issue with persec virtual display adapter will get fixed soon. Thanks again. |
TL;DR Download USBMMIDD v2 and create a task in Task Scheduler to solve the resolution problem. startup.ps1 In the Task Scheduler create a task that:
P.S.: Edit the paths to match your system.P.S².: Don't forget to deactivate all others monitors in the Windows Display Settings (show only on X). |
@gdias1992 thanks for the clear instructions I'll just add for anyone following them to also be sure to run usbmmidd.bat after downloading USBMMIDD to install the interfaces. |
I too had the same issue after deploying a new Win 10 VM. The suggestions in this thread helped solve this issue, but - although I can see Nvidia 2060 in the Device Manager (working ok), and now I can change screen resolution, I can't see the GPU section in Task Manager, dxdiag says there is no d3d renderer, and UserBenchmark also fails with no d3d renderer. Any ideas what else I'm missing? |
As long as GPU acceleration works without issues in your VM you can ignore the problems you mentioned. It is because of how Windows handles partitioned GPUs currently and should not affect performance. But yeah no GeForce Experience or other stuff that normally works with physical cards will work in the VM. |
If anyone is still using my solution from one of the previous comments: I was not right about virtual displays no longer working on free editions of Parsec. What happened is that when they added the fallback feature, previous virtual display setting was auto removed from the config file. But it still works if you add it back manually to the config file as explained in #204 So no need to use usbmmidd after all :D |
I'm confused what the solution is here. I get 1024x768 in parsec. Should we be editing a config, running a .ps, installing an external driver or something else? Any help would be appreciated thanks :) |
I've ended up using third-party custom resolution software along with a simple batch file running on Windows start to add the custom resolution + disable the Hyper-V Video driver to avoid BSOD. Unfortunately I am not using the virtual PC right now since I have been having personal issues with RAM. I will try to grab this content for you. |
Sorry for not having the time to reply sooner. |
Usbmmidd is not needed as I mentioned earlier. See this comment and the discussion in that PR. Let us know if you followed the instructions and added the virtual display config line manually but it still didn't work. |
Just tested it, and this tweak didn't work. |
Share your config file |
Ok try the following:
|
This has to be done after the vm is created. The config has to include |
Do not modify the configs set by the script, they are required.
…On Sat, 25 Feb 2023, 14:24 Klemens Starybrat, ***@***.***> wrote:
This has to be done *after* the vm is created. The config has to include host_virtual_monitors
= 1
—
Reply to this email directly, view it on GitHub
<#190 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD6U6B2U3KG6KUWAG5Y4N4LWZIIYBANCNFSM556OYSAQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@Kodikuu Im referring to your answer to my question which has worked for me fine. It should also work for others in this thread. |
Yes, in the config itself, after setup of a VM that no longer has that setting set. The script already sets this, and host_privacy_mode. Both of which are needed. Do not modify the configs set by the script. The thread you linked was a test of a new setting which failed. |
This happened when I connect the VM using another Parsec account, which means the privacy mode can't be enabled and virtual monitor won't be created. I tried the usbmmidd solution but it's not good enough. |
All; After a lot of looking around, I came across a Reddit post reply, done by u/cantfind105keys, which solved everything for me! It reads as follows: 1. Go to the download page of your VirtualBox version, which is https://download.virtualbox.org/virtualbox/7.0.6/ , (NOTE: If you have the latest version of VirtualBox (v7.0.8), then it would be here.) NOTE: Make sure to check your VirtualBox version number, and place the end of the URL with your version number (or go up the Parent Directory and find your version). Also, you may need to manually add an extra CD-Rom drive for your VM, if you don't already have an extra one that's empty, so you can mount the .iso. Hope this helps someone on here, and/or down the line. |
It happened to me only once, no idea what the reason was. Never happened again.
Yes, this is exactly what I was referring to in my previous comment, this is what @Kodikuu pointed me to in another thread but it happens to be the correct solution for the problem in this thread.
Strange, the VM installs parsec on the system, not per user. I never encountered this problem. @mikekachar In this thread we are helping other make this work in Hyper-V (which it does, without problems if set up correctly) |
I activated Microsoft Hyper-V Video in device manager on VM and got my 1920x1080 resolution back. |
This fixed it for me! |
For a fix that worked for me: |
Bam, fixed! Awesome! I don't know for sure why it got deactivated, but I might have forgotten to keep Guest Services turned off in hopes of fixing some strange cursor lag (only on the physical computer, not via parsec...). |
I came across this problem aswell. Using the hyper-v adapter as mentioned in other posts was not an option for me due to its resolution and refresh rates limits. https://github.com/timminator/Enhanced-GPU-PV It now adds a virtual display on startup to the VM by taking advantage of another project of mine and it will stay connected until your next shutdown/restart. If you're interested, try it out and if you're happy with it, i would appreciate a star rating :-) I hope other people will find it valuable aswell! |
Hi, is your project supporting HDR on windows 11? Thank you |
Unfortunately, the Parsec Virtual Display Driver used in this project does not currently support HDR. |
i am using this driver instead which allows custom res, fps and HDR on win 11 |
I updated my project mentioned in a post before. It now allows the user to also install the Virtual Display Driver with HDR. It also adds the option to use Sunshine instead of Parsec. |
I've followed the process (have a 3080 Ti), but when connecting in, the VM, in windows display settings, is locked to 1024x768. Even after using the update drivers ps1 file, and using the file to gather driver files into a zip, manually copying them over to C:\Windows, and rebooting, the issue remains. It is acting as if the client has no graphics drivers. Is there a workaround for this, or did I do something wrong?
The text was updated successfully, but these errors were encountered: