Closed garfield69 closed 1 year ago
I've upgraded to NWJS 0.75.1 which has chromium 112
this rolls out by default the high-efficiency-mode setting, which saves memory and battery by putting idles tabs to sleep, and replaces previous flags that dealt with freezing tabs. (which was experimental in 108).
I've loaded the NWJS package.json with the new chromium-args, "--flag-switches-begin --disable-features=HighEfficiencyModeAvailable --flag-switches-end"
to disable that option and hopefully Dtv ADS will keep going forthose that run Dtv 24/7
from Reddit https://www.reddit.com/r/duckietv/comments/11ehjpm/comment/jbjc8n2/?utm_source=reddit&utm_medium=web2x&context=3
and Reddit https://www.reddit.com/r/duckietv/comments/nl6zpl/comment/jc3q0oi/?utm_source=reddit&utm_medium=web2x&context=3
So it appears 20230312 and 20230305 may suffer from chromium putting Dtv to sleep if the Dtv window is not focused, while 20230207 appears to continue to keep working.
Probably related to #1354 and #1321
I had intended to upgrade to NWJS 0.73.0 with Chromium 110 but discovered that with Chromium 108 a performance enhancement was rolled out that put unattended tabs to sleep to free up memory and or battery, and I cannot find a CLI chromium start-up option to disabled this. You can use the browser settings to disable, but that is impractical for the standalone. And both the flags set by 1354 and 1321 have been removed, probably when 108 was published.
Since the only significant change between 20230207 and 20230312 is #1140 I have to assume that this somehow triggers the tab sleep mode for unattended windows, and buggered if I know how to resolve this at this stage.