MichaelJW / DorsalVR

VR interface for PC games
67 stars 7 forks source link

Blank screen in VR #10

Closed fucnknown closed 3 years ago

fucnknown commented 3 years ago

Greetings, trying to use this fantastic project. Regrettably I've been unable to have Dorsal opening Dolphin so far.

Dorsal runs and stays open, I'm in a bluish room with a white screen: screenshot .- Nothing is running either on the computer desktops or within that screen,- Checked the tasks running to see if the Dolphin process was there, no luck.-

Player log at pastebin

HMD is Valve Index, card NVIDIA 1080ti

Don't know what else to provide, regards

MichaelJW commented 3 years ago

Hey @fnowicky, thanks for the details and the log. I'm away from my main computer at the moment so I can't dig into this, but in the meantime could you send me your default.yaml file and any other YAML files you've created please? Thanks!

fucnknown commented 3 years ago

Hi @MichaelJW , as I said, the file looks almost exactly like the one in the wiki, here you have its contents - pastebin. I have not created other files, I did attempt to copy the content from the imports in "GameCubeExample.yaml" and merge everything in the default, removing the import, that didn't work either, same outcome.

I have experience with YAML files from minecraft server configs, the project seems to use 2-spaces yaml, correct? Just to be sure that the system is able to load the configuration.

Regards,

MichaelJW commented 3 years ago

Hey @fnowicky, your YAML is fine and it can be loaded.

It looks like DorsalVR is starting up, attempting to capture and mirror your primary desktop (by default), failing, and then therefore never getting to the point where it loads Dolphin and mirrors that instead.

In a future build I'll make it deal more gracefully with not being able to capture the primary desktop - it should give an error message or at least not stop Dolphin from loading.

In the meantime, could you possibly try changing your primary desktop?

Also, do you have two GPUs set up, perhaps an integrated one alongside your 1080ti? If so, try the "For Windows 10 1909 or newer" instructions here, except select DorsalVR.exe rather than obs64.exe, then load DorsalVR again. (This might make the performance absolutely terrible but it will at least help to narrow down the problem.)

Thanks!

fucnknown commented 3 years ago

Hi @MichaelJW , this is a Desktop computer with a single NVIDIA 1080 ti (ftw). I do have 2 desktops normally. as a side comment I normally use OBS to capture without issues as well as zoom and other screen sharing software.-

I disabled and completely disconnected the secondary monitor as a test. No good. Logs attached

I found it odd that you directed me to version 1909 instructions, I'm running version 1809 Windows LTSC.- Does Dorsal require some odd feature from standard windows? (This would be a first for me, since I've been using this version for gaming since it came out). Did you specify 1909 because the log told you that was my version?

Here are a couple of screenshots of my NVIDIA settings (what OBS intructions would indicate for my version. PhysX from before completely disconnecting the 2nd monitor and Dorsal settings in NVIDIA, you'll notice that there are no options to choose another card,

Tell me any tests you might wanna try.

PS: Just for the sake of completion I found the setting mentioned and specifically added Dorsal with the only card available. I even run Dorsal as Admin, no dice, logs attached

PS2: Just FYI I work as sysadmin, and have a long experience with computers, I even worked as programmer.- Though all this Unity and calculations needed for 3D graphics scape me beyond the theoretical. feel free to shoot things directly

MichaelJW commented 3 years ago

@fnowicky Ah! Well that explains it - looks like the ability to capture a monitor was introduced in the May 2019 update (1903), so I bet that's why it's failing there. (I didn't know which version you were on so I just guessed the latest.)

Next chance I get, I'll put some more logging and a more graceful fail around the part that attempts to capture a monitor and we'll see if that sorts it 🙂

fucnknown commented 3 years ago

Oof, Then I'll have to wait till LTSC 21H2, since I refuse to use the standard versions. (I very much prefer the stability of the Server intended versions, also the lack of ads/adware)
Just as a question, since I'm able to use all manner of screen capture software and VR desktop solutions, would you consider using another method for capture or is there a technical reason for the one you are using? (no pressure, just curious)

Glad we were able to find the reason though.

MichaelJW commented 3 years ago

@fnowicky I'm sorry about that :(

Just as a question, since I'm able to use all manner of screen capture software and VR desktop solutions, would you consider using another method for capture or is there a technical reason for the one you are using?

I did used to use the older Desktop Duplication API, but that's much blunter - it only lets you capture an entire display, while the Windows Graphics Capture API lets you capture a specific window.

The limitation of the WGC API, pre-1903, is that the app has to use a built in system dialog to ask the user which monitor or window to capture; presumably that's what other screen capture software does, if they don't roll their own solution.

Example of the built in GraphicsCapturePicker system dialog

It might be possible to use this dialog in DorsalVR but I'm not sure whether it will work in Unity. I'll put it on my list of things to check out, though 📝

fucnknown commented 3 years ago

Thank you I'll keep watching the Project, and test it once LTSC 21H2 arrives or if you make any changes. I'll close the bug report. Good luck and keep up the good work!