PINE64
Debian Stretch and Kodi Krypton on Rock64 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Debian Stretch and Kodi Krypton on Rock64 (/showthread.php?tid=5215)

Pages: 1 2 3


Debian Stretch and Kodi Krypton on Rock64 - zarusz - 10-04-2017

Hi All,

I bought a ROCK64 and I am trying to move from my existing RaspberryPi2.
I would  like to go with Debian Stretch and install all my required services (Samba, Kodi, Java 8, openHAB 2.2, mosquitto ...).

The only thing that does not work for me is Kodi. 
During start it screams with some errors (low level C++ free() memory exceptions). Right now I installed the LibreELEC by @Raybuntu, however I would like to stick with Debian Stretch for my other services. I will install Debian once more and try to capture the exact errors.

Did anyone manage to install Kodi on Debian Stretch and could post an instruction?


Thanks!


RE: Debian Stretch and Kodi Krypton on Rock64 - stuartiannaylor - 10-05-2017

(10-04-2017, 11:59 PM)zarusz Wrote: Hi All,

I bought a ROCK64 and I am trying to move from my existing RaspberryPi2.
I would  like to go with Debian Stretch and install all my required services (Samba, Kodi, Java 8, openHAB 2.2, mosquitto ...).

The only thing that does not work for me is Kodi. 
During start it screams with some errors (low level C++ free() memory exceptions). Right now I installed the LibreELEC by @Raybuntu, however I would like to stick with Debian Stretch for my other services. I will install Debian once more and try to capture the exact errors.

Did anyone manage to install Kodi on Debian Stretch and could post an instruction?


Thanks!
Armhf is just ap-get install kodi main problem is the mali driver as it ends up using a vmware virtual card that just sucks.

That is stretch minimal armhf


RE: Debian Stretch and Kodi Krypton on Rock64 - zarusz - 10-06-2017

@stuartiannaylor thanks for your response. Could you please elaborate more? 


Here is the error I am getting while kodi start:

