Hello,
I had occasionally from start of using MP problem with not disabling Imon display when going to hibernate mode. After adding some plugin (its not important which) situation got worse. I looked around a little bit and I found, that in log is this line (only when display is not disabled):
That probably means, that imon driver have not enough time to disable display sometimes, because is thread aborted by MiniDisplay.
I tried to increase timeout before aborting thread to 15 seconds (was 5 seconds) and now it seems to be working very well.
I prepared two version of patch. One is simpliest, because it changes timeout globally for all DoStop calls. Second (individual) changes this timeout only for PowerModes.Suspend case.
Both patches are for r26757 in trunk.
UPDATE:
I prepared second version of patch - now a little bit more complex
Minidisplay:
- improved work with background thread (stopping)
iMONLCD:
- support of newest iMON drivers 7.91.0929 (old drivers <7.80 will be probably not working)
- improved initialization routine according to newest drivers
- improved work with background thread (stopping)
- some other fixes
I tested it for several hours and it seems it is working ok. I hope that any compatibility with other displays was not touched (this was my target).
I had occasionally from start of using MP problem with not disabling Imon display when going to hibernate mode. After adding some plugin (its not important which) situation got worse. I looked around a little bit and I found, that in log is this line (only when display is not disabled):
Code:
[Info.][MiniDisplay(12)]: MiniDisplay.Run(): CAUGHT ThreadAbortException
That probably means, that imon driver have not enough time to disable display sometimes, because is thread aborted by MiniDisplay.
I tried to increase timeout before aborting thread to 15 seconds (was 5 seconds) and now it seems to be working very well.
I prepared two version of patch. One is simpliest, because it changes timeout globally for all DoStop calls. Second (individual) changes this timeout only for PowerModes.Suspend case.
Both patches are for r26757 in trunk.
UPDATE:
I prepared second version of patch - now a little bit more complex
Minidisplay:
- improved work with background thread (stopping)
iMONLCD:
- support of newest iMON drivers 7.91.0929 (old drivers <7.80 will be probably not working)
- improved initialization routine according to newest drivers
- improved work with background thread (stopping)
- some other fixes
I tested it for several hours and it seems it is working ok. I hope that any compatibility with other displays was not touched (this was my target).