KVM switch, Windows 7 & changing screen resolution

Awesome - this is so close to fixing my problem. But....I'm using win 7 Pro, running the application as administrator and also getting the error message the guy a few posts up was getting "Description: Failed To Change The Resolution", also it would be really cool if it put an icon in the system tray when it's running.
 

My Computer

Computer type
PC/Desktop
OS
Win 7 Pro
Hey,
I can't reproduce the bug... you need to help me.
Replace the exe file with the one in the rar file I'm attaching in this post, run it and try to get the error again.
Before the error you will get a message with a number - post it here. That number will give me some clue...

When i'll have some spare time - tray icon and multi-monitor support is on my todo list...
 

Attachments

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Hi ohadts

The error number that pops up is "-2", click OK to this and the other message appears after.
 

My Computer

Computer type
PC/Desktop
OS
Win 7 Pro
OK, thanks.
So acccording to msdn docs:

DISP_CHANGE_BADMODE
The specified graphics mode is not supported.

And from there it was pretty straightforward to reproduced: i just wrote in my config file some crazy resolution that my h/w doesn't support and i got the error... Exactly what i answered to the other guy
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Hi ohadts

I hear what your saying but.....when the PC is working OK the resolution is 1280 x 1024 with a refresh rate of 59Hz, these are the settings I have in the config file. If I hit the switch on the KVM to another PC and then switch back again that's when I get the error message. The PC is a new Dell OptiPlex 5040 with a Dell P1917S monitor.

Russ
 

My Computer

Computer type
PC/Desktop
OS
Win 7 Pro
Post me the content of your config file.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
I'm not at work today but it was: -

1280 1024 59
 

My Computer

Computer type
PC/Desktop
OS
Win 7 Pro
Does it support 60hz ? try to set it to 60Hz.
(but remove the app from the auto start in case something goes wrong...)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
I believe it does support 60Hz (it's one of the options in the graphics setup) - I'll give it a try on Monday and let you know.

Thanks
 

My Computer

Computer type
PC/Desktop
OS
Win 7 Pro
Cool let me know.
I've started to work on systray, the ability to pause the app and multi-monitor support. maybe you can try it on the new version when I'm done (hopefully in a couple of hours) ;)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Hi Ohadts
Any chance you have completed the updated version? Am still having similar issues above despite setting to the required resolution and hz.
Regards
Rohan
 

My Computer

Computer type
PC/Desktop
OS
64bit
Actually i did finished after a couple of hours like i wrote, but forgot to upload it :sleepy:
I'm attaching a compiled version to this post, and here is the source code if anyone is interested:
GitHub - ohadts/fixedResolutionSysTray: This app will make sure that your computer will always stays with your chosen resolution and screen frequincy. This is useful if you have a crappy kvm with no/corrupted EDID reading. This time with tray icon and multi monitor supprt

Everyone is welcome to download or to explore/improve the code.

This version have several nice improvements:
Systray icon
-you can configure your resolution from the systray instead of writing in some text file
-you can close the app from the systray instead of killing it from the task manager
-you can pause and resume the app from the systray

Multi-monitor support
In the app settings (again, from the systray), you have list of all your active monitors. from there you can:
-specify if the app is enable or disable for each monitor
-specify a custom resolution for each monitor

And also i switch over to some sort of other technical solution to do the resolution change, which suppose to be more robust solution then the previous one. I really hope this feature will do the trick and solved some issues people encountered...

How to setup:
Lunch the app. A new systray icon will appear with red line on it - meaning the app is paused, and it will start paused until you'll go into the settings (right-click on the systray) and configure your resolution and refresh rate. Configure, click "save and exit" and that's it. From now on the app will lunch unpaused, and behave normal.
If everything working fine, find a way to make the app lunch on windows startup for convenience. If not, try to run the app with administrative privileges.

:party:
 

Attachments

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Nice work, fixed my KVM trouble!


Thank you
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
debain, win10,win8.1,win7
CPU
2.0
Memory
64
Back
Top