Jump to content

[GUIDE] Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio


adr3nal1n27

Recommended Posts

hello all,

yesterday I tried to connect my bluetooth headset in kodi but found that there is no bluetooth adapter selectable.


I have a Realtek RTL8852BE M.2 installed in the 2230 slot. which works in normal Armbian desktop operation to some degree (When running WIFI and bluetooth at the same time I have sound distortion on the headset).
Can someone tell me what I need to do so that in Kodi Bluetooth is also listed? 

 

Link to comment
Share on other sites

Hi,

 

I'm trying to create a new SD to test the latest Armbian OS, Kodi can start in Wayland, the correct configuration is applied for DRM, but it crash after the request to play a video. Tested with x264 and x265. It happens with DRM off as well and I tried to check the Kodi crash log but I don't understand where the problem is.

 

What do you think?

 

The release is: Armbian 23.8.0-trunk.270 Jammy with Linux 5.10.160-legacy-rk35xx

 

Also tested severals releases with the kernel 6.5-rc5 but the HDMI video output is not working

 

Thanks!!

 

kodi_crashlog-20230826_100637.log

Link to comment
Share on other sites

My TV does not do DTS passthrough, so I am wondering if I can use the USB-C to HDMI for video to my TV, and the HDMI port for audio to my AVR (my AVR is old and cannot handle 4K).  I currently have this cabeled up, and I have video working out the USB-C port, but I cannot get audio (from OS or Kodi) out of the HDMI port.  The OS sees the connections:

 

root@orangepi:~# cat /sys/devices/platform/display-subsystem/drm/card0/card0-DP-1/edid | edid-decode
edid-decode (hex):

00 ff ff ff ff ff ff 00 4c 2d 24 09 00 00 00 00
2c 15 01 03 80 10 09 78 0a ee 91 a3 54 4c 99 26
0f 50 54 bd ef 80 71 4f 81 c0 81 00 81 80 95 00
a9 c0 b3 00 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 a0 5a 00 00 00 1e 66 21 56 aa 51 00 1e 30
46 8f 33 00 a0 5a 00 00 00 1e 00 00 00 fd 00 18
4b 0f 51 17 00 0a 20 20 20 20 20 20 00 00 00 fc
00 53 41 4d 53 55 4e 47 0a 20 20 20 20 20 01 f3

02 03 1f f1 47 90 04 05 03 20 22 07 23 09 07 07
83 01 00 00 e2 00 0f 67 03 0c 00 20 00 b8 2d 01
1d 80 18 71 1c 16 20 58 2c 25 00 a0 5a 00 00 00
9e 01 1d 00 72 51 d0 1e 20 6e 28 55 00 a0 5a 00
00 00 1e 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 a0
5a 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c6

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: SAM
    Model: 2340
    Made in: week 44 of 2011
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 16 cm x 9 cm
    Gamma: 2.20
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6396, 0.3300
    Green: 0.2998, 0.5996
    Blue : 0.1503, 0.0595
    White: 0.3125, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.082 Hz   9:5    31.467 kHz  28.320 MHz
    DMT 0x04:   640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz
    Apple   :   640x480    66.667 Hz   4:3    35.000 kHz  30.240 MHz
    DMT 0x05:   640x480    72.809 Hz   4:3    37.861 kHz  31.500 MHz
    DMT 0x06:   640x480    75.000 Hz   4:3    37.500 kHz  31.500 MHz
    DMT 0x09:   800x600    60.317 Hz   4:3    37.879 kHz  40.000 MHz
    DMT 0x0a:   800x600    72.188 Hz   4:3    48.077 kHz  50.000 MHz
    DMT 0x0b:   800x600    75.000 Hz   4:3    46.875 kHz  49.500 MHz
    Apple   :   832x624    74.551 Hz   4:3    49.726 kHz  57.284 MHz
    DMT 0x10:  1024x768    60.004 Hz   4:3    48.363 kHz  65.000 MHz
    DMT 0x11:  1024x768    70.069 Hz   4:3    56.476 kHz  75.000 MHz
    DMT 0x12:  1024x768    75.029 Hz   4:3    60.023 kHz  78.750 MHz
    DMT 0x24:  1280x1024   75.025 Hz   5:4    79.976 kHz 135.000 MHz
    Apple   :  1152x870    75.062 Hz 192:145  68.681 kHz 100.000 MHz
  Standard Timings:
    DMT 0x15:  1152x864    75.000 Hz   4:3    67.500 kHz 108.000 MHz
    DMT 0x55:  1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz
    DMT 0x1c:  1280x800    59.810 Hz  16:10   49.702 kHz  83.500 MHz
    DMT 0x23:  1280x1024   60.020 Hz   5:4    63.981 kHz 108.000 MHz
    DMT 0x2f:  1440x900    59.887 Hz  16:10   55.935 kHz 106.500 MHz
    DMT 0x53:  1600x900    60.000 Hz  16:9    60.000 kHz 108.000 MHz (RB)
    DMT 0x3a:  1680x1050   59.954 Hz  16:10   65.290 kHz 146.250 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz (160 mm x 90 mm)
                 Hfront   88 Hsync  44 Hback 148 Hpol P
                 Vfront    4 Vsync   5 Vback  36 Vpol P
    DTD 2:  1366x768    59.790 Hz 683:384  47.712 kHz  85.500 MHz (160 mm x 90 mm)
                 Hfront   70 Hsync 143 Hback 213 Hpol P
                 Vfront    3 Vsync   3 Vback  24 Vpol P
  Display Range Limits:
    Monitor ranges (GTF): 24-75 Hz V, 15-81 kHz H, max dotclock 230 MHz
    Display Product Name: 'SAMSUNG'
  Extension blocks: 1
