Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

meaz
Posts: 37
Joined: Fri Apr 12, 2019 5:49 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by meaz » Mon Jun 10, 2019 3:21 pm

meveric wrote:
Mon Jun 10, 2019 3:46 am
I also have a Kodi 18 for Debian Stretch
How could I get it too? with

Code: Select all

setup-odroid
kodi 17 is installed on your stretch image.

As for the sample, here you go:https://upload.disroot.org/r/GzRQtwJh#D ... TusbQxFKQ=.

User avatar
meveric
Posts: 10523
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105)
Has thanked: 17 times
Been thanked: 148 times
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by meveric » Mon Jun 10, 2019 3:41 pm

I wrote about that in another thread.
It's currently a testing package and can be found here: https://oph.mdrjr.net/meveric/other/tes ... _armhf.deb
It uses OpenGL to run on Desktops and uses gl4es to run it on ODROIDs.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

meaz
Posts: 37
Joined: Fri Apr 12, 2019 5:49 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by meaz » Mon Jun 10, 2019 4:13 pm

Cool! I didn't see this thread. Where is it?

User avatar
meveric
Posts: 10523
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105)
Has thanked: 17 times
Been thanked: 148 times
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by meveric » Mon Jun 10, 2019 6:10 pm

meaz wrote:
Mon Jun 10, 2019 4:13 pm
Cool! I didn't see this thread. Where is it?
viewtopic.php?p=255097#p255097 and following posts.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

meaz
Posts: 37
Joined: Fri Apr 12, 2019 5:49 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by meaz » Wed Jun 12, 2019 1:46 am

I've just realized the link to the sample of the not-working video isn't valid...
Here is the good one: https://upload.disroot.org/r/YUI9fkMB#u ... 3cKSDLyS8=

User avatar
AreaScout
Posts: 1079
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
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by AreaScout » Wed Jun 12, 2019 3:28 am

meaz wrote:
Wed Jun 12, 2019 1:46 am
I've just realized the link to the sample of the not-working video isn't valid...
Here is the good one: https://upload.disroot.org/r/YUI9fkMB#u ... 3cKSDLyS8=
Ah yes, now the download is working :)

No sorry you must have found a bug in the exynos HW decoder with your video file or you have just a bad encoded file, I get this error from FFmpeg

[mpeg4 @ 0000018a5eba3480] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.

But stream copy it with the mpeg4_unpack_bframes option does not make it playable, I had to re-encode it with

ffmpeg -i output.mp4 -c:v libx264 -profile:v high -level:v 4.0 -c:a copy output_new.mp4

After that the video file was working, so to watch that file you would have to transcode it :?

RG

bruno
Posts: 8
Joined: Tue Mar 15, 2016 7:42 pm
languages_spoken: french
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by bruno » Sat Jun 15, 2019 10:21 pm

Thank you for this work

I followed the instructions for Kodi.

For Nextflix, i have installed with apt python-pip, with pip, cryptodomex

with Kodi i found kodi-six addon.
I found a netflix addon
I can connect to netflix with mail/password and view netflix/profil.

My problem, InputStream Helper can not install libwidevinecdm.so. Download ChromeOs recovery seem good, i agree the license and when it tell me to wait 10 minutes --> Nothing

i have a another libwidevinecdm.so (md5sum : aa2dc016fe981fa431bd60315b1c9238). i try to put in /home/.kodi/cdm but kodi want to update, and it does not work.

Any idea ?

PS: Sorry, i am french and my English is not very good.

User avatar
AreaScout
Posts: 1079
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
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by AreaScout » Sat Jun 15, 2019 10:41 pm

bruno wrote:
Sat Jun 15, 2019 10:21 pm
Thank you for this work

I followed the instructions for Kodi.

For Nextflix, i have installed with apt python-pip, with pip, cryptodomex

with Kodi i found kodi-six addon.
I found a netflix addon
I can connect to netflix with mail/password and view netflix/profil.

My problem, InputStream Helper can not install libwidevinecdm.so. Download ChromeOs recovery seem good, i agree the license and when it tell me to wait 10 minutes --> Nothing

