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)



- ccMatrix - 2010-02-06

I've updated to R27482 and I don't get any of the "all green" videos anymore. I still have some issues with videos from G4TV Attack of the Show podcast. There, the bottom 25% are green with some tearing into the image. The upper area looks fine.

Screenshot:
Image

Video:
http://www.podtrac.com/pts/redirect.mp4/podcast.g4tv.com/videoDB/044/072/video44072/as20100204_gadgetpron_pod.mp4


- aXeR - 2010-02-06

What video cards are people finding the best for hardware offloading due to the new release?


- Nickman99 - 2010-02-06

Kevin Jones Wrote:C:\Program Files\Microsoft SDKs\Windows
Are you sure dxva.h is in that folder?

On my computer it is in:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include


- Balthazar2k4 - 2010-02-06

tennisbgc Wrote:thanks for testing it,glad to here some system can play that perfectly. what video card are you using?

nVidia 9800m GS


- Bort- - 2010-02-06

ccMatrix Wrote:I've updated to R27482 and I don't get any of the "all green" videos anymore. I still have some issues with videos from G4TV Attack of the Show podcast. There, the bottom 25% are green with some tearing into the image. The upper area looks fine.

Screenshot:
Image

Video:
http://www.podtrac.com/pts/redirect.mp4/podcast.g4tv.com/videoDB/044/072/video44072/as20100204_gadgetpron_pod.mp4

I have the same issue on some movie trailers from Apple, using a GTX 260 on Win 7.


- dfmos - 2010-02-06

I Have a Asus Eee Box 1501, With Nvidia ION Graphics, When Dxva:Render Method is on - none of the Apple Trailers work witout having this issue with half of the screen being green.

When Render Method is set to auto, DXVA doesn't enable for 1080p .mkv's

So U have to Change Render method to Suit the content.
Apples Trailer and .mov files or mkv.

By the way DXVA is brilliant with ION i just hope the apple trailers and .mov files get sorted.



Quote:originally posted by ccmatrix view post
i've updated to r27482 and i don't get any of the "all green" videos anymore. I still have some issues with videos from g4tv attack of the show podcast. There, the bottom 25% are green with some tearing into the image. The upper area looks fine.

Screenshot:
Image

Video:
http://www.podtrac.com/pts/redirect....etpron_pod.mp4



- ArtVandelae - 2010-02-06

http://images.apple.com/movies/us/hd_gallery/gl1800/1080p/bbc-blue_m1080p.mov

Nvidia:
Image

ATI:
Image

This video has similar problems on both ATI and Nvidia. ATI shows the top 1/4 of the picture while Nvidia shows the top 3/4 and the rest is green.

Log from Nvidia system:
http://pastebin.com/m1cd7e1dd

Log from ATI system:
http://pastebin.com/m60bd76cb

MediaInfo data:
Code:
General
Complete name                    : E:\Movies\bbc-blue_m1080p.mov
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt  
File size                        : 234 MiB
Duration                         : 3mn 22s
Overall bit rate                 : 9 689 Kbps
Movie name                       : BBC Motion Gallery
Encoded date                     : UTC 2007-05-04 18:32:15
Tagged date                      : UTC 2007-05-04 18:32:26
Writing library                  : Apple QuickTime
Copyright                        : ©2007 BBC Motion Gallery
Comment                          : All Rights Reserved

Video
ID                               : 2
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : [email protected]
Format settings, CABAC           : No
Format settings, ReFrames        : 2 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 3mn 22s
Bit rate mode                    : Variable
Bit rate                         : 9 563 Kbps
Width                            : 1 920 pixels
Height                           : 1 072 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Variable
Frame rate                       : 30.000 fps
Minimum frame rate               : 16.216 fps
Maximum frame rate               : 300.000 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.155
Stream size                      : 230 MiB (99%)
Language                         : English
Encoded date                     : UTC 2007-03-17 04:57:34
Tagged date                      : UTC 2007-05-04 18:32:26
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                               : 1
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 3mn 22s
Bit rate mode                    : Constant
Bit rate                         : 121 Kbps
Nominal bit rate                 : 128 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 44.1 KHz
Stream size                      : 2.91 MiB (1%)
Language                         : English
Encoded date                     : UTC 2007-03-17 04:57:34
Tagged date                      : UTC 2007-05-04 18:32:26



- bb10 - 2010-02-06

dfmos Wrote:When Render Method is set to auto, DXVA doesn't enable for 1080p .mkv's
If you set it to Auto, DXVA is disabled because it's still wip.


- nad - 2010-02-06

Nickman99 Wrote:Are you sure dxva.h is in that folder?

On my computer it is in:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

It is in that directory for me as well. However, specifying the full path doesn't make any difference. (I just tried.)

Can you let me have your VS include and lib path settings?


- eriksmith200 - 2010-02-06

eriksmith200 Wrote:Will this in the future support/enable inverse telecine? I have a tv that can only display at 60hz

is this something that will become a possibility with dxva?


- mindweaver - 2010-02-06

Edit: Maybe I expressed myself poorly. The settings below are working. With the following includes you will be able to build with the new dxva addition.

http://tillytech.se/lib1.jpg
http://tillytech.se/lib2.jpg
http://tillytech.se/lib3.jpg


- Nickman99 - 2010-02-06

nad Wrote:It is in that directory for me as well. However, specifying the full path doesn't make any difference. (I just tried.)

Can you let me have your VS include and lib path settings?
http://i47.tinypic.com/6iw77o.jpg
http://i49.tinypic.com/19ror9.jpg

I don't know if these settings are the best, because I get a lot of warnings. In the 36 projects there are over 1000 warnings total I think, is that normal?
But no errors.


- Kevin Jones - 2010-02-06

My settings was very close to Nickman99's but even making it identical and also trying Mindweaver's, I still get the same errors


- tiben20 - 2010-02-06

Nickman99 Wrote:http://i47.tinypic.com/6iw77o.jpg
http://i49.tinypic.com/19ror9.jpg

I don't know if these settings are the best, because I get a lot of warnings. In the 36 projects there are over 1000 warnings total I think, is that normal?
But no errors.
Yeah its normal.


- djmcnz - 2010-02-06

This is genuinely great work guys, keep it up as it's much appreciated.

For the most part this works for me, native DVDPlayer DXVA GPU offload is working on my Atom330/ION ASUS1501, XBMC build #482.

I too however am experiencing some playback issues similar to those reported. For some mkv's I get the top 75% of the image with a black (not green) lower 25% with a torn edge between them.

I am only experiencing this problem with v2 mkv's that have a subtitle track or stream. And I can not disable the subtitles via XBMC (they can be disabled in other players via Haali though - they are not hardsubs). If I remove the subtitle stream from the mkv I still have the problem in XBMC (black lower 25% but without subtitles displayed obviously).

The two mkv's are being demuxed differently by XBMC DVDPlayer:

Working mkv (v1) is demuxed with ffmpeg[CEC]
Non-working mkv (v2) is demuxed with ffmpeg[EA0]

Is this a v1 / v2 thing or is something else up? Or am I on a completely wrong tangent? I admit, I'm not a pro here!

Keep up the good work. Smile