Topic: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Hi first time poster here, I've been delving into getting frame interpolation to work with the MVtools and avisynth settings back in the day, SVP is a godsent for integrating them into something much more manageable and elegant! Cheers.

The issue I'm having is that I can't seem to enable OpenCL GPU acceleration on my laptop without the MPC-HC immediately crashing with video playback.

Here are some initial troubleshooting to rule things out:

- it's not a memory problem, I used the 4GB mem patch on MPC-HC, I tried tiny 640x480 video clips, the crash is consistent.
- it's not due to overclocking, I use MSI Afterburner for overclocking, but even with it closed and the GPU at default clocks, the crash still occurs.
- my specs should be more than good enough and my GPU should be compatible with SVP; the CPU is an i5-460M dual core, the GPU is an ATI Radeon 5650.
- my ATI GPU driver is up-to-date (12.8)
- I disabled all video playback enhancement settings in the AMD Catalyst Control Center, still crashes.
- I tried different process threads, from 2 threads all the way to max, and it doesn't affect the crash.
- the crash also occurs when I try to run SVPmark 3, with GPU acceleration enabled in the run settings, so maybe (?) it's not related to MPC-HC?


Here's a launch log where I open SVP manager, turn on GPU acceleration, try to play a video, get MPC-HC to crash immediately and closed off.

5:03:24.906; Start: SVPMgr 3.1.2 starts...
5:03:24.915; Start: read settings file settings.ini
5:03:24.915; Start: load language file - English. Duration: 30 ms
5:03:24.946; Start: clear Logs folder
5:03:24.946; Start: SVPMgr folders prepare. Duration: 20 ms
5:03:24.965; Start: performance graphs prepare
5:03:24.965; Start: read settings file SVPMgr.ini
5:03:24.965; Start: monitors settings detection. Duration: 1168 ms
5:03:25.134; Start: disable LNG-file write when UAC enabled
5:03:25.134; Start: change SVP-manager priority
5:03:25.134; Start: register hotkeys
5:03:25.137; Start: check launched instance of SVP-manager
5:03:25.138; Start: check Avisynth installed. Duration: 7 ms
5:03:25.145; Start: get versions of modules used
ffdshow.ax/avisynth.dll: 1.2.4453.0/2.5.8.6
svpflow1/2.dll: 1.2.1.0/1.3.1.0
svpflow_cpu/gpu.dll: 1.7.1.0/1.7.2.0
5:03:25.147; Start: refresh autostart state in registry
5:03:25.147; Start: some more work with registry
5:03:25.152; Start: create menu. Duration: 7 ms
5:03:25.159; Start: update settings file settings.ini. Duration: 288 ms
5:03:26.447; Start: update monitor settings
5:03:26.447; Start: prepare "About the program" window. Duration: 777 ms
5:03:26.224; Start: enable ffdShow waiting mode. Duration: 7 ms
5:03:26.231; RefreshSVP. Duration: 15 ms
5:03:26.246; ===== Waiting for ffdshow video
5:03:26.246; Start: prepare to work is complete
5:03:51.563; ===== Detected playback with ffdShow
5:03:51.564; GetDimensionAndFPS_Grab start. Duration: 186 ms
5:03:51.751; GetDimensionAndFPS_Grab result: 1280 528 23.976
5:03:51.756; T1T: begin
5:03:51.759; T1T: GetAllMediaParams
5:03:51.760; T1T: SettingsPrepare. Duration: 9 ms
5:03:51.770; T1T: Preparing smooth playback...
5:03:51.771; T1T: WriteAllMediaParamsToIni
5:03:51.773; SVPMgr: main "C:\Users\Jerg\AppData\Roaming\SVP 3.1\" 1280 528 23.976 1280 528 5 2. Duration: 583 ms
5:03:51.356; ===== Playback
23.976 * (5 : 2) = 59.94 fps
5:03:51.356; SetPriorityPlayer: 2. Duration: 2244 ms
5:03:54.600; this is changing FalseVFR_Dwn. ffdShow-framerate: 15.667 SVP Index:1.50/1.29
5:03:55.537; this is changing FalseVFR_Dwn. ffdShow-framerate: 12.111 SVP Index:1.01/1.61
5:03:58.719; RefreshSVP
5:03:58.723; ===== Waiting for ffdshow video


Here's the Windows crash log of MPC-HC when the crash happens:

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    mpc-hc.exe
  Application Version:    1.6.2.4902
  Application Timestamp:    4fc0e45d
  Fault Module Name:    amdocl.dll
  Fault Module Version:    10.0.938.2
  Fault Module Timestamp:    5013526a
  Exception Code:    c0000005
  Exception Offset:    0005d6cf
  OS Version:    6.1.7601.2.1.0.768.3
  Locale ID:    4105
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789


I'm new at this so please do let me know if there are other pieces of info needed to troubleshoot why the crash is occurring.

Many thanks!

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Fault Module Name:    amdocl.dll

This should give a hint wink
May be 12.8 runtime is too "up to date".

I'll certainly look into this but I think it's best to rollback to any previous driver version now.

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Chainik wrote:

Fault Module Name:    amdocl.dll

This should give a hint wink
May be 12.8 runtime is too "up to date".

I'll certainly look into this but I think it's best to rollback to any previous driver version now.

Heya Chainik,