i have a another libwidevinecdm.so (md5sum : aa2dc016fe981fa431bd60315b1c9238). i try to put in /home/.kodi/cdm but kodi want to update, and it does not work.

Any idea ?

PS: Sorry, i am french and my English is not very good.
Did you edit /usr/bin/kodi file and write export PATH=$PATH:/sbin somewhere on top of the file ?

Does your /etc/sudoers file look like this?

Code: Select all

#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults	env_reset
Defaults	mail_badpass
Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root	ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo	ALL=(ALL:ALL) ALL
odroid ALL = NOPASSWD: /bin/umount, /bin/mount, /sbin/losetup, /sbin/fdisk, /sbin/parted, /sbin/modprobe
# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
RG
Last edited by AreaScout on Sun Jun 16, 2019 3:51 pm, edited 1 time in total.

bruno
Posts: 8
Joined: Tue Mar 15, 2016 7:42 pm
languages_spoken: french
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by bruno » Sat Jun 15, 2019 10:58 pm

Did you edit /usr/bin/kodi file and write export PATH=$PATH:/sbin somewhere on top of the file ?
No
Does your /etc/sudoers file look like this?
No

Thanks, i try it.

bruno
Posts: 8
Joined: Tue Mar 15, 2016 7:42 pm
languages_spoken: french
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by bruno » Sat Jun 15, 2019 11:37 pm

Thanks, it's work !

User avatar
AreaScout
Posts: 1079
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
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: Kodi 18.2 final packages + mali gbm driver testing on Ubuntu 18.04 minimal image

Unread post by AreaScout » Sun Jun 16, 2019 12:36 am

bruno wrote:
Sat Jun 15, 2019 11:37 pm
Thanks, it's work !
Cool 8-) Have fun !

User avatar
AreaScout
Posts: 1079
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
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: Kodi 18.2 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

Unread post by AreaScout » Sat Jun 22, 2019 8:22 pm

@all

NEW Kodi 18.3 to download !


What's new or inside beside the changes from 18.2 to 18.3 ?

inputstream.adaptive (2.3.22)
script.module.inputstreamhelper (download libvidewine)
visualization.shadertoy
visualization.spectrum
visualization.waveform

Howto download ? Please read/follow the first thread ;)

Have fun
These users thanked the author AreaScout for the post:
odroid (Mon Jun 24, 2019 9:08 am)

hemuveg
Posts: 6
Joined: Wed Jul 03, 2019 4:11 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Kodi 18.2 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

Unread post by hemuveg » Wed Jul 03, 2019 4:28 pm

AreaScout wrote:
Sat Jun 22, 2019 8:22 pm
@all

NEW Kodi 18.3 to download !


What's new or inside beside the changes from 18.2 to 18.3 ?

inputstream.adaptive (2.3.22)
script.module.inputstreamhelper (download libvidewine)
visualization.shadertoy
visualization.spectrum
visualization.waveform

Howto download ? Please read/follow the first thread ;)

Have fun
Dear @AreaScout!

First of all, thank you sosososososo much for your work!
I thought I am advaced enough to create my on build, but had never success and now iamvery happy about using my xu4 as a kodi device. Thanks to your work! :-)
I use it mainly for watching streaming videos (hbo go) and sometimes for watching a downloaded movie.
There are 2 issues i realized and asking for some help:
- cec lost connection after display rate change:
I found the bugreport at xbmc you reported. At the moment I use the original libcec4, did not compile the one mentioned here in the topic. Actually i tried, but i am not sure about replacing the original one. If i want to remove the original with apt, it says kodi depends on it. I can force remove it, but after that I am not sure about the “install” steps how to make it work. Any advice would be greatly appreciated! :-)

- an issue with the playback. Sometimes in the log i can see a message: ERROR: CBaseRenderer::GetShaderFormat - unsupported format 24, the screen goes blank, the audio works -> so it looks like, the playback does not stop, but it somehow "lost the video".
I do not know if the second related to first (because of refresh rate), and I can imagine, the stream/connection is not perfectly fine, but i have no idea where to start to fix this one.

Best,

Gergely

User avatar
AreaScout
Posts: 1079
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
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: Kodi 18.2 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

