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

"This monitor is not controllable" randomly after hibernation #50

Closed
Intenditore opened this issue Aug 27, 2019 · 22 comments
Closed

"This monitor is not controllable" randomly after hibernation #50

Intenditore opened this issue Aug 27, 2019 · 22 comments

Comments

@Intenditore
Copy link

I'm freaking tired of this(

2019-08-27_12-22-28

@N0nd
Copy link

N0nd commented Sep 1, 2019

Аннотация 2019-09-01 153854
also on my monitor or something!, DDC/CI enabled

@N0nd
Copy link

N0nd commented Sep 1, 2019

after the closure of the despetcher task
Аннотация 2019-08-31 165022

@Intenditore
Copy link
Author

I have to perform the same thing, only restarting the program helps

@emoacht
Copy link
Owner

emoacht commented Sep 3, 2019

Hi,
In general, it happens immediately after the resume from suspend or hibernation because the system is not yet ready to work with monitors when this app scans them. The resume event will trigger this app to rescan the connected monitors several times in the period of around 2 minutes. During such period, the system is expected to be ready so that this app can work again.
It seems that something went wrong in this process. To figure out the issue, could you perform the probe function as explained in readme in several times after the resume?

@Intenditore
Copy link
Author

I did it. One is when the bug appears, another after restarting app
probe_disabled.log
probe_enabled.log

@emoacht
Copy link
Owner

emoacht commented Sep 15, 2019

@Intenditore Thanks for the logs.
However, unfortunately, the log does not capture the situation when the monitor in question returns an erroneous response and leads to cause this issue. Ideally, to make sure what exactly happens, the responses during the multiple timing after the resume would be necessary. It means immediately after the resume, 5 seconds, 10 seconds, 20 seconds, 40 seconds, 80 seconds and 160 seconds after the resume.
Its not a simple bug but finding the way to handle the erroneous response from some monitors as gracefully as possible.

@emoacht
Copy link
Owner

emoacht commented Oct 13, 2019

Modified by 91d1563
It changes the condition to determine the controllable state of a monitor.

@emoacht emoacht closed this as completed Oct 14, 2019
@Intenditore
Copy link
Author

Modified by 91d1563
It changes the condition to determine the controllable state of a monitor.

Sorry, but it's not really working. I get the message (glowing red now :D) much more frequently and does not go away for a long time forcing me to restart the app. Here's the log collected when this message appears.
probe.log

@emoacht
Copy link
Owner

emoacht commented Nov 15, 2019

Thank you for the report.
I found that in some cases, a rush of messages interrupts the sequence of re-scanning monitors and it may cause an accumulation of failure counts almost instantly. To solve this issue, I reconfigured the scan timings in 4ea9edf and set interval for scan in 794549d.

@Intenditore
Copy link
Author

Weird, I updated to 2.1.0, but the problem persists

@emoacht
Copy link
Owner

emoacht commented Nov 17, 2019

It is implemented in Ver 2.2.0. Try its pre-release.

@Intenditore
Copy link
Author

Intenditore commented Dec 12, 2019

Dear @emoacht, you will laugh (or cry), but... It happened again!
probe.log

@emoacht
Copy link
Owner

emoacht commented Dec 13, 2019

Thank you for reporting again.
For the moment, try Ver 2.3.0 and see if there would be any difference.

@emoacht
Copy link
Owner

emoacht commented Dec 30, 2019

If this issue happens again, try Ver 2.4.0 with making operation log as described in readme. The operation log would provide much better information to track what really happens.

@chivoyage
Copy link

chivoyage commented Mar 10, 2020

This happens to me all the time on 2.4.0 after waking up from sleep. Only restarting helps. In the last version, even restarting didn't help but in 2.4.0, restarting helps each time. But still, seeing this bug all the time makes it annoying.

@emoacht
Copy link
Owner

emoacht commented Mar 11, 2020

I see.
Make and save operation.log as described in readme and post it with the time when the issue happened.

@chivoyage
Copy link

operation.log
Happens right after a PC resume from sleep. But it's been fixing itself if given a bit of time.
Screenshot (38)

@emoacht
Copy link
Owner

emoacht commented Mar 16, 2020

@chivoyage Thanks for the log.
It tells that:
15/03/2020 10:23:51 - OS resumed.
15/03/2020 10:23:52 - The first scan after resume found that the monitor is unreachable. It means that OS did not return expected response to API calls. It is quite common immediately after resume.
15/03/2020 10:23:58 - The second scan after resume found the monitor returned to normal.
So you had only 6 seconds window. You are very good at taking the screenshot!

Well, there is nothing surprising. The monitor returned to normal state within very short period. It is completely expected behavior.

@emoacht emoacht reopened this Mar 16, 2020
@chivoyage
Copy link

chivoyage commented Mar 16, 2020 via email

@chivoyage
Copy link

chivoyage commented Mar 16, 2020

Here's a video - https://youtu.be/cwGmIeVX2ec (4k)
This log is the one I produced at the end in the video.
operation.log

Thanks,
Chi

@chivoyage
Copy link

Had a few more instances where even restarting the app multiple times didn't help but then I realised that restarting the graphics drivers helps. (ctrl+shift+win+b) I'm using Nvidia.

@emoacht
Copy link
Owner

emoacht commented Jul 29, 2020

I close this issue because it seems to related to #75

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

4 participants