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)



- -czuki- - 2010-02-09

nekrosoft13 Wrote:it appears that files that have half green screen are missng FPS info/field in the video stream
to verify, you have to demux the container (seperate video from audio), and then check video properties.


I can provide a small sample if needed

@nekrosoft13:
Is your sample file from itunesHD? Because mine seems to be of the same kind and I've got the same problem.


- nekrosoft13 - 2010-02-09

-czuki- Wrote:@nekrosoft13:
Is your sample file from itunesHD? Because mine seems to be of the same kind and I've got the same problem.

yes it is, it was remuxed (not re-encoded) to ts file.

the video stream has no FPS info/field.

note: don't confuse .ts, .mkv wth video stream, ts, mkv are containers not streams, .264 is stream


- Frederic - 2010-02-09

Frederic Wrote:I haven't been ableto play Divx (tried a few of the nightlies up to 27527) and I get a black screen when trying to play Divx content (.avi with Div3 codec and .divx with DV50 codec).

I tried to set the decoder to standard, auto, DXVA and also installed the Divx codec. But I still get the same black screen (with audio). H264 play fine.

what I am doing wrong?
I tried more files and MKVs are ok, however mpg2 are also showing a black screen.

It looks like any non HD video gives me the black screen. This is on a ion box (win 7x64). My desktop (XP with nvidia 8600) plays everything fine.


- nekrosoft13 - 2010-02-09

"Adjust refresh rate to match video" seems to be broken with DXVA enabled


- harmar - 2010-02-09

OMG I just want to say THANK YOU SO MUCH for this!
I bought a Revo 3610, and promptly installed XMBC. I was wowed.
Then I installed Aeon Auriga + Aeon65 mod.. and my jaw dropped... Then I tried playing 1080p and stutter stutter....
Did a bit of research found out it works flawlessly in linux.. But I wasn't prepared for that step yet.. Did a bit more research, saw could use external player.. Did not like external player at all.
Did a bit more research found DSPlayer... Had a bunch of artifacts when first play, 1/2 time video wouldn't play, had to set up rules, no subtitles.
Then I saw this thread, and holy crap grabbing the nightly build and my 1080p now works flawlessly and instantly! Second I press play it starts.

After spending a whole weekend, I think I finally have it set up exactly how I want.
I just wish I could figure out a way to make the movies menu load faster when I have it set to Wall mode.. only issue I have left I am trying to figure out.. but it really isn't a big deal..

Anyways thank you again so much for your hard work! I think I may just have to donate some money.


- v0lrath - 2010-02-09

Is there a way I can get DXVA to work for my 576p videos? By 576p, I mean 1024x576 (or whatever the height turns out to be.)


- asmd - 2010-02-09

hi fellas..

ive been trying to get this to work to play 1080p files (i can play upto 720p on cpu horses just fine.)

i have a ati 4650 agp card running CCC 8.66 (newer version wont work) to offload the rendering to the gpu. mhc=hc works and the videos play with dxva.

when i use inbuilt player, i dont get dx acceleration.

the pertinent part of the log (i think) could be this:

Quote:00:06:46 T:3528 M:1753387008 DEBUG: CVideoDatabase::GetEpisodeId (E:\Video\th-thl-1080.mkv), query = select idEpisode from episode where idFile=3
00:06:46 T:3528 M:1753374720 DEBUG: CVideoDatabase::GetMusicVideoId (E:\Video\th-thl-1080.mkv), query = select idMVideo from musicvideo where idFile=3
00:06:46 T:3740 M:1753722880 DEBUG: DXVA - supports 'MPEG2 IDCT'
00:06:46 T:3740 M:1753722880 DEBUG: DXVA - supports 'VC-1 VLD'
00:06:46 T:3740 M:1753722880 DEBUG: DXVA - unable to find an input/output format combination
00:06:46 T:3740 M:1744912384 INFO: ffmpeg[E9C]: [h264] Cannot parallelize deblocking type 1, decoding such frames in sequential order
00:06:46 T:3740 M:1745289216 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(83000.000000, 1)
00:06:46 T:3528 M:1741266944 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
00:06:46 T:3740 M:1739284480 NOTICE: fps: 23.976025, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
00:06:46 T:3740 M:1739276288 DEBUG: CDVDPlayerVideo::OutputPicture - change configuration. 1920x1080. framerate: 23.98
00:06:46 T:3740 M:1739276288 NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
00:06:46 T:3728 M:1739276288 DEBUG: CDVDPlayer::HandleMessages - player started 2
00:06:46 T:3728 M:1739276288 DEBUG: CDVDPlayer::SetCaching - caching state 3
00:06:46 T:3744 M:1739276288 DEBUG: CDVDPlayerAudio:: Discontinuity - was:-300445.249957, should be:0.000000, error:300445.249957

i hope someone can shed some light as to why this is not working for me.

all replies are much appreciate.

thanks.

regards,
asmd.


- anandus - 2010-02-09

steelman1991 Wrote:Don't want to get into a technical debate - not experienced enough for that - but I think DXVA2 is supported in both Vista and Win 7 - not only for Win 7. It certainly isn't supported in xp - hence the reason why other users have been redirected to the DSPlayer thread.
Okay, so if I understand correctly DXVA2 doesn't work on XP.
Is there any DXVA1-support in XBMC, or am I (using XP on my HTPC) better off using Dsplayer as suggested?


- jhsrennie - 2010-02-09

anandus Wrote:Okay, so if I understand correctly DXVA2 doesn't work on XP.

Correct

anandus Wrote:Is there any DXVA1-support in XBMC, or am I (using XP on my HTPC) better off using Dsplayer as suggested?

No. My own plan is to upgrade to Win7 as I want to stay with the trunk version of XBMC. After eight years maybe it's time to lay XP to rest :-)

JR


- steelman1991 - 2010-02-09

asmd Wrote:hi fellas..

ive been trying to get this to work to play 1080p files (i can play upto 720p on cpu horses just fine.)

i have a ati 4650 agp card running CCC 8.66 (newer version wont work) to offload the rendering to the gpu. mhc=hc works and the videos play with dxva.

when i use inbuilt player, i dont get dx acceleration.

the pertinent part of the log (i think) could be this:



i hope someone can shed some light as to why this is not working for me.

all replies are much appreciate.

thanks.

regards,
asmd.

What build are you currently using? What OS?


Zotac MAG - Balthazar2k4 - 2010-02-09

Elepus, just thought I would report back since I am home now. I have the latest build up and running on my Zotac MAG (ION/Atom 330) and DXVA played smooth. The fast foward corruption still exists and I am having an issue with the video stopping playback by itself after 20 minutes (which I just have to resume to continue), but aside from that it's great. Keep up the good work!


- Hitcher - 2010-02-09

Bier_Koerier Wrote:You can also try mpc-hc (http://mpc-hc.sourceforge.net/) to check if your system can use DXVA. Also ati can only acceleratie video profile 4.1 and not 5.1(like nvidia) if I'm correct.
MPC-HC and my ATI HD2400 use DXVA.

Also ran DXVA Checker -

Code:
ATI Radeon HD 2400 Series
ModeMPEG2_IDCT: DXVA2, NV12, 720x480 / 1280x720 / 1920x1080
ModeMPEG2_A: DXVA1, NV12, 720x480 / 1280x720 / 1920x1080
ModeMPEG2_C: DXVA1, NV12, 720x480 / 1280x720 / 1920x1080
ModeH264_VLD_NoFGT: DXVA2, NV12, 720x480 / 1280x720 / 1920x1080
ModeVC1_VLD: DXVA2, NV12, 720x480 / 1280x720 / 1920x1080
CA15D19A-2B48-43D6-979E-7A6E9C802FF8: DXVA2, -, -
5B23D46D-FA5F-4FDC-B78A-7EB2787942EC: DXVA2, NV12, 720x480 / 1280x720 / 1920x1080

This - ModeH264_VLD_NoFGT: DXVA2 - means it works also.


- cyradix - 2010-02-09

nekrosoft13 Wrote:"Adjust refresh rate to match video" seems to be broken with DXVA enabled
Yup, same here. For x264 content dvdplayer just displays a black screen and xmbc hangs. I noticed my windows refresh rate was set to 23Hz after the crash. Maybe XBMC tries to switch to a wrong freq? 23Hz instead of 24?


- asmd - 2010-02-09

steelman1991 Wrote:What build are you currently using? What OS?

latest build as of yesterday but after some digging backwards into this thread, i believe that its not working cos im running XP.

it doesnt work on xp right?


- steelman1991 - 2010-02-09

asmd Wrote:latest build as of yesterday but after some digging backwards into this thread, i believe that its not working cos im running XP.

it doesnt work on xp right?

Nope it doesn't - DSPlayer does though, might want to check it out.