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-06-25

WhiningKhan Wrote: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.
a). Yes - but the fact that Tiben20 happens to be the creator of the DSPlayer branch has nothing to do with commits he makes to the main trunk branch of xbmc. That and the thread header might just give you a clue what build he is referring to.
b). Not that I'm aware of - though I stand to be corrected by Tiben. It was merged from a new ffmpeg build which has nothing to do with dsplayer.
c). Agree wholeheartedly.

The point made by Paco stands, this thread and the inclusion of MPEG acceleration to the trunk player - committed by Tiben - has nothing to do with the dsplayer build. The only thing it might share if you are building your own is a trunk branch which has mpeg2 Hardware Acceleration.


- CrystalP - 2010-06-25

Thanks Carlos and Schnuffer. I'll see what I can find.
DXVA screws up bad and the second time I think you see software decoding.


- oldpainless - 2010-06-25

CrystalP Wrote:Thanks Carlos and Schnuffer. I'll see what I can find.
DXVA screws up bad and the second time I think you see software decoding.

mmmm...no response to my post?....if they are not needed, just let me know....
K


- CrystalP - 2010-06-26

MPEG-2 acceleration: please try r31414 or later. I am interested in debug logs, even if it happens to work!

@oldpainless: this is a dxva thread... wrt post processing, you're welcome, but see http://forum.xbmc.org/showthread.php?tid=62882 where the change originated. No shader involved.

Fixing the "auto adjust refresh rate" function hasn't been seriously tackled yet, and it's not worth reporting related issues at the moment. There will be a dedicated thread when the time comes.


- oldpainless - 2010-06-26

CrystalP Wrote:@oldpainless: this is a dxva thread... wrt post processing, you're welcome, but see http://forum.xbmc.org/showthread.php?tid=62882 where the change originated. No shader involved.

Fixing the "auto adjust refresh rate" function hasn't been seriously tackled yet, and it's not worth reporting related issues at the moment. There will be a dedicated thread when the time comes.

ok

k


- Carlos ze Dwarf - 2010-06-26

CrystalP Wrote:MPEG-2 acceleration: please try r31414 or later. I am interested in debug logs, even if it happens to work!
with build 30415: http://paste2.org/p/893175

xbmc started with dxva enabled.
Both files played are the same as last post (1st: dvd image and 2nd: no doubt concert, for which the video does appear now!)

CPU usage is the same as when dxva disabled (10 to 15% for both), so probably doesn't work, which the log seems to confirm.

dxva does work with h264 files (always check just in case)


- WhiningKhan - 2010-06-26

steelman1991 Wrote:a). Yes - but the fact that Tiben20 happens to be the creator of the DSPlayer branch has nothing to do with commits he makes to the main trunk branch of xbmc. That and the thread header might just give you a clue what build he is referring to.
b). Not that I'm aware of - though I stand to be corrected by Tiben. It was merged from a new ffmpeg build which has nothing to do with dsplayer.

It was merged to dsplayer branch, I'm not doing this just for fun.

http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/xbmc;a=commit;h=4ff0a8d

But let's move on.


- CrystalP - 2010-06-26

Thanks Carlos, DXVA worked perfectly and the debug log had the information I needed. I'm going to remove the logging, which should reduce the CPU usage a bit.


- CrystalP - 2010-06-26

r31425 should have proper MPEG-2 DXVA acceleration. Please confirm.


- jbo87 - 2010-06-26

awesome!

BTW: do you think the fastforward (8x+) will ever be smooth (w/o heavy pixelation)? IIRC it is smooth w/ VDPAU.


- steelman1991 - 2010-06-26

WhiningKhan Wrote:It was merged to dsplayer branch, I'm not doing this just for fun.

http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/xbmc;a=commit;h=4ff0a8d

But let's move on.
This thread still has nothing to do with dsplayer, no matter how you dress it up - but your right - time to move on. Nod


- Schnuffer - 2010-06-27

CrystalP Wrote:r31425 should have proper MPEG-2 DXVA acceleration. Please confirm.

works fine with Nvidia 220 GT and the last driver.
Thank You


- SlaveUnit - 2010-06-27

So for those of you that are seeing the MPEG2 gpu offload, how do you know? Does it appear like the other ones and state "dxva2" after the codec when you hit "o" while playing a video? I'm just not seeing anything. This is multiple iso dvd files. Just ripped not recompressed. So they should be MPEG2 vobs inside.

I'm running a Geforce 210 with svn31440.


- elupus - 2010-06-27

it should display that.. BUT, forget about dvd's, it's explicitly disabled for them since menu's require special handling..


- neil.j1983 - 2010-06-27

for dxva, are bicubic resizers possible? I'm just wondering if it's a possibility in the future.

dxva2 works well for mpeg2 in mkv, although, I would suggest being able to disable it for SD resolutions. I like to be able to use lanczos3 optimized for sd.