Topic: Lot of crashes / freezes using AMD HD6630M

Hi, with GPU acceleration enabled SVP hangs and crash MPC-HC every 3-10 minutes. Often the TLDR message popup (driver stop responding).
I've an AMD HD6630M and disabling GPU works fine.
The GPU is good, it passes stress testing using Furmark without problems.
Is there some log I can send you to analyze what's the problem?

Re: Lot of crashes / freezes using AMD HD6630M

What temperatures CPU and GPU while you watching cinema?

Re: Lot of crashes / freezes using AMD HD6630M

Around 55-60. It can reach 70 under stress testing like furmark.
However crashes happens even 1-5 seconds after start playing, they doesn't depend on temps.
It seems reducing "target frame rate" to 2x reduces crash frequency, but it still happens very often.

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
Please pass SVPmark test. And send your results to on-line database.

5 (edited by berga_d 13-06-2013 14:42:26)

Re: Lot of crashes / freezes using AMD HD6630M

Done

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
Your system passes this test successfully.

Hm... Can you get one more crash with SVP and after reboot show here SVPmgr log?
You can find it in %appdata%\SVP 3.1\Logs\log.txt. Open it in notepad, copy all and paste here.
Do not run SVP after reboot before open log-file.

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
he GPU is good, it passes stress testing using Furmark without problems.

It is ONLY GPU test, CPU stand by
While SVP load both CPU and GPU
Over 90% notebooks is aep arse, becouse its cooling system did't designed for cooling both heating CPU and GPU

Re: Lot of crashes / freezes using AMD HD6630M

Rimsky
SVPmark is passed. It loads CPU and GPU together with SVP core algorithms. It looks like it is not overheating. hmm

Re: Lot of crashes / freezes using AMD HD6630M

MAG79

nope
I belive its overheating:
a) SVPMark run about 1 minutes while SVP playing movies work 3-10 minutes
b) character of SVPMark load is peaks by test, while playing movies hardware load is constant
c)  disabling GPU works fine / Furmark without problems

Re: Lot of crashes / freezes using AMD HD6630M

Here's the log:

18:36:06.209; Start: SVPMgr 3.1.4 (901) starts...
18:36:06.209; AppDataPath: C:\Users\Davide\AppData\Roaming (ANSI)
18:36:06.209; Start: read settings file settings.ini
18:36:06.209; Start: load language file - English. Duration: 30 ms
18:36:06.239; Start: check launched instance of SVP-manager
18:36:06.239; Start: check Avisynth installed
18:36:06.239; Start: clear Logs folder
18:36:06.239; Start: performance graphs prepare. Duration: 10 ms
18:36:06.249; Start: SVPMgr folders prepare
18:36:06.249; Start: read settings file SVPMgr.ini
18:36:06.249; Start: GPUs settings detection. Duration: 235 ms
18:36:06.484; Start: detected graphics (OpenCL) adapter: 11. AMD Radeon 6600M and 6700M Series (498). Duration: 10 ms
18:36:06.494; Start: monitors settings detection. Duration: 700 ms
18:36:07.194; Start: detected monitor: 1024 x 768 @ 74.899
18:36:07.194; Start: disable LNG-file write when UAC enabled. Duration: 10 ms
18:36:07.204; Start: change SVP-manager priority
18:36:07.204; Start: register hotkeys
18:36:07.204; Start: get versions of modules used
ffdshow.ax/avisynth.dll: 1.3.4500.0/2.5.8.6
svpflow1/2.dll: 1.3.3.0/1.4.1.0
svpflow_cpu/gpu.dll: 1.7.2.0/1.7.7.0
18:36:07.204; Start: refresh autostart state in registry
18:36:07.204; Start: some more work with registry. Duration: 10 ms
18:36:07.214; Start: create menu. Duration: 10 ms
18:36:07.224; Start: update settings file settings.ini. Duration: 10 ms
18:36:07.234; Start: update monitor settings. Duration: 10 ms
18:36:07.244; Start: prepare "About the program" window. Duration: 10 ms
18:36:07.254; Start: enable ffdShow waiting mode
18:36:07.254; RefreshSVP
18:36:07.254; ===== Waiting for ffdshow video. Duration: 10 ms
18:36:07.264; Start: prepare to work is complete
18:36:21.524; ===== Detected playback with ffdShow
18:36:21.528; GetDimensionAndFPS_fromOSD start. Duration: 67 ms
18:36:21.595; GetDimensionAndFPS_fromOSD result: 1920x1080 23.976 1/1
18:36:21.604; T1T: begin. Duration: 7 ms
18:36:21.611; T1T: GetAllMediaParams. Duration: 6 ms
18:36:21.617; T1T: SettingsPrepare. Duration: 13 ms
18:36:21.630; T1T: Preparing smooth playback.... Duration: 8 ms
18:36:21.638; T1T: WriteAllMediaParamsToIni
18:36:21.642; SVPMgr: main "C:\Users\Davide\AppData\Roaming\SVP 3.1\" 1920 1080 23.976 1920 1080 22 7. Duration: 220 ms
18:36:21.862; ===== Playback
23.976 * (22 : 7) = 75.353 fps
18:36:21.865; SetPriorityPlayer: 2

Re: Lot of crashes / freezes using AMD HD6630M

Rimsky, I'm totally sure it's not overheating. This happens even just after 1-2 seconds. Sometimes it works for some minutes, sometimes it freeze after some seconds. However in general the computer doesn't hangs, only the player, and I can close it using task manager.

Probably it's something related with the Switchable Graphics sending screen data back and forth between Intel and AMD cards via pcie, or something related to OpenCL working unit size too big that trigger TDR.

Re: Lot of crashes / freezes using AMD HD6630M

berga_d

You're not the only one who has TDR error / BSOD (0x116) in the last week.
May be there was a video driver update / public beta version released / etc?  hmm

Re: Lot of crashes / freezes using AMD HD6630M

No, the problem has always been there, using many different driver versions.
I don't get bsod, only tdr messages, and sometimes the player can't continue after driver reset and hangs.
I think the main problem are these tdr messages.
What does it change between the benchmark and the player? Because it is strange it hangs only during real playing.

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
What does it change between the benchmark and the player?

- duration
- no output to renderer in the bench

try to set "overlay mixer" as the output option in the player
or even "null renderer", just for testing

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
Real playing uses MPC-HC player, LAV decoder, ffdShow rev4500, EVR custom or madVR renderer by default.
You can change each of these components and look to the results.
Probably it is hardware acceleration of decoding in LAV or hardware acceleration of rendering in madVR. Check it first.

Re: Lot of crashes / freezes using AMD HD6630M

yeah, MAG79 is right, disable hardware acceleration in LAV first

17 (edited by berga_d 14-06-2013 09:19:20)

Re: Lot of crashes / freezes using AMD HD6630M

Disabling LAV dxva seems to decrease the frequency of TDR, but it still happens.
Null renderer seems to work ok, but sometimes just click for opening some menu on desktop cause TDR or system freeze.
For example: I clicked there to open the drop-down menu http://sdrv.ms/ZNWLwl and computer screen freezed (audio still playing).
It happened before changing the setting, right after clicking to open it, but it may happen in other places too.
Using madvr or evr increase the frequency, and it may happen even without clicking anything.

I've trieied disabling GPU Preemption HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler\EnablePreemption, but then it freezes after 2-3 seconds of playing.
Disabling TDR stop TDR messages, but system freeze anyway.

Re: Lot of crashes / freezes using AMD HD6630M

berga_d

try to disable CPU turboboosts and downclock GPU to 400-300 MHz

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
Try to get TDR error on any other OpenCL test/benchmark software. Does the error occur only on SVP?

20 (edited by berga_d 14-06-2013 12:00:44)

Re: Lot of crashes / freezes using AMD HD6630M

Tried downlocking: same problem.
I tried with luxmark: using GPU only and the heavier Scene (room).
Luxmark doesn't seems to crash on its own, however I can cause TDR clicking many times on SVP profiles combo boxes, like in the screenshot I sent you before.
It seems clicking these drop-down menus increase a lot the frequency of TDR, even without any SVP video running during luxmark.
I don't know if other Windows animations cause this, I'll take a look.

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
did you try madVR renderer? or VMR9r?

22 (edited by berga_d 14-06-2013 15:06:54)

Re: Lot of crashes / freezes using AMD HD6630M

I've tried al renderers, but I have to use madVR because I need color correction.
I've done a couple of hours of testing with 1080p-24fps music videos on madvr, and now it seems ok. Sometimes it resets, but only sometimes, and it doesn't need reboot,
What I've found so far that seems helping:
1- Disabling DXVA (then I removed LAV and used only ffdshow, as it's not needed anymore, this improve TDR a lot)
2- Disabling "exclusive mode" in madVR (this stop player and computer crashes when TDR timeout happens: it will will just pause and restart after some seconds, and seems to improveTDR too)
3- Limit SVP to 60 FPS (using profiles sets to 2x30 2.4x25 2.5x24, I use a 75fps projector,  improve TDR a lot)
4- Decrease both Motion Vectors settings to minimum (at least for 1080p seems to stop TDR definetely, other settings are at default)
5- Don't click buttons and menus while watching videos  big_smile

In general it seems that CPU load must stay under 60% to work without TDR. GPU load doesn't seems to create problems.

Re: Lot of crashes / freezes using AMD HD6630M

berga_d
Thank you. I think your solution will be helpfull to anyone who has laptop with switchable graphics too.

24 (edited by berga_d 15-06-2013 09:40:54)

Re: Lot of crashes / freezes using AMD HD6630M

Ok, I'm glad to help. After that couple of hours of testing I watched a video back on24p... I think I can't watch 24-25p anymore. Ever.  smile

Tonight I'm going to test it using a full length movie, then I'll write back if it crashes again.

Have you tried reducing OpenCL "working units"? I'm a C# programmer, so I don't really understand how OpenCL works, but from testing with different GPU programs some time ago I remember that bigger "working units" are faster, but sometimes they may block the GPU for too much time, generating TDR problems.
Let me know when you have some new beta to test.
Bye, Davide

EDIT: So, TDR happened after 10-15 min. I reduced to 2xFPS and then it worked, at least for another 20min, I test more tonight.