RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
596 stars 110 forks source link

Constantly crashes #273

Closed Karmalakas closed 3 years ago

Karmalakas commented 7 years ago

Very often (still randomly, or I couldn't identify exact circumstances) Open PHT just crashes. Mostly happens when after pausing a video I resume playback. The screen is black and only audio plays. Then, when trying to do anything (pause, stop, go back to menu), Open PHT just closes. It started after the latest update a few days ago.

OpenPHT: 1.8.0-148 default skin Win 10 x64 PMS: 1.9.6.4401

Karmalakas commented 7 years ago

OK, so I noticed one more scenario when it crashes (happens several times during one episode - 40 minutes approx.)

When the scene changes and all the screen goes black, the video never appears - just audio. Like before, trying to do anything, OPHT just closes. By the way, I think it closes when using zoom to hide black bars, though not sure if it happens only on zoom.

Edit: Had to go back to 1.7.1 - it became impossible to watch anything

bkury commented 7 years ago

It's hard to help without more information, a good start would be to check your OpenPHT Logfile after a crash : Logfile: C:\Users[YOUR_USERNAME]\AppData\Roaming\OpenPHT\OpenPHT.log

Look for error/warning messages and/or post the last lines of your logfile after a crash.

Karmalakas commented 7 years ago

Damn it... It just happened with 1.7.1 :/ I'm starting to think it could be related with nVidia drivers or something. Could also be zooming a video to hide black bars, because only lately I started watching it like that.

Attachedd a log (some paths replaced with ***)

OpenPHT.log

Update: 1.7.1 just crashed without zooming in

bkury commented 7 years ago

That's strange, you are losing network connection or the video file you want to play is too big to buffer:

Make sure that :

If nothing works you could also try to enable "Settings --> Playback --> Advanced Video --> Use FFMPEG AVIO" and/or reboot your router/switch for testing ...

Karmalakas commented 7 years ago

Video file, OPHT and PM Server are on the same PC. External HDD, where the file is, connected vie USB. In the settings it's original quality for local videos. File isn't damaged. Crashes appear only when the scene changes and all goes black in video - picture never comes back (just audio). Opening file again and trying to watch the same part, it plays without crashing, but then it can crash again on next scene change.

One more thing I have in mind - I found out, Creators Fall update added color file for my monitor in color management settings. It resulted actually in faded colors on some apps (not OPHT) and Windows desktop itself. I removed this color profile and added back as an advanced profile. That helped with the colors. Since then OPHT didn't crash, but didn't have much time to watch something.

Will let you know about the situation.

Karmalakas commented 7 years ago

During weekend watched a lot of movies and series. During ~5 episodes it crashed once. There was one movie I couldn't even get through the opening titles. Then one movie played without a problem, but the second one crashed OPHT on closing titles. I'm out of ideas what could be causing this :(

OpenPHT.log

That's the first time I've got a message.

jdpuddgpthyyxbqrzhvvcq
bkury commented 7 years ago

Does the one movie you played without a problem always work without any issues? I'm also running out of ideas, that's really a strange problem.

Another suggestion would be to start from scratch, just rename your "C:\Users[USERNAME]\AppData\Roaming\OpenPHT" to e.g. OpenPHT.BACKUP

OpenPHT should now start with the default config and settings, after that go ahead and test it again ...

Karmalakas commented 7 years ago

I also updated the K-Lite Codec Pack standard, but that didn't help. Other players playing without issues. Will try your advice and let you know.

wilmardo commented 7 years ago

Related: #254

Karmalakas commented 7 years ago

So I've tried to figure out what causes such behavior of OPHT, but no luck. Some movies doesn't even start. Well, as soon as you start a movie, the sound is playing, but the screen stays black (might be some logo visible in the corner). Tried same movie with official Plex Media Player - everything is OK.

I'm pretty sure it started after Win10 Creators Fall Update, but I also updated nVidia drivers/GF Experience after Windows update, so not sure what can cause the video freeze on a dark frame.

Bad-Mojo commented 6 years ago

I had this same issue and resolved it by disabling Allow Hardware Acceleration - DXVA2 under Advanced Video settings. I hope this helps.

Karmalakas commented 6 years ago

@Bad-Mojo, that might do the trick for me too. Movies I couldn't even start to play now seems to be fine. Will keep watching. I thought if this could be related to nVidia driver issue - these had a lot of issues after Creators Fall update.

TehWardy commented 6 years ago

I have found it crashes if I leave it paused or if I just leave it on for a long time in menus without use. No idea why, seems to be a recent thing too as never used to happen on older versions.

Karmalakas commented 6 years ago

I think that's a different issue. When leaving inactive in menu, it just closes as defined in the settings.

TehWardy commented 6 years ago

I couldn't find any settings that say "crash when left for longer than x minutes" ... seems like an odd thing to configure! I'm guessing there's an issue when it loads whatever screensaver option you have configured.

Karmalakas commented 6 years ago

Closing a program I don't call crashing, so I have an option to set a timeout after which OPHT just closes. The issue discussed here is completely different.

TehWardy commented 6 years ago

From the original bug reported ...

Very often (still randomly, or I couldn't identify exact circumstances) Open PHT just crashes.

... it's not reported as being about "closing programs" or "timeouts" ... the issue is that it simply crashes for seemingly no reason. I added my point as for me this issue of "randomly crashing" happens for me when I literally just turn on my TV, which loads up RasPlex on my TV connected rPi and leaving it for say half an hour then attempt to use it.

That feels entirely relevant to me. What exactly did I miss / fail to understand about the opening statement in this bug report?

Oddly enough, the version that runs natively on my Samsung TV upstairs seems to randomly just drop out too, it's much less stable than the living room Pi based install.

Karmalakas commented 6 years ago

Before you didn't even mention that it crashes when trying to use it after pause. You just said it crashes when left alone for longer.