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)



- ashlar - 2010-02-06

Elis Wrote:All the above implementations, including Boxee, require full bitstream decoding. Only ATI cards equiped with UVD 2 and up can handle that. On ATI UVD 2.0 is available from Radeon 4000.

If it's working in Boxee its probably because Boxee is switching to software decoding. This is true for DSplayer as well as they are both based on MPC decoders.
I'm on an ATI 4890 and pretty much nothing is working with this solution (XBMC, not Boxee that being European I sadly couldn't care less about).


- ArtVandelae - 2010-02-06

onomatopellan Wrote:It seems your CPU doesn't support SSE4.1 instructions.


As i said in my first post, SSE4.1 is necessary to see video in the current implementation of ffmpeg dxva2 with ATI cards.

VLC team is working on it, I think soon your card will work with XBMC dxva.

My HTPC with a Pentium E6300 (no SSE4.1) and an ATI 4670 runs all VC-1 content and quite a bit of H.264 content perfectly, so that's not the issue here. It's only certain H.264 videos (that most likely use some mishandled feature) that result in the partially green screen and it happens on both ATI and Nvidia.


- Hitcher - 2010-02-06

Elis Wrote:All the above implementations, including Boxee, require full bitstream decoding. Only ATI cards equiped with UVD 2 and up can handle that. On ATI UVD 2.0 is available from Radeon 4000.

If it's working in Boxee its probably because Boxee is switching to software decoding. This is true for DSplayer as well as they are both based on MPC decoders.
Well when it's enabled in BOXEE the info says 'DC: DXVA-h.264' and the CPU runs at about 2% but with it disabled it says 'DC: ff-h.264' and the CPU is about 20%.

Surely that means it's working?


- HowlinPsycho - 2010-02-06

in the 27500 build sound is extremely low no matter what file i play. Anyone else have this issue?


- onomatopellan - 2010-02-06

Elis, in my AthlonXP2800 and ATI HD3450 (UVD+) CPU usage is ~20% with 720p h264 videos in Boxee. It's running MPCHC decoder in the background or something?

ArtVandelae Wrote:My HTPC with a Pentium E6300 (no SSE4.1) and an ATI 4670 show runs all VC-1 content and quite a bit of H.264 content perfectly, so that's not the issue here. It's only certain H.264 videos (that most likely use some mishandled feature) that result in the partially green screen and it happens on both ATI and Nvidia.
That's interesting. Did you try the latest VLC with dxva? http://people.videolan.org/build/win32/trunk-20100129-1616/

you have to enable "gpu acceleration (experimental)" in video options. Maybe SSE4.1 is not indispensable as I thought. :o


- anconakip - 2010-02-06

I work with de XBMC 9.11 version. This works very nice on my Asrock ION 330HT with Win 7 64bit. Only full-hd will stutter a lit.

but if i install the r27500 version then my "normal" dvd movies will stutter.

What are the exact settings of xbmc and/or should i install more than only xbmc?


- Hitcher - 2010-02-06

This is what BOXEE reports -

CDVDVideoCodecDXVA::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10


- eriksmith200 - 2010-02-06

elupus Wrote:eriksmith200:
* Inverse telecine is for converting 30fps back to the original 24fps.
* Telecine is what is used on dvd's to make a 24fps movie a 30fps(actually 60 fields per second) play better on a interlaced TV.

If you have a 60z monitor, you should just play the progressive files as they are...

So I need telecine, not inverse telecine, and more specifically 3:2 pulldown? Is this possible with dxva?


- Elis - 2010-02-06

Hitcher Wrote:Well when it's enabled in BOXEE the info says 'DC: DXVA-h.264' and the CPU runs at about 2% but with it disabled it says 'DC: ff-h.264' and the CPU is about 20%.

Surely that means it's working?

If it says DXVA in the info then yes, it's using DXVA

Are you sure you're running Radeon 2400? Can you post a DXDiag output?


- Elis - 2010-02-06

onomatopellan Wrote:Elis, in my AthlonXP2800 and ATI HD3450 (UVD+) CPU usage is ~20% with 720p h264 videos in Boxee. It's running MPCHC decoder in the background or something?


That's interesting. Did you try the latest VLC with dxva? http://people.videolan.org/build/win32/trunk-20100129-1616/

you have to enable "gpu acceleration (experimental)" in video options. Maybe SSE4.1 is not indispensable as I thought. :o

No, its not running the decoder in the backgeound.

The key to using DXVA is to expose the data required. Since we're all using FFmpeg, we need to modify it to get the required information.

Boxee and DSPlayer are using MPC mods while XBMC is using VLC mods. That's why we the different results.


- Hitcher - 2010-02-06

Elis Wrote:If it says DXVA in the info then yes, it's using DXVA

Are you sure you're running Radeon 2400? Can you post a DXDiag output?
Happily, if you could tell me what it is?


- nekrosoft13 - 2010-02-06

nekrosoft13 Wrote:here you go
http://pastebin.com/f755786f9

elupus, any idea what might be reason behind my black screen? audio loop caused by activating DXVA2?


- nekrosoft13 - 2010-02-06

Hitcher Wrote:Happily, if you could tell me what it is?

in windows, open run box (windows key + R), type dxdiag.

and on bottom click save all information, txt file will be created.


- Hitcher - 2010-02-07

nekrosoft13 Wrote:in windows, open run box (windows key + R), type dxdiag.

and on bottom click save all information, txt file will be created.
Here you go -

http://pastebin.com/m26a25f46


- nekrosoft13 - 2010-02-07

btw, updated to 27500 and problem continues

but i made a new discovery

here is my cotent in advancedsettings.xml

Quote:<advancedsettings>
<videoscreen>
<fakefullscreen>false</fakefullscreen>
<sleepbeforeflip>false</sleepbeforeflip>
</videoscreen>
</advancedsettings>

after removing this xml file, i get green screen.

but there is also another more serious sideeffect from removing this xml file, all my 1080p files have ghosting, seems like half of the frames are being skipped, playback is not smooth.

keeping this advancedsettings.xml file is the only way to keep video playback smooth.