Posts: 23,464
Joined: Aug 2011
Reputation:
1,100
fritsch
Team-Kodi Developer
Posts: 23,464
Braswell needs: Kernel 4.1-rc minimum, furthermore it needs mesa 10.6 (latest commit), even better mesa master ... there were some very, very evil bugs in there until some days ago still ...
We hope to get it right on OpenELEC.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 515
Joined: Sep 2012
Reputation:
1
Thanks!
I'm not sure, but mesa is included in Kodi or I need to install/update it too (besides the already listed 15.04 + kernel 4.1-rc7 + wsnipex vaapi ppa + kodi nightly)?
Posts: 7,658
Joined: Jun 2011
Reputation:
288
you need to update mesa yourself, its not part of kodi
Posts: 23,464
Joined: Aug 2011
Reputation:
1,100
fritsch
Team-Kodi Developer
Posts: 23,464
There is no howto - you can use oibaf's ppa - but this will break, most likely even daily. We can think of packaging mesa 10.6.x if we want to do this or better when wsnipex has time and volunteers - I lack the skills of doing that in a launchpad compatible way.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 31,445
Joined: Jan 2011
2015-06-22, 11:53
(This post was last modified: 2015-06-22, 11:54 by Ned Scott.)
fritsch asked me to report my findings:
Foxconn mini PC (nT-i2847) with 2GB of RAM and an Intel Celeron 847. The "TV" is actually a monitor running slightly higher than 1080 at 2048x1152.
All settings were set as instructed.
Before the updated files:
720p50_h264.mp4 - played and looked watchable, but not totally smooth and there were reported skips
576i50_mpeg2_samples.ts - audio played and the video was basically Optimus Prime frozen and flickering, with tons of reported drops and skips. Totally unwatchable
After the updated files:
Both files played perfectly smooth as far as I could see, and there were zero reported skips or drops. FPS was around 49.6 to 50.6.
Posts: 23,464
Joined: Aug 2011
Reputation:
1,100
fritsch
Team-Kodi Developer
Posts: 23,464
2015-06-22, 13:00
(This post was last modified: 2015-06-22, 19:10 by fritsch.)
Thanks much.
So big thanks to FernetMenta, who made Lanczos3 Optimized possible on Baytrail chips. Those chips are now perfect for doing nowadays LiveTV (1080i50, 576i50 and 720p50), the latter two with brilliant upscaling capabilities.
We are looking forward to integrate those in real OpenELEC after (6.0 release). I will provide special builds with the patches picked on top from now and then.
Something, perhaps important, too:
Only(!) relevant for this special EGL build
Color Conversion (for this new version):
Prefer VAAPI Render Method in combination with "Use Limit Range" now outputs Limited Range RGB without(!) any upscaling to full and downscaling afterwards.
If you have a Limited Range TV, set your GPU to full range (xrandr) and check the "Use Limited Range" option from within kodi. That setting will rescale the GUI / Picture Gallery and so on, but keep the Video in its original Limited Range -> no banding anymore.
If you prefer everything on Full Range, a little shader scales the Limited Range to Full Range automatically when the above "Use Limited Range" is not ticked. If you don't need "Deinterlace" method for deinterlacing, cause VAAPI-MADI, VAAPI-MCDI and VAAPI-BOB are working nicely, you don't need to disable Prefer VAAPI Render Method anymore in order to bypass the Full conversion with using the SW Render.
For the future we are working with intel's mesa department to copy the NV12 surfaces directly. That way we will gain another 1.5 increase as we don't need to have VAAPI convert NV12 to RGB32 (limited) internally.
For source builders:
You need fernementa's EGL branch (Revert the pvr api bump, as other addons are not compatible with that one), libegl1-mesa-dev installed and a patched libva-driver-intel (see wsnipex vaapi ppa, we worked around a segfault there).
Known Issues:
- Sometimes when you seek, it segfaults
- When you press stop with Amber skin, AEON Nox it also segfaults.
Remember: This is work in progress!
Some stats on chromebox (dual channel memory):
Before (4k 60p): with bilinear downscaling -> 42 fps with lanczos 3 downscaling -> 18 fps
After (4k 60p): with bilinear downscaling -> 60 fps with lanczos 3 downscaling -> 59 to 60 fps with one skip per 10 second
So performance is, thanks to the zero copy approach, tripled.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 7,658
Joined: Jun 2011
Reputation:
288
awesome work FernetMenta and fritsch!