Checksum: 0xf3

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz (native)
    VIC   4:  1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz
    VIC   5:  1920x1080i  60.000 Hz  16:9    33.750 kHz  74.250 MHz
    VIC   3:   720x480    59.940 Hz  16:9    31.469 kHz  27.000 MHz
    VIC  32:  1920x1080   24.000 Hz  16:9    27.000 kHz  74.250 MHz
    VIC  34:  1920x1080   30.000 Hz  16:9    33.750 kHz  74.250 MHz
    VIC   7:  1440x480i   59.940 Hz  16:9    15.734 kHz  27.000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Video Capability Data Block:
    YCbCr quantization: No Data
    RGB quantization: No Data
    PT scan behavior: No Data
    IT scan behavior: Supports both over- and underscan
    CE scan behavior: Supports both over- and underscan
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 2.0.0.0
    Supports_AI
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 225 MHz
  Detailed Timing Descriptors:
    DTD 3:  1920x1080i  60.000 Hz  16:9    33.750 kHz  74.250 MHz (160 mm x 90 mm)
                 Hfront   88 Hsync  44 Hback 148 Hpol P
                 Vfront    2 Vsync   5 Vback  15 Vpol P Vfront +0.5 Odd Field
                 Vfront    2 Vsync   5 Vback  15 Vpol P Vback  +0.5 Even Field
    DTD 4:  1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz (160 mm x 90 mm)
                 Hfront  110 Hsync  40 Hback 220 Hpol P
                 Vfront    5 Vsync   5 Vback  20 Vpol P
    DTD 5:   720x480    59.940 Hz   3:2    31.469 kHz  27.000 MHz (160 mm x 90 mm)
                 Hfront   16 Hsync  62 Hback  60 Hpol N
                 Vfront    9 Vsync   6 Vback  30 Vpol N
Checksum: 0xc6
root@orangepi:~# cat /sys/devices/platform/display-subsystem/drm/card0/card0-/edid | edid-decode
card0-DP-1/        card0-HDMI-A-1/    card0-Writeback-1/
root@orangepi:~# cat /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid | edid-decode
edid-decode (hex):

00 ff ff ff ff ff ff 00 3d cb 89 0c 00 00 00 00
00 16 01 03 80 10 09 78 0a ee 91 a3 54 4c 99 26
0f 50 54 bd ef 80 71 4f 81 c0 81 00 81 80 95 00
a9 c0 b3 00 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 a0 5a 00 00 00 1e 66 21 56 aa 51 00 1e 30
46 8f 33 00 a0 5a 00 00 00 1e 00 00 00 fc 00 44
54 52 2d 35 30 2e 34 0a 20 20 20 20 00 00 00 fd
00 18 4b 0f 51 11 00 0a 20 20 20 20 20 20 01 8d

