Kodi Community Forum
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - 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: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server (/showthread.php?tid=231955)



RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-12

@fab67: All fine, right?


RE: New Era: VAAPI with EGL interoperation - fab67 - 2015-09-12

For me with the few samples I've played, all is fine.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-12

Cool - I will create new builds with that integrated and then let's see what others say.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-12

New builds are online: http://fritsch.fruehberger.net/openelec

Changelog:
- New method of Adjust Refreshrate to also switch resolution
- Use case:
Gui at 1080p60
3840x2160@24p is played at 3840x2160@24p
3840x2160@60p is played at 1920x1080@60p
4096x1744@24p is played at 4096x2160@24p
4096x1744@30p is played at 4096x2160@30p
1920x1080@25 is played at 1080@50p
3840x2160@25 is played at 3840x2160@25p

Available Modes:
1080p60, 1080p50, 1080p24, 1080p23.976
2160p30, 2160p24, 2160p23.976
4096x2160p30, 4096x2160p24

- I did not rebase on fernet's master today for these OE images - was busy with the above work

Thanks @fab67 for testing.


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-09-12

Audio transcoding is broken. I am aware of this.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-12

It seem the ffmpeg folks have found a solution for the HEVC issue: https://github.com/xbmc/xbmc/pull/7751#issuecomment-139813462

I will try on my Braswell (compiling is slow as hell) and will report back.

Edit: This fixes the 4096 issues with the sintel / tos hev samples Thumbs up to the ffmpeg folks.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-12

A new version is online: http://fritsch.fruehberger.net/openelec

Changelog:
- Rebase on fernetmenta's master branch
- 4k hevc bug is fixed. Thanks to the ffmpeg people!

Image

Image

Image

Image

(drops are from the start)


RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2015-09-12

You guys are on a roll lately - appreciate all the work from everyone. I will test things out in the theater tonight but I am only a 1080p guy but I can tell you if you broke anything new Smile


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-12

(2015-09-12, 23:32)jjslegacy Wrote: You guys are on a roll lately - appreciate all the work from everyone. I will test things out in the theater tonight but I am only a 1080p guy but I can tell you if you broke anything new Smile

Last day of my holidays ... will end tomorrow, though :-)


RE: New Era: VAAPI with EGL interoperation - rbej - 2015-09-12

(2015-09-12, 23:05)fritsch Wrote: A new version is online: http://fritsch.fruehberger.net/openelec

Changelog:
- Rebase on fernetmenta's master branch
- 4k hevc bug is fixed. Thanks to the ffmpeg people!

Now is fucking PERFECT!!

Thanks!!.


RE: New Era: VAAPI with EGL interoperation - psysfaction - 2015-09-13

(2015-09-12, 13:16)fritsch Wrote: @noggin, psysfaction, fab67

here is a testbuild with just that change. Please test your 4k content, starting from a 1080p GUI. If the gui is at 3840 already, it should yield the old behaviour (besides you have 4096 mode and the sample is > 3840).

http://fritsch.fruehberger.net/openelec/OpenELEC-Generic.x86_64-6.0-devel-20150912130948-r21278-gbe69d8e.tar

Also I would be thankful for debuglogs. You find 3840 and 4096 samples within this thread.

I currently do not have the right hardware yet (still on an old ION) but I am flying to Singapore for a day next Wednesday and I am planing on buying a BeeBox if I can find one.

Once I get it I will be very happy to test your latest build.

Thanks for all the work


RE: New Era: VAAPI with EGL interoperation - fab67 - 2015-09-13

(2015-09-12, 18:53)fritsch Wrote: New builds are online: http://fritsch.fruehberger.net/openelec

Changelog:
- New method of Adjust Refreshrate to also switch resolution
- Use case:
Gui at 1080p60
3840x2160@24p is played at 3840x2160@24p
3840x2160@60p is played at 1920x1080@60p
4096x1744@24p is played at 4096x2160@24p
4096x1744@30p is played at 4096x2160@30p
1920x1080@25 is played at 1080@50p
3840x2160@25 is played at 3840x2160@25p

Available Modes:
1080p60, 1080p50, 1080p24, 1080p23.976
2160p30, 2160p24, 2160p23.976
4096x2160p30, 4096x2160p24

- I did not rebase on fernet's master today for these OE images - was busy with the above work

Thanks @fab67 for testing.

fritsch,

What I see with my quick test :

3840x2160@60p is played at 2560x1440@60p not 1920x1080@60p. Of course it's OK.
There is no 4096x2160p30 mode, for me at least. I don't have a 4096x2160p30 sample to try.

Next week I will create small samples for all resolutions and framerates to do a more in-depth review. I'll report back if I see something strange.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-13

Yeah, that's by intention, cause:

3840 minus 2560 is lower than 3840 - 1920


RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-13

Is the ppa updated too with the latest release or it will be this evening?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-13

ppa does not yet have the ffmpeg change. As fernet needs to pick it first. I will PR it to his ffmpeg fork, too - so he only has to press a button.

Edit: Sent https://github.com/FernetMenta/FFmpeg/pull/1