Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

Post Reply
AreaScout
Posts: 1793
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4
Has thanked: 120 times
Been thanked: 370 times
Contact:

Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

Post by AreaScout »

    I am proudly presenting you KODI 19.4 Matrix arm64 for ODROID-M1
        Image
          !!! This post and the whole forum thread is for Kodi Releases installed under the official Hardkernel Ubuntu Server Image :) !!!
            DIRECT DOWNLOAD LINK !!
              Specials in this Release:
              1. Hardware Video Decoding up to 3840x2160p60 for this codec types
                VP9 10-bit, VP9 8-bit, HEVC Main 10, HEVC Main, H.264, VP8, MPEG2
              2. Audio Passthrough on HDMI
                Dolby Digital, Dolby Digital Plus, DTS, DTS-HD, True HD
              3. Apple SharePlay Support
              Installation for experienced users:
              1. Install the latest Ubuntu Server image from here as usual https://wiki.odroid.com/odroid-m1/os_im ... ntu/ubuntu
              2. Add my package server as root sudo su to apt source listecho "deb [trusted=yes] https://deb.areascout.at/Ubuntu20_04 ./" > /etc/apt/sources.list.d/areascout.list
              3. Install Kodi sudo apt install ca-certificates && sudo apt update && sudo apt install kodi-bin kodi
              Installation for newbies:
              1. All the list from above (install image, add package server, install kodi)
                • Enable SSH server
                  sudo systemctl start sshd
                  • Add some udev rules to fix permissions:

                    Code: Select all

                    sudo su
                    echo 'KERNEL=="uinput", MODE="0660", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                    echo 'KERNEL=="uhid", MODE="0660", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                    echo 'KERNEL=="rga", SUBSYSTEM=="input", MODE="0660", GROUP="video"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                    echo 'KERNEL=="event[0-11]*", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                    echo 'KERNEL=="mouse[0-1]*", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                    echo 'KERNEL=="mice", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                    
                  • Add User odroid to the most common groups:

                    Code: Select all

                    usermod -aG sudo,adm,audio,operator,input,video,tty,staff,games,users,plugdev,netdev,disk odroid
                    
                  • Enable color prompt ( I can't live without ):

                    Code: Select all

                    sed -i '1iforce_color_prompt=yes' ~/.bashrc
                    su odroid
                    
                  • Start kodi with new created user:

                    Code: Select all

                    kodi
                    
                  • Autostart of Kodi:

                    To autostart Kodi upon each reboot a very easy way is to use crontab for it, please type crontab -e as the same user Kodi should start or sudo crontab -e -u odroid, an editor for your cron job will be opened, add this line ->

                    Code: Select all

                    @reboot /usr/bin/kodi
                    Save and close the editor -> Kodi will now autostart on each reboot with odroid user rights
                    • Allow Kodi to show power down and reboot menu:

                      Code: Select all

                      sudo apt install policykit-1
                      Create a /etc/polkit-1/localauthority/50-local.d/all_users_shutdown_reboot.pkla file as root with the following contents ->

                      Code: Select all

                      [Allow all users to shutdown and reboot]
                      Identity=unix-user:*
                      Action=org.freedesktop.login1.*;org.freedesktop.upower.*;org.freedesktop.consolekit.system.*
                      ResultActive=yes
                      ResultAny=yes
                      ResultInactive=yes
                      
                      To restrict this settings only for odroid user, change Identity=unix-user:odroid
                        Regards,
                        Daniel
                      Last edited by AreaScout on Fri May 13, 2022 9:56 pm, edited 13 times in total.
                      These users thanked the author AreaScout for the post (total 6):
                      tobetter (Sat May 07, 2022 4:42 pm) • odroid (Sun May 08, 2022 5:13 pm) • Luke.go (Tue May 10, 2022 11:23 am) • istanbulls (Wed May 11, 2022 12:12 am) • secuflag (Wed May 11, 2022 1:51 pm) • hominoid (Thu May 12, 2022 12:52 am)

                      AreaScout
                      Posts: 1793
                      Joined: Sun Jul 07, 2013 3:05 am
                      languages_spoken: german, english
                      ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                      N1, Go, VU5A, Show2, CloudShell2,
                      H2, N2, VU7A, VuShell, Go2, C4
                      Has thanked: 120 times
                      Been thanked: 370 times
                      Contact:

                      Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                      Post by AreaScout »

                        I am proudly presenting you KODI 19.4 Matrix armhf (32bit) build for ODROID-M1
                          Image
                            This KODI 19.4 Matrix release is 32bit build on Debian and therefore is meant to be run inside an chroot environment, the reason I have chosen this installation is because I don't like to mix different GPU driver and libraries inside the same OS installation :ugeek:
                              SERVER IMAGE DIRECT DOWNLOAD LINK !!
                                Image
                                  Specials in this Release:
                                  1. Hardware Video Decoding up to 3840x2160p60 for this codec types
                                    VP9 10-bit, VP9 8-bit, HEVC Main 10, HEVC Main, H.264, VP8, MPEG2
                                  2. Audio Passthrough on HDMI *
                                    Dolby Digital, Dolby Digital Plus, DTS, DTS-HD, True HD
                                  3. Apple SharePlay Support
                                  *Audio passthrough menu is hidden for non root user
                                  Installation inside a chroot environment:
                                  1. First Leia needs some special permissions i.e input/event* needs rw for owner, group and others, curiously 0660 isn't working here ...

                                    Code: Select all

                                    sudo su
                                    echo 'KERNEL=="uinput", SUBSYSTEM=="input", MODE="0660", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                    echo 'KERNEL=="uhid", SUBSYSTEM=="input", MODE="0660", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                    echo 'KERNEL=="rga", SUBSYSTEM=="input", MODE="0660", GROUP="video"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                    echo 'KERNEL=="mali0", SUBSYSTEM=="input", MODE="0660", GROUP="video"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                    echo 'KERNEL=="event[0-11]*", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                    echo 'KERNEL=="mouse[0-1]*", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                    echo 'KERNEL=="mice", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                    exit
                                  2. Then double check o_O if /dev/input/event[0-11] for sure has rw access for owner, group and others, if not ->
                                    sudo chown 0666 /dev/input/event*
                                    • Install a Debian armhf 32bit minimal system inside a folder named debian-stable

                                      Code: Select all

                                      cd ~
                                      sudo apt install debootstrap
                                      sudo debootstrap --arch armhf stable debian-stable http://httpredir.debian.org/debian/
                                      • Create a mount_chroot.sh file to mount the sys-, device- and proc filesystem and add this

                                        Code: Select all

                                        #!/bin/sh
                                        
                                        mount -o bind /dev debian-stable/dev/
                                        mount -o bind /dev/pts debian-stable/dev/pts
                                        mount -t sysfs /sys debian-stable/sys
                                        mount -t proc /proc debian-stable/proc
                                        mount -o bind /run debian-stable/run
                                        • Close and save the file and make it executable
                                          sudo chmod 755 mount_chroot.sh
                                          • Now chroot into the new system

                                            Code: Select all

                                            sudo ./mount_chroot.sh
                                            sudo chroot debian-stable
                                            • Add hostname to hosts file for name resolution
                                              echo "127.0.1.1 server" >> /etc/hosts
                                              • Add a user and install some needed packages

                                                Code: Select all

                                                adduser odroid
                                                usermod -aG sudo,adm,audio,operator,input,video,tty,staff,games,users,plugdev,netdev,disk odroid
                                                
                                                apt install ca-certificates lsb-release policykit-1
                                                • Add my Debian bullseye repository

                                                  Code: Select all

                                                  echo "deb [trusted=yes] https://deb.areascout.at/debian11_armhf ./" > /etc/apt/sources.list.d/areascout.list
                                                  apt update
                                                  • Install Kodi

                                                    Code: Select all

                                                    sudo - odroid
                                                    
                                                    sed -i '1iforce_color_prompt=yes' ~/.bashrc
                                                    su odroid
                                                    
                                                    sudo apt install kodi kodi-bin
                                                    
                                                  Regards,
                                                  Daniel
                                                  Last edited by AreaScout on Fri May 13, 2022 9:55 pm, edited 5 times in total.
                                                  These users thanked the author AreaScout for the post:
                                                  istanbulls (Wed May 11, 2022 12:14 am)

                                                  AreaScout
                                                  Posts: 1793
                                                  Joined: Sun Jul 07, 2013 3:05 am
                                                  languages_spoken: german, english
                                                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                  N1, Go, VU5A, Show2, CloudShell2,
                                                  H2, N2, VU7A, VuShell, Go2, C4
                                                  Has thanked: 120 times
                                                  Been thanked: 370 times
                                                  Contact:

                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                  Post by AreaScout »

                                                    I am proudly presenting you KODI 18.9 Leia armhf (32bit) build for ODROID-M1
                                                      Image
                                                        This KODI Leia release is 32bit build on Debian and therefore is meant to be run inside an chroot environment, the reason I have chosen this installation is because I don't like to mix different GPU driver and libraries inside the same OS installation :ugeek:
                                                          SERVER IMAGE DIRECT DOWNLOAD LINK !!
                                                            Image
                                                              Specials in this Release:
                                                              1. Hardware Video Decoding up to 3840x2160p60 for this codec types
                                                                VP9 10-bit, VP9 8-bit, HEVC Main 10, HEVC Main, H.264, VP8, MPEG2
                                                              2. Audio Passthrough on HDMI *
                                                                Dolby Digital, Dolby Digital Plus, DTS, DTS-HD, True HD
                                                              3. Apple SharePlay Support
                                                              *Audio passthrough menu is hidden for non root user
                                                              Installation inside a chroot environment:
                                                              1. First Leia needs some special permissions i.e input/event* needs rw for owner, group and others, curiously 0660 isn't working here ...

                                                                Code: Select all

                                                                sudo su
                                                                echo 'KERNEL=="uinput", SUBSYSTEM=="input", MODE="0660", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                                                echo 'KERNEL=="uhid", SUBSYSTEM=="input", MODE="0660", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                                                echo 'KERNEL=="rga", SUBSYSTEM=="input", MODE="0660", GROUP="video"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                                                echo 'KERNEL=="mali0", SUBSYSTEM=="input", MODE="0660", GROUP="video"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                                                echo 'KERNEL=="event[0-11]*", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                                                echo 'KERNEL=="mouse[0-1]*", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                                                echo 'KERNEL=="mice", SUBSYSTEM=="input", MODE="0666", GROUP="input"' >> /etc/udev/rules.d/50-odroid-rockchip.rules
                                                                exit
                                                              2. Then double check o_O if /dev/input/event[0-11] for sure has rw access for owner, group and others, if not ->
                                                                sudo chown 0666 /dev/input/event*
                                                                • Install a Debian armhf 32bit minimal system inside a folder named debian-stable

                                                                  Code: Select all

                                                                  cd ~
                                                                  sudo apt install debootstrap
                                                                  sudo debootstrap --arch armhf stable debian-stable http://httpredir.debian.org/debian/
                                                                  • Create a mount_chroot.sh file to mount the sys-, device- and proc filesystem and add this

                                                                    Code: Select all

                                                                    #!/bin/sh
                                                                    
                                                                    mount -o bind /dev debian-stable/dev/
                                                                    mount -o bind /dev/pts debian-stable/dev/pts
                                                                    mount -t sysfs /sys debian-stable/sys
                                                                    mount -t proc /proc debian-stable/proc
                                                                    mount -o bind /run debian-stable/run
                                                                    • Close and save the file and make it executable
                                                                      sudo chmod 755 mount_chroot.sh
                                                                      • Now chroot into the new system

                                                                        Code: Select all

                                                                        sudo ./mount_chroot.sh
                                                                        sudo chroot debian-stable
                                                                        • Add hostname to hosts file for name resolution
                                                                          echo "127.0.1.1 server" >> /etc/hosts
                                                                          • Add a user and install some needed packages

                                                                            Code: Select all

                                                                            adduser odroid
                                                                            usermod -aG sudo,adm,audio,operator,input,video,tty,staff,games,users,plugdev,netdev,disk odroid
                                                                            
                                                                            apt install ca-certificates lsb-release policykit-1
                                                                            • Add my Debian bullseye repository

                                                                              Code: Select all

                                                                              echo "deb [trusted=yes] https://deb.areascout.at/debian11_armhf ./" > /etc/apt/sources.list.d/areascout.list
                                                                              apt update
                                                                              • Install Kodi

                                                                                Code: Select all

                                                                                sudo - odroid
                                                                                
                                                                                sed -i '1iforce_color_prompt=yes' ~/.bashrc
                                                                                su odroid
                                                                                
                                                                                sudo apt install kodi=2:18.9~git20220430.1904-0655c2c718-dirty-1~bullseye kodi-bin=2:18.9~git20220430.1904-0655c2c718-dirty-1~bullseye
                                                                              RG Daniel
                                                                              Last edited by AreaScout on Fri May 13, 2022 9:55 pm, edited 6 times in total.
                                                                              These users thanked the author AreaScout for the post:
                                                                              istanbulls (Wed May 11, 2022 12:14 am)

                                                                              AreaScout
                                                                              Posts: 1793
                                                                              Joined: Sun Jul 07, 2013 3:05 am
                                                                              languages_spoken: german, english
                                                                              ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                                              N1, Go, VU5A, Show2, CloudShell2,
                                                                              H2, N2, VU7A, VuShell, Go2, C4
                                                                              Has thanked: 120 times
                                                                              Been thanked: 370 times
                                                                              Contact:

                                                                              Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                              Post by AreaScout »

                                                                                Kodi 20.0 Nexus arm64
                                                                                  Soon -> Currently building ....
                                                                                  These users thanked the author AreaScout for the post:
                                                                                  mctom (Sun May 08, 2022 11:54 pm)

                                                                                  User avatar
                                                                                  rooted
                                                                                  Posts: 9438
                                                                                  Joined: Fri Dec 19, 2014 9:12 am
                                                                                  languages_spoken: english
                                                                                  Location: Gulf of Mexico, US
                                                                                  Has thanked: 758 times
                                                                                  Been thanked: 479 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by rooted »

                                                                                  Well that is some amazing news, great work.
                                                                                  These users thanked the author rooted for the post:
                                                                                  AreaScout (Sun May 08, 2022 11:30 pm)

                                                                                  AreaScout
                                                                                  Posts: 1793
                                                                                  Joined: Sun Jul 07, 2013 3:05 am
                                                                                  languages_spoken: german, english
                                                                                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                                                  N1, Go, VU5A, Show2, CloudShell2,
                                                                                  H2, N2, VU7A, VuShell, Go2, C4
                                                                                  Has thanked: 120 times
                                                                                  Been thanked: 370 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by AreaScout »

                                                                                  rooted wrote:
                                                                                  Sun May 08, 2022 6:09 am
                                                                                  Well that is some amazing news, great work.
                                                                                  Also testet running KODI GUI on 2160p and it runs smooth :) AND you can chose if you want to run the GUI in 1080p while the Video still runs on 3840x2160, nice because that was new to me, didn't had a 4k Monitor before
                                                                                  Regards,
                                                                                  Daniel
                                                                                  These users thanked the author AreaScout for the post:
                                                                                  odroid (Mon May 09, 2022 9:25 am)

                                                                                  User avatar
                                                                                  rooted
                                                                                  Posts: 9438
                                                                                  Joined: Fri Dec 19, 2014 9:12 am
                                                                                  languages_spoken: english
                                                                                  Location: Gulf of Mexico, US
                                                                                  Has thanked: 758 times
                                                                                  Been thanked: 479 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by rooted »

                                                                                  I will give it a go as soon as I can, will probably be next week sometime.

                                                                                  Yeah I run the Kodi UI in 4K on my N2+ since it has plenty of horsepower and RAM, but honestly it's not that noticeable versus 1080p other than the sizing is a bit different and the thumbnails are a bit clearer.
                                                                                  These users thanked the author rooted for the post:
                                                                                  AreaScout (Tue May 10, 2022 3:13 am)

                                                                                  Luke.go
                                                                                  Posts: 690
                                                                                  Joined: Mon May 30, 2016 1:55 pm
                                                                                  languages_spoken: english
                                                                                  Has thanked: 106 times
                                                                                  Been thanked: 106 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by Luke.go »

                                                                                  Nice works! :)

                                                                                  I tested it with HDR and various audio contents.
                                                                                  HDR function, adjust display refresh rate and many video decoders are okay, But unfortunately audio passthrough look doesn't work.

                                                                                  I can see the notice about dolby digital or like this information from receiver. But sound is broken. :(
                                                                                  I tested audio passthrough from android kodi, it is worked.
                                                                                  Except audio passthrough feature, I really like it all. :D

                                                                                  AreaScout
                                                                                  Posts: 1793
                                                                                  Joined: Sun Jul 07, 2013 3:05 am
                                                                                  languages_spoken: german, english
                                                                                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                                                  N1, Go, VU5A, Show2, CloudShell2,
                                                                                  H2, N2, VU7A, VuShell, Go2, C4
                                                                                  Has thanked: 120 times
                                                                                  Been thanked: 370 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by AreaScout »

                                                                                  Luke.go wrote:
                                                                                  Tue May 10, 2022 3:02 pm
                                                                                  Nice works! :)

                                                                                  I tested it with HDR and various audio contents.
                                                                                  HDR function, adjust display refresh rate and many video decoders are okay, But unfortunately audio passthrough look doesn't work.

                                                                                  I can see the notice about dolby digital or like this information from receiver. But sound is broken. :(
                                                                                  I tested audio passthrough from android kodi, it is worked.
                                                                                  Except audio passthrough feature, I really like it all. :D
                                                                                  Dolby Digital works with Audio Passthrough, I have tested it on my TV, Kodi did show RAW on each channel when pressing the O key with my keyboard and I could hear sound, True HD, DTS, DTS HD I couldn't test because my TV doesn't support it. I only could hear a strange noise, I am sure that with a capable receiver, True HD and DTS will work too

                                                                                  Regards,
                                                                                  Daniel

                                                                                  Luke.go
                                                                                  Posts: 690
                                                                                  Joined: Mon May 30, 2016 1:55 pm
                                                                                  languages_spoken: english
                                                                                  Has thanked: 106 times
                                                                                  Been thanked: 106 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by Luke.go »

                                                                                  hmm.. I just can speak some noise from TV. So I will test it with receiver tomorrow. :)

                                                                                  Luke.go
                                                                                  Posts: 690
                                                                                  Joined: Mon May 30, 2016 1:55 pm
                                                                                  languages_spoken: english
                                                                                  Has thanked: 106 times
                                                                                  Been thanked: 106 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by Luke.go »

                                                                                  I tested with Receiver, And Dolby Atmos+ works. Also Dolby Digital Plus and Dolby Digital are working.
                                                                                  DTS, DTS64/24 also work.
                                                                                  But DTS-HD, dts:X? isn't work. DTS-MA, DTS-HD MA are really doesn't work. True HD also doesn't work in my receiver.

                                                                                  I used yamaha rx-v585. and I just can hear a strange noise.
                                                                                  These users thanked the author Luke.go for the post:
                                                                                  AreaScout (Thu May 12, 2022 3:03 am)

                                                                                  AreaScout
                                                                                  Posts: 1793
                                                                                  Joined: Sun Jul 07, 2013 3:05 am
                                                                                  languages_spoken: german, english
                                                                                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                                                  N1, Go, VU5A, Show2, CloudShell2,
                                                                                  H2, N2, VU7A, VuShell, Go2, C4
                                                                                  Has thanked: 120 times
                                                                                  Been thanked: 370 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by AreaScout »

                                                                                  Luke.go wrote:
                                                                                  Wed May 11, 2022 11:35 am
                                                                                  I tested with Receiver, And Dolby Atmos+ works. Also Dolby Digital Plus and Dolby Digital are working.
                                                                                  DTS, DTS64/24 also work.
                                                                                  But DTS-HD, dts:X? isn't work. DTS-MA, DTS-HD MA are really doesn't work. True HD also doesn't work in my receiver.

                                                                                  I used yamaha rx-v585. and I just can hear a strange noise.
                                                                                  Thank you for your testing :) It would be nice if someone else could also confirm this, I know that kernel 4.19 has the patches for DTS-HD and Dolby TrueHD audio passthrough, btw. kernel 4.19 is really great, VOP2 support which is also new in mainline kernel and a looot of backported patches ! :ugeek:

                                                                                  RG
                                                                                  These users thanked the author AreaScout for the post (total 2):
                                                                                  odroid (Thu May 12, 2022 9:19 am) • Luke.go (Thu May 12, 2022 9:41 am)

                                                                                  sledge42
                                                                                  Posts: 10
                                                                                  Joined: Sun Sep 13, 2020 10:46 pm
                                                                                  languages_spoken: english, german
                                                                                  ODROIDs: XU4Q, C2, M1
                                                                                  Has thanked: 3 times
                                                                                  Been thanked: 0
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by sledge42 »

                                                                                  Hello Daniel,
                                                                                  thanks so much for rescuing us with your project.
                                                                                  I'm just trying to set it up on my brandnew M1 but get an error

                                                                                  Code: Select all

                                                                                  Errors were encountered while processing:
                                                                                   /tmp/apt-dpkg-install-eeVtmN/16-libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm64.deb
                                                                                  
                                                                                  What I did:
                                                                                  • Install ubuntu-20.04-gnome-desktop-odroidm1-20220427.img using petitboot to a m.2 SSD (no SD-card, no emmc inserted)
                                                                                  • (remark: nothing else in between)
                                                                                  • Code: Select all

                                                                                    echo "deb [trusted=yes] https://deb.areascout.at/Ubuntu20_04 ./" > /etc/apt/sources.list.d/areascout.list
                                                                                    sudo apt install ca-certificates && sudo apt update && sudo apt install kodi-bin kodi
                                                                                    
                                                                                  Then I immediately get the above mentioned error.
                                                                                  Detailed log:

                                                                                  Code: Select all

                                                                                  root@gnome-desktop:/home/odroid# sudo apt install ca-certificates && sudo apt update && sudo apt install kodi-bin kodi
                                                                                  Reading package lists... Done
                                                                                  Building dependency tree       
                                                                                  Reading state information... Done
                                                                                  ca-certificates is already the newest version (20210119~20.04.2).
                                                                                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                                                                  Ign:1 https://deb.areascout.at/Ubuntu20_04 ./ InRelease
                                                                                  Ign:2 https://deb.areascout.at/Ubuntu20_04 ./ Release      
                                                                                  Ign:3 https://deb.areascout.at/Ubuntu20_04 ./ Packages     
                                                                                  Ign:4 https://deb.areascout.at/Ubuntu20_04 ./ Translation-en
                                                                                  Ign:3 https://deb.areascout.at/Ubuntu20_04 ./ Packages     
                                                                                  Ign:4 https://deb.areascout.at/Ubuntu20_04 ./ Translation-en
                                                                                  Ign:3 https://deb.areascout.at/Ubuntu20_04 ./ Packages     
                                                                                  Ign:4 https://deb.areascout.at/Ubuntu20_04 ./ Translation-en                   
                                                                                  Get:3 https://deb.areascout.at/Ubuntu20_04 ./ Packages [4526 B]                
                                                                                  Hit:5 http://ports.ubuntu.com/ubuntu-ports focal InRelease                     
                                                                                  Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
                                                                                  Ign:4 https://deb.areascout.at/Ubuntu20_04 ./ Translation-en
                                                                                  Ign:4 https://deb.areascout.at/Ubuntu20_04 ./ Translation-en
                                                                                  Ign:4 https://deb.areascout.at/Ubuntu20_04 ./ Translation-en
                                                                                  Ign:4 https://deb.areascout.at/Ubuntu20_04 ./ Translation-en
                                                                                  Get:7 http://ppa.linuxfactory.or.kr focal InRelease [37.9 kB]
                                                                                  Get:8 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 DEP-11 Metadata [489 kB]
                                                                                  Get:9 http://ports.ubuntu.com/ubuntu-ports focal/main DEP-11 48x48 Icons [98.4 kB]
                                                                                  Get:10 http://ports.ubuntu.com/ubuntu-ports focal/main DEP-11 64x64 Icons [163 kB]
                                                                                  Get:11 http://ports.ubuntu.com/ubuntu-ports focal/multiverse arm64 DEP-11 Metadata [44.9 kB]
                                                                                  Get:12 http://ports.ubuntu.com/ubuntu-ports focal/multiverse DEP-11 48x48 Icons [23.1 kB]
                                                                                  Get:13 http://ports.ubuntu.com/ubuntu-ports focal/multiverse DEP-11 64x64 Icons [192 kB]
                                                                                  Get:14 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 DEP-11 Metadata [3587 kB]
                                                                                  Get:15 http://ports.ubuntu.com/ubuntu-ports focal/universe DEP-11 48x48 Icons [3016 kB]
                                                                                  Get:16 http://ports.ubuntu.com/ubuntu-ports focal/universe DEP-11 64x64 Icons [7794 kB]
                                                                                  Get:17 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Sources [239 kB]
                                                                                  Get:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Sources [477 kB]
                                                                                  Get:19 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [1235 kB]
                                                                                  Get:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en [329 kB]
                                                                                  Get:21 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 DEP-11 Metadata [278 kB]
                                                                                  Get:22 http://ports.ubuntu.com/ubuntu-ports focal-updates/main DEP-11 48x48 Icons [60.8 kB]
                                                                                  Get:23 http://ports.ubuntu.com/ubuntu-ports focal-updates/main DEP-11 64x64 Icons [98.3 kB]
                                                                                  Get:24 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse DEP-11 48x48 Icons [1867 B]
                                                                                  Get:25 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse DEP-11 64x64 Icons [2497 B]
                                                                                  Get:26 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [868 kB]
                                                                                  Get:27 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [206 kB]
                                                                                  Get:28 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 DEP-11 Metadata [389 kB]
                                                                                  Get:29 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe DEP-11 48x48 Icons [257 kB]
                                                                                  Get:30 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe DEP-11 64x64 Icons [458 kB]
                                                                                  Get:31 http://ppa.linuxfactory.or.kr focal/main arm64 Packages [65.4 kB]
                                                                                  Get:32 http://ppa.linuxfactory.or.kr focal/rk3568 arm64 Packages [7122 B]
                                                                                  Fetched 20.5 MB in 7s (3102 kB/s)                                              
                                                                                  Reading package lists... Done
                                                                                  Building dependency tree       
                                                                                  Reading state information... Done
                                                                                  55 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                                                                  Reading package lists... Done
                                                                                  Building dependency tree       
                                                                                  Reading state information... Done
                                                                                  The following additional packages will be installed:
                                                                                    curl libaacs0 libass9 libavahi-compat-libdnssd1 libbdplus0 libbluray2
                                                                                    libcec4 libcrossguid0 libcurl4 libfstrcmp0 libmali-rk-bifrost-g52-g2p0-gbm
                                                                                    libmariadb3 libmicrohttpd12 libp8-platform2 libpcrecpp0v5 librga2
                                                                                    librockchip-mpp1 libshairplay0 libsndio7.0 libtinyxml2.6.2v5 mariadb-common
                                                                                    mesa-utils
                                                                                  Suggested packages:
                                                                                    kodi-pvr-mythtv kodi-pvr-vuplus kodi-pvr-vdr-vnsi kodi-pvr-njoy
                                                                                    kodi-pvr-nextpvr kodi-pvr-mediaportal-tvserver kodi-pvr-tvheadend-hts
                                                                                    kodi-pvr-dvbviewer kodi-pvr-argustv kodi-pvr-iptvsimple
                                                                                    kodi-audioencoder-vorbis kodi-audioencoder-flac kodi-audioencoder-lame
                                                                                    libbluray-bdj sndiod
                                                                                  The following NEW packages will be installed:
                                                                                    curl kodi kodi-bin libaacs0 libass9 libavahi-compat-libdnssd1 libbdplus0
                                                                                    libbluray2 libcec4 libcrossguid0 libfstrcmp0 libmali-rk-bifrost-g52-g2p0-gbm
                                                                                    libmariadb3 libmicrohttpd12 libp8-platform2 libpcrecpp0v5 librga2
                                                                                    librockchip-mpp1 libshairplay0 libsndio7.0 libtinyxml2.6.2v5 mariadb-common
                                                                                    mesa-utils
                                                                                  The following packages will be upgraded:
                                                                                    libcurl4
                                                                                  1 upgraded, 23 newly installed, 0 to remove and 54 not upgraded.
                                                                                  Need to get 49.2 MB of archives.
                                                                                  After this operation, 142 MB of additional disk space will be used.
                                                                                  Do you want to continue? [Y/n]
                                                                                  Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libcurl4 arm64 7.68.0-1ubuntu2.11 [215 kB]
                                                                                  Get:2 https://deb.areascout.at/Ubuntu20_04 ./ libmali-rk-bifrost-g52-g2p0-gbm 1.7-6+deb10 [12.0 MB]
                                                                                  Get:3 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 curl arm64 7.68.0-1ubuntu2.11 [157 kB]
                                                                                  Get:4 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libass9 arm64 1:0.14.0-2 [69.5 kB]
                                                                                  Get:5 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libbluray2 arm64 1:1.2.0-1 [123 kB]
                                                                                  Get:6 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libp8-platform2 arm64 2.1.0.1+dfsg1-3build1 [20.3 kB]
                                                                                  Get:7 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libcec4 arm64 4.0.4+dfsg1-4ubuntu3 [196 kB]
                                                                                  Get:8 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libcrossguid0 arm64 0.0+git200150803-4build1 [7288 B]
                                                                                  Get:9 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libfstrcmp0 arm64 0.7.D001-1.1build1 [7176 B]
                                                                                  Get:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 mariadb-common all 1:10.3.34-0ubuntu0.20.04.1 [15.9 kB]
                                                                                  Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 libmariadb3 arm64 1:10.3.34-0ubuntu0.20.04.1 [145 kB]
                                                                                  Get:12 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libmicrohttpd12 arm64 0.9.66-1 [57.9 kB]
                                                                                  Get:13 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libpcrecpp0v5 arm64 2:8.39-12build1 [14.7 kB]
                                                                                  Get:14 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libsndio7.0 arm64 1.5.0-3 [23.6 kB]
                                                                                  Get:15 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libtinyxml2.6.2v5 arm64 2.6.2-4build1 [28.5 kB]
                                                                                  Get:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libavahi-compat-libdnssd1 arm64 0.7-4ubuntu7.1 [15.1 kB]
                                                                                  Get:17 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mesa-utils arm64 8.4.0-1build1 [32.4 kB]
                                                                                  Get:18 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libaacs0 arm64 0.9.0-2 [46.0 kB]
                                                                                  Get:19 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libbdplus0 arm64 0.1.2-3 [39.2 kB]
                                                                                  Get:20 https://deb.areascout.at/Ubuntu20_04 ./ libshairplay0 0.9.0-1 [353 kB]  
                                                                                  Get:21 https://deb.areascout.at/Ubuntu20_04 ./ kodi-bin 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal [14.7 MB]
                                                                                  Get:22 http://ppa.linuxfactory.or.kr focal/rockchip arm64 librga2 arm64 5:2.1.0-1+202203301152~focal [33.1 kB]
                                                                                  Get:23 https://deb.areascout.at/Ubuntu20_04 ./ kodi 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal [20.4 MB]
                                                                                  Get:24 http://ppa.linuxfactory.or.kr focal/rockchip arm64 librockchip-mpp1 arm64 5:1.5.0-1+202204111620~focal [523 kB]
                                                                                  Fetched 49.2 MB in 2s (26.0 MB/s)                                       
                                                                                  (Reading database ... 97754 files and directories currently installed.)
                                                                                  Preparing to unpack .../00-libcurl4_7.68.0-1ubuntu2.11_arm64.deb ...
                                                                                  Unpacking libcurl4:arm64 (7.68.0-1ubuntu2.11) over (7.68.0-1ubuntu2.7) ...
                                                                                  Selecting previously unselected package curl.
                                                                                  Preparing to unpack .../01-curl_7.68.0-1ubuntu2.11_arm64.deb ...
                                                                                  Unpacking curl (7.68.0-1ubuntu2.11) ...
                                                                                  Selecting previously unselected package libass9:arm64.
                                                                                  Preparing to unpack .../02-libass9_1%3a0.14.0-2_arm64.deb ...
                                                                                  Unpacking libass9:arm64 (1:0.14.0-2) ...
                                                                                  Selecting previously unselected package libbluray2:arm64.
                                                                                  Preparing to unpack .../03-libbluray2_1%3a1.2.0-1_arm64.deb ...
                                                                                  Unpacking libbluray2:arm64 (1:1.2.0-1) ...
                                                                                  Selecting previously unselected package libp8-platform2:arm64.
                                                                                  Preparing to unpack .../04-libp8-platform2_2.1.0.1+dfsg1-3build1_arm64.deb ...
                                                                                  Unpacking libp8-platform2:arm64 (2.1.0.1+dfsg1-3build1) ...
                                                                                  Selecting previously unselected package libcec4:arm64.
                                                                                  Preparing to unpack .../05-libcec4_4.0.4+dfsg1-4ubuntu3_arm64.deb ...
                                                                                  Unpacking libcec4:arm64 (4.0.4+dfsg1-4ubuntu3) ...
                                                                                  Selecting previously unselected package libcrossguid0:arm64.
                                                                                  Preparing to unpack .../06-libcrossguid0_0.0+git200150803-4build1_arm64.deb ...
                                                                                  Unpacking libcrossguid0:arm64 (0.0+git200150803-4build1) ...
                                                                                  Selecting previously unselected package libfstrcmp0.
                                                                                  Preparing to unpack .../07-libfstrcmp0_0.7.D001-1.1build1_arm64.deb ...
                                                                                  Unpacking libfstrcmp0 (0.7.D001-1.1build1) ...
                                                                                  Selecting previously unselected package mariadb-common.
                                                                                  Preparing to unpack .../08-mariadb-common_1%3a10.3.34-0ubuntu0.20.04.1_all.deb .
                                                                                  ..
                                                                                  Unpacking mariadb-common (1:10.3.34-0ubuntu0.20.04.1) ...
                                                                                  Selecting previously unselected package libmariadb3:arm64.
                                                                                  Preparing to unpack .../09-libmariadb3_1%3a10.3.34-0ubuntu0.20.04.1_arm64.deb ..
                                                                                  .
                                                                                  Unpacking libmariadb3:arm64 (1:10.3.34-0ubuntu0.20.04.1) ...
                                                                                  Selecting previously unselected package libmicrohttpd12.
                                                                                  Preparing to unpack .../10-libmicrohttpd12_0.9.66-1_arm64.deb ...
                                                                                  Unpacking libmicrohttpd12 (0.9.66-1) ...
                                                                                  Selecting previously unselected package libpcrecpp0v5:arm64.
                                                                                  Preparing to unpack .../11-libpcrecpp0v5_2%3a8.39-12build1_arm64.deb ...
                                                                                  Unpacking libpcrecpp0v5:arm64 (2:8.39-12build1) ...
                                                                                  Selecting previously unselected package librga2.
                                                                                  Preparing to unpack .../12-librga2_5%3a2.1.0-1+202203301152~focal_arm64.deb ...
                                                                                  Unpacking librga2 (5:2.1.0-1+202203301152~focal) ...
                                                                                  Selecting previously unselected package librockchip-mpp1.
                                                                                  Preparing to unpack .../13-librockchip-mpp1_5%3a1.5.0-1+202204111620~focal_arm64
                                                                                  .deb ...
                                                                                  Unpacking librockchip-mpp1 (5:1.5.0-1+202204111620~focal) ...
                                                                                  Selecting previously unselected package libsndio7.0:arm64.
                                                                                  Preparing to unpack .../14-libsndio7.0_1.5.0-3_arm64.deb ...
                                                                                  Unpacking libsndio7.0:arm64 (1.5.0-3) ...
                                                                                  Selecting previously unselected package libtinyxml2.6.2v5:arm64.
                                                                                  Preparing to unpack .../15-libtinyxml2.6.2v5_2.6.2-4build1_arm64.deb ...
                                                                                  Unpacking libtinyxml2.6.2v5:arm64 (2.6.2-4build1) ...
                                                                                  Selecting previously unselected package libmali-rk-bifrost-g52-g2p0-gbm:arm64.
                                                                                  Preparing to unpack .../16-libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm64.deb
                                                                                   ...
                                                                                  Unpacking libmali-rk-bifrost-g52-g2p0-gbm:arm64 (1.7-6+deb10) ...
                                                                                  Replacing files in old package libegl1:arm64 (1.3.2-1~ubuntu0.20.04.2) ...
                                                                                  dpkg: error processing archive /tmp/apt-dpkg-install-eeVtmN/16-libmali-rk-bifros
                                                                                  t-g52-g2p0-gbm_1.7-6+deb10_arm64.deb (--unpack):
                                                                                   unable to make backup link of './usr/lib/aarch64-linux-gnu/libEGL.so.1.1.0' bef
                                                                                  ore installing new version: Invalid cross-device link
                                                                                  Selecting previously unselected package libavahi-compat-libdnssd1:arm64.
                                                                                  Preparing to unpack .../17-libavahi-compat-libdnssd1_0.7-4ubuntu7.1_arm64.deb ..
                                                                                  .
                                                                                  Unpacking libavahi-compat-libdnssd1:arm64 (0.7-4ubuntu7.1) ...
                                                                                  Selecting previously unselected package libshairplay0.
                                                                                  Preparing to unpack .../18-libshairplay0_0.9.0-1_arm64.deb ...
                                                                                  Unpacking libshairplay0 (0.9.0-1) ...
                                                                                  Selecting previously unselected package kodi-bin.
                                                                                  Preparing to unpack .../19-kodi-bin_2%3a19.4~git20220507.1256-b9f2909137-dirty-1
                                                                                  ~focal_arm64.deb ...
                                                                                  Unpacking kodi-bin (2:19.4~git20220507.1256-b9f2909137-dirty-1~focal) ...
                                                                                  Selecting previously unselected package mesa-utils.
                                                                                  Preparing to unpack .../20-mesa-utils_8.4.0-1build1_arm64.deb ...
                                                                                  Unpacking mesa-utils (8.4.0-1build1) ...
                                                                                  Selecting previously unselected package libaacs0:arm64.
                                                                                  Preparing to unpack .../21-libaacs0_0.9.0-2_arm64.deb ...
                                                                                  Unpacking libaacs0:arm64 (0.9.0-2) ...
                                                                                  Selecting previously unselected package kodi.
                                                                                  Preparing to unpack .../22-kodi_2%3a19.4~git20220507.1256-b9f2909137-dirty-1~foc
                                                                                  al_all.deb ...
                                                                                  Unpacking kodi (2:19.4~git20220507.1256-b9f2909137-dirty-1~focal) ...
                                                                                  Selecting previously unselected package libbdplus0:arm64.
                                                                                  Preparing to unpack .../23-libbdplus0_0.1.2-3_arm64.deb ...
                                                                                  Unpacking libbdplus0:arm64 (0.1.2-3) ...
                                                                                  Errors were encountered while processing:
                                                                                   /tmp/apt-dpkg-install-eeVtmN/16-libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm
                                                                                  64.deb
                                                                                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                                                                                  
                                                                                  I also tried to install the problematic lib indivially, which resulted in the same error:

                                                                                  Code: Select all

                                                                                  root@gnome-desktop:/home/odroid# apt-get install libmali-rk-bifrost-g52-g2p0-gbm
                                                                                  Reading package lists... Done
                                                                                  Building dependency tree       
                                                                                  Reading state information... Done
                                                                                  The following NEW packages will be installed:
                                                                                    libmali-rk-bifrost-g52-g2p0-gbm
                                                                                  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                                                                                  16 not fully installed or removed.
                                                                                  Need to get 0 B/12.0 MB of archives.
                                                                                  After this operation, 38.9 MB of additional disk space will be used.
                                                                                  (Reading database ... 109945 files and directories currently installed.)
                                                                                  Preparing to unpack .../libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm64.deb ...
                                                                                  Unpacking libmali-rk-bifrost-g52-g2p0-gbm:arm64 (1.7-6+deb10) ...
                                                                                  Replacing files in old package libegl1:arm64 (1.3.2-1~ubuntu0.20.04.2) ...
                                                                                  dpkg: error processing archive /var/cache/apt/archives/libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm64.deb (--unpack):
                                                                                   unable to make backup link of './usr/lib/aarch64-linux-gnu/libEGL.so.1.1.0' before installing new version: Invalid cross-device link
                                                                                  Errors were encountered while processing:
                                                                                   /var/cache/apt/archives/libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm64.deb
                                                                                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                                                                                  
                                                                                  Eventually this could lead to the source of the problem:

                                                                                  Code: Select all

                                                                                   unable to make backup link of './usr/lib/aarch64-linux-gnu/libEGL.so.1.1.0' before installing new version: Invalid cross-device link
                                                                                  Any help/ideas how to fix this would be more than welcome ;-)

                                                                                  AreaScout
                                                                                  Posts: 1793
                                                                                  Joined: Sun Jul 07, 2013 3:05 am
                                                                                  languages_spoken: german, english
                                                                                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                                                  N1, Go, VU5A, Show2, CloudShell2,
                                                                                  H2, N2, VU7A, VuShell, Go2, C4
                                                                                  Has thanked: 120 times
                                                                                  Been thanked: 370 times
                                                                                  Contact:

                                                                                  Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                  Post by AreaScout »

                                                                                    The package libegl1 and libegl-mali-xlnx is also providing this library, try to remove this packages (if installed) with sudo apt remove libegl-mali-xlnx and sudo apt remove libegl1 normally the later shouldn't make any conflicts because I have it in my replace list inside the control file of the package

                                                                                    Hope that helps

                                                                                    Regards,
                                                                                    Daniel

                                                                                    sledge42
                                                                                    Posts: 10
                                                                                    Joined: Sun Sep 13, 2020 10:46 pm
                                                                                    languages_spoken: english, german
                                                                                    ODROIDs: XU4Q, C2, M1
                                                                                    Has thanked: 3 times
                                                                                    Been thanked: 0
                                                                                    Contact:

                                                                                    Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                    Post by sledge42 »

                                                                                    Hello Daniel,

                                                                                    thanks so much for your quick response.
                                                                                    Unfortunately it still does not work.

                                                                                    Eventually interesting:

                                                                                    Code: Select all

                                                                                    grep -C 5 -R libmali /var/log/
                                                                                    ...
                                                                                    /var/log/dmesg:[    4.243858] systemd[1]: /lib/systemd/system/libmali-setup.service:2: Unknown key name 'Descript' in section 'Unit', ignoring.
                                                                                    ...
                                                                                    Fixed this from
                                                                                    Descrip=Mali userspace driver setup
                                                                                    -->
                                                                                    Description=Mali userspace driver setup

                                                                                    Rebooted.

                                                                                    Now the service is running:

                                                                                    Code: Select all

                                                                                    root@gnome-desktop:/home/odroid# systemctl status libmali-setup.service
                                                                                    ● libmali-setup.service - Mali userspace driver setup
                                                                                         Loaded: loaded (/lib/systemd/system/libmali-setup.service; enabled; vendor preset: enabled)
                                                                                         Active: inactive (dead) since Fri 2022-05-13 07:44:42 UTC; 9min ago
                                                                                        Process: 454 ExecStart=/usr/sbin/libmali-setup (code=exited, status=0/SUCCESS)
                                                                                       Main PID: 454 (code=exited, status=0/SUCCESS)
                                                                                    
                                                                                    May 13 07:44:40 gnome-desktop systemd[1]: Started Mali userspace driver setup.
                                                                                    May 13 07:44:42 gnome-desktop systemd[1]: libmali-setup.service: Succeeded.
                                                                                    

                                                                                    Code: Select all

                                                                                    grep -C 5 -R libmali /var/log/ > /media/odroid/usb-hd/share/kodi/2022-05-13\ answer/libmali-after-serice-fix.log

                                                                                    libmali-after-serice-fix.log see https://pastebin.com/irebMtDF . Unfortunately this did not change anything.

                                                                                    Any other ideas? Eventually something to be installed manually?

                                                                                    Cheers, Chris

                                                                                    Here are the logs for the commands you recommended:

                                                                                    Code: Select all

                                                                                    root@gnome-desktop:/home/odroid# sudo apt remove libegl-mali-xlnx
                                                                                    
                                                                                    Reading package lists... Done
                                                                                    Building dependency tree       
                                                                                    Reading state information... Done
                                                                                    Package 'libegl-mali-xlnx' is not installed, so not removed
                                                                                    You might want to run 'apt --fix-broken install' to correct these.
                                                                                    The following packages have unmet dependencies:
                                                                                     kodi-bin : Depends: libmali-rk-bifrost-g52-g2p0-gbm (>= 1.7) but it is not going to be installed
                                                                                    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

                                                                                    Code: Select all

                                                                                    root@gnome-desktop:/home/odroid# sudo apt remove libegl1
                                                                                    
                                                                                    Reading package lists... Done
                                                                                    Building dependency tree       
                                                                                    Reading state information... Done
                                                                                    You might want to run 'apt --fix-broken install' to correct these.
                                                                                    The following packages have unmet dependencies:
                                                                                     gnome-session-bin : Depends: libegl1
                                                                                     kodi-bin : Depends: libmali-rk-bifrost-g52-g2p0-gbm (>= 1.7) but it is not going to be installed
                                                                                     libcogl20 : Depends: libegl1
                                                                                     libgstreamer-gl1.0-0 : Depends: libegl1
                                                                                     libmutter-6-0 : Depends: libegl1
                                                                                     libwebkit2gtk-4.0-37 : Depends: libegl1
                                                                                     xserver-xorg-core : Depends: libegl1
                                                                                    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

                                                                                    Code: Select all

                                                                                    root@gnome-desktop:/home/odroid# apt --fix-broken install
                                                                                    
                                                                                    Reading package lists... Done
                                                                                    Building dependency tree       
                                                                                    Reading state information... Done
                                                                                    Correcting dependencies... Done
                                                                                    The following additional packages will be installed:
                                                                                      libmali-rk-bifrost-g52-g2p0-gbm
                                                                                    The following NEW packages will be installed:
                                                                                      libmali-rk-bifrost-g52-g2p0-gbm
                                                                                    0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.
                                                                                    23 not fully installed or removed.
                                                                                    Need to get 0 B/12.0 MB of archives.
                                                                                    After this operation, 38.9 MB of additional disk space will be used.
                                                                                    Do you want to continue? [Y/n] 
                                                                                    (Reading database ... 100793 files and directories currently installed.)
                                                                                    Preparing to unpack .../libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm64.deb ..
                                                                                    .
                                                                                    Unpacking libmali-rk-bifrost-g52-g2p0-gbm:arm64 (1.7-6+deb10) ...
                                                                                    Replacing files in old package libegl1:arm64 (1.3.2-1~ubuntu0.20.04.2) ...
                                                                                    dpkg: error processing archive /var/cache/apt/archives/libmali-rk-bifrost-g52-g2
                                                                                    p0-gbm_1.7-6+deb10_arm64.deb (--unpack):
                                                                                     unable to make backup link of './usr/lib/aarch64-linux-gnu/libEGL.so.1.1.0' bef
                                                                                    ore installing new version: Invalid cross-device link
                                                                                    Errors were encountered while processing:
                                                                                     /var/cache/apt/archives/libmali-rk-bifrost-g52-g2p0-gbm_1.7-6+deb10_arm64.deb
                                                                                    E: Sub-process /usr/bin/dpkg returned an error code (1)
                                                                                    

                                                                                    Code: Select all

                                                                                    Snippet from /var/log/dpkg.log
                                                                                    
                                                                                    2022-05-13 07:10:30 startup archives unpack
                                                                                    2022-05-13 07:10:30 upgrade libcurl4:arm64 7.68.0-1ubuntu2.7 7.68.0-1ubuntu2.11
                                                                                    2022-05-13 07:10:30 status triggers-pending libc-bin:arm64 2.31-0ubuntu9.7
                                                                                    2022-05-13 07:10:30 status half-configured libcurl4:arm64 7.68.0-1ubuntu2.7
                                                                                    2022-05-13 07:10:30 status unpacked libcurl4:arm64 7.68.0-1ubuntu2.7
                                                                                    2022-05-13 07:10:30 status half-installed libcurl4:arm64 7.68.0-1ubuntu2.7
                                                                                    2022-05-13 07:10:31 status unpacked libcurl4:arm64 7.68.0-1ubuntu2.11
                                                                                    2022-05-13 07:10:31 install curl:arm64 <none> 7.68.0-1ubuntu2.11
                                                                                    2022-05-13 07:10:31 status half-installed curl:arm64 7.68.0-1ubuntu2.11
                                                                                    2022-05-13 07:10:31 status triggers-pending man-db:arm64 2.9.1-1
                                                                                    2022-05-13 07:10:31 status unpacked curl:arm64 7.68.0-1ubuntu2.11
                                                                                    2022-05-13 07:10:31 install libass9:arm64 <none> 1:0.14.0-2
                                                                                    2022-05-13 07:10:31 status half-installed libass9:arm64 1:0.14.0-2
                                                                                    2022-05-13 07:10:31 status unpacked libass9:arm64 1:0.14.0-2
                                                                                    2022-05-13 07:10:31 install libbluray2:arm64 <none> 1:1.2.0-1
                                                                                    2022-05-13 07:10:31 status half-installed libbluray2:arm64 1:1.2.0-1
                                                                                    2022-05-13 07:10:31 status unpacked libbluray2:arm64 1:1.2.0-1
                                                                                    2022-05-13 07:10:31 install libp8-platform2:arm64 <none> 2.1.0.1+dfsg1-3build1
                                                                                    2022-05-13 07:10:31 status half-installed libp8-platform2:arm64 2.1.0.1+dfsg1-3build1
                                                                                    2022-05-13 07:10:31 status unpacked libp8-platform2:arm64 2.1.0.1+dfsg1-3build1
                                                                                    2022-05-13 07:10:31 install libcec4:arm64 <none> 4.0.4+dfsg1-4ubuntu3
                                                                                    2022-05-13 07:10:31 status half-installed libcec4:arm64 4.0.4+dfsg1-4ubuntu3
                                                                                    2022-05-13 07:10:31 status unpacked libcec4:arm64 4.0.4+dfsg1-4ubuntu3
                                                                                    2022-05-13 07:10:32 install libcrossguid0:arm64 <none> 0.0+git200150803-4build1
                                                                                    2022-05-13 07:10:32 status half-installed libcrossguid0:arm64 0.0+git200150803-4build1
                                                                                    2022-05-13 07:10:32 status unpacked libcrossguid0:arm64 0.0+git200150803-4build1
                                                                                    2022-05-13 07:10:32 install libfstrcmp0:arm64 <none> 0.7.D001-1.1build1
                                                                                    2022-05-13 07:10:32 status half-installed libfstrcmp0:arm64 0.7.D001-1.1build1
                                                                                    2022-05-13 07:10:32 status unpacked libfstrcmp0:arm64 0.7.D001-1.1build1
                                                                                    2022-05-13 07:10:32 install mariadb-common:all <none> 1:10.3.34-0ubuntu0.20.04.1
                                                                                    2022-05-13 07:10:32 status half-installed mariadb-common:all 1:10.3.34-0ubuntu0.20.04.1
                                                                                    2022-05-13 07:10:32 status unpacked mariadb-common:all 1:10.3.34-0ubuntu0.20.04.1
                                                                                    2022-05-13 07:10:32 install libmariadb3:arm64 <none> 1:10.3.34-0ubuntu0.20.04.1
                                                                                    2022-05-13 07:10:32 status half-installed libmariadb3:arm64 1:10.3.34-0ubuntu0.20.04.1
                                                                                    2022-05-13 07:10:32 status unpacked libmariadb3:arm64 1:10.3.34-0ubuntu0.20.04.1
                                                                                    2022-05-13 07:10:32 install libmicrohttpd12:arm64 <none> 0.9.66-1
                                                                                    2022-05-13 07:10:32 status half-installed libmicrohttpd12:arm64 0.9.66-1
                                                                                    2022-05-13 07:10:32 status unpacked libmicrohttpd12:arm64 0.9.66-1
                                                                                    2022-05-13 07:10:32 install libpcrecpp0v5:arm64 <none> 2:8.39-12build1
                                                                                    2022-05-13 07:10:32 status half-installed libpcrecpp0v5:arm64 2:8.39-12build1
                                                                                    2022-05-13 07:10:32 status unpacked libpcrecpp0v5:arm64 2:8.39-12build1
                                                                                    2022-05-13 07:10:33 install librga2:arm64 <none> 5:2.1.0-1+202203301152~focal
                                                                                    2022-05-13 07:10:33 status half-installed librga2:arm64 5:2.1.0-1+202203301152~focal
                                                                                    2022-05-13 07:10:33 status unpacked librga2:arm64 5:2.1.0-1+202203301152~focal
                                                                                    2022-05-13 07:10:33 install librockchip-mpp1:arm64 <none> 5:1.5.0-1+202204111620~focal
                                                                                    2022-05-13 07:10:33 status half-installed librockchip-mpp1:arm64 5:1.5.0-1+202204111620~focal
                                                                                    2022-05-13 07:10:33 status unpacked librockchip-mpp1:arm64 5:1.5.0-1+202204111620~focal
                                                                                    2022-05-13 07:10:33 install libsndio7.0:arm64 <none> 1.5.0-3
                                                                                    2022-05-13 07:10:33 status half-installed libsndio7.0:arm64 1.5.0-3
                                                                                    2022-05-13 07:10:33 status unpacked libsndio7.0:arm64 1.5.0-3
                                                                                    2022-05-13 07:10:33 install libtinyxml2.6.2v5:arm64 <none> 2.6.2-4build1
                                                                                    2022-05-13 07:10:33 status half-installed libtinyxml2.6.2v5:arm64 2.6.2-4build1
                                                                                    2022-05-13 07:10:33 status unpacked libtinyxml2.6.2v5:arm64 2.6.2-4build1
                                                                                    2022-05-13 07:10:33 install libmali-rk-bifrost-g52-g2p0-gbm:arm64 <none> 1.7-6+deb10
                                                                                    2022-05-13 07:10:33 status half-installed libmali-rk-bifrost-g52-g2p0-gbm:arm64 1.7-6+deb10
                                                                                    2022-05-13 07:10:37 status not-installed libmali-rk-bifrost-g52-g2p0-gbm:arm64 <none>
                                                                                    2022-05-13 07:10:38 install libavahi-compat-libdnssd1:arm64 <none> 0.7-4ubuntu7.1
                                                                                    2022-05-13 07:10:38 status half-installed libavahi-compat-libdnssd1:arm64 0.7-4ubuntu7.1
                                                                                    2022-05-13 07:10:38 status unpacked libavahi-compat-libdnssd1:arm64 0.7-4ubuntu7.1
                                                                                    2022-05-13 07:10:38 install libshairplay0:arm64 <none> 0.9.0-1
                                                                                    2022-05-13 07:10:38 status half-installed libshairplay0:arm64 0.9.0-1
                                                                                    2022-05-13 07:10:38 status unpacked libshairplay0:arm64 0.9.0-1
                                                                                    2022-05-13 07:10:38 install kodi-bin:arm64 <none> 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal
                                                                                    2022-05-13 07:10:38 status half-installed kodi-bin:arm64 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal
                                                                                    2022-05-13 07:10:42 status unpacked kodi-bin:arm64 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal
                                                                                    2022-05-13 07:10:42 install mesa-utils:arm64 <none> 8.4.0-1build1
                                                                                    2022-05-13 07:10:42 status half-installed mesa-utils:arm64 8.4.0-1build1
                                                                                    2022-05-13 07:10:42 status unpacked mesa-utils:arm64 8.4.0-1build1
                                                                                    2022-05-13 07:10:42 install libaacs0:arm64 <none> 0.9.0-2
                                                                                    2022-05-13 07:10:42 status half-installed libaacs0:arm64 0.9.0-2
                                                                                    2022-05-13 07:10:42 status unpacked libaacs0:arm64 0.9.0-2
                                                                                    2022-05-13 07:10:42 install kodi:all <none> 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal
                                                                                    2022-05-13 07:10:42 status half-installed kodi:all 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal
                                                                                    2022-05-13 07:10:42 status triggers-pending gnome-menus:arm64 3.36.0-1ubuntu1
                                                                                    2022-05-13 07:10:42 status triggers-pending desktop-file-utils:arm64 0.24-1ubuntu3
                                                                                    2022-05-13 07:10:42 status triggers-pending mime-support:all 3.64ubuntu1
                                                                                    2022-05-13 07:10:42 status triggers-pending hicolor-icon-theme:all 0.17-2
                                                                                    2022-05-13 07:10:47 status unpacked kodi:all 2:19.4~git20220507.1256-b9f2909137-dirty-1~focal
                                                                                    2022-05-13 07:10:47 install libbdplus0:arm64 <none> 0.1.2-3
                                                                                    2022-05-13 07:10:47 status half-installed libbdplus0:arm64 0.1.2-3
                                                                                    2022-05-13 07:10:47 status unpacked libbdplus0:arm64 0.1.2-3
                                                                                    2022-05-13 07:13:22 startup archives unpack
                                                                                    2022-05-13 07:13:23 install libmali-rk-bifrost-g52-g2p0-gbm:arm64 <none> 1.7-6+deb10
                                                                                    2022-05-13 07:13:23 status half-installed libmali-rk-bifrost-g52-g2p0-gbm:arm64 1.7-6+deb10
                                                                                    2022-05-13 07:13:25 status not-installed libmali-rk-bifrost-g52-g2p0-gbm:arm64 <none>
                                                                                    
                                                                                    

                                                                                    AreaScout
                                                                                    Posts: 1793
                                                                                    Joined: Sun Jul 07, 2013 3:05 am
                                                                                    languages_spoken: german, english
                                                                                    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                                                    N1, Go, VU5A, Show2, CloudShell2,
                                                                                    H2, N2, VU7A, VuShell, Go2, C4
                                                                                    Has thanked: 120 times
                                                                                    Been thanked: 370 times
                                                                                    Contact:

                                                                                    Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                    Post by AreaScout »

                                                                                    sledge42 wrote:
                                                                                    Fri May 13, 2022 4:58 pm
                                                                                    Reading package lists... Done
                                                                                    Building dependency tree
                                                                                    Reading state information... Done
                                                                                    You might want to run 'apt --fix-broken install' to correct these.
                                                                                    The following packages have unmet dependencies:
                                                                                    gnome-session-bin : Depends: libegl1
                                                                                    kodi-bin : Depends: libmali-rk-bifrost-g52-g2p0-gbm (>= 1.7) but it is not going to be installed
                                                                                    libcogl20 : Depends: libegl1
                                                                                    libgstreamer-gl1.0-0 : Depends: libegl1
                                                                                    libmutter-6-0 : Depends: libegl1
                                                                                    libwebkit2gtk-4.0-37 : Depends: libegl1
                                                                                    xserver-xorg-core : Depends: libegl1
                                                                                    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

                                                                                    Code: Select all

                                                                                    root@gnome-desktop:/home/odroid# apt --fix-broken install
                                                                                    @sledge42

                                                                                    Ahh ! This Kodi version is not for the Desktop version, it's only for the Server Image ! see first post ->

                                                                                    !!! This post and the whole forum thread is for Kodi Releases installed under the official Hardkernel Ubuntu Server Image :) !!!

                                                                                    Here you can download the image

                                                                                    https://dn.odroid.com/RK3568/ODROID-M1/ ... 427.img.xz

                                                                                    edit: It's console image only, you have to start kodi manually or setup it by yourself to autostart -> see first post

                                                                                    Regards,
                                                                                    Daniel
                                                                                    These users thanked the author AreaScout for the post (total 2):
                                                                                    odroid (Fri May 13, 2022 11:20 pm) • sledge42 (Sat May 14, 2022 3:44 pm)

                                                                                    sledge42
                                                                                    Posts: 10
                                                                                    Joined: Sun Sep 13, 2020 10:46 pm
                                                                                    languages_spoken: english, german
                                                                                    ODROIDs: XU4Q, C2, M1
                                                                                    Has thanked: 3 times
                                                                                    Been thanked: 0
                                                                                    Contact:

                                                                                    Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                    Post by sledge42 »

                                                                                    Hello Daniel,

                                                                                    you are so right ;-)
                                                                                    I used the wrong image.

                                                                                    Now KODI is working and can perfectly play at least Codec: H264 - MPEG-4 AVC (part 10) (h264) / Videoauflösung: 1280x720
                                                                                    I have problems to play Codec: MPEG-1/2 Video (mpgv) / Videoauflösung: 720x576
                                                                                    and will investigate a little bit more in the next days, what plays and what does not play...

                                                                                    Best Regards,
                                                                                    Chris

                                                                                    AreaScout
                                                                                    Posts: 1793
                                                                                    Joined: Sun Jul 07, 2013 3:05 am
                                                                                    languages_spoken: german, english
                                                                                    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                                                                    N1, Go, VU5A, Show2, CloudShell2,
                                                                                    H2, N2, VU7A, VuShell, Go2, C4
                                                                                    Has thanked: 120 times
                                                                                    Been thanked: 370 times
                                                                                    Contact:

                                                                                    Re: Kodi Matrix 19.4 arm64, Kodi Matrix 19.4 32bit, Kodi Leia 18.9 32bit, Kodi 20.0 Alpha

                                                                                    Post by AreaScout »

                                                                                    sledge42 wrote:
                                                                                    Sat May 14, 2022 5:16 am
                                                                                    Hello Daniel,

                                                                                    you are so right ;-)
                                                                                    I used the wrong image.

                                                                                    Now KODI is working and can perfectly play at least Codec: H264 - MPEG-4 AVC (part 10) (h264) / Videoauflösung: 1280x720
                                                                                    I have problems to play Codec: MPEG-1/2 Video (mpgv) / Videoauflösung: 720x576
                                                                                    and will investigate a little bit more in the next days, what plays and what does not play...

                                                                                    Best Regards,
                                                                                    Chris
                                                                                    Hi Chris

                                                                                    Cool ! Don't be shy and try also 2160p contains ;) drmPRIME renderer has to be enabled and direct2plane selected (it's default thought), if you have problems with MPEG-1/2 contains just disable the drmPRIME renderer and you will get SW FFmpeg, which has the best compatibility with older codecs :ugeek:

                                                                                    @all

                                                                                    I have uploaded kodi-inputstream-adaptive to my package server (for KODI 32bit) and got Netflix working, the picture quality is better than the one I saw on XU4, brighter colors and sharper picture, Audio-Passthrough is also working now for non-root user, so it is also a better Audio experience, will do an HowTo install soon
                                                                                      netfl.png
                                                                                      netfl.png (71.51 KiB) Viewed 176 times
                                                                                        Regards,
                                                                                        Daniel
                                                                                        These users thanked the author AreaScout for the post:
                                                                                        odroid (Sat May 14, 2022 7:06 pm)

                                                                                        Post Reply

                                                                                        Return to “Projects”

                                                                                        Who is online

                                                                                        Users browsing this forum: No registered users and 0 guests