Unread post by AreaScout » Wed Jul 03, 2019 7:34 pm

hemuveg wrote:
Wed Jul 03, 2019 4:28 pm
- cec lost connection after display rate change:
I found the bugreport at xbmc you reported. At the moment I use the original libcec4, did not compile the one mentioned here in the topic. Actually i tried, but i am not sure about replacing the original one. If i want to remove the original with apt, it says kodi depends on it. I can force remove it, but after that I am not sure about the “install” steps how to make it work. Any advice would be greatly appreciated! :-)
Yes CEC connection lost is a known issue with 4.14 kernel if the 'Adjust Frame rate' feature is on, there is nothing you can do about it if you can't fix this issue by yourself
hemuveg wrote:
Wed Jul 03, 2019 4:28 pm
- an issue with the playback. Sometimes in the log i can see a message: ERROR: CBaseRenderer::GetShaderFormat - unsupported format 24, the screen goes blank, the audio works -> so it looks like, the playback does not stop, but it somehow "lost the video".
I do not know if the second related to first (because of refresh rate), and I can imagine, the stream/connection is not perfectly fine, but i have no idea where to start to fix this one.
If you press the 'o' key on your keyboard what does the onscreen menu say about the codec type ? Can you make a picture of it ?

RG

hemuveg
Posts: 6
Joined: Wed Jul 03, 2019 4:11 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

Unread post by hemuveg » Thu Jul 04, 2019 1:40 am

If you press the 'o' key on your keyboard what does the onscreen menu say about the codec type ? Can you make a picture of it ?
Image

It happened in the fourth minute of the stream, before it was ok.

The texts on the image:
Video processing info:
Hardware decoding: inactive
decoder: ff-264_v4l2m2m
deinterlace method(?): none <- not sure about the translation
resolution: 1920x1080px ...

And the logs:
https://pastebin.com/gXZ8S7be

Before I used a rpi 3b for media center with OSMC, but had buffering issues.
And now as I see the log, it looks like, buffering issues not related to rpi, but to my ISP.
So maybe the issue comes from the non-reliable channel? The net speed is (on paper) 350MB/25MB and odroid has a wired connection to my gigabit router.

User avatar
AreaScout
Posts: 1079
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
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

