Amlogic Open Source Video Decoder Driver Coming Soon for S905, S905X and S912 Processors

Here’s the latest news on this topic.

  1. LibreELEC has done some testing with the Lima driver, and apparently very good progress has been made on the S905X SoC!
    https://forum.libreelec.tv/thread/5848-8-2-2-3-libreelec-8-2-for-s912/?pageNo=111 and https://www.youtube.com/watch?v=L3UPJhet2Ak
  2. Panfrost has seen major advancement! Check out Alyssa’s blog and the talk they (Alyssa + Lyude) gave recently on the topic.
    https://rosenzweig.io/blog/ and https://www.youtube.com/watch?v=qtt2Y7XZS3k
  3. Last but not least, Neil Armstrong recently posted a video of a Mail T820 running kmscube.
    https://www.youtube.com/watch?v=yrZT9CveJww

All-in-all, seems like there’s some light at the end of the tunnel for these SoC’s, along with linux mainline and Kodi support (fingers crossed).

And a massive thank you to all people working on this! (CoreELEC, LibreELEC, Alyssa, Lyude, Neil, Lima team, etc.)!

And a new one, fresh out of the oven! :slight_smile:

2 Likes

Hi guys. A CE and Amlogic noob here, sorry for the rookie concerns. After decades of building my own expenive HTPCs I recently bought the excellent Minix U9-H box, which outperforms anything I have had before. Performance is so good that I considered buying another one.

But, after reading some more threads and posts about this matter I was discouraged, a bit. In another thread, there were no doubt that most Amlogic platform will lose the Kodi Support from Kodi19. That would be a shame of course, eventhough I, to some extent, understand why.

It appears that this thread shed some new light on this topic? Posts from last summer makes me a bit confused what this really means, but later posts insinuates that this might not be the end of the road for for instance S912 and Kodi19 and onwards? Is this a correct conclusion from my side? If someone more with more technical knowledge can confirm this or tell me in plain english what the resent discoveries means in practice, I would be very grateful.

I do understand that the switch to a new kernel is not made quickly, and it will take time to have it in place.

quote @chewitt : S912 has a bright future. See YouTube for evidence. Panfrost still has some serious bugs to solve before we can think about public testing, but considering the infancy of panfrost code it’s in good shape. The lead panfrost developers have publicly stated good Kodi support is one of their goals !

Thanks Dan. Google Translate told me that there is hope, but we need to wait and see! Maybe a more cheap S905X box is the weapon of choice before we know more. Thanks

In the last S912 images of @balbes150, used by the kernel 4.20 with panfrost

1 Like

Great news!

Initial Panfrost Mesa driver patch submitted for review.

This patchset contains the initial changes for upstreaming the driver… As for shaders, the complete Midgard toolchain is included (assembler, disassembler, compiler), which provides immediate utility via the standalone interface…Panfrost is not ready for general use yet; please do not misinterpret this upstreaming as anything more than what’s necessary to ease rebasing. These patches do not include the actual command stream driver

There’s still a long way to go but that signals great progress.

1 Like

If you feel unable to contribute code to the Panfrost driver, you can always help out Alyssa Rosenzweig financially. Alyssa is the main driving force behind the Panfrost GPU driver.

When Panfrost is released it will go a long way to realizing the real potential of these Amlogic chips.

2 Likes

An initial Panfrost Linux kernel DRM driver has been submitted for review:

https://lists.freedesktop.org/archives/dri-devel/2019-March/209756.html

Both the Mesa and kernel drivers still require a lot of work but this is a significant step.

3 Likes

Good work here too for Panfrost : https://www.youtube.com/watch?time_continue=30&v=KZvx7b5eYUY

Besides Panfrost project, there is also progress for Lima project (Mali450 of S905):
https://www.phoronix.com/scan.php?page=news_item&px=Lima-DRM-Driver-V2
https://www.phoronix.com/scan.php?page=news_item&px=Lima-Mesa-Driver-Mainline-RFC
According to this, the developer even works on support for Linux 5.0 kernel (!)

Still no HDR and so a large proportion of our users will not want to use this.

Are there news on this?

Its in the development stage of just about usable (with many features missing) at a push. It could be 6mths before any solid progress is made or it could be a year. Message - don’t hold your breath.

If you are desperate to test this not ready for market project then swing over to Libreelec and try some of their Mainline test builds, not ready for the living room would be the take home message.

Shoog

Progress is being made on both the Panfrost and Lima projects but from the point of creating complete workable drivers there still not there. Certian functions and pieces are slowly being created/fixed but some key peices are still missing and they are the hardest and some of the most important pieces yet to be tackled.

Only tme will tell…

1 Like

Supposedly Lima and Panfrost have been merged into kernel 5.2.
Anyone care to comment ?

Shoog

@Shoog I’m not sure what sort of comment you are looking for?

Whether this is a significant development ?
Probably very early stages I would guess with many things not working properly yet.

Shoog

LE is leading the charge for OSS (and yes, it works for 1080p content and majority of audio), if you want stuff to just work though, use CE.