02 03 39 f1 47 90 04 05 03 20 22 07 38 09 7f 07
0f 7f 07 17 07 50 3f 06 c0 4d 02 00 57 06 00 5f
7e 01 67 54 00 83 4f 00 00 6c 03 0c 00 12 00 b8
2d c0 00 00 00 00 e2 00 0f 01 1d 80 18 71 1c 16
20 58 2c 25 00 a0 5a 00 00 00 9e 01 1d 00 72 51
d0 1e 20 6e 28 55 00 a0 5a 00 00 00 1e 8c 0a d0
8a 20 e0 2d 10 10 3e 96 00 a0 5a 00 00 00 18 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cd

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: ONK
    Model: 3209
    Made in: 2012
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 16 cm x 9 cm
    Gamma: 2.20
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6396, 0.3300
    Green: 0.2998, 0.5996
    Blue : 0.1503, 0.0595
    White: 0.3125, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.082 Hz   9:5    31.467 kHz  28.320 MHz
    DMT 0x04:   640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz
    Apple   :   640x480    66.667 Hz   4:3    35.000 kHz  30.240 MHz
    DMT 0x05:   640x480    72.809 Hz   4:3    37.861 kHz  31.500 MHz
    DMT 0x06:   640x480    75.000 Hz   4:3    37.500 kHz  31.500 MHz
    DMT 0x09:   800x600    60.317 Hz   4:3    37.879 kHz  40.000 MHz
    DMT 0x0a:   800x600    72.188 Hz   4:3    48.077 kHz  50.000 MHz
    DMT 0x0b:   800x600    75.000 Hz   4:3    46.875 kHz  49.500 MHz
    Apple   :   832x624    74.551 Hz   4:3    49.726 kHz  57.284 MHz
    DMT 0x10:  1024x768    60.004 Hz   4:3    48.363 kHz  65.000 MHz
    DMT 0x11:  1024x768    70.069 Hz   4:3    56.476 kHz  75.000 MHz
    DMT 0x12:  1024x768    75.029 Hz   4:3    60.023 kHz  78.750 MHz
    DMT 0x24:  1280x1024   75.025 Hz   5:4    79.976 kHz 135.000 MHz
    Apple   :  1152x870    75.062 Hz 192:145  68.681 kHz 100.000 MHz
  Standard Timings:
    DMT 0x15:  1152x864    75.000 Hz   4:3    67.500 kHz 108.000 MHz
    DMT 0x55:  1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz
    DMT 0x1c:  1280x800    59.810 Hz  16:10   49.702 kHz  83.500 MHz
    DMT 0x23:  1280x1024   60.020 Hz   5:4    63.981 kHz 108.000 MHz
    DMT 0x2f:  1440x900    59.887 Hz  16:10   55.935 kHz 106.500 MHz
    DMT 0x53:  1600x900    60.000 Hz  16:9    60.000 kHz 108.000 MHz (RB)
    DMT 0x3a:  1680x1050   59.954 Hz  16:10   65.290 kHz 146.250 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz (160 mm x 90 mm)
                 Hfront   88 Hsync  44 Hback 148 Hpol P
                 Vfront    4 Vsync   5 Vback  36 Vpol P
    DTD 2:  1366x768    59.790 Hz 683:384  47.712 kHz  85.500 MHz (160 mm x 90 mm)
                 Hfront   70 Hsync 143 Hback 213 Hpol P
                 Vfront    3 Vsync   3 Vback  24 Vpol P
    Display Product Name: 'DTR-50.4'
  Display Range Limits:
    Monitor ranges (GTF): 24-75 Hz V, 15-81 kHz H, max dotclock 170 MHz
  Extension blocks: 1
Checksum: 0x8d

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz (native)
    VIC   4:  1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz
    VIC   5:  1920x1080i  60.000 Hz  16:9    33.750 kHz  74.250 MHz
    VIC   3:   720x480    59.940 Hz  16:9    31.469 kHz  27.000 MHz
    VIC  32:  1920x1080   24.000 Hz  16:9    27.000 kHz  74.250 MHz
    VIC  34:  1920x1080   30.000 Hz  16:9    33.750 kHz  74.250 MHz
    VIC   7:  1440x480i   59.940 Hz  16:9    15.734 kHz  27.000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
      Supported sample sizes (bits): 24 20 16
    Linear PCM:
      Max channels: 8
      Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
      Supported sample sizes (bits): 24 20 16
    AC-3:
      Max channels: 8
      Supported sample rates (kHz): 48 44.1 32
      Maximum bit rate: 640 kb/s
    DTS:
      Max channels: 8
      Supported sample rates (kHz): 48 44.1
      Maximum bit rate: 1536 kb/s
    One Bit Audio:
      Max channels: 6
      Supported sample rates (kHz): 44.1
      Audio Format Code dependent value: 0x00
    Enhanced AC-3 (DD+):
      Max channels: 8
      Supported sample rates (kHz): 48 44.1
    DTS-HD:
      Max channels: 8
      Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1
      Audio Format Code dependent value: 0x01
    MAT (MLP):
      Max channels: 8
      Supported sample rates (kHz): 192 96 48
      Supports only Dolby TrueHD
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
    LFE1 - Low Frequency Effects 1
    FC - Front Center
    BL/BR - Back Left/Right
    RLC/RRC - Rear Left/Right of Center (Deprecated)
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.2.0.0
    Supports_AI
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 225 MHz
    Video latency: Unknown
    Audio latency: Unknown
    Interlaced video latency: Unknown
    Interlaced audio latency: Unknown
  Video Capability Data Block:
    YCbCr quantization: No Data
    RGB quantization: No Data
    PT scan behavior: No Data
    IT scan behavior: Supports both over- and underscan
    CE scan behavior: Supports both over- and underscan
  Detailed Timing Descriptors:
    DTD 3:  1920x1080i  60.000 Hz  16:9    33.750 kHz  74.250 MHz (160 mm x 90 mm)
                 Hfront   88 Hsync  44 Hback 148 Hpol P
                 Vfront    2 Vsync   5 Vback  15 Vpol P Vfront +0.5 Odd Field
                 Vfront    2 Vsync   5 Vback  15 Vpol P Vback  +0.5 Even Field
    DTD 4:  1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz (160 mm x 90 mm)
                 Hfront  110 Hsync  40 Hback 220 Hpol P
                 Vfront    5 Vsync   5 Vback  20 Vpol P
    DTD 5:   720x480    59.940 Hz   3:2    31.469 kHz  27.000 MHz (160 mm x 90 mm)
                 Hfront   16 Hsync  62 Hback  60 Hpol N
                 Vfront    9 Vsync   6 Vback  30 Vpol N
Checksum: 0xcd

 

Link to comment
Share on other sites

Can't install kodi-inputstream-adaptive/jammy due to dependency on kodi-api-inputstream (< 3.1.0)

Only thing that I changed here was the OS

Any ideas on how to fix this?

 

Orange Pi 5

Armbian_23.02.0-trunk.0254_Orangepi5_jammy_legacy_5.10.110_xfce_desktop.img.xz

kodi-bin/jammy,now 2:20.2+dfsg-4+gles arm64 [installed,automatic]
kodi-data/jammy,jammy,now 2:20.2+dfsg-4+gles all [installed,automatic]
kodi/jammy,now 2:20.2+dfsg-4+gles arm64 [installed]
 

Link to comment
Share on other sites

When I said I changed the OS it was to the most recent trunk release. The one in the article (hyperlinked) is no longer available.

 

What I can't seem to figure out is why this version of Kodi does not have an official repository installed, libreELEC, for example, gives you the official Kodi repo from the start.

 

My options seem to be apt-get, install an unofficial repository or build the add on.

 

Ideas? 

Link to comment
Share on other sites

On 8/29/2023 at 12:10 PM, wmb1964 said:

Can't install kodi-inputstream-adaptive/jammy due to dependency on kodi-api-inputstream (< 3.1.0)

 

See my previous comment:

 

On 9/1/2023 at 5:43 AM, wmb1964 said:

When I said I changed the OS it was to the most recent trunk release. The one in the article (hyperlinked) is no longer available.

 

Old versions are still available here. The link in the main post is outdated.

Link to comment
Share on other sites

So just to be clear- this is the only build that works?

 

https://github.com/armbian/build/releases/download/23.02.0-trunk.0173/Armbian_23.02.0-trunk.0173_Orangepi5_jammy_legacy_5.10.110_xfce_desktop.img.xz#orangepi5

 

The link no longer works, as already mentioned.

 