Unread post by AreaScout » Thu Jul 04, 2019 3:04 am

    Do you use the 'Adjust display refresh' feature ? Is this a stream I also can test or can you provide a sample ?

    Does this sample work ? https://download.blender.org/durian/tra ... -1080p.mp4

    RG

    hemuveg
    Posts: 6
    Joined: Wed Jul 03, 2019 4:11 pm
    languages_spoken: english
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

    Unread post by hemuveg » Thu Jul 04, 2019 4:10 am

    Will check soon!
    The Adjust display refresh was turned off.
    The stream I used from HBO GO (HU), so I am not sure if I can give you a sample from that.
    And the "funny" part is that is not predictable when will happen. Almost always a stop & restart the episode will play it normally. :(

    hemuveg
    Posts: 6
    Joined: Wed Jul 03, 2019 4:11 pm
    languages_spoken: english
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

    Unread post by hemuveg » Fri Jul 05, 2019 2:51 am

    AreaScout wrote:
    Thu Jul 04, 2019 3:04 am
      Do you use the 'Adjust display refresh' feature ? Is this a stream I also can test or can you provide a sample ?

      Does this sample work ? https://download.blender.org/durian/tra ... -1080p.mp4

      RG
      Sorry, played from original place seems ok.
      No issues with playback, nothing in log.
      pressing 'o' shows the same for video data.
      Now I started a loop to see if 10+ times of playing will also work or not.

      hemuveg
      Posts: 6
      Joined: Wed Jul 03, 2019 4:11 pm
      languages_spoken: english
      ODROIDs: XU4
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

      Unread post by hemuveg » Fri Jul 05, 2019 3:31 am

      Ok, so after played x times in a loop I realized this:

      Code: Select all

      2019-07-04 20:31:05.561 T:1022366560  NOTICE: CVideoPlayerAudio::Process - stream stalled
      2019-07-04 20:31:05.759 T:840061792  NOTICE: CVideoPlayer::OnExit()
      2019-07-04 20:31:05.759 T:840061792  NOTICE: VideoPlayer: eof, waiting for queues to empty
      2019-07-04 20:31:05.760 T:840061792  NOTICE: Closing stream player 1
      2019-07-04 20:31:05.760 T:840061792  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
      2019-07-04 20:31:05.761 T:840061792  NOTICE: Waiting for audio thread to exit
      2019-07-04 20:31:05.761 T:1022366560   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
      2019-07-04 20:31:05.761 T:1022366560  NOTICE: thread end: CVideoPlayerAudio::OnExit()
      2019-07-04 20:31:05.762 T:840061792  NOTICE: Closing audio device
      2019-07-04 20:31:05.765 T:840061792  NOTICE: Deleting audio codec
      2019-07-04 20:31:05.765 T:840061792  NOTICE: Closing stream player 2
      2019-07-04 20:31:05.765 T:840061792  NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
      2019-07-04 20:31:06.026 T:2968150560  NOTICE: GLES: Selecting single pass rendering
      2019-07-04 20:31:06.026 T:2968150560  NOTICE: GLES: Selecting YUV 2 RGB shader
      2019-07-04 20:31:06.026 T:2968150560   ERROR: CBaseRenderer::GetShaderFormat - unsupported format 24
      2019-07-04 20:31:06.027 T:2968150560   ERROR: GLES: BaseYUV2RGBGLSLShader - unsupported format 0
      2019-07-04 20:31:06.063 T:840061792   ERROR: Previous line repeats 1 times.
      2019-07-04 20:31:06.063 T:840061792  NOTICE: waiting for video thread to exit
      2019-07-04 20:31:06.063 T:655508320   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
      2019-07-04 20:31:06.063 T:655508320  NOTICE: thread end: video_thread
      2019-07-04 20:31:06.063 T:840061792  NOTICE: deleting video codec
      This is the end of the video, but the playback looks fine, so no blank in the middle.

      User avatar
      AreaScout
      Posts: 1079
      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
      Has thanked: 18 times
      Been thanked: 51 times
      Contact:

      Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

      Unread post by AreaScout » Fri Jul 05, 2019 4:32 pm

        If now it's working everything is fine 8-)

        RG

        hemuveg
        Posts: 6
        Joined: Wed Jul 03, 2019 4:11 pm
        languages_spoken: english
        ODROIDs: XU4
        Has thanked: 0
        Been thanked: 0
        Contact:

        Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

        Unread post by hemuveg » Fri Jul 05, 2019 4:56 pm

        AreaScout wrote:
        Fri Jul 05, 2019 4:32 pm
          If now it's working everything is fine 8-)

          RG
          :) Yes!

          Thanks for your help!
          What I wanted to ask is about the possible CEC fixes.
          Did you try to apply the patches mentioned in this discussion?
          If not yet, I would give it a try as the online stream yesterday did the same thing. Not a big deal, and it is really possible that the issue comes from my internet connection stability (Hungarian Telekom is a "weird" ISP) as it happened with the rpi3's osmc too.
          Of course I can live with it, but if there is a possible solution, I would give it a try.
          I do not know if the refresh rate adjustment can fix it or not, but worth a test, Not to mention, it would be great if the CEC would stay usable if the setting is on.
          Of course, if you tested it or it is already in the kernel in the minimal image, I will start looking for an other solution and will use the current stuff happily.

          The only thing is that I have to wait for the Tall Blue Heatsink as this xu4 has a built-in chopper which makes film-watching a little bit noisy! :D

          User avatar
          AreaScout
          Posts: 1079
          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
          Has thanked: 18 times
          Been thanked: 51 times
          Contact:

          Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

          Unread post by AreaScout » Sat Jul 06, 2019 7:43 pm

            No I would have to back port the patches for our 4.14 kernel to make CEC work when the automatic frame rate adjust is on, the reason I did't try it was because there was some effort to bring kernel 5.x to our XU4 AND the second reason was, I don't use it, I use a mini keyboard (https://www.amazon.de/CSL-kabelloses-Mu ... 07NPPWGYN/) it's way more comfortable to use kodi and search i.e the Netflix database

            Sure it would be cool to have it because for some peoples there is a need for it, but this is also cool 8-) --->

            Image

            RG

            User avatar
            AreaScout
            Posts: 1079
            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
            Has thanked: 18 times
            Been thanked: 51 times
            Contact:

            Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

            Unread post by AreaScout » Mon Jul 15, 2019 5:47 am

              @all

              I updated the first post with instructions on how to get the Shutdown and Reboot Menu on Ubuntu + howto easily autostart Kodi :)

              Have fun
              These users thanked the author AreaScout for the post:
              odroid (Mon Jul 15, 2019 10:46 am)

              meaz
              Posts: 37
              Joined: Fri Apr 12, 2019 5:49 pm
              languages_spoken: english
              ODROIDs: XU4
              Has thanked: 0
              Been thanked: 1 time
              Contact:

              Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

              Unread post by meaz » Sat Aug 24, 2019 5:20 pm

              Hi all,
              I've been using this for two months now and I'm really happy about it. There is just a small issue I would like help with.

              When kodi crashes for any reason (ie a bad encoded movie) it stops and I get back to console. How could I manage to have kodi automatically restarts when it stops?
              At the moment the only thing I can do is to get on my computer and reboot it.

              Thanks a lot

              User avatar
              AreaScout
              Posts: 1079
              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
              Has thanked: 18 times
              Been thanked: 51 times
              Contact:

              Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

              Unread post by AreaScout » Sat Aug 24, 2019 10:42 pm

                By the first look inside the start script and without trying it, you can set line number 209 in /usr/bin/kodi to LOOP=1 which should restart kodi every time it exits, but that means that exit will not work anymore you can only shutdown if this is ok for you ? otherwise I have to look closer for another option.

                RG
                These users thanked the author AreaScout for the post:
                odroid (Mon Aug 26, 2019 8:49 am)

                meaz
                Posts: 37
                Joined: Fri Apr 12, 2019 5:49 pm
                languages_spoken: english
                ODROIDs: XU4
                Has thanked: 0
                Been thanked: 1 time
                Contact:

                Re: Kodi 18.3 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                Unread post by meaz » Thu Aug 29, 2019 10:48 pm

                That is perfect, thanks a lot!

                User avatar
                AreaScout
                Posts: 1079
                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
                Has thanked: 18 times
                Been thanked: 51 times
                Contact:

                Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                Unread post by AreaScout » Tue Sep 03, 2019 1:30 am

                @all

                NEW Kodi 18.4 to download !


                What's new or inside beside the changes from 18.3 to 18.4 ?

                The official change log can be found here Kodi Leia 18.4 Release (Kodi is supporting now TrueHD audio)

                inputstream.adaptive (2.3.22)
                script.module.inputstreamhelper (0.4.1 download libvidewine)
                visualization.shadertoy
                visualization.spectrum
                visualization.waveform

                Howto download ? Please read/follow the first thread ;)

                P.S.: If you find something not working -> please report it :ugeek:

                Have fun
                These users thanked the author AreaScout for the post:
                odroid (Tue Sep 03, 2019 11:48 am)

                User avatar
                AreaScout
                Posts: 1079
                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
                Has thanked: 18 times
                Been thanked: 51 times
                Contact:

                Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                Unread post by AreaScout » Tue Sep 03, 2019 4:11 pm

                  I have fixed a dependency bug in my Mali GPU driver package with mesa-common-dev, I have updated the download link in the first post

                  RG

                  bruno
                  Posts: 8
                  Joined: Tue Mar 15, 2016 7:42 pm
                  languages_spoken: french
                  ODROIDs: xu4
                  Has thanked: 0
                  Been thanked: 0
                  Contact:

                  Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                  Unread post by bruno » Sat Sep 07, 2019 5:09 pm

                  script.module.inputstreamhelper 0.4.1 may be unable extract videwine CDM. Use release of v0.4.2.

                  User avatar
                  AreaScout
                  Posts: 1079
                  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
                  Has thanked: 18 times
                  Been thanked: 51 times
                  Contact:

                  Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                  Unread post by AreaScout » Sat Sep 07, 2019 5:37 pm

                    Hu ? Didn't the plugin update itself ?

                    edit: Double checked that and yes my version is now 0.4.2, so it did a auto update :ugeek:
                    Last edited by AreaScout on Sat Sep 07, 2019 6:10 pm, edited 1 time in total.

                    bruno
                    Posts: 8
                    Joined: Tue Mar 15, 2016 7:42 pm
                    languages_spoken: french
                    ODROIDs: xu4
                    Has thanked: 0
                    Been thanked: 0
                    Contact:

                    Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                    Unread post by bruno » Sat Sep 07, 2019 5:57 pm

                    i don't test the auto update. i install manually 0.4.2.

                    User avatar
                    AreaScout
                    Posts: 1079
                    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
                    Has thanked: 18 times
                    Been thanked: 51 times
                    Contact:

                    Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                    Unread post by AreaScout » Sat Sep 07, 2019 6:11 pm

                      Ok, it's good to know for others ;)

                      RG

                      jimmythesnitch
                      Posts: 1
                      Joined: Thu Jan 31, 2019 8:43 am
                      languages_spoken: english
                      ODROIDs: ODROID XU4 Gamestation Turbo
                      Has thanked: 0
                      Been thanked: 0
                      Contact:

                      Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                      Unread post by jimmythesnitch » Fri Sep 20, 2019 12:35 am

                      Hey there.. just a quick question, I started with the minimal image... and installed Retropie Via the instructions on the retropie Wiki,.... which worked out well.. little trouble getting SMB, but I got it.. ANYWAYS, I wanted to try your Kodi packages along with it... Kodi works now... but EmulationStation is broken..

                      I get this Error.
                      lvl0: Error creating SDL window!
                      Could not initialize EGL
                      lvl0: Renderer failed to initialize!
                      lvl0: Window failed to initialize!


                      any Ideas?

                      User avatar
                      AreaScout
                      Posts: 1079
                      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
                      Has thanked: 18 times
                      Been thanked: 51 times
                      Contact:

                      Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal i

                      Unread post by AreaScout » Fri Sep 20, 2019 8:29 pm

                        They are using a different SDL2 build without GBM support, so you must build it for yourself or edit the build scripts from retropie, you can see here viewtopic.php?f=98&t=32173 what configure switches are needed to build SDL2 with GBM support, but that's not the only thing which needs a custom compilation, retroarch also needs to be build with GBM support (well here you could be lucky and retroarch does auto detect to build itself with GBM support if the GBM driver is installed)

                        RG

                        random236
                        Posts: 2
                        Joined: Wed Oct 09, 2019 1:07 am
                        languages_spoken: English, German
                        Has thanked: 0
                        Been thanked: 0
                        Contact:

                        Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                        Unread post by random236 » Wed Oct 09, 2019 1:33 am

                        AreaScout wrote:
                        Tue Sep 03, 2019 1:30 am
                        NEW Kodi 18.4 to download !
                        Wow, awesome work, thanks a lot to AreaScout and all other members envolved to that project!

                        Have some trouble to install the Netflix Plugin from CastagnaIT Repository, first kodi works fine at 18.4.

                        I have installed InputstreamAdaptive manually, afterwards try to install the Widevine CDM via Inputstream Helper Plugin. Fails with error missing fdisk and or parted, tried to install it with "sudo kodi", download begins but installation fails with error missing libaries libnss3.so, libnssutil3.so, libnspr4.so! Also getting a error on ssh console Home directory not acessible.

                        Can you help me getting to run?

                        Best Regards
                        random236

                        random236
                        Posts: 2
                        Joined: Wed Oct 09, 2019 1:07 am
                        languages_spoken: English, German
                        Has thanked: 0
                        Been thanked: 0
                        Contact:

                        Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                        Unread post by random236 » Wed Oct 09, 2019 1:45 pm

                        Solved the problem, for myself. Just for info, ensure that the home-folder belongs to user odroid with
                        chown -R odroid /home/odroid,
                        install Widevine via Kodi Inputstream-Helper Plugin with root-rights
                        sudo kodi
                        and install the missing libaries with
                        apt-get install libnss3 libnss3-tools libnspr4

                        To get netflix-working i need to install the Cryptdome python library with
                        apt-get install python-tools
                        and
                        pip install pycryptodomex

                        User avatar
                        AreaScout
                        Posts: 1079
                        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
                        Has thanked: 18 times
                        Been thanked: 51 times
                        Contact:

                        Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                        Unread post by AreaScout » Wed Oct 09, 2019 8:43 pm

                          Or follow this post viewtopic.php?f=98&t=34076, or:

                          Code: Select all

                          sudo apt-get install python-pip
                          pip install wheel
                          pip install pycryptodomex
                          
                          Note: the commands above has to be executed as user odroid (non root user)

                          Edit your /etc/sudoers file and add odroid ALL = NOPASSWD: /bin/umount, /bin/mount, /sbin/losetup, /sbin/modprobe to it, so that it looks like this:

                          Code: Select all

                          #
                          # This file MUST be edited with the 'visudo' command as root.
                          #
                          # Please consider adding local content in /etc/sudoers.d/ instead of
                          # directly modifying this file.
                          #
                          # See the man page for details on how to write a sudoers file.
                          #
                          Defaults	env_reset
                          Defaults	mail_badpass
                          Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
                          
                          # Host alias specification
                          
                          # User alias specification
                          
                          # Cmnd alias specification
                          
                          # User privilege specification
                          root	ALL=(ALL:ALL) ALL
                          
                          # Members of the admin group may gain root privileges
                          %admin ALL=(ALL) ALL
                          
                          # Allow members of group sudo to execute any command
                          %sudo	ALL=(ALL:ALL) ALL
                          odroid ALL = NOPASSWD: /bin/umount, /bin/mount, /sbin/losetup, /sbin/modprobe
                          # See sudoers(5) for more information on "#include" directives:
                          
                          #includedir /etc/sudoers.d
                          
                          And finally -> Add this export PATH=$PATH:/sbin somewhere on top of the kodi start script /usr/bin/kodi

                          Finished :)

                          Edit: inputstream.adaptive Addon ist shipped with my Kodi 18.4 packages and has to be enabled via menu Settings -> Add-on's -> My Add-on's -> All -> inputstream.adaptive -> enable

                          cprompt
                          Posts: 3
                          Joined: Mon Oct 28, 2019 6:08 am
                          languages_spoken: english,german
                          ODROIDs: xu3 xu4
                          Has thanked: 0
                          Been thanked: 0
                          Contact:

                          Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                          Unread post by cprompt » Wed Oct 30, 2019 3:09 am

                          Many thanks also from me for your work and time.

                          I had one question, perhaps stupid as I am new to kodi: In this image I can't find any plugins (should be in the kodi-repository) for IP-TV. How I can I get and install them? Did I missed something that should be set/switched/unlocked/installed?

                          User avatar
                          AreaScout
                          Posts: 1079
                          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
                          Has thanked: 18 times
                          Been thanked: 51 times
                          Contact:

                          Re: Kodi 18.4 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image

                          Unread post by AreaScout » Wed Oct 30, 2019 4:21 am

                            I can recommend kodi nerds repository to install nice IP-TV Add-on's, for this it is best to connect via ssh to your XU4 and execute the following commands (as odroid user)

                            Code: Select all

                            cd ~
                            wget https://github.com/kodinerds/repo/raw/master/repository.kodinerds.zip
                            
                            Start Kodi and from the Menu enable unkown sources

                            Settings -> System -> Add-on's -> Unkown sources -> ON

                            Install repository.kodinerds.zip we downloaded before

                            Settings -> Add-on's -> install from zip file -> Home folder

                            Now you can chose from a long list of Add-on's

                            Settings -> Add-on's -> Install from repository -> All repositories -> Video add-ons

                            For Netflix you need this repository:

                            https://github.com/castagnait/repositor ... -1.0.0.zip

                            And this https://github.com/romanvm/kodi.six/rel ... -0.0.1.zip

                            And you need to do this viewtopic.php?f=98&t=34149&start=50#p270097 before you install Netflix

                            RG

                            Post Reply

                            Return to “Projects”

                            Who is online

                            Users browsing this forum: No registered users and 1 guest