Topic: Windows 10 - FFDshow crashing when using svp

since about a week ago, ffdshow has started crashing whenever i start a video with svp running, either 3.1.7 or 4 TP.

mpc-hc crashes out and i get a crash log informing me that it's ffdshow that has crashed

i have the video and audio filters blocked in mpc-hc, and the raw video preferred - since without it, you can't use svp.
if i try to play a video with svp enabled, mpc-hc consistently crashes an i'm unable to until i disable svp

i'm using the internal lav filters from the latest nightly mpc on an nvidia 970gtx.

has anyone else experienced this or knows why it would be happening?

Re: Windows 10 - FFDshow crashing when using svp

CommanderBubbke
Did you try to disable GPU-acceleration in SVP or to disable CUVID in LAV decoder?
Windows 10 - video player hangs and/or crashes

Re: Windows 10 - FFDshow crashing when using svp

i had tried it on dxva2 copy-back, but not without gpu acceleration.

i did just try it though and with no gpu-accel and dxva i still get the same crash.
and i just tried with no hardware-acceleration and no gpu-acceleration, sadly the result was no different.

Re: Windows 10 - FFDshow crashing when using svp

What version of MPC-HC do you use? It must be x86 version

Re: Windows 10 - FFDshow crashing when using svp

im currently using the 1.7.9.145 (nightly) x86.

i'll try a few previous nightlies and the current stable branch and report what i find

6 (edited by CommanderBubbke 17-08-2015 09:55:16)

Re: Windows 10 - FFDshow crashing when using svp

just tried the last 10 nightly build as well as the current stable 1.7.9 x86, as well as the standalone lav filters instead of the internal ones, all with the same result, as soon as the video starts, mpc-hc crashes blaming ffdshow

one interesting thing to note, if i have svp disabled and start the video, it's fine, but crashes as soon as you enable svp. is svp asking ffdshow to something unusual maybe? could it be related to the OpenCL 1.2 issue that you linked earlier?

edit: just checked and i have the opencl.dll version 1.2.11.0 if that helps explain anything

7 (edited by CommanderBubbke 17-08-2015 10:13:13)

Re: Windows 10 - FFDshow crashing when using svp

well, i narrowed it down to a couple of things.

i uninstalled svp 3.1.7 and 4 TP25 and ffdshow.

i then reinstalled ffdshow, making sure that avisynth scripts serving and application plugins were enabled, and then svp 3.1.7 installing avisynth 2.5.8 MT.

and behold, it works again.

so i'm guessing either one or more of those compenents were misbehaving/not present ( even though they should have been ) but it now works.

should look more closely at what installed and what's not next time...

incidentally though, is it possible for svp to know that either avisynth is missing or that ffdshow isn't going to respond to it's requests and inform the user? might make debugging this issue simpler next time

Re: Windows 10 - FFDshow crashing when using svp

CommanderBubbke
reinstalled ffdshow, ... and then svp 3.1.7 installing avisynth 2.5.8 MT.
and behold, it works again

Congratulations! smile

is it possible for svp to know that either avisynth is missing or that ffdshow
This information is present in the SVP log file. You can use it for your investigations:

12:33:11.157; Start: SVPMgr 3.1.7 (72) starts...
12:33:11.165; AppDataPath: C:\ProgramData (ANSI)
12:33:11.169; Start: read settings file settings.ini
12:33:11.169; Start: load language file - English. Duration: 152 ms
12:33:11.321; Start: check Avisynth installed. Duration: 1836 ms
12:33:13.157; Start: clear Logs folder. Duration: 41 ms
12:33:13.198; Start: CPU and threads count detection
CPU: Intel Core i3-3217U @ 1.80GHz [4 threads] (433)
12:33:13.223; Start: SVPMgr folders prepare. Duration: 34 ms
12:33:13.257; Start: read settings file SVPMgr.ini. Duration: 16 ms
12:33:13.273; Start: GPUs settings detection
GPU_11: Intel(R) HD Graphics 4000 (216)
12:33:13.337; Start: monitors settings detection
Display#00010001: 1366 x 768 @ 60
12:33:13.341; Start: disable LNG-file write when UAC enabled. Duration: 16 ms
12:33:13.357; Start: change SVP-manager priority. Duration: 56 ms
12:33:13.413; Start: register hotkeys. Duration: 28 ms
12:33:13.441; Start: get versions of modules used
ffdshow.ax: 1.3.4533
avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27)
svpflow1.dll: 2.0.4
svpflow2.dll: 2.0.2. Duration: 8 ms
12:33:13.449; Start: refresh autostart state in registry. Duration: 12 ms
12:33:13.461; Start: some more work with registry. Duration: 27 ms
12:33:13.488; Start: create menu. Duration: 40 ms
12:33:13.528; Start: update settings file settings.ini. Duration: 264 ms
12:33:13.792; Start: prepare "About the program" window. Duration: 33 ms
12:33:13.825; Start: enable ffdShow waiting mode. Duration: 15 ms
12:33:13.840; Start: prepare to work is complete
12:33:13.856; RefreshSVP. Duration: 24 ms
12:33:13.880; ===== Waiting for ffdshow video

15:03:23.719; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 8060, supports 4GB RAM
15:03:23.804; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from c:\Program Files (x86)\SVP\MPC-HC\

Re: Windows 10 - FFDshow crashing when using svp

CommanderBubbke
I followed what you did to fix it but no luck for me.  mpc-hc video freezes on the first frame while the audio keeps playing

Here's my log:

7:56:56.085; Start: SVPMgr 3.1.7 (72) starts...
7:56:56.085; AppDataPath: C:\ProgramData (ANSI)
7:56:56.085; Start: read settings file settings.ini
7:56:56.086; Start: load language file - English. Duration: 24 ms
7:56:56.110; Start: check Avisynth installed
7:56:56.111; Start: clear Logs folder
7:56:56.113; Start: CPU and threads count detection
CPU: Intel Core i7-2700K @ 3.50GHz [8 threads] (1837)
7:56:56.113; Start: SVPMgr folders prepare. Duration: 9 ms
7:56:56.122; Start: read settings file SVPMgr.ini
7:56:56.124; Start: GPUs settings detection
GPU_21: GeForce GTX 970 (3578)
7:56:56.157; Start: monitors settings detection
Display#00120413: 1920 x 1080 @ 120
Display#1C6205CF: 1920 x 1080 @ 60
7:56:56.158; Start: disable LNG-file write when UAC enabled
7:56:56.158; Start: change SVP-manager priority
7:56:56.158; Start: register hotkeys
7:56:56.163; Start: get versions of modules used
ffdshow.ax: 1.3.4533
avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27)
svpflow1.dll: 2.0.4
svpflow2.dll: 2.0.2
7:56:56.163; Start: refresh autostart state in registry
7:56:56.163; Start: some more work with registry
7:56:56.166; Start: create menu. Duration: 6 ms
7:56:56.172; Start: update settings file settings.ini. Duration: 8 ms
7:56:56.180; Start: prepare "About the program" window. Duration: 8 ms
7:56:56.188; Updates: check for updates. Request sended
7:56:56.189; Start: enable ffdShow waiting mode
7:56:56.189; Start: prepare to work is complete
7:56:56.190; RefreshSVP
7:56:56.194; ===== Waiting for ffdshow video

7:56:56.681; Updates: connection closed

7:57:08.690; Performance statistics:
  Waiting for ffdshow video
  CPU usage 6%  Duration: 0:11  SVP Index 0x
  Memory used at start:0 at end:0 stable
7:57:08.691; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 31908, supports 4GB RAM
7:57:08.743; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from c:\Program Files (x86)\SVP\MPC-HC\
7:57:08.745; GetDimensionAndFPS_fromOSD start. Duration: 82 ms
7:57:08.827; GetDimensionAndFPS_fromOSD result: 1280x720 23.975 1/1
7:57:09.029; T1T: begin. Duration: 1384 ms
7:57:10.413; screen settings refinement: Display#1C6205CF: 1920 x 1080 @ 59.996
7:57:10.415; T1T: GetAllMediaParams
7:57:10.416; T1T: SettingsPrepare. Duration: 6 ms
7:57:10.422; T1T: Preparing smooth playback...
7:57:10.423; T1T: WriteAllMediaParamsToIni
7:57:10.423; SVPMgr: play "C:\ProgramData\SVP 3.1\" avs x86. Duration: 413 ms
7:57:10.836; Selected profile: 1280x720@24. Duration: 8 ms
7:57:10.844; ===== Playback
23.975 * (5 : 2) = 59.937 fps
7:57:10.844; SetPriorityPlayer: 2

Re: Windows 10 - FFDshow crashing when using svp

Mine also crashes in SVP 3.17 or 4 (latest build) on Windows 10 x64 using an NVidia GTX 970, unless I disable GPU acceleration.

I watched a couple movies so far, looks decent. I can't wait until the player matures and doesn't crash and works with GPU acceleration too. Good luck and good job so far!

Re: Windows 10 - FFDshow crashing when using svp

RLBURNSIDE

No, this more like about driver's issue than SVP itself. In NVidia, there is change in NVidia since certain driver version number. (I think it's about NVidia trying to change their OpenCL or whatnot) so it will break/crash the software the relied on OpenCL.

Updating the driver won't help.

Disclaimer: I don't have an NVidia GPU tongue