And the archive linked in the post above does not contain this build.

 

Any chance we can get a working link to this build (if it is the only one that works)?

 

Thanks,

Nick

Link to comment
Share on other sites

9 minutes ago, Nicholay Riviera said:

Any chance we can get a working link to this build


None. We don't have ability (and its also very stupid) to archive terabytes of automated builds made every day. If its automated build, it means its without any support by default. However we provide archive to official builds. Perhaps that helps https://archive.armbian.com/

Link to comment
Share on other sites

Thank you for that info. I understand all daily builds can't be archived.

 

But is that build linked in the very first post the only one that works? I guess that is the main question. I can go to github and get the oldest trunk build on that site or get the oldest build in the archive you linked, but I don't know if there is something unique about that build in the original post.  (The build mentioned in the OP is not in the archive or on github, or if it is it is under a different file name).

 

Not trying to be difficult. I just didn't know if I could pull down a more recent build than the one linked in the OP and still get this to work. It is great that some clever people have figured this out and shared it with us and I wanted to give it a try.

 

Thanks again,

Nick

Edited by Nicholay Riviera
Link to comment
Share on other sites

14 hours ago, Nicholay Riviera said:

I just didn't know if I could pull down a more recent build

I used https://mirror.yandex.ru/mirrors/armbian/archive/orangepi5-plus/archive/Armbian_23.5.4_Orangepi5-plus_jammy_legacy_5.10.160_xfce_desktop.img.xz  but this is a different board.  I guess any legacy Jammy 5.10.x should work.

Look here for something suitable https://mirror.yandex.ru/mirrors/armbian/archive/orangepi5/archive/

Maybe: 
https://mirror.yandex.ru/mirrors/armbian/archive/orangepi5/archive/Armbian_22.11.3_Orangepi5_jammy_legacy_5.10.110_xfce_desktop.img.xz

You can't use the official Kodi ppa version of Kodi.  It doesn't include k35xx acceleration or a working widevine cdm for arm64.

You must use amazingfate's ppa for Kodi and not the Kodi official ppa.
When updating or installing the inputstream.adaptive plugin from that ppa or from any Kodi repository, it will prompt you to update widevine. cdm,  The widevine cdm update that is installed doesn't currently work with arm64 Linux.  At the bottom of my notes below, you can follow how to manually copy the right one, assuming that you have it installed in amazingfate's Chromium.
 

If you have the wrong Kodi installed then remove it and remove the official ppa.
 

My notes are a couple of months old, but if my notes are correct these are the steps to get Chromium widevine cdm and Kodi installed
(use at your own risk) Good Luck:

sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa

sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia

sudo apt update

sudo apt full-upgrade

sudo apt install libwidevinecdm
 

I might specifically have installed or reinstalled Chromium, but I don't have it in my notes.  It may have done it automatically with the upgrade.

Some DRM streamers check the Chromium user agent on arm64 and won't work unless they find a ChromeOs user agent.
Create a launcher for DRM-Chromium with the correct user agent for widevine (or just launch it like this from the command line):
chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS aarch64 15236.80.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.125 Safari/537.36"

 

Check widevine DRM works in Chromium with
https://bitmovin.com/demos/drm


sudo apt install ubuntu-desktop kodi


Start Kodi and install your plugins.
Try to run one DRM video and when it errors, do an apt install for inputstream.adaptive as recommended by the error message.
Install widevine cdm as prompted.  This will create the directory structure for widevine and install the non-working version.

Copy libwidevinecdm.so from /lib/chromium-browser/WidevineCdm/_platform_specific/linux_arm64/ to /home/{username}/.kodi/cdm/

Restart Kodi.

 

Link to comment
Share on other sites

If there are people that still have problems with the overlays in Kodi, unable to see the OSD while playing a movie. You could try the following:

Install the overlay: sudo armbian-add-overlay vop.dts

Then:

armbian-config -> System -> DTC

Then search  (crtl+w) for 'disable-win-move;' and remove that line. After that ctrl+x and save and agree to reboot

 

The correct way would be to edit/patch the dtb of course, but I thought it would be better to first check if this will solve it for everyone and perhaps this could be changed in the source.

vop.dts

Link to comment
Share on other sites

Hi @royk,

 

thanks so much for the patch!

 

i've performed 2 tests:

 

