March 8, 20242 yr Thanks for all of your help! I use the stable version(Armbian_23.2.1_Rock-5b_jammy_legacy_5.10.160_xfce-amazingfated_desktop), and following the instructions add ppa and install kodi. It works so much better, chromium-browser plays youtube 4K movies very well. But when I add add-on for youtuber, I got errors like inputstream.adaptive not available. I check like this: ------------------------------------------------------------------------------------ kein@rock-5b:~$ sudo apt info kodi-inputstream-adaptive [sudo] password for kein: Package: kodi-inputstream-adaptive Version: 19.0.0+ds1-2 Priority: optional Section: universe/libs Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: Debian Multimedia Maintainers Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2,372 kB Depends: libc6 (>= 2.34), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.3.1), libstdc++6 (>= 11), libwebm1 (>= 1.0.0.28), kodi-api-inputstream (> = 3.0.1), kodi-api-inputstream ( Homepage: https://kodi.tv/ Download-Size: 574 kB APT-Sources: http://ports.ubuntu.com jammy/universe arm64 Packages Description: Adaptive inputstream addon for Kodi ------------------------------------------------------------- But the problems is that package "kodi-api-inputstream" is not available at all. Any hints?
May 3, 20242 yr Hi @Kein, I made good expierience in building kodi and the inputstream.adaptive - addon from the sources on github and not using the repository versions. Edited May 3, 20242 yr by peter.eismann
May 3, 20242 yr @amazingfate I have one problem with the netflix addon though. It displays a green overlay "fog". Everything else works, I have the Amazon VOD addon working, the Disney+ addon works, I can play H264 as well as 4K HEVC videos with hardware acceleration. Does anyone expierence the same with Netflix? Another thing is, that I have only one working rock 5b image. I have created it myself from armbian with the legacy kernel 5.10.160 as I need custom gpio overlays for using an IR receiver where the driver needs to be activated in the kernel. After that I installed everything based on the howtos for the Rock 5b. I built MPP, RGA, FFMPEG and Kodi and got real nice hardware accelleration. I could, however, never reproduce it to create a current how to. I tried using an edge kernel where the UARTs are supposed to be working and other features should be enabled, but when I start Kodi in a Wayland session I get this: with the following errors in syslog: May 3 12:03:02 rock-5b kernel: [ 185.881239] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881258] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881265] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881271] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881278] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881284] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881299] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881306] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881312] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:02 rock-5b kernel: [ 185.881319] rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0 May 3 12:03:07 rock-5b kernel: [ 190.882731] vop2_isr: 198389 callbacks suppressed I don't know what the difference is. I also get that behaviour using the same base image that is working in a new install. Up to now I did not find anything usefull with google or here in the forums. Maybe someone has seen it and can point me somewhere. Thanks Peter Edited May 3, 20242 yr by peter.eismann
May 3, 20242 yr Author @peter.eismann I don't know about the netflix issue and I can't confirm that. Kodi does not run well inside a wayland session. You can try to login to a gbm session from display manager.
May 6, 20242 yr so, I tried it again with the kernel 6.1.43 and with the instructions from the howto. That resulted in the scrambled picture when opening kodi. (see above post) Then I built mpp, rga, ffmpeg_rockchip and kodi new. After a restart I could not open kodi as it complained about the missing fbdev module. Then I build drm-package and the mesa driver again. Then kodi opened again only to give the following errors when opening a movie: 2024-05-06 09:43:53.882 T:6596 info <general>: Creating InputStream 2024-05-06 09:43:53.916 T:6596 info <general>: Creating Demuxer 2024-05-06 09:43:53.990 T:6596 info <general>: Opening stream: 0 source: 256 2024-05-06 09:43:53.990 T:6596 info <general>: Creating video codec with codec id: 173 2024-05-06 09:43:53.990 T:6596 info <general>: CDVDVideoCodecDRMPRIME::Open - using decoder Rockchip MPP (Media Process Platform) HEVC decoder 2024-05-06 09:43:53.991 T:6596 info <general>: Creating video thread 2024-05-06 09:43:53.991 T:6600 info <general>: running thread: video_thread 2024-05-06 09:43:53.992 T:6596 info <general>: Opening stream: 1 source: 256 2024-05-06 09:43:53.992 T:6596 info <general>: Finding audio codec for: 86060 2024-05-06 09:43:53.992 T:6596 info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder truehd 2024-05-06 09:43:53.992 T:6596 info <general>: OpenStream: Allowing max Out-Of-Sync Value of 10 ms 2024-05-06 09:43:53.992 T:6596 info <general>: Creating audio thread 2024-05-06 09:43:53.992 T:6601 info <general>: running thread: CVideoPlayerAudio::Process() 2024-05-06 09:43:53.992 T:6596 info <general>: Opening stream: 9 source: 256 2024-05-06 09:43:54.003 T:6601 info <general>: Creating audio stream (codec id: 86060, channels: 8, sample rate: 48000, no pass-through) 2024-05-06 09:43:54.032 T:1329 error <general>: CEGLImage::SupportsFormat - format not supported: YU10 2024-05-06 09:43:54.033 T:1329 info <general>: GLES: Selecting single pass rendering 2024-05-06 09:43:54.033 T:1329 info <general>: GLES: Selecting YUV 2 RGB shader 2024-05-06 09:43:54.033 T:1329 error <general>: CBaseRenderer::GetShaderFormat - unsupported format 179 2024-05-06 09:43:54.033 T:1329 error <general>: GLES: BaseYUV2RGBGLSLShader - unsupported format none 2024-05-06 09:43:54.034 T:1674 info <general>: Skipped 1 duplicate messages.. So this means, that the original howto's for Rock 5b do not work anymore. And I did not find any working or reproducible collection of steps needed to get kodi reliably working with hw acceleration. This is quite a nightmare. I have this thing for over a year now and i am not able to use it. Edited May 6, 20242 yr by peter.eismann
May 13, 20242 yr Author @peter.eismannYou are using EGL as render method, which will only support NV12 format. You can try direct-to-plane.
May 13, 20242 yr @amazingfateI finally made some progress. I've got a working 6.1.43 kernel with Ubuntu noble and the newest versions of Kodi and Inputstream adaptive. I have used the vendor-boogie-panthor configuration for armbian and added my IR Receiver settings. Unfortunately with Netflix the WivedineCDM lib does not work as the patches for glibc6 are missing. I know there is a patched version in your PPA, but since I use noble instead of jammy I was wondering what I need to do to build a patched libc6 myself. Do you remember how you built it? (glibc=1:2.35-0ubuntu3.4+2widevine) Edited May 13, 20242 yr by peter.eismann
May 13, 20242 yr Author @peter.eismann I added patches to glibc: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia/+sourcefiles/glibc/1:2.35-0ubuntu3.4+2widevine/glibc_2.35-0ubuntu3.4+2widevine.debian.tar.xz But it seems that this patch is no longer needed with newer glibc: https://aur.archlinux.org/packages/widevine
May 13, 20242 yr that did it, it works now and I don't have that green pricture anymore. Thanks a lot.
March 4, 20251 yr Hello, I am trying to run Kodi application in linux using `sudo apt install kodi` on an rk3588-based board using rockchip legacy kernel 5.10 but, somehow I am not getting Audio Passthrough in Kodi. hdmi sound works on i2s5_8ch controller, From a lot of research I got some hint that If kodi gets m_deviceType - AE_DEV_HDMI and m_dataFormats - AE_FMT_RAW then only Audio Passthorugh support will be shown in Kodi. I have also tried to stop Pulse audio, but still it didn't work. Is there any steps I am missing to do ? 2025-03-04 18:40:38.274 T:6805 warning <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2025-03-04 18:40:38.276 T:6805 info <general>: Found 1 Lists of Devices 2025-03-04 18:40:38.276 T:6805 info <general>: Enumerated PULSE devices: 2025-03-04 18:40:38.276 T:6805 info <general>: Device 1 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : Default 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Default 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Default Output Device (PULSEAUDIO) 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM 2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR 2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities 2025-03-04 18:40:38.276 T:6805 info <general>: Device 2 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-dp0-sound.stereo-fallback 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio Stereo 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Analog Output (PULSEAUDIO) 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM 2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR 2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities 2025-03-04 18:40:38.276 T:6805 info <general>: Device 3 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-dp1-sound.stereo-fallback 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio Stereo 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Analog Output (PULSEAUDIO) 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM 2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR 2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities 2025-03-04 18:40:38.276 T:6805 info <general>: Device 4 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-es8388-sound.HiFi__hw_rockchipes8388__sink 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio Headphones + Speaker 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Speaker (PULSEAUDIO) 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM 2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR 2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities 2025-03-04 18:40:38.276 T:6805 info <general>: Device 5 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-hdmi1-sound.HDMI__hw_rockchiphdmi1__sink 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio HDMI/Display Port 2 Stereo 2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: HDMI/Display Port 2 Stereo (PULSEAUDIO) 2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM 2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR 2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities 2025-03-04 18:40:38.277 T:6806 info <general>: CActiveAESink::OpenSink - initialize sink
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.