Code:
rock64@rock64:~$ kodi-standalone
ERROR: Unable to create GUI. Exiting
*** Error in `/usr/lib/aarch64-linux-gnu/kodi/kodi.bin': free(): invalid pointer: 0x000000557a9233b0 ***
Aborted
Crash report available at /home/rock64/kodi_crashlog-20171006_172001.log
ERROR: Unable to create GUI. Exiting
*** Error in `/usr/lib/aarch64-linux-gnu/kodi/kodi.bin': free(): invalid pointer: 0x00000055c28682e0 ***
Aborted
Crash report available at /home/rock64/kodi_crashlog-20171006_172006.log
ERROR: Unable to create GUI. Exiting
*** Error in `/usr/lib/aarch64-linux-gnu/kodi/kodi.bin': free(): invalid pointer: 0x000000557ec19280 ***
Aborted
Crash report available at /home/rock64/kodi_crashlog-20171006_172007.log
/usr/bin/kodi --standalone  has exited in an unclean state 3 times in the last 10 seconds.
Something is probably wrong

Here is the crash log:
Code:
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: Fri Oct  6 17:20:01 UTC 2017
Kodi Options:
Arch: aarch64
Kernel: Linux 4.4.77-rockchip-ayufan-118 #1 SMP Thu Sep 14 21:59:24 UTC 2017
Release: Debian GNU/Linux 9 (stretch)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################

17:19:58.896 T:547665640016  NOTICE: special://profile/ is mapped to: special://masterprofile/
17:19:58.896 T:547665640016  NOTICE: -----------------------------------------------------------------------
17:19:58.896 T:547665640016  NOTICE: Starting Kodi from Debian (17.1 Debian package version: 2:17.1+dfsg1-3). Platform: Linux ARM 64-bit
17:19:58.896 T:547665640016  NOTICE: Using Release Kodi from Debian x64 build
17:19:58.896 T:547665640016  NOTICE: Kodi from Debian compiled from 2:17.1+dfsg1-3 by GCC 6.3.0 for Linux ARM 64-bit version 4.9.25 (264473)
17:19:58.896 T:547665640016  NOTICE: Running on Debian GNU/Linux 9 (stretch), kernel: Linux ARM 64-bit version 4.4.77-rockchip-ayufan-118
17:19:58.896 T:547665640016  NOTICE: FFmpeg version/source: 3.2.7-1~deb9u1
17:19:58.896 T:547665640016  NOTICE: 4 CPU cores available
17:19:58.896 T:547665640016  NOTICE: ARM Features: Neon disabled
17:19:58.896 T:547665640016  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
17:19:58.896 T:547665640016  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/aarch64-linux-gnu/kodi
17:19:58.896 T:547665640016  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/aarch64-linux-gnu/kodi/addons
17:19:58.896 T:547665640016  NOTICE: special://masterprofile/ is mapped to: /home/rock64/.kodi/userdata
17:19:58.896 T:547665640016  NOTICE: special://envhome/ is mapped to: /home/rock64
17:19:58.896 T:547665640016  NOTICE: special://home/ is mapped to: /home/rock64/.kodi
17:19:58.896 T:547665640016  NOTICE: special://temp/ is mapped to: /home/rock64/.kodi/temp
17:19:58.896 T:547665640016  NOTICE: special://logpath/ is mapped to: /home/rock64/.kodi/temp
17:19:58.896 T:547665640016  NOTICE: The executable running is: /usr/lib/aarch64-linux-gnu/kodi/kodi.bin
17:19:58.896 T:547665640016  NOTICE: Local hostname: rock64
17:19:58.897 T:547665640016  NOTICE: Log File is located: /home/rock64/.kodi/temp//kodi.log
17:19:58.897 T:547665640016  NOTICE: -----------------------------------------------------------------------
17:19:58.906 T:547665640016   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
17:19:59.058 T:547665640016  NOTICE: load settings...
17:19:59.105 T:547665640016   ERROR: PulseAudio: Failed to connect context
17:19:59.105 T:547665640016  NOTICE: PulseAudio might not be running. Context was not created.
17:19:59.155 T:547665640016  NOTICE: Found 1 Lists of Devices
17:19:59.155 T:547665640016  NOTICE: Enumerated ALSA devices:
17:19:59.155 T:547665640016  NOTICE:     Device 1
17:19:59.156 T:547665640016  NOTICE:         m_deviceName      : default
17:19:59.156 T:547665640016  NOTICE:         m_displayName     : Default (HDMI Analog)
17:19:59.156 T:547665640016  NOTICE:         m_displayNameExtra:
17:19:59.156 T:547665640016  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
17:19:59.156 T:547665640016  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR
17:19:59.156 T:547665640016  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
17:19:59.156 T:547665640016  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
17:19:59.156 T:547665640016  NOTICE:         m_streamTypes     : No passthrough capabilities
17:19:59.158 T:547665640016   ERROR: CSettings: unable to load settings from special://masterprofile/guisettings.xml, creating new default settings
17:19:59.171 T:547665640016  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
17:19:59.171 T:547665640016  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
17:19:59.171 T:547665640016  NOTICE: Default Video Player: VideoPlayer
17:19:59.171 T:547665640016  NOTICE: Default Audio Player: paplayer
17:19:59.171 T:547665640016  NOTICE: Disabled debug logging due to GUI setting. Level 0.
17:19:59.171 T:547665640016  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
17:19:59.171 T:547665640016  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
17:19:59.172 T:547665640016  NOTICE: Loaded playercorefactory configuration
17:19:59.172 T:547665640016  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
17:19:59.172 T:547665640016  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
17:20:01.162 T:547665640016  NOTICE: ADDONS: Using repository repository.xbmc.org
17:20:01.211 T:547665640016   ERROR: X11 Error: No Display found
17:20:01.211 T:547665640016   FATAL: CApplication::Create: Unable to init windowing system


############### END LOG FILE ################

############ END Kodi CRASH LOG #############

Looks like the graphics X11 subsystem needs to be installed? 
What package should I install for Rock64 Debian Stretch to leverage the hardware acceleration and/or 4K support?


RE: Debian Stretch and Kodi Krypton on Rock64 - stuartiannaylor - 10-06-2017

(10-06-2017, 11:38 AM)zarusz Wrote: @stuartiannaylor thanks for your response. Could you please elaborate more? 


Here is the error I am getting while kodi start:

Code:
rock64@rock64:~$ kodi-standalone
ERROR: Unable to create GUI. Exiting
*** Error in `/usr/lib/aarch64-linux-gnu/kodi/kodi.bin': free(): invalid pointer: 0x000000557a9233b0 ***
Aborted
Crash report available at /home/rock64/kodi_crashlog-20171006_172001.log
ERROR: Unable to create GUI. Exiting
*** Error in `/usr/lib/aarch64-linux-gnu/kodi/kodi.bin': free(): invalid pointer: 0x00000055c28682e0 ***
Aborted
Crash report available at /home/rock64/kodi_crashlog-20171006_172006.log
ERROR: Unable to create GUI. Exiting
*** Error in `/usr/lib/aarch64-linux-gnu/kodi/kodi.bin': free(): invalid pointer: 0x000000557ec19280 ***
Aborted
Crash report available at /home/rock64/kodi_crashlog-20171006_172007.log
/usr/bin/kodi --standalone  has exited in an unclean state 3 times in the last 10 seconds.
Something is probably wrong