Armbian_23.8.1_Orangepi5_jammy_legacy_5.10.160_gnome_desktop

 

Kodi Nexus with x264 & x265 media: the OSD works now, but when is opened the screen goes black, and the image reappear when is closed back. For some medias the screen is always black

 

Armbian_23.08.420-monka_orangepi5_jammy_legacy_5.10.160_gnome-desktop-AFM-1.6

 

with a fresh install without apt update,  the OS come with Kodi Matrix and works with both x264 and x265. After updating the same appears as for Armbian_23.8.1_Orangepi5_jammy_legacy_5.10.160_gnome_desktop

 

I'll test more and let you know 

 

Link to comment
Share on other sites

@Dbosco I've seen something like that before. As you can see is your edited file rk3588s-orangepi-5b.dtb while in your armbianEnv.txt you've got the file rk3588s-orangepi-5.dtb, so that's the reason it doesn't work.

So this seems to be a bug of the editor (or a config setting at some place), I'm not sure if that dtb only has the wrong  filename or if it's an edited 5b dtb.

As workaround you could just try to edit the name in armbianEnv.txt to rk3588s-orangepi-5b.dtb and hope that it will boot

Or replace the 5b dtb with the OPi5 dtb and edit again, then move 5b dtb to OPi5 dtb:

sudo mv /boot/dtb/rockchip/rk3588s-orangepi-5.dtb /boot/dtb/rockchip/rk3588s-orangepi-5b.dtb

sudo armbian-config -> System -> DTC

Then search  (crtl+w) for 'disable-win-move;' and remove that line. After that ctrl+x and save and DISAGREE to reboot

sudo mv /boot/dtb/rockchip/rk3588s-orangepi-5b.dtb /boot/dtb/rockchip/rk3588s-orangepi-5.dtb

sudo reboot

Link to comment
Share on other sites

@royk 

 

15 hours ago, royk said:

As workaround you could just try to edit the name in armbianEnv.txt to rk3588s-orangepi-5b.dtb and hope that it will boot

and it worked!

OSD is back, tested some medias x264/5 and all good

 

@PajPaj

 

i ran a full system update and tested an HDR video and it works fine, compare my system info screenshot with your system to see if there is something different and understand how can be solved

 

 

 

screenshot00000.png

screenshot00001.png

Link to comment
Share on other sites

[mention=205859]royk[/mention] 
 
and it worked!

OSD is back, tested some medias x264/5 and all good
 
[mention=206671]PajPaj[/mention]
 
i ran a full system update and tested an HDR video and it works fine, compare my system info screenshot with your system to see if there is something different and understand how can be solved
 
 
 
screenshot00000.thumb.png.3f2a88c21ee801d4216e31fa302a0a2d.png
screenshot00001.thumb.png.6e9900f6ad073baffa247c036c2d0657.png

[mention=205859]royk[/mention] 
 
and it worked!

OSD is back, tested some medias x264/5 and all good
 
[mention=206671]PajPaj[/mention]
 
i ran a full system update and tested an HDR video and it works fine, compare my system info screenshot with your system to see if there is something different and understand how can be solved
 
 
 


The screenshot is not taking the media playing
For the doubts I'm attaching a video as well
https://mega.nz/file/MwMBxaRa#B1-CLC__25hTdDjQAaYwtLkzf9dFXFUfGlvzN1oLqzY
Link to comment
Share on other sites

@Dbosco Great and tnx for letting me know.

@PajPaj Nothing special, you should've installed FFmpeg with MPP support, and Kodi build with that.

The one from amazingfate's repository should work. Then be sure you run it with the GBM window manager like you can see in the screenshots of Dbosco. Just follow the instructions of this topic for the right settings.

Perhaps you've updated FFmpeg en Kodi to a build without MPP?

 

@amazingfate Perhaps the DTB/dts can be edited in the source for the right behavior of the planes/overlays?

Edited by royk
Link to comment
Share on other sites

@roykI just tested on rock5b. The osd is back under `Direct to Plane`. But it can't play 10 bit video. At first the 10 bit video is played well, but when I move the mouse, there comes a black screen with osd control panel.

Here is the video for test: https://drive.google.com/file/d/1qrs97EBEWb6YxEp3WGoeFb-CarNJYYgp/view?usp=sharing

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines