Jump to content

Recommended Posts

Posted

Had a bit of a success with HDMI audio and also video acceleration on OrangePi 3. What was needed was to apply some patches from LibreELEC, namely ones from projects/Allwinner/patches/linux/ .

For HDMI audio to work you need 0004-sun4i-i2s-improvements.patch , which contains support for I2S on H6. When done right you should see in dmesg:

asoc-simple-card sound: i2s-hifi <-> 5091000.i2s mapping ok

Also what helped was an IRC chat that Jernej had with mirko some time ago:

https://irclog.whitequark.org/linux-sunxi/2018-03-14

 

For video acceleration you need 0005-cedrus-improvements.patch and compile Cedrus driver. When done right you should see in dmesg:

cedrus 1c0e000.video-codec: Device registered as /dev/video0

 

For a good measure I applied other patches in that directory as well, some needed modifications to apply to 5.5 kernel (LibreELEC uses 5.4) .


Then FFMPEG needs to be compiled with v4l2_request to actually do the acceleration

 

To get Kodi GUI acceleration working you need to compile mesa 20.0.0-devel from Mesa GIT. Kodi then needs to be compiled as GBM version. I also applied patches that LibreELEC has for Kodi into my Kodi tree.

 

@jernej sounds the above about right?

Posted

Hi, Thank you for your work !
Juste one question, what the best kernel version for use these patch ?

On my opi one plus ( H6 ), the last kernel is "5.3.9-current-sunxi64" 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines