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

NVAPI_ERROR with multiple screens #2

Open
antych opened this issue Nov 1, 2019 · 7 comments
Open

NVAPI_ERROR with multiple screens #2

antych opened this issue Nov 1, 2019 · 7 comments

Comments

@antych
Copy link

antych commented Nov 1, 2019

Hey, I could really use this tool, but I can't run it when all my displays are connected. It works when I unplug the VR headset and HDR TV, keeping the monitor in. Otherwise, it comes up with this error.

C:\>C:\Games\HDRSwitch.exe
 NVAPI error: NVAPI_ERROR

Thanks

@LordShadowen
Copy link

Same here. Second (non-HDR capable) monitor connected, NVAPI_ERROR. If I unplug it, works great.

@zbreilly
Copy link

I wanted to mention this as well. I'm seeing the same error - multi-monitor setup, one HDR, one not.

I've seen multiple games automatically toggle HDR control on the monitor they exist on - would that same functionality be available here?

@ryan-haver
Copy link

Other variants of HDR switch/toggle scripts or apps have the same issues. The issue is that they target the display with identity 1. If your HDR capable display is identified as display 2 then it won't work. You can change the monitor identity pretty easily by moving monitors to other ports on your GPU. Here is a quick explanation of how it works: https://www.reddit.com/r/techsupport/comments/8ccp4c/how_to_change_monitor_identities/dxdxuvp/?utm_source=reddit&utm_medium=web2x&context=3

@apan65
Copy link

apan65 commented Nov 15, 2020

Have the same issue, dual monitor setup

@floooflooo
Copy link

floooflooo commented Feb 10, 2021

same problem, i already have HMD and second monitor turned off/disabled, and still the problem persist. Also the error code only shown if you use cmd to launch it, if double click on the app icon, it will be zero response, not even error given

The above instruction on moving to other ports on GPU is not a solution, my gpu only have one HDMI port.

@kiryl85
Copy link

kiryl85 commented Feb 15, 2021

@floooflooo In my case that actually works. Monitor with HDR is plugged into HDMI port, and it's recognized as screen no. 2. The second one (without HDR) is plugged into DisplayPort. After replugging it to the opposite port, this tool has started to work again. Despite the fact that no hdr monitor is still recognized as first screen.

so, something like that

ports DP DP HDMI DP
before plugged plugged
now plugged plugged

@floooflooo
Copy link

Thanks @kiryl85 i double checked and my port is already showing the monitor with HDR (DP port) as desktop 1, and non-HDR monitor (HDMI) as desktop 2,

So the sequence is fine, But the tool just won't work. NVAPI_ERROR

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

7 participants