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

error with multiple monitors / "primary monitor only" #36

Open
tremu opened this issue May 5, 2017 · 20 comments · May be fixed by #140
Open

error with multiple monitors / "primary monitor only" #36

tremu opened this issue May 5, 2017 · 20 comments · May be fixed by #140

Comments

@tremu
Copy link

tremu commented May 5, 2017

With multiple monitors and "affect primary monitor only" checked, opening CSGO adjusts the vibrancy just fine. However, if I alt-tab out and back into the game, the wrong monitor's vibrancy is adjusted, and vibrancegui gives the error "Changing the resolution failed: DispChangeBadmode"

@juv
Copy link
Owner

juv commented May 5, 2017

The error message "Changing the resolution failed: DispChangeBadmode" should only occur when you use the option "Change resolution when ingame".

Do you have a NVIDIA or AMD GPU?

@tremu
Copy link
Author

tremu commented May 5, 2017

Nvidia GPU, "Change resolution when ingame" is unchecked. If it helps, I have 3 monitors, play CSGO on the primary monitor. All 3 are 1920x1080, as well as my ingame resolution.

edit: it's only after the second alt-tab. As in: alt-tab out and back into the game, everything works fine. Alt-tab out and back into the game for a second time, and the wrong monitor's vibrancy is adjusted

@juv
Copy link
Owner

juv commented Jun 4, 2017

Are you sure all of your monitors can display the resolution (i.e. the hz)?
Like you can have 144 hz on main monitor but the other two dont support 144hz and then it might fail..

@JiNova
Copy link

JiNova commented Jul 15, 2017

Have the same problem as described here. My primary monitor is 144hz, the secondary however does support up to 60hz max.

@K0bin
Copy link

K0bin commented Jul 24, 2017

One could say I'm experiencing that bug too.
image

@juv
Copy link
Owner

juv commented Jul 24, 2017

I'll work on a fix

@juv
Copy link
Owner

juv commented Jul 24, 2017

Can you try the attached version?
I don't have two monitors at hand now but I've tried to fix it nonetheless.
Lmk if this works... Otherwise I'll need more information on how to reproduce this issue.

vibranceGUI-2.3.0.4.zip

Note that the easiest way to stop these error messages to pop up is to kill the entire vibranceGUI process in Task Manager.

@JiNova
Copy link

JiNova commented Jul 31, 2017

I tried the attached version for 3 days now and as far, as I can tell, the problem seems to be resolved!

@tremu
Copy link
Author

tremu commented Aug 4, 2017

I'm still getting the same error message (lots of them), but the actual problem is solved: upon alt-tabbing, only the primary monitor's vibrancy is adjusted. Thank you!

@K0bin
Copy link

K0bin commented Aug 17, 2017

Yup, didn't fix it.

image

@Akandesh
Copy link

yep, get this often as well. atleast remove the damn messagebox, I get tabbed down from it.

@juv
Copy link
Owner

juv commented Oct 24, 2017

Try this version and let me know if it works... Thanks
vibranceGUI-2.3.0.6.zip

Note that I tried to fix the bug entirely, I did not remove the MessageBox. It's still working fine for my setup; never experienced the error you guys are facing. I have added a check that should prevent the resolution from being changed when it is not supported by the device (your monitor)

@Akandesh
Copy link

Alright I'll try. Maybe it would be nicer if you changed it to a traytip aka ballon tooltip since then we won't get tabbed out and the message still goes through.

@JiPaix
Copy link

JiPaix commented Oct 27, 2017

@juvlarN @Akandesh I just ran into the very same problem a minute ago (144hz monitor + game runs at 800x600 and a 1080p 60hz secondary monitor) and this version fixes it.

@axel37
Copy link

axel37 commented Feb 12, 2018

I have the same issue. Started happening a few days ago when i installed my second monitor.

@giuliannosbrugnera
Copy link

Same issue as well, however I am connecting to my pc through TeamViewer when the error happens.

@juv
Copy link
Owner

juv commented Apr 22, 2018

@axel37 @giuliannosbrugnera I need more information.
GPU type, monitor setup (which one is the primary monitor and on which one do you play <-- this might be an issue!), did you recently change the nvidia driver (if it worked before)?

@axel37
Copy link

axel37 commented Apr 23, 2018

Nvidia 980Ti
Primary : Asus PG278QR (2560x1440@144hz)
Secondary : BenQ RL2455HM (1920x1080@60hz)
(I play on my primary monitor)
It's been quite a long time since I replied to this thread, and it seems like the situation has somewhat changed for me :
It still happens a lot to Vgui to modify the vibrance of the wrong monitor. I just need to alt tab a few times and it's fixed. I don't get the error message as often, but it still happens.

I update my drivers regularly

@juv
Copy link
Owner

juv commented Jan 7, 2019

@axel37 this error message has been removed since a few versions already. Has the issue with color changes changed for you in the new version?

@juv
Copy link
Owner

juv commented Dec 20, 2024

Hi all,

can you please take a look at this new beta version i have built based on this PR: #140
I tried to fix this issue once and for all ;-)

You can download the pre-release .exe here:
https://github.com/juv/vibranceGUI/releases/tag/v2.5.0

@juv juv linked a pull request Dec 20, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

8 participants