1 (edited by .m4jX 30-03-2016 13:30:48)

Topic: MPC-HC crashing (memory and/or GPU acceleration)

I have previously used SVP 4 for testing purposes only, now I want to switch over completely. Now I'm testing various video files and I'm having issues with 2160p, though that didn't work on SVP3 either in my setup, but I want it to work on SVP4


I'm using:
Gefore GTX 780 Ti
intel 4770k OCed to 4.3GHz
1080p TV

MPC-HC 32bit v1.7.10 with internal LAV Filters v0.66.0
madVR v0.90.17
SVP 4 Pro v4.0.0.73
Reclock v1.8.8.5


I tried applying the 4GB memory patch, but when I play a 2160p file, as soon as MPC-HC hits 2GB, it crashes...
I tried various things
software decoding and copy-back in LAV
disabling and enabling GPU acceleration, decrease to screen size and keep normal size on SVP
sometimes it stays under 2GB, but usually it hits 2GB and crashes...

Re: MPC-HC crashing (memory and/or GPU acceleration)

.m4jX
Did you try EVR Custom renderer with D3D Fullscreen? It eats less memory than madVR.

Post's attachments

EVR_with_D3D.png, 33.62 kb, 660 x 500
EVR_with_D3D.png 33.62 kb, 857 downloads since 2016-03-30 

3 (edited by .m4jX 30-03-2016 14:12:03)

Re: MPC-HC crashing (memory and/or GPU acceleration)

EVR does take less RAM, but I want to use madVR (I want to use SIMM downscaling, error diffusion and debanding)

what I ultimately need to work is madVR + SVP4 at 2160p + reclock

Re: MPC-HC crashing (memory and/or GPU acceleration)

.m4jX
Then try MPC-HC x64 and avisynth+

5 (edited by .m4jX 30-03-2016 15:02:51)

Re: MPC-HC crashing (memory and/or GPU acceleration)

just uninstalled everything and installed all the 64bit stuff through the svp4 isntaller... (MPC-HC x64 is apparently not inscluded in the installer so installed that seperately)
but now ether MPC-HC or madVR crashes right after starting the video when I use SVP, memory is only at 500MB..

Re: MPC-HC crashing (memory and/or GPU acceleration)

Win10?
Windows 10 - video player hangs and/or crashes

Re: MPC-HC crashing (memory and/or GPU acceleration)

Oh, forgot to say, Win7 pro 64bit

Re: MPC-HC crashing (memory and/or GPU acceleration)

Then it must work. Please, post here details from wndows log about player crashes.

Re: MPC-HC crashing (memory and/or GPU acceleration)

Access violation at address $7715f5aa in module 'ntdll.dll'.

address changes every crash...

Re: MPC-HC crashing (memory and/or GPU acceleration)

MAG79 wrote:

.m4jX
Did you try EVR Custom renderer with D3D Fullscreen? It eats less memory than madVR.

I know you didn't actually say it in your text, but in the image you highlight the resizer being set to "Bilinear".

I think it's safe to say that, if someone is trying to play 2160p videos that they can take the minor increase in CPU utilization that comes from using Bicubic specifically for downscaling.

Re: MPC-HC crashing (memory and/or GPU acceleration)

.m4jX wrote:

Access violation at address $7715f5aa in module 'ntdll.dll'.

It is not memory leak error. What memory use o you see in the task manager for mpc-hc.exe process when the error appears?

Nintendo Maniac 64 wrote:

in the image you highlight the resizer being set to "Bilinear"

It is for less CPU and GPU load and to reduce use of memory. It is just the lighter renderer for low performance PC and for test purposes to detect if error in madVR or not. wink

12 (edited by brucethemoose 31-03-2016 18:56:40)

Re: MPC-HC crashing (memory and/or GPU acceleration)

OP, do you have SVP 4 Pro by any chance? 4k video playback works fine in 32-bit MPC + MadVR for me with some hitching, but it's a bit smoother in mpv on my rig.

Re: MPC-HC crashing (memory and/or GPU acceleration)

The most helpful option to save some memory for 4K is "Motion vectors precision = Two pixels" (in SVP's manual video settings)

And to save CPU power you may use "Width of top coarse level = Small"

14 (edited by Nintendo Maniac 64 01-04-2016 08:03:33)

Re: MPC-HC crashing (memory and/or GPU acceleration)

MAG79 wrote:

[Bilinear] is for less CPU and GPU load and to reduce use of memory. It is just the lighter renderer for low performance PC and for test purposes to detect if error in madVR or not. wink

But does it really make that big of a difference?  I just thought that, unless your system has really el-lame-o graphics (10+ year old Intel graphics), the difference in performance is negligible (at least it seems that way on my AMD E-350 vs Core 2 Duo + 965GMA iGP).

15 (edited by .m4jX 08-04-2016 01:35:42)

Re: MPC-HC crashing (memory and/or GPU acceleration)

I do have SVP Pro...

This is the MPC-HC stack from the crash dump

lavvideo!CLAVPixFmtConverter::convert_nv12_yv12+0x140
lavvideo!CLAVPixFmtConverter::Convert+0x1ad
lavvideo!CLAVVideo::DeliverToRenderer+0x4fc
lavvideo!CLAVVideo::Deliver+0x1e2
lavvideo!CDecodeThread::ProcessOutput+0x8f
lavvideo!CDecodeThread::Decode+0x161
lavvideo!CLAVVideo::Receive+0x139
lavvideo!CTransformInputPin::Receive+0x5c
lavvideo!CDeCSSTransformInputPin::Receive+0x1b
lavsplitter!CBaseOutputPin::Deliver+0x1c
lavsplitter!CLAVOutputPin::DeliverPacket+0x543
lavsplitter!CLAVOutputPin::ThreadProc+0x1fc
lavsplitter!CAMThread::InitialThreadProc+0x36
lavsplitter!_beginthreadex+0xb4
lavsplitter!_endthreadex+0x102
kernel32!BaseThreadInitThunk+0x24
ntdll!__RtlUserThreadStart+0x2f
ntdll!_RtlUserThreadStart+0x1b

memory usage is always about 2gb, a bit less than 2gb until it crashes...

I tried setting Motion vectors precision to Two pixel, but it didn't help

//btw MPC-BE and MPDN also crashes when using SVP with 2160p content..