Linux - vaapi-sse4: Deinterlacing Testing

  Thread Rating:
  • 12 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fritsch Offline
Team-XBMC Developer
Posts: 5,874
Joined: Aug 2011
Reputation: 137
Location: Karlsruhe
Post: #871
That's okay with the xserver. But still wrong driver.

apt-cache policy i965-va-driver | pastebinit please - or shortly step by in #xbmc-xvba

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
find quote
noggin Offline
Posting Freak
Posts: 876
Joined: Oct 2008
Reputation: 24
Location: United Kingdom
Post: #872
Here it is : http://paste.ubuntu.com/8131313/

I think I see my problem. I hadn't upgraded i965-va-driver. I've just done an apt-get install and both new VAAPI modes are now working properly. Motion Compensated sitting at around 25% on both cores of the 2955U with a 25Mbs 1080/50i H264 file. Looks good and lower CPU than YADIF 2x in software?

After this I have : http://paste.ubuntu.com/8131344/

So I obviously hadn't upgraded my i965-va-driver. My mistake. Thanks for the handholding.

I now get this with vainfo http://paste.ubuntu.com/8131352/ The <unknown profile> is new though?
(This post was last modified: 2014-08-24 16:09 by noggin.)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 5,874
Joined: Aug 2011
Reputation: 137
Location: Karlsruhe
Post: #873
yes - it's done on the GPU :-)

If you try with enabled "Prefer VAAPI Output" - you can see what happens if you don't copy any memory back to system memory and measure that load.


Remember: It will crash every some minutes - cause of a bug in the prerelease driver I have mentioned earlier.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
(This post was last modified: 2014-08-24 16:12 by fritsch.)
find quote
noggin Offline
Posting Freak
Posts: 876
Joined: Oct 2008
Reputation: 24
Location: United Kingdom
Post: #874
This is brilliant work fritsch and fernetmenta. We owe you guys a lot for working so hard on VAAPI and de-interlacing.

If Intel iron out the bugs (and because your constructive persistence they appear to be?) this makes things like the Chromebox even better! (The CPU load was a bit concerning with YADIF if you had other stuff in the background) and presumably this also means that the N2820 and J1800/1900 stuff now get decent de-interlacing (as they weren't able to use YADIF 2x ? Though they still have the low number of EUs which impacts scaling?)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 5,874
Joined: Aug 2011
Reputation: 137
Location: Karlsruhe
Post: #875
The Baytrail is some oldish IVB based GPU with less Execution Units than the old Celeron 847. In theory it could work - but currently SNB/IVB drivers are broken and it's not really working. Additionally those IVB/SNB don't support MCDI only MADI.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
find quote
noggin Offline
Posting Freak
Posts: 876
Joined: Oct 2008
Reputation: 24
Location: United Kingdom
Post: #876
(2014-08-24 19:34)fritsch Wrote:  The Baytrail is some oldish IVB based GPU with less Execution Units than the old Celeron 847. In theory it could work - but currently SNB/IVB drivers are broken and it's not really working. Additionally those IVB/SNB don't support MCDI only MADI.

Thanks for the clarification fritsch. This does make the Haswell Chromebox look like a very neat solution - particularly once this stuff gets rolled into OpenElec when (hopefully not if) Intel fix the remaining issues. It's a pity Intel don't make a 2955U based NUC.
find quote
fritsch Offline
Team-XBMC Developer
Posts: 5,874
Joined: Aug 2011
Reputation: 137
Location: Karlsruhe
Post: #877
The xbmc code already is in OpenELEC - but it won't help / work until the driver gets released.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
find quote
fritsch Offline
Team-XBMC Developer
Posts: 5,874
Joined: Aug 2011
Reputation: 137
Location: Karlsruhe
Post: #878
I bumped the libva-driver-intel to 1.3.3~pre4-1~trusty and wsnipex is currently building it.

This version has the MCDI / MADI segfault fixed. Thx to Gwenole of intel.

He will port those fixes to IVB / Baytrail for the final release. So give this driver a good test.

Edit: Driver is build and in the ppa - thx again to wsnipex

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
(This post was last modified: 2014-08-26 19:16 by fritsch.)
find quote
topside Offline
Junior Member
Posts: 20
Joined: Mar 2014
Reputation: 0
Post: #879
Thank you all, guys.
find quote
fritsch Offline
Team-XBMC Developer
Posts: 5,874
Joined: Aug 2011
Reputation: 137
Location: Karlsruhe
Post: #880
[Image: bright-future-ahead-sign-25132693.jpg]

:-)

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
(This post was last modified: Yesterday 11:49 by fritsch.)
find quote
Post Reply