plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.16k stars 170 forks source link

Screen black on return from AV standby #669

Open na51hog opened 6 years ago

na51hog commented 6 years ago

The media player hardware infrastructure is as follows: Intel NUC -> Yamaha RX-V673 AV receiver -> Panasonic TV

Software: Windows 10 Pro (10.0.16299), 5500 HD Graphics v20.19.154835, PMP 2.5.0.792-1bc7f225

If PMP is in full-screen mode and my AV receiver and TV are put into standby for more than a few minutes then, when the TV and AV amp are brought out of standby, the TV screen remains black and the AV amp shows ‘Decoder Off’.

If I press Alt-Enter to force PMP into a full-screen Window, the TV comes back to life, displaying the windowed PMP as expected.

Pressing Alt-Enter a second time puts PMP back in full-screen mode, working normally.

As long as the AV receiver and TV aren’t put into standby everything works as expected, however long I leave it.

If I leave PMP in a full-screen window (rather than full screen) and go in and out of standby then everything works as expected i.e. No black screen.

Setting the screen saver to None, or a number of minutes, has no effect on the outcome.

If, when the TV screen is black, I remotely connect to the Intel NUC using TeamViewer or Multiplicity the remote screen view is still black. I can bring the screen back to life by cycling ALT-Enter remotely, just as I can locally on the NUC.

Please note that other full-screen apps on the platform do not present with this issue.

===============================

I solved this issue independently of a PMP bug fix by adding this device to the rear of the PC:

https://www.lindy.co.uk/audio-video-c2/matrix-switches-splitters-c166/hdmi-4k-edid-emulator-p9715

My thread on the issue, and my way of resolving it without waiting for changes to PMP code, is here -

https://forums.plex.tv/discussion/309539/pmp-in-full-screen-mode-results-in-black-screen-on-av-return-from-standby-windows-10#latest

Fixing the root cause would be a no-cost win for many PMP users.

Best regards

foss- commented 6 years ago

Related Plex Forum Thread (or should that be a separate bug?) https://forums.plex.tv/discussion/310007/monitor-energy-saving-makes-it-go-black-when-pausing-fullscreen-black-stays-black-after-continuing/

LongChair commented 6 years ago

Could you please post a full PMP log and mention the time if possible about when this happens ?

LongChair commented 6 years ago

@foss- @na51hog : i'll have a look at this one soon. Could you tell me if that is still relevant in the recent builds ?

dan-the-man-nz commented 6 years ago

i use a similar EDID sender to work around the (loss of) EDID issue in Windows, in PMP and other media centre software.

the EDID senders that are fully 4k+HDR10 compatible, they are not cheap, it would nice if you guys did workaround this. although i already bought one so it doesn't effect me anymore

PMP definitely does not recover properly when the EDID is lost/restored as others have reported

its also known as the quarter screen issue, half screen issue in other HTPC software

LongChair commented 6 years ago

i will have a look at this one, just need to make a local setup that allows me to test it.

I suspect that when we loose the only remaining screen, Qt does somthing with the window, and would not restore properly when we get it back.

There a a few screens events that we can catch to maybe work this around. Will make a few tests.

foss- commented 6 years ago

@LongChair thanks for looking into this

Retested w current versions:

macOS 10.13.4 Plex Server 1.13.0.5023 Plex Media Player 2.10.0 Plex iOS 4.29

Issue persisting. Reproduce:

Currently

Screen stays black, movies continues to play.

Expected

As soon as movie is continued, screen should be activated and movie continue with audio + picture. As soon as any keyboard key is pressed display activates and movie can be seen (and not only heard).