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)



- tiben20 - 2010-06-23

SlaveUnit Wrote:Very nice news. Thanks tiben20!!!
wiso updated the dll if someone can confirm its working it would be great


- Sam.Nazarko - 2010-06-24

Constant pixellation during one video: http://pastebin.com/daUzXbax - just thought this might help some devs


- Kill-9 - 2010-06-24

steelman1991 Wrote:What cards are you using, version of ccc and which version of xbmc? I and others have been using dxva virtually troublefree for some weeks if not months now.
Forgot to include this info again.

I'm using Cat 10.6s, but i tried the 10.4s with no luck. Build is 31321 but i tried others.

Card i am having issues with is the Radeon 3450. This is on Windows 7 64bit Ultimate


- WhiningKhan - 2010-06-24

tiben20 Wrote:wiso updated the dll if someone can confirm its working it would be great

I tried the head of both the trunk and dsplayer branch last night. I tried this file: http://www.w6rz.net/parkrun1920_18mbps.ts and some SD .ts-files recorded by VDR 1.7.8. DXVA did not get used for any of the files.

In dsplayer branch, dvdplayer failed to play any of the files for some reason (debug log indicated exception during demuxing or something like that). It is possible that the build was somehow screwed.

I don't have the debug logs at hand right now, sorry about that.


- Bier_Koerier - 2010-06-24

AzzX Wrote:Definitely doesn't work here, driver sweeper is the first thing I use as well. Looking at ATI's forums the issue still persistes with certain hardware configs, My samsumg TV requires 1:1 and the cats default to -10 underscan each refresh change - regardless of any adjustment. Bad ATI, I have even gone to length adding the overscan settings into the registry to no avail. At least 10.1 works beautifully.

Are you sure you ran Driver sweeper in save mode? This was critical in my case.


- WhiningKhan - 2010-06-24

tiben20 Wrote:wiso updated the dll if someone can confirm its working it would be great

I tried today's dsplayer branch head again. Same results, all MPEG2 files fail to play in dvdplayer, due to exception in opening demuxer. But h264 etc. plays still fine.

Debug log: http://www.pastebin.org/356898


- paco - 2010-06-24

WhiningKhan Wrote:I tried today's dsplayer branch head again.

Why are you using the DSPlayer branch? This thread is for the standard XBMC branch.

Myself, I downloaded kricker's SVN 31359 to try Mpeg2 DXVA but it wouldn't work for my video card (8500GT). My card only supports 'MPEG2 IDCT' which maybe isn't enough for DXVA.

Here is my debug log: http://pastebin.com/YYbFgmBN


- CrystalP - 2010-06-25

Anybody tried MPEG-2 acceleration with build >= 31353 and MPEG2-VLD capable GPU?

@paco: MPEG2 IDCT is not enough.


- oldpainless - 2010-06-25

Crystal,

Congrats on adding the shaders (post-processing) in the latest nightly - great work.

The ticket talks about advancedsettings.xml - is this there now? or to be added in the future? (I ask as I can't find it).

K

EDIT - Having spent more time with 31364, I have to say, amazing work - Handshake issue fixed, shaders are producing great PQ (it would be nice to have chroma upsampling and sharpen complex2 Wink), and, if I use auto adjust refresh & sync to display everything I throw at it is in PERFECT sync and as smooth as silk! Big GrinBig GrinBig Grin

Just for info, Small bug - if you hit time jump a few times, it goes out of sync slightly - no big deal as if you stop the film and start again, it's back in sync.

Well done guys.


UPDATE - Crystal - found another bug - for 98% of movies (MKV - h.264/ac3/dts), the new handshake works perfect (blank screen untill it's reads the hz/fps), however, there are a few (of my) MKV's, where it's starts the video straight away, then the screen blanks, movie comes back, but then it's out of sync (using auto refresh)....not sure what the issue is (ref frames, muxing tool etc)....if you want a sample, let me know.


- Lister of Smeg - 2010-06-25

oldpainless Wrote:Crystal,

Congrats on adding the shaders (post-processing) in the latest nightly - great work.

The ticket talks about advancedsettings.xml - is this there now? or to be added in the future? (I ask as I can't find it).

K

EDIT - Having spent more time with 31364, I have to say, amazing work - Handshake issue fixed, shaders are producing great PQ (it would be nice to have chroma upsampling and sharpen complex2 Wink), and, if I use auto adjust refresh & sync to display everything I throw at it is in PERFECT sync! Big GrinBig GrinBig Grin

Well done guys.

K

I am still noticing a/v sync issues in 31349. But i admit that its getting better. I'll check out 31364 tonight. What option are you using for "Sync to Display"?


- oldpainless - 2010-06-25

Lister of Smeg Wrote:I am still noticing a/v sync issues in 31349. But i admit that its getting better. I'll check out 31364 tonight. What option are you using for "Sync to Display"?

Video clock (dupe/drop audio)

Using both auto adjust & sync to display in 31364 fixes it for me.

K


- Lister of Smeg - 2010-06-25

oldpainless Wrote:Video clock (dupe/drop audio)

Using both auto adjust & sync to display in 31364 fixes it for me.

K

Ah, i'm just using Auto Adjust at the mo. I'll try sync to display tonight, Thanks for the tip Big Grin


- Carlos ze Dwarf - 2010-06-25

CrystalP Wrote:Anybody tried MPEG-2 acceleration with build >= 31353 and MPEG2-VLD capable GPU?

@paco: MPEG2 IDCT is not enough.
Would a GT 240 (VP4) be a compatible card?

Just tried playing a dvd image using r30371, cpu was at 15%, so i doubt it worked...
http://paste2.org/p/891919

nvidia drivers: latest official 257.21


------------

[edit]
ok there is definitely an issue with dxva and mpeg2.
debug log: http://paste2.org/p/891958 (says the card supprt MPEG2 VLD)
file played: http://paste2.org/p/891963

course of event is:
xbmc started with dxva enabled.
then play the mpeg2 file, result is sound works but video doesn't appear, it just stays on the UI.
Stop then disable dxva in setup.
Try to play video again, this time video appears.


- Schnuffer - 2010-06-25

Carlos ze Dwarf Wrote:ok there is definitely an issue with dxva and mpeg2.
debug log: http://paste2.org/p/891958 (says the card supprt MPEG2 VLD)
file played: http://paste2.org/p/891963

course of event is:
xbmc started with dxva enabled.
then play the mpeg2 file, result is sound works but video doesn't appear, it just stays on the UI.
Stop then disable dxva in setup.
Try to play video again, this time video appears.

I have the same problem with my Nvidia 220 GT and driver 257.21


- WhiningKhan - 2010-06-25

paco Wrote:Why are you using the DSPlayer branch? This thread is for the standard XBMC branch.

Because
a) Tiben20 is the original creator and developer of dsplayer branch
b) The mentioned addition of MPEG2 DXVA support has been merged from trunk to dsplayer branch
c) If the mpeg2 dxva patch has broken something, the author deserves to get info of it.