I see, that's a shame indeed...it took me a while to get the newest ATI driver installed properly so that newer video games could have the best performance. How far back in terms of driver version would you reckon I try?

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Try 12.4 (1.4.1720). It works fine. You can look "good" version of drivers at SVPmak results. wink

5 (edited by jerg 18-08-2012 18:40:02)

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

MAG79 wrote:

Try 12.4 (1.4.1720). It works fine. You can look "good" version of drivers at SVPmak results. wink

Ah cool, thanks for the link, very helpful! Will definitely try that, but a few questions though:

1) it seems the latest compatible driver is 1.4.1741 rather than 1.4.1720, what 12.x version is that?

2) will you guys be working towards catching up to the later ATI/AMD graphics driver versions as usual?

Cheers~

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

jerg
will you guys be working towards catching up to the later ATI/AMD graphics driver versions as usual?

as usual  big_smile

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Hmm, it's strange...
Just installed 12.8 on my laptop with HD6400 and it's working fine, ver. number is 1.4.1741.  hmm

8 (edited by jerg 19-08-2012 01:51:15)

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Chainik wrote:

Hmm, it's strange...
Just installed 12.8 on my laptop with HD6400 and it's working fine, ver. number is 1.4.1741.  hmm

Huh, I guess that rules out this being a driver issue then. Any tips as to how I might troubleshoot this further?

Edit: do note that my 12.8 driver is from Acer (my laptop brand)'s website driver downloads, instead of the AMD 12.8 driver, which causes BSOD when I try to install; apparently others are having that issue too.

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

jerg
instead of the AMD 12.8 driver, which causes BSOD when I try to install; apparently others are having that issue too

It's kinda cool laptop then  big_smile

Still the fault occurs in amdocl.dll module so it's a driver issue.
When running SVPmark' synthetic tests at which point exactly it crashes? Right after "vectors search (single-threaded)" or later?

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Chainik wrote:

jerg
instead of the AMD 12.8 driver, which causes BSOD when I try to install; apparently others are having that issue too

It's kinda cool laptop then  big_smile

Still the fault occurs in amdocl.dll module so it's a driver issue.
When running SVPmark' synthetic tests at which point exactly it crashes? Right after "vectors search (single-threaded)" or later?

It was right after GPU->system transfer, I don't know if it's crashing on that step or on the step after that though.

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Well, which means it crashes only when it comes to real job.
OK, one more simple test, try to run any OpenCL app. For example OpenCL tests from "GPU Caps Viewer".

=========
BTW it could be a problem if your laptop use "AMD

or ATI
switchable graphics"  hmm

12 (edited by jerg 19-08-2012 19:00:10)

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Chainik wrote:

Well, which means it crashes only when it comes to real job.
OK, one more simple test, try to run any OpenCL app. For example OpenCL tests from "GPU Caps Viewer".

=========
BTW it could be a problem if your laptop use "AMD

or ATI
switchable graphics"  hmm

If you mean the OpenCL demo option in GPU Caps Viewer (the one with the 3D object that deforms around into weird shapes), yeah it works. I get between 35~60 fps with 600x600 with 4x MSAA.

My laptop (Acer 5820TG) does indeed have switcheable graphics, I never use the integrated graphics though, it's always on maximum performance (the HD5650) when it's not on battery.

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Well I'm really confused now.

I could make some kind of debug version

(hopefully on Tuesday)
if you really want to try to fix the issue.

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Chainik wrote:

Well I'm really confused now.

I could make some kind of debug version

(hopefully on Tuesday)
if you really want to try to fix the issue.

If it's not too much trouble then that'd be great!

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Hey Chainik, how's the debugging mode coming along?

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

oops, sorry, i'm suddenly went for a business trip

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Here it is.
Unpack, run, attach "test.log" file here.

Post's attachments

svp_test.zip 64 kb, 498 downloads since 2012-08-26 

18 (edited by jerg 27-08-2012 03:58:57)

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Chainik wrote:

Here it is.
Unpack, run, attach "test.log" file here.

Here you go.

Post's attachments

test.log 960 b, 513 downloads since 2012-08-26 

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

so it didn't crash this time  hmm
this's bad

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Does it rule out a few things though? Maybe there's a better idea as to where the conflict / bug might be now, since we know where it isn't.

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

No ideas right now, it's the very same code that runs in SVPmark but only just a few iterations.

read this - http://foldingforum.org/viewtopic.php?f=81&t=21483

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

Fixed! It was an incompatible driver basically, I was able to get a modded 12.8 driver working with my ATI+Intel hybrid laptop and voila GPU acc seems to work as intended now.

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

jerg
Can you tell some more details about difference between "good" and "bad" 12.8 driver?
How one can get "good" driver?

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

MAG79 wrote:

jerg
Can you tell some more details about difference between "good" and "bad" 12.8 driver?
How one can get "good" driver?

The bad driver is a customized version on Acer's website, tailored for my laptop (Acer 5820TG).

The good driver is a modified AMD 12.8 driver made by leshcat, that works with laptops with ATI+Intel switchable graphics (the default 12.8 driver is non-compatible with any switchable graphics laptops and causes BSOD).

Re: [SOLVED] MPC-HC playback crash with GPU acceleration (Radeon HD5650)

jerg
the default 12.8 driver is non-compatible with any switchable graphics laptops and causes BSOD

obviously it's not that simple cause default 12.8 works great on my HP 4530s (i5-2430m + AMD 6450m)