Here is the crash log:
Code:
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: Fri Oct  6 17:20:01 UTC 2017
Kodi Options:
Arch: aarch64
Kernel: Linux 4.4.77-rockchip-ayufan-118 #1 SMP Thu Sep 14 21:59:24 UTC 2017
Release: Debian GNU/Linux 9 (stretch)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################

17:19:58.896 T:547665640016  NOTICE: special://profile/ is mapped to: special://masterprofile/
17:19:58.896 T:547665640016  NOTICE: -----------------------------------------------------------------------
17:19:58.896 T:547665640016  NOTICE: Starting Kodi from Debian (17.1 Debian package version: 2:17.1+dfsg1-3). Platform: Linux ARM 64-bit
17:19:58.896 T:547665640016  NOTICE: Using Release Kodi from Debian x64 build
17:19:58.896 T:547665640016  NOTICE: Kodi from Debian compiled from 2:17.1+dfsg1-3 by GCC 6.3.0 for Linux ARM 64-bit version 4.9.25 (264473)
17:19:58.896 T:547665640016  NOTICE: Running on Debian GNU/Linux 9 (stretch), kernel: Linux ARM 64-bit version 4.4.77-rockchip-ayufan-118
17:19:58.896 T:547665640016  NOTICE: FFmpeg version/source: 3.2.7-1~deb9u1
17:19:58.896 T:547665640016  NOTICE: 4 CPU cores available
17:19:58.896 T:547665640016  NOTICE: ARM Features: Neon disabled
17:19:58.896 T:547665640016  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
17:19:58.896 T:547665640016  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/aarch64-linux-gnu/kodi
17:19:58.896 T:547665640016  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/aarch64-linux-gnu/kodi/addons
17:19:58.896 T:547665640016  NOTICE: special://masterprofile/ is mapped to: /home/rock64/.kodi/userdata
17:19:58.896 T:547665640016  NOTICE: special://envhome/ is mapped to: /home/rock64
17:19:58.896 T:547665640016  NOTICE: special://home/ is mapped to: /home/rock64/.kodi
17:19:58.896 T:547665640016  NOTICE: special://temp/ is mapped to: /home/rock64/.kodi/temp
17:19:58.896 T:547665640016  NOTICE: special://logpath/ is mapped to: /home/rock64/.kodi/temp
17:19:58.896 T:547665640016  NOTICE: The executable running is: /usr/lib/aarch64-linux-gnu/kodi/kodi.bin
17:19:58.896 T:547665640016  NOTICE: Local hostname: rock64
17:19:58.897 T:547665640016  NOTICE: Log File is located: /home/rock64/.kodi/temp//kodi.log
17:19:58.897 T:547665640016  NOTICE: -----------------------------------------------------------------------
17:19:58.906 T:547665640016   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
17:19:59.058 T:547665640016  NOTICE: load settings...
17:19:59.105 T:547665640016   ERROR: PulseAudio: Failed to connect context
17:19:59.105 T:547665640016  NOTICE: PulseAudio might not be running. Context was not created.
17:19:59.155 T:547665640016  NOTICE: Found 1 Lists of Devices
17:19:59.155 T:547665640016  NOTICE: Enumerated ALSA devices:
17:19:59.155 T:547665640016  NOTICE:     Device 1
17:19:59.156 T:547665640016  NOTICE:         m_deviceName      : default
17:19:59.156 T:547665640016  NOTICE:         m_displayName     : Default (HDMI Analog)
17:19:59.156 T:547665640016  NOTICE:         m_displayNameExtra:
17:19:59.156 T:547665640016  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
17:19:59.156 T:547665640016  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR
17:19:59.156 T:547665640016  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
17:19:59.156 T:547665640016  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
17:19:59.156 T:547665640016  NOTICE:         m_streamTypes     : No passthrough capabilities
17:19:59.158 T:547665640016   ERROR: CSettings: unable to load settings from special://masterprofile/guisettings.xml, creating new default settings
17:19:59.171 T:547665640016  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
17:19:59.171 T:547665640016  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
17:19:59.171 T:547665640016  NOTICE: Default Video Player: VideoPlayer
17:19:59.171 T:547665640016  NOTICE: Default Audio Player: paplayer
17:19:59.171 T:547665640016  NOTICE: Disabled debug logging due to GUI setting. Level 0.
17:19:59.171 T:547665640016  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
17:19:59.171 T:547665640016  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
17:19:59.172 T:547665640016  NOTICE: Loaded playercorefactory configuration
17:19:59.172 T:547665640016  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
17:19:59.172 T:547665640016  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
17:20:01.162 T:547665640016  NOTICE: ADDONS: Using repository repository.xbmc.org
17:20:01.211 T:547665640016   ERROR: X11 Error: No Display found
17:20:01.211 T:547665640016   FATAL: CApplication::Create: Unable to init windowing system


