Log in

View Full Version : MPC-HC DXVA Deblocking Problem


JohnPeterson
10th October 2010, 14:42
Since the main mpc-dxva thread is so big I'll separate one important issue to its own thread. Namely the deblocking problem when the level check or reference frame check fails. (The deblocking problem has been mentioned in the big mpc-dxva thread here http://forum.doom9.org/showthread.php?p=1356767#post1356767.) I would I also like to give a big thanks to the developers of mpc-dxva and remind them that we all appreciate the effort they have put into producing the high quality open source dxva code that we have now. Now to the issues.

Possible to remove or relax the level and reference frame check?

I've uploaded two 10-seconds mkv sample files here https://docs.google.com/leaf?id=0B1MTmLrLS3Z2MjJhNDc3ZWMtYmE3Ny00NmQ1LWIyNzQtNDljYmZhYjZlYmMw&hl=en that plays in MS DTV-DVD dxva but fails in mpc-hc dxva. Some will obviosly say "the movies are broken, not mpc-dxva". And I understand that view. But I would still like to put an improvement on the mpc-dxva tolerance towards non-standard encodings like this on the todo-list. Since they do occur and since the MS DTV-DVD dxva filter can render both samples I guess it would be possible to upgrade mpc-hc dxva to support that too? So that the level and reference frame check could be relaxed or removed?

Sample-001.mkv fails both the reference frame and level check in mpc-dxva and has blockiness in mpc-hc dxva. No visible problem with MS DTV-DVD dxva.

Sample-002.mkv fails the reference frame check in mpc-dxva and has blockiness in mpc-hc dxva. No visible problem with MS DTV-DVD dxva.

Sample-003.mkv fails both the reference frame and level check in mpc-dxva and has blockiness in mpc-hc dxva. In addition to blockiness its frame display is noncontiguous. No visible problem with MS DTV-DVD dxva.

The identity of the cards I've tested the samples with are in the gpu-ati.gif and gpu-intel.gif files in the google docs folder from above.

The Intel HD Graphics deblocking problem

In addition to that Intel HD Graphics cards have deblocking problems with all AVC files. It's been addressed in this thread
http://forum.doom9.org/showthread.php?t=154082 and I'll just link to that thread and let the discussion about that continue there.

namaiki
11th October 2010, 07:27
Sample-001.mkv fails both the reference frame and level check in mpc-dxva and has blockiness in mpc-hc dxva. No visible problem with MS DTV-DVD dxva.

Sample-002.mkv fails the reference frame check in mpc-dxva and has blockiness in mpc-hc dxva. No visible problem with MS DTV-DVD dxva.

What exactly do you mean by fails the checks? Do you mean that the card is capable, but the dxva filter detects that it is not; or do you mean that the card is incapable, but the dxva filter detects it as being capable?

Are the results the same with both cards, or are you lacking results for one of the graphics cards?

Also, know that ATi cards have trouble with DXVA for SD videos on the latest Catalyst drivers(since 10.3 or 10.4).

Was the MS DTV-DVD decoder using DXVA on all the clips? In which situations did MPC-HC report 'Playing[DXVA]' or just 'Playing'?

nevcairiel
11th October 2010, 08:12
AFAIK, MS DTV-DVD will use partial DXVA acceleration, which would explain why it works. The MPC-HC DXVA only supports full acceleration (VLD), which is limited on hardware support.

ranpha
11th October 2010, 11:47
AFAIK, MS DTV-DVD will use partial DXVA acceleration, which would explain why it works. The MPC-HC DXVA only supports full acceleration (VLD), which is limited on hardware support.

The Microsoft decoder may support H.264 partial acceleration, but the ATI 5xxx and Intel Arrandale GPU itself doesn't. Therefore the MS decoder won't use partial acceleration.

The TS problem with the Intel GPU is a well-known problem, and IMO the TS ATI problem simply means that he has encountered some edge cases that is inevitable with Catalyst 10.4 and above.

Kado
11th October 2010, 11:58
Both clips work fine here with MPC-HC DXVA with any DXVA comp check. GTX470 259.32
You can change the settings in the filter options
http://img839.imageshack.us/img839/3431/dxvaok.png

nevcairiel
11th October 2010, 13:32
The Microsoft decoder may support H.264 partial acceleration, but the ATI 5xxx and Intel Arrandale GPU itself doesn't. Therefore the MS decoder won't use partial acceleration.

The TS problem with the Intel GPU is a well-known problem, and IMO the TS ATI problem simply means that he has encountered some edge cases that is inevitable with Catalyst 10.4 and above.

Then its just another case of ATI related DXVA failure =)

JohnPeterson
14th October 2010, 01:32
Thank you for your responses. I've posted a third sample, Sample-003.mkv, that fails in mpc-dxva and plays in ms-dxva. With trial and error and expertise it should be possible to upgrade mpc-dxva to support these sample videos too.

Kado
14th October 2010, 01:55
The ms decoder does vld/bitstream decoding with those files?