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)



- athloni - 2010-05-03

ashlar Wrote:One thing I don't understand: do the current problems with DXVA2 implementation for ATI come from ffmpeg or it's something specific to XBMC?
Thanks! Smile

For me (ATI 4350) most of the problems are fixed with ATI Catalsyst 10.4 drivers and the latest XBMC Nightly builds. Now only Multislice (i don't know exactly what it is) MKV's doesn't work a.t.m.


- elupus - 2010-05-03

multislice issue is something that needs to be fixed in ffmpeg.


- ashlar - 2010-05-03

Ok, I'm with athloni in not knowing what the heck multislice is. Is it something present in "scene" releases or is it part of the official BD encoding profiles?

Would it be possible to have DXVA2 fall back to software decoding when it meets multisliced files?


- elupus - 2010-05-03

It just means that the video is split into segments (rows) that can be decoded somewhat independently.

And multislice decoding is only broken in one mode of the h264 decoding. That mode happens to be the only one supported by ATI.


- ashlar - 2010-05-03

It's really ironic... and to think that I switched from Nvidia to ATI because they were the first to fully decode in GPU VC-1 content. Well, and the first to offer 7.1 LPCM through HDMI.

Would it be possible to fall back to software until FFMPEG makes up for ATI's shortcomings? I mean, only for those files that need it.


- elupus - 2010-05-03

ashlar, no cause we don't know when it happens untill mid decoding. (and that is also mid ffmpeg code, it doesn't export any of this info )


- SlaveUnit - 2010-05-03

ashlar Wrote:It's really ironic... and to think that I switched from Nvidia to ATI because they were the first to fully decode in GPU VC-1 content. Well, and the first to offer 7.1 LPCM through HDMI.

Would it be possible to fall back to software until FFMPEG makes up for ATI's shortcomings? I mean, only for those files that need it.

I have learned to keep a cheap version of each brand around. Right now in my machines I have a 240, 210 and a 9600. Just in case something amazing happens with ATI I kept a 4550 around to collect dust.


- steelman1991 - 2010-05-03

elupus - thanks for the commit to resolve the Transformers Sample issue - just tried with r29759 and everything in the main working great. Playback fine - a slight green screen flash and pixelation on initial file load and some minor pixelation on chapter skip. Conitnued playback though is excellent with low CPU usage. NodNodNod

Superb job by the way.


- CrystalP - 2010-05-04

The unofficial SVN builds at http://www.sshcs.com are built with an old DirectX SDK that's missing support for Windows 7 (older than August 09 at least). I notified the webmaster.

That may explain why I'm the only one seeing things Smile

P.


- dbldown768 - 2010-05-04

I just did a clean install from scratch. installed win 7 (x86), installed 9.10 xbmc, then overwrote the files xbmc folder of the c:\program files\ folder. Not sure if its is an DXVA thing, but none of the skins, or plugins are showing up? I put them in the %appdata%\roaming\XBMC\ folder? here is the beginning of my log. Im running on an Asrock ION 330 pc. Playback so far is great!

Code:
21:48:26 T:3908 M:926380032  NOTICE: Starting XBMC, Platform: Windows 7, 32-bit build 7600. Built on May  3 2010 (SVN:29756, compiler 1500)
21:48:26 T:3908 M:926380032  NOTICE: Intel(R) Atom(TM) CPU  330   @ 1.60GHz
21:48:26 T:3908 M:926380032  NOTICE: Desktop Resolution: 1680x1050 32Bit at 59Hz
21:48:26 T:3908 M:926375936  NOTICE: Running with restricted rights
21:48:26 T:3908 M:926375936  NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
21:48:26 T:3908 M:926375936  NOTICE: special://masterprofile/ is mapped to: C:\Users\xbmc\AppData\Roaming\XBMC\userdata
21:48:26 T:3908 M:926375936  NOTICE: special://home/ is mapped to: C:\Users\xbmc\AppData\Roaming\XBMC
21:48:26 T:3908 M:926375936  NOTICE: special://temp/ is mapped to: C:\Users\xbmc\AppData\Roaming\XBMC\cache
21:48:26 T:3908 M:926375936  NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
21:48:26 T:3908 M:926375936  NOTICE: Log File is located: C:\Users\xbmc\AppData\Roaming\XBMC\xbmc.log



- oldpainless - 2010-05-04

Just tried the new r29759 built with Feb 2010 DX SDK. All judder fixed, and auto refresh rate change is working (24hz & 50hz) and with perfect a/v sync - well done.

On a side note - have you done something to the pq? - might be my eyes (not enough coffee yet)...but it looks better.

Ion Win7 32.

K


- neil.j1983 - 2010-05-04

oldpainless Wrote:Just tried the new r29759 built with Feb 2010 DX SDK. All judder fixed, and auto refresh rate change is working (24hz & 50hz) and with perfect a/v sync - well done.

On a side note - have you done something to the pq? - might be my eyes (not enough coffee yet)...but it looks better.

Ion Win7 32.

K

switching from 50Hz to 24Hz has always worked with dxva turned on (for me anyway). Switching from 60 to 24 is a no go though (in normal fullscreen).

no idea why, i always thought it was a quirk with my setup.

jerking for me (more like 5fps with sound playing fullspeed, but low cpu ~3%) in "fake fullscreen" is still there. Although 60Hz -> 24Hz switching does work.

sound sync seems good though, awesome!


- oldpainless - 2010-05-04

neil.j1983 Wrote:switching from 50Hz to 24Hz has always worked with dxva turned on (for me anyway). Switching from 60 to 24 is a no go though (in normal fullscreen).

no idea why, i always thought it was a quirk with my setup.

jerking for me (more like 5fps with sound playing fullspeed, but low cpu ~3%) in "fake fullscreen" is still there. Although 60Hz -> 24Hz switching does work.

sound sync seems good though, awesome!

Are you saying switching from 60hz screen to 24hz content...or from 60hz to 24 hz content?

I just double checked and its working here in both true and fake fullscreen - althought I've only tried it with H.264 MKV's.

What os and system are you on?

K


- neil.j1983 - 2010-05-04

with xbmc fullscreen (not fake) @ 60hz. when i play a 23.976fps mkv ripped from a bluray with aac audio (by me), and xbmc tries to switch to 23.98Hz. it crashes.

if i then do the same but start at 50Hz, the switch to 23.98Hz works perfectly.

both above tests with dxva2 enabled.

if i switch to fake fullscreen, the switches between 60Hz and 24Hz work fine, but the playback is choppy, even though cpu usage is low.

I'm on windows 7 x64. I will try my other machine which is windows7 x86 later tonight.

I'll post logs for each scenario if possible.


- oldpainless - 2010-05-04

neil.j1983 Wrote:with xbmc fullscreen (not fake) @ 60hz. when i play a 23.976fps mkv ripped from a bluray with aac audio (by me), and xbmc tries to switch to 23.98Hz. it crashes.

if i then do the same but start at 50Hz, the switch to 23.98Hz works perfectly.

both above tests with dxva2 enabled.

if i switch to fake fullscreen, the switches between 60Hz and 24Hz work fine, but the playback is choppy, even though cpu usage is low.

I'm on windows 7 x64. I will try my other machine which is windows7 x86 later tonight.

I'll post logs for each scenario if possible.

Just checked your issues on my rig - no problem here...I'm sure you are using the newest latest svn with the dx merge issue fixed?

If you are...looks like a log is useful - as you said. Would being on x64 win7 (win7 32bit here) make any difference?....or prehaps your gfx card?


K