[WINDOWS] Experimental H.264 DXVA2 hardware acceleration support with Intel GPUs

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
topsyturvy Offline
Member
Posts: 87
Joined: Jul 2010
Reputation: 0
Post: #61
hi guys.

Does this patch support dxva based de-interlacing?

I'm really looking forward to that!
find quote
Dogan Offline
Junior Member
Posts: 10
Joined: Dec 2010
Reputation: 0
Post: #62
Hi CrystalP,

Thanks for the reply. I tried to press Tab while playing. It shows a distorted video for a second and then goes to black behind the UI. I noticed in this mode it sometimes shows some gray screen with artifacts, but at full screen mode it is all black. The audio works fine in both cases by the way.

Experience with mpc-hc:
It did not enabled the DXVA2 for Quantum of Solace or Planet Earth samples, so the playback was not smooth. I tried an mkv file from http://divxtrailers.divx.com/BigBuckBunn...PlusHD.mkv
While trying this one DXVA2 was enabled, and however the frame rate was around 11 and CPU was at 90%. So something fishy.

Experience with VLC:
When the GPU is enabled the video colors goes to blue. I cant tell exactly what it dos but the playback is pretty bad. I guess the VLC does play well with Intel.

However I know the HW is capable of decoding HD. I tried mplayer-vaapi on Linux and it works fine.

I can help you to diagnose the issues if you could give me specific things to check. What do I need to build xbmc from code in Windows?
find quote
Marbieskarb Offline
Member
Posts: 57
Joined: Aug 2009
Reputation: 0
Post: #63
Dogan Wrote:Hi CrystalP,

Thanks for the reply. I tried to press Tab while playing. It shows a distorted video for a second and then goes to black behind the UI. I noticed in this mode it sometimes shows some gray screen with artifacts, but at full screen mode it is all black. The audio works fine in both cases by the way.

Experience with mpc-hc:
It did not enabled the DXVA2 for Quantum of Solace or Planet Earth samples, so the playback was not smooth. I tried an mkv file from http://divxtrailers.divx.com/BigBuckBunn...PlusHD.mkv
While trying this one DXVA2 was enabled, and however the frame rate was around 11 and CPU was at 90%. So something fishy.

Experience with VLC:
When the GPU is enabled the video colors goes to blue. I cant tell exactly what it dos but the playback is pretty bad. I guess the VLC does play well with Intel.

However I know the HW is capable of decoding HD. I tried mplayer-vaapi on Linux and it works fine.

I can help you to diagnose the issues if you could give me specific things to check. What do I need to build xbmc from code in Windows?

What hardware and OS are you using? What was the resolution of the files you tested? 720P? 1080P?

I've found that even though poulsbo states it can decode video up to 1080P in practice that doesn't seem to be the case. I have a Asus T91 tablet and can play 720p files just fine using MPC-HC (DXVA2) or Windows Media Player (DXVA2?) on Windows 7 Ultimate 32bit. The 1080P files I've played are choppy or the frame rate crawls in both players.

Just like you though I would like to get poulsbo working in XBMC. Whatever I can test I am willing to help.
(This post was last modified: 2011-01-12 06:42 by Marbieskarb.)
find quote
CrystalP Offline
Team-XBMC Developer
Posts: 822
Joined: Apr 2010
Reputation: 18
Location: The Great North
Post: #64
See the "how to compile" page in the Wiki. When you're ready, create a trac ticket reporting the problem and cc me. We'll continue with the technical details and testing over there.

There could be a number of limits here: image size, bit rate, number of references... Or the Windows drivers may be crap... What happens with Windows Media Center?

Always read the XBMC online-manual, FAQ, Wiki and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Dogan Offline
Junior Member
Posts: 10
Joined: Dec 2010
Reputation: 0
Post: #65
Windows Media Player is similar. I could not find any detailed statistics option, therfore cannot comment exactly, but the quantum of solace performed much better.

I am following the instructions on wiki to compile. I have also created the ticket. Let's trace it from there.
http://trac.xbmc.org/ticket/11059

Marbieskarb:
I have a fitpc2. It has an Atom 530 processor with 1gb memory. I have Windows7 Ultimate at the moment. The files were 1080p. I am glad more people are interested and eager to offer help. Let's see what we can we do alltogether.
find quote
Marbieskarb Offline
Member
Posts: 57
Joined: Aug 2009
Reputation: 0
Post: #66
Dogan Wrote:Marbieskarb:
I have a fitpc2. It has an Atom 530 processor with 1gb memory. I have Windows7 Ultimate at the moment. The files were 1080p. I am glad more people are interested and eager to offer help. Let's see what we can we do alltogether.

I don't think that hardware is capable of supporting 1080p. Even though poulsbo states it can decode video up to that resolution, I think in practice it doesn't seem to be the case especially since poulsbo usually is coupled with lower speed atoms which don't help video processing much. As mentioned, I have a Asus T91 tablet which has a Intel Atom 1.3ghz processor (yours is a 1.6ghz) and 1gb of ram running Windows 7 ultimate 32bit. All the 1080p files I throw at it either studder very badly or the fps are very low. Stick with 720p files and you should be able to at least get them to work in either MPC-HC or Windows Media Player (Works great for me.)
find quote
BugEyes Offline
Junior Member
Posts: 5
Joined: Jan 2011
Reputation: 0
Post: #67
Schumi Wrote:I'm running i3 Win7 with DXVA and i also get some random pixel or full screen corruption. Its clear after next keyframe. Latest driver and Dharma RC1.

I'm seeing exactly the same with my i3 550.
I have only seen it on my Bruray rips, 1080p h264 in mkv containers. Fully reproducable and always happens at the same spots, I can rewind and see the problem again just after it happens. It goes away when I turn off DXVA.

I use a Gigabyte GA-H55N-USB3 Mini-ITX MOBO if it's of interest and the latests driver from Intel from 1/7/2011 on win 7 64 Home Premium.

EDIT/
I tried the same movie files in my other computer where I have an ATI RADEON HD 5750 and it works flawlessly with DXVA turned on.
(This post was last modified: 2011-02-08 17:13 by BugEyes.)
find quote
TomPiXX Offline
Senior Member
Posts: 264
Joined: Jan 2011
Reputation: 0
Location: Germany
Post: #68
I did not read the whole Thread, but do you use the intel graphics chip?
find quote
dysan911 Offline
Senior Member
Posts: 151
Joined: Dec 2010
Reputation: 0
Post: #69
BugEyes Wrote:I'm seeing exactly the same with my i3 550.
I have only seen it on my Bruray rips, 1080p h264 in mkv containers. Fully reproducable and always happens at the same spots, I can rewind and see the problem again just after it happens. It goes away when I turn off DXVA.

I use a Gigabyte GA-H55N-USB3 Mini-ITX MOBO if it's of interest and the latests driver from Intel from 1/7/2011 on win 7 64 Home Premium.

EDIT/
I tried the same movie files in my other computer where I have an ATI RADEON HD 5750 and it works flawlessly with DXVA turned on.


+1 on that. I5 520m w/Intel 5700mhd. The only way to get flawless playback in XBMC is to make sure DXVA is OFF
find quote
Raptylos Offline
Member
Posts: 87
Joined: Jan 2010
Reputation: 0
Location: Germany
Sad    Post: #70
dysan911 Wrote:+1 on that. I5 520m w/Intel 5700mhd. The only way to get flawless playback in XBMC is to make sure DXVA is OFF

+1
Core i3 540, Gigabyte H55 USB3, latest drivers for all components. W7 64bit
find quote
Post Reply