itsmikethetech / Virtual-Display-Driver

Add virtual monitors to your windows 10/11 device! Works with VR, OBS, Sunshine, and/or any desktop sharing software.
https://vdd.mikethetech.com/
3.61k stars 148 forks source link

[Bug]: LoadLibrary failed with error 87: The parameter is incorrect #191

Closed NebulanSpaces closed 2 hours ago

NebulanSpaces commented 2 hours ago

Which OS?

Win10 Pro

Which release?

22H2

Describe the bug

When attempting to launch the modded version of Stardew Valley, it crashes giving me the error, "LoadLibrary failed with error 87: The parameter is incorrect."

Steps to reproduce

No response

Expected behavior

Log File (Beta Only)

No response

Contact Details

No response

bud3699 commented 2 hours ago

uh, and does it work with a real screen ?

NebulanSpaces commented 2 hours ago

uh, and does it work with a real screen ?

Yes, it did before I installed it

bud3699 commented 2 hours ago

If i were to take a guess, its stardew valley attempting to attach to the virtual display driver as a GPU. Try going to

Settings > Display > Graphics and click browse and select the Stardew valley exe and click options and tell it to use specific GPU and try setting your GPU to the specific GPU, there isn't much we can do about this, since its the games fault

NebulanSpaces commented 2 hours ago

That unfourtunately didn't work, I'll try to figure something out.

bud3699 commented 2 hours ago

Sorry about that, You might be able to get away with running it with compatibility mode. But other than that, stardew valley support is the only thing you can do about it.