Skip to content
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

DK2 not work in direct display mode #17

Open
yangjiudan opened this issue Jun 17, 2016 · 3 comments
Open

DK2 not work in direct display mode #17

yangjiudan opened this issue Jun 17, 2016 · 3 comments

Comments

@yangjiudan
Copy link

when I use my dk2 hmd to test OSVR with this OSVR-Oculus-Rift plugin,
I try the RenderManagerD3DExample3D.exe, and works fine in extend display mode.
but failed in direct display mode, with error:
RenderManagerNVidiaD3D11::OpenDisplay: Invalid display mode index: -1 (mode not found based on either index or parameters).
the related source code is public, so I cound not figure out what the problem is.
any one has met this problem? or know how to fix this?
notes: my dk2 works fine with oculus demo in direct mode.

@grobm
Copy link

grobm commented Jun 17, 2016

What version of runtime are you using?

-Mark

------ Original Message ------
From: "yangjiudan" [email protected]
To: "OSVR/OSVR-Oculus-Rift" [email protected]
Sent: 6/16/2016 10:02:56 PM
Subject: [OSVR/OSVR-Oculus-Rift] DK2 not work in direct display mode
(#17)

when I use my dk2 hmd to test OSVR with this OSVR-Oculus-Rift plugin,
I try the RenderManagerD3DExample3D.exe, and works fine in extend
display mode.
but failed in direct display mode, with error:
RenderManagerNVidiaD3D11::OpenDisplay: Invalid display mode index: -1
(mode not found based on either index or parameters).
the related source code is public, so I cound not figure out what the
problem is.
any one has met this problem? or know how to fix this?
notes: my dk2 works fine with oculus demo in direct mode.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@yangjiudan
Copy link
Author

thanks for help.
0.8 runtime.
after some test, when I change renderManager.direct.landscape.json to renderManager.direct.portrait.json, my dk2 works now.
but my another dk2 compatible HMD failed again, with erro:
OSVR RenderManager Warning: Got error from NVIDIA API: NVAPI call returned -180
(hex: ffffff4c) [NVAPI_INVALID_CONFIGURATION]
RenderManagerNVidiaD3D11::OpenDisplay: Could not acquire display access for vend
or ID 0xd23e for display 0
Could not open display

any suggestion?

@russell-taylor
Copy link

If the DK2 is working and a different "compatible" one is not, I'm guessing that it is not as compatible as it claims to be. At that point in the code, the nVidia driver has recognized that it has a DirectMode-compatible display from the vendor and it is attempting to acquire the display. Not sure how to debug this, because it is basically down inside an nVidia driver call that this is failing. There must be some subtle incompatibility with the device. Does this device work with the Oculus demos in DirectMode? If so, there may be hope that something can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants