INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Video Playback Fails and MC Hangs w/ Red October HQ  (Read 1310 times)

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Video Playback Fails and MC Hangs w/ Red October HQ
« on: February 22, 2020, 02:27:52 pm »

So starting yesterday after an update to 26.0.27, I noticed that MC on Windows would fail to play a video and then freeze.  Specifically, launching the video would play sound, but the screen would just show a black screen.  At that point MC becomes hung and will not respond to any remote button presses or keypresses (i.e. I can't just stop playback or switch to standard view with Ctrl-1).  Eventually MC shows the "not responding" window and that's the only way to exit the program at that point.

I did some differential diagnosis.  It seems to happen with Red October HQ and Theater View together.  Some notes:

1) I can reproduce it easily when launching video from theater view, it happens reliably the second time I launch a video (i.e. launch a video, press stop, launch another to get black screen hang).  I can't reliably reproduce it when launching video from standard view, although I managed to reproduce it once that way.
2) I can reproduce it with Red October HQ on any of the three default quality settings, but not with Red October Standard at all.  Also, I noted that my MadVR plugin folder was updated within the last few days, which is suggestive.  Deleting the plugin folder and allowing MC to redownload the components did not fix the issue.
3) Downgrading to MC 26.0.22 doesn't change the behavior, even though I was using 22 for a while with no problems before. 
4) The machine in question is an old i7 2600K with an nvidia 960 GTX.  I tried updating the video drivers with no effect.  It has been happily running Red October HQ on "best quality" settings for a while now.

So is anybody else seeing any issues with video playback with Red October HQ and/or Theater View recently? 
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #1 on: February 22, 2020, 02:46:18 pm »

I did two upgrades yesterday (27 and then 28) and since then I'm getting a lot of problems on video playback & I do use ROHQ. Theatre View not involved for me but I notice that it only occurs once I go into display mode (i.e. full screen).

I have windows set to kill the MC process when it gets a resource exhaustion event because of long standing issues with a memory leak when using the WDM driver. This is kicking in regularly, but not consistently, when I start video playback. The log shows some errors, but nothing conclusive, including

Unhandled DX event: 0xfa17

which gives 1 and only 1 google hit, a thread here some time ago -> https://yabb.jriver.com/interact/index.php?topic=92681.0

No changes to madvr here during this period, haven't changed that in months.

Do you see anything in Event Viewer about resource exhaustion events?
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #2 on: February 22, 2020, 03:19:38 pm »

No resource exhaustion events in event viewer, just errors related to the hangs and force closures (event viewer describes it as a "cross-thread" hang).  For me the issue seems tightly coupled with theater view FWIW, I have almost no problems when starting playback from standard view.  It seems like the switch out of whatever full-screen exclusive mode theater view is using is triggering the issue with MadVR here.  I suppose I should try and generate some logs at this point.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #3 on: February 22, 2020, 07:02:03 pm »

Theater View doesn't use exclusive mode, and there should have been no changes recently to how it works, as far as I am aware.
madVR also wasn't updated.

If downgrading to a previously-good version does not fix it, then its likely not something we changed.
Logged
~ nevcairiel
~ Author of LAV Filters

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #4 on: February 22, 2020, 07:04:06 pm »

Antivirus?
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #5 on: February 22, 2020, 09:31:52 pm »

Theater View doesn't use exclusive mode, and there should have been no changes recently to how it works, as far as I am aware.
madVR also wasn't updated.

If downgrading to a previously-good version does not fix it, then its likely not something we changed.

The machine is only used for JRiver, so the only other thing that could have changed is a windows update, I guess that's my next avenue of investigation.  In that vein, I spotted two almost identical issues to this one in the weird and wonderful problems thread (sudden black screen failure of MadVR) and they were related to Windows updates.  If that's the issue though, I'm not sure what to do about it as windows updates are hard to avoid for any length of time in windows 10. 

Antivirus?

I only use window defender and had already worked through all the "Taming" steps.  I went through the exclusions list again just to make sure, but no dice. 
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #6 on: February 23, 2020, 03:56:13 am »

I am on 27 ... running RO HQ ... everything seems to work (I do run MadVR 0.92.17 ... instead of 0.92.16 supplied with MC due to queue filling problems)

Also on 425.31 NVidia driver ... antivirus is bitDefender

EDIT: I don’t use full screen exclusive (fse) with MadVR  ... win10 does not support it ... and therefore it’s buggy most of time
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #7 on: February 23, 2020, 07:50:26 am »

When I had similar issues, it turned out to be DIRECT SOUND got set, I changed (back) to WASAPI and it cleared right up. The other thing - I found on two nvidia machines, one of the latest windows updates ignored the settings to NOT update the video card driver. Had to manually roll back to the driver I know works.

Running 26.0.27 in theater view ROHQ no problems here.
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

TheShoe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 826
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #8 on: February 23, 2020, 09:27:38 am »

I am on 27 ... running RO HQ ... everything seems to work (I do run MadVR 0.92.17 ... instead of 0.92.16 supplied with MC due to queue filling problems)

Also on 425.31 NVidia driver ... antivirus is bitDefender

EDIT: I don’t use full screen exclusive (fse) with MadVR  ... win10 does not support it ... and therefore it’s buggy most of time

same configuration here.  MC v.27, MadVR 0.92.17 and same nVidia drivers.  Also not using FSE and have not had issues, either launching from Theater View or from default view.

I recently also upgraded to Windows 1909.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #9 on: February 23, 2020, 04:34:52 pm »

So paddling around further, I found that not all my zones exhibit the problem, which led me to try a bunch of different setups.  I eventually narrowed it down to some kind of issue with using my soundcard (a Steinberg UR824) in ASIO mode.  All the zones that were exhibiting the issue were using the Stenberg in ASIO mode, and if I copy one of the misbehaving zones and change the sound device to a different device (or to the Steinberg in WASAPI mode), I can no longer reproduce the issue. 

The problem, of course, is that I can't access all eight channels of output on the Steinberg except in ASIO mode and, of course, everything has worked perfectly for years up until now.  I tried uninstalling and reinstalling the Steinberg drivers, with no change in behavior.

I generated a log that exhibited the crash, FWIW,  in case there are any clues there.  There definitely appear to be some directx/madVR errors and a number of audio errors, but I'm not sure how significant they are.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Video Playback Fails and MC Hangs w/ Red October HQ
« Reply #10 on: February 23, 2020, 05:29:15 pm »

Thanks for the detective work.
Logged
Pages: [1]   Go Up