Kodi Community Forum
Initial native support for DXVA2 in SVN - Time to say goodbye to your firstborns - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Initial native support for DXVA2 in SVN - Time to say goodbye to your firstborns (/showthread.php?tid=69306)



- steelman1991 - 2010-04-27

SlaveUnit Wrote:So I was given a sample from steelman. I see the "two steps forward, one step back" issue now that sebak and steelman see. Here is the sample if anyone else wants to test for themselves (hope you dont mind steelman). http://www.mediafire.com/?1w2y2zzmnbq

I will try to look more into the causing issue today or possibly tomorrow (time permitting).

EDIT: Actually thinking about that sample. When I received it this morning I did try it in ffplay (the ffmpeg player) and saw the same results.
sebak and oldpainless,

Did these files that are jumpy ever playback fine for you? Im sure you probably told me I just cant remember that answer.

No problem mate but it wasn't me who had that particular issue , but oldpainless - I was more concerned that as a raw h264 clip it played with considerable pixelation, yet other raw h264 remuxes didn't. Oldpainless gets the same issues we did, with the same sample and attempted dxva2 playback.


- SlaveUnit - 2010-04-27

As you said in your PM about...damn I get you 2 dsplayer fanboys mixed up. Smile

Ill play with the transformers issue...but I cant reproduce the shining issue. Ill just go by the sample names on these 2 issues.


- SlaveUnit - 2010-04-27

elupus,
So trying to narrow it down a bit it appears that:
29242 - works
29328 - has the jumpy pixelation issue.
From the timeline there are many changes that you (and others) did between that large gap of 90 commits Sad So I'm not really sure on what to guess on this time. The same issues happens when using VLC using hardware acceleration. I tried to test on ffplay but I cont find the switch to enable DXVA with it. So since this seems to happen right when you started using the new ffmpeg(Changeset [29327])...would that be the cause here? As usual just a really broad guess.

This does only happen with DXVA2 enabled. Software rendering is fine.

File sample is here: http://www.mediafire.com/?1w2y2zzmnbq

Here is the info on he file itself:
Format : Matroska
File size : 151 MiB
Duration : 38s 197ms
Overall bit rate : 33.1 Mbps
Encoded date : UTC 2010-04-25 21:55:16
Writing application : mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Dec 12 2009 15:20:35
Writing library : libebml v0.7.9 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Format_Settings_GOP : M=2, N=24
Muxing mode : Container [email protected]
Codec ID : V_MPEG4/ISO/AVC
Duration : 38s 205ms
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 38s 197ms
Bit rate mode : Variable
Channel(s) : 6 channels
Sampling rate : 48.0 KHz
Resolution : 24 bits
Video delay : 52ms
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)


- fr500 - 2010-04-27

I read database is incomplete and plugins will not work, is that correct? so no SVN repo installer?

One more thing, I had some issues with some videos with mono AC3 audio on the latest stable, so I installed this to test dsplayer.

Even if I don't play videos with dsplayer (not set on xml nor manually at video startup) now sound works fine on such videos, am I using dsplayer? or just a newer revision of the normal player?


- neil.j1983 - 2010-04-27

http://trac.xbmc.org/changeset/29258
http://trac.xbmc.org/changeset/29327

I can't build builds anymore, (and I'm stabbing in the dark here) but those might be ones to try a "one before, one after" on.

edit - i see you already mentioned the ffmpeg change.


- oldpainless - 2010-04-27

SlaveUnit Wrote:So I was given a sample from steelman. I see the "two steps forward, one step back" issue now that sebak and steelman see. Here is the sample if anyone else wants to test for themselves (hope you dont mind steelman). http://www.mediafire.com/?1w2y2zzmnbq

I will try to look more into the causing issue today or possibly tomorrow (time permitting).

EDIT: Actually thinking about that sample. When I received it this morning I did try it in ffplay (the ffmpeg player) and saw the same results.
sebak and oldpainless,

Did these files that are jumpy ever playback fine for you? Im sure you probably told me I just cant remember that answer.

On my system, both The Shining (1997) sample.mkv & Transformers_Revenge_Of_The_Fallen.Blu-Ray_1-002.mkv play with no issues using MPC-HC with the standard EVR settings.

K


- nathanblgos - 2010-04-27

sorry, but I'm sure this has been posted and answered before but I've given up reading after 2 hours.

Is it possible to run dxva1 with windows xp, I understand it can't/wont be done for dxva2 but is it possible with dxva1, without using an external player eg media player classic. I can currently do the dxva1 on media player classic

I have the latest ati drivers 10.4a and the latest dx build from http://sshcs.com


- SlaveUnit - 2010-04-27

Your closest thing if you want to use DXVA(1) is to use the DSPlayer build. Although that is sort of an external player still.


- Sinnocence - 2010-04-27

SlaveUnit Wrote:People with the problem, you can help the devs a lot by trying to narrow down what chage in the code screwed things up. The way I do it is to get the nightly builds then narrow down what one worked and what one didnt. Then look in the in the timeline and try to see what changes made between them that might effect the problem. This process is simple enough to where anyone can do it and it really saves the devs time.

Or if you dont want to guess, compile yourself and figure out exactly what svn screwed it up. Smile

I tried a lot of the sshc builds. With no change I assumed it was something else in my config rather than a 'bug', I posted only to lend weight to the other user's posts.

I'll take a look at the source at the weekend if I get a chance. Thanks for trying to narrow it down yourself.


- SlaveUnit - 2010-04-27

Sinnocence Wrote:I tried a lot of the sshc builds. With no change I assumed it was something else in my config rather than a 'bug', I posted only to lend weight to the other user's posts.

I'll take a look at the source at the weekend if I get a chance. Thanks for trying to narrow it down yourself.

I did try and narrow it down with all the builds on the sshc site. It just sucks that its between 90 commits.


- ashlar - 2010-04-27

Anyone able to provide a recap of where DXVA2 stands in regards to ATI 4xxx support?


- Sinnocence - 2010-04-27

SlaveUnit Wrote:I did try and narrow it down with all the builds on the sshc site. It just sucks that its between 90 commits.

I was being sincere, not sarcastic! Laugh


- SlaveUnit - 2010-04-27

Sinnocence Wrote:I was being sincere, not sarcastic! Laugh

Yeah I took it that way (as sincere). I just wanted to do a short recap of my longer post. Wink

It's hard to express attitudes (good or bad) with only text at times.

ashlar: I wish I could comment but I have retired any ATI cards I have. I dont game at all so ATI is out of the loop for me until they get their drivers up to par.


- steelman1991 - 2010-04-27

ashlar Wrote:Anyone able to provide a recap of where DXVA2 stands in regards to ATI 4xxx support?

Still buggy at best.


- elupus - 2010-04-28

SlaveUnit:
I would guess r29258 is the reason.. But i would expect there to be some warnings in log if that is the case. Could you post a debug log? (i'm downloading the sample just in case, but a log would be nice too)