############### END LOG FILE ################

############ END Kodi CRASH LOG #############

Looks like the graphics X11 subsystem needs to be installed? 
What package should I install for Rock64 Debian Stretch to leverage the hardware acceleration and/or 4K support?

You have to have X11 for kodi krypton which is going to change in Leia with I think a DRI Wayland implementation (dunno haven't read enough)

https://www.richud.com/wiki/Ubuntu_Minimal_KODI_Install (exchange the kodi user elements to rock64 and add rock64 to the video & audio groups)
That will give you a basic Kodi but been round this one several times.

What I have been doing is trying to get Xorg to use the Mali driver and provide GL ES 2 or FBDev with Glamor 2D acceleration.
Both are software libraries and actually it is possible, also to use the NEON to provide 2D acceleration of 100% gains and also keep that work off the CPU, noone seems interested.

If you follow the above URL you will end up with LLVMpipe virtual card using GL and you will also find the UI with this has all procs roughly about 100%.
To say it sucks is like saying Irma was just a bit of hot air, it sucks big style.

Isn't a chance you will get any better with Stretch as the Rockchip optimized xorg server isn't implemented.

In fact to my surprise if you do a apt-cache -showpgk [package] you will see we get the mainline ubuntu xserver in xenial.

The https://github.com/rockchip-linux/xserver that is Ayufans PPA doesn't have priority and libmali will just crash out with a seg fault.

There isn't an image with any form of graphics optimization or customization and consequently under Linux the Rock64 sucks and unless you can get round kernel compilation with the matching kernel and userspace drivers which I think are currently incorrect.
Patch the umplock patch to kernel and also compile the DRM & DRI...

Too much for me and strangely its missing from every image available, so graphically you have a SBC that like mine might be destined for the bin. 


Or wait for 18.04 next year some time with kernel 4.14 which has much already in the mainline. Maybe with 4.14 release we might see a restart on the distro images and rockchip specifics.


http://opensource.rock-chips.com/wiki_Graphics
http://rockchip.wikidot.com/graphics
https://github.com/rockchip-linux/xserver ( the xserver with 2d accel we are not getting)
https://github.com/rockchip-linux/libmali
https://github.com/rockchip-linux/libdrm-rockchip
https://github.com/rockchip-linux/gstreamer-rockchip-extra
https://www.freedesktop.org/wiki/Software/Glamor/
http://opensource.rock-chips.com/images/d/d5/RK3328_Linux-Debian_V1.1_Development_Guide-20170711.pdf RK3328_Linux_Debian-SDK_V1.1
Development Guide

PS Stretch is like the Artful images and Ayufan is only providing for xenial even if ppa:xserver is not pulled in preference for the xenial version.
Then with xenial there are not backports for just 2 kodi (ppa) libs but gave up as everything is so totally disjointed.

What I wanted to do is startx with kodi and have a chromium option which would swap sessions, but all a bit pointless as we don't have an image that is distinctly capable.
The offerings by others are just hacks to knock down proc requirements to a bare min so it will run all via LLVMpipe on the CPU, which even after its ropey & slow.
Raybuntu might give you some handy hints maybe, but I took all this as a bad sign and ground to a halt.

Why we have all these images and not a complete installation of the Debian 9 / 4.4 kernel is confusing and also a shame we don't have any of the 2d acceleration to at least try.
Haven't tried it on Debian but have a look at http://lxqt.org/ as opposed to LXDE as it will prob be one of the first non-X desktops as QT doesn't need X11.


RE: Debian Stretch and Kodi Krypton on Rock64 - Kwiboo - 10-08-2017

You can run LibreELEC for Kodi and install the Docker service add-on, then use a arm32v7/debian:stretch or arm64v8/debian:stretch container to run your required services unless you need the desktop or plan on exposing the box directly to the internet.


RE: Debian Stretch and Kodi Krypton on Rock64 - zarusz - 10-08-2017

stuartiannaylor thanks for the detailed explanation. It looks way above my head Wink

Kwiboo sounds like going with LibreELEC + Docker would be the best option for me.
Now, I am a bit confused by having the two LibreELEC releases - provided by you and Raybuntu. Looks like your linux-rockchip work is incorporated in the Raybuntu distro.
Which one do you suggest I go with?


RE: Debian Stretch and Kodi Krypton on Rock64 - Kwiboo - 10-08-2017

(10-08-2017, 05:09 AM)zarusz Wrote: Now, I am a bit confused by having the two LibreELEC releases - provided by you and Raybuntu. Looks like your linux-rockchip work is incorporated in the Raybuntu distro.
Which one do you suggest I go with?

I would recommend you to try both depending on what you need, my image is rather plain LibreELEC with Rockchip support and only have some of the add-ons available (currently has a newer kernel version).
It was originally intended as a proof-of-concept and testing image, and will probably only get one more update after LibreELEC 8.2 / Kodi 17.5 is released and I have completed NL-PCM/HBR audio support. After that my focus will be on upstreaming.

Raybuntu's image is using 32-bit user space and should work with widevine and probably have more add-ons available.


RE: Debian Stretch and Kodi Krypton on Rock64 - zarusz - 10-08-2017

(10-08-2017, 07:34 AM)Kwiboo Wrote:
(10-08-2017, 05:09 AM)zarusz Wrote: Now, I am a bit confused by having the two LibreELEC releases - provided by you and Raybuntu. Looks like your linux-rockchip work is incorporated in the Raybuntu distro.
Which one do you suggest I go with?

I would recommend you to try both depending on what you need, my image is rather plain LibreELEC with Rockchip support and only have some of the add-ons available (currently has a newer kernel version).
It was originally intended as a proof-of-concept and testing image, and will probably only get one more update after LibreELEC 8.2 / Kodi 17.5 is released and I have completed NL-PCM/HBR audio support. After that my focus will be on upstreaming.

Raybuntu's image is using 32-bit user space and should work with widevine and probably have more add-ons available.


Kwiboo I went with your latest release. I wanted to spin down the external USB HDD disk (exfat) after 30 mins. On debian (raspbian) I used the hdparm tool and it used to work. Here I am getting a weird error, and the disk does not spin down (tried also lower -S and -B values).

Any ideas how to fix this?

Code:
LibreELEC (community): devel-20171004193222-r26173-gd404dbb (ROCK64.aarch64)
rock64:~ # hdparm -B127 -S241 /dev/disk/by-uuid/FA59-8F03

/dev/disk/by-uuid/FA59-8F03:
 setting Advanced Power Management level to 0x7f (127)
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 setting standby to 241 (30 minutes)
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 APM_level      = not supported



RE: Debian Stretch and Kodi Krypton on Rock64 - stuartiannaylor - 10-08-2017

(10-08-2017, 07:34 AM)Kwiboo Wrote:
(10-08-2017, 05:09 AM)zarusz Wrote: Now, I am a bit confused by having the two LibreELEC releases - provided by you and Raybuntu. Looks like your linux-rockchip work is incorporated in the Raybuntu distro.
Which one do you suggest I go with?

I would recommend you to try both depending on what you need, my image is rather plain LibreELEC with Rockchip support and only have some of the add-ons available (currently has a newer kernel version).
It was originally intended as a proof-of-concept and testing image, and will probably only get one more update after LibreELEC 8.2 / Kodi 17.5 is released and I have completed NL-PCM/HBR audio support. After that my focus will be on upstreaming.

Raybuntu's image is using 32-bit user space and should work with widevine and probably have more add-ons available.

To be honest I am really confused and perplexed by the choice from Rockchip and here with the Pine & community builds.
Rockchip seem to be aiming at Stretch with a 4.4 kernel which upporting a kernel is a new one for me and I am trying to get my head around it.
Then we have the Pine Jessie LXDE  where at least the 4.4 kernel is a backport, which is the same with the Xenial community builds in that respect but the slight deviation from Debian to a Buntu.

Then we have community Stretch & Artful and various desktop versions based upon these with some libreelec hacks from Raybuntu & Kwiboo.

In every image theOpenGL ES and EGL core for the RK3328 that rockchip are developing is missing and a relatively small community is spread to the winds and seems to be having little input on the Rockchip opensource initiatives.
You just have to look at there github repo's to see the lack of input which would just seem strange with an aversion to Rockchip?!

What Ayufan is doing is great as apart from supplying an image there is a huge amount of documentation and its only the quantity that I am struggling with.
Pine to be honest I am wondering what they are doing https://github.com/rock64-linux

It just seems strange we don't have a singular reference core that brings in up to date https://github.com/rockchip-linux and that these seem to be feeding back to that core.?

I found another recent repo https://github.com/mth/xf86-video-armsoc which has limited framebuffer support but the more I read the more confused I get on which way X is going to be implemented in at least a first working mode.

There are probably all good reasons for this, but yeah I am confused as hell and even struggling to work out an approach.
Seems to be a plethora of talent all going separate ways and not a singular half working Xserver unless its some horrid llvmpipe virtual cpu server.

Prob if you can implement the framebuffer driver then xserver will gain some egl support for Krypton.

https://github.com/mth/debian-ffmpeg-rkmpp

I am still scratching my head to why no-one seems to be using the custom rockchip xserver?


RE: Debian Stretch and Kodi Krypton on Rock64 - Kwiboo - 10-08-2017

(10-08-2017, 02:22 PM)stuartiannaylor Wrote: with some libreelec hacks from Raybuntu & Kwiboo

Please refrain from calling our work a "hack". Me, LongChair and omegamoon have been working on ensuring that Kodi, FFmpeg and LibreELEC runs efficiently on Rockchip using DRM/KMS last few months.
We have direct contact with Rockchip engineers and have been keeping them busy fixing media playback and other issues we report in the rockchip 4.4 kernel. Lots of the kernel improvements we have made ourself should make its way back to rockchip's 4.4 kernel soon.

As for Kodi and desktop support Wayland is going to be the best way forward, all Kodi implementations for xserver I know of is using EGL for video rendering and that will only limit video rendering to the rather slow GPU. The video never hits the GPU when Kodi is running on LibreELEC, the GPU is only used for EGL/GLES rendering of GUI and OSD.