Jump to content

Recommended Posts

Posted

@balbes150 well, I decided to put the Station M1 with a small monitor in the kitchen. That gives me a reason to make new Kodi packages. Only problem is that it is still packed in some box lying around the house. Let's see if I can get hold of it anytime soon :D

Posted
  On 9/27/2021 at 11:28 AM, balbes150 said:

@JMCCWe kindly ask you not to add dependencies on specific kernels to future packages. New kernels with HW can be for RK \ AW and different versions of edge \ current.

Expand  

Yes, that makes sense. As a matter of fact, the legacy Kodi packages don't have any kernel dependency, it is only the meta-package for the whole multimedia framework that depended on the legacy kernel. The reason for that was that, if installed on a different kernel, it would break the system. But Kodi won't break anything by itself, so no kernel dependencies this time, I promise :)

Posted
  On 9/27/2021 at 11:35 AM, JMCC said:

Kodi won't break anything by itself, so no kernel dependencies this time

Expand  

 

I am looking for an easy way to install Kodi on a headless server (Helios64 - rk3399). I am not using a legacy kernel but 5.10.43 and Armbian Bullseye.

The intention is just to stream videos and display pictures with Kodi to a DLNA enabled smart TV.

 

Any help would be greatly appreciated !

Posted
  On 10/3/2021 at 9:35 AM, ebin-dev said:

 

I am looking for an easy way to install Kodi on a headless server (Helios64 - rk3399). I am not using a legacy kernel but 5.10.43 and Armbian Bullseye.

The intention is just to stream videos and display pictures with Kodi to a DLNA enabled smart TV.

 

Any help would be greatly appreciated !

Expand  

As stated above, you can install the packages from this link: https://users.armbian.com/jmcc/packages/kodi-mainline/arm64/

 

I am planning to build Kodi 19 packages and integrate them into the Armbian repos, but no ETA yet.

Posted
  On 10/4/2021 at 11:17 AM, JMCC said:

As stated above, you can install the packages from this link: https://users.armbian.com/jmcc/packages/kodi-mainline/arm64/

 

I am planning to build Kodi 19 packages and integrate them into the Armbian repos, but no ETA yet.

Expand  

 

Thank you very much for the hint. Installation of the packages went smoothly on the headless server. After messing around with the configuration files guisettings.xml and advancedsettings.xml I could access the web interface on port 8080 and change the settings, configure some addons etc.

 

However, it would not appear to be possible to add a media library or addons using the web interface - the required functionality is not displayed. Is this a known limitation of the web interface or is this due to a mistake on my side ?  As there is no access to any other Kodi GUI on the headless server I am stuck at that point. 

 

I am looking forward to test Kodi 19 packages once you found some time to build them.

Posted
  On 10/6/2021 at 6:47 AM, ebin-dev said:

it would not appear to be possible to add a media library or addons using the web interface

Expand  

No idea, I never did that. I guess you may be luckier in the Kodi forums.

 

However, if you are using Kodi as a headless server, I see no point in using my packages. The only benefit they have is HW accelerated video play, but you are not using Kodi to watch the videos, are you? If that is the case, then you may be better off using the standard distro packages, which may have some functionalities enabled that are not present in my packages (maybe, I don't know, I never used them).

Posted
  On 10/6/2021 at 11:49 AM, JMCC said:

However, if you are using Kodi as a headless server, I see no point in using my packages.

Expand  

 

Actually I am currently just exploring. Using Kodi as a headless server to stream to DLNA enabled devices turned out to be suboptimal :-)) .

 

Meanwhile I switched to Plex on the server. For all clients (SmartTV, Computers and iOS Devices) a native Plex app is available for free (except for iOS - a one time fee of 4.99 Euros is required for each device) and I am astonished about the performance and professional look of the system. The installation is configured as non-accessible from the outside - nonetheless the media can be streamed to remote devices coupled to the home network via VPN. Setting up a client-server system with Plex is a "no-brainer". You just have to make sure that the required ports are not used by other servers (port 9090 was used by another media server in my case).

 

I would strongly recommend Plex if you wish to stream content from a (headless) server to various client devices in your home network.

Posted (edited)

Hi!

I'm trying to install the legacy-multimedia-framework on my rockpro64 but I always end with a non working system.

Even ssh service is not available...

 

Here my steps:

  • install armbian buster (on eMMC using usbimager)
  • Complete the first boot configuration (password, user, ecc...)
  • apt update; apt upgrade
  • apt install media-buster-legacy-rk3399 --install-recommends
  • reboot
  • the board light are flashing but, after the boot prompt, the screen becomes total black and all the command I enter at the keyboard have no effect

Nothing more, nothing less.

I have also tried installing desktop using the armbian-config before the framework (which works well), but I ended in the same situation.

 

Can you suggest what I might have done wrong?

Thank you,

Riccardo

 

Edited by Rickyx
more info
Posted
  On 2/24/2022 at 11:13 AM, Rickyx said:

Hi!

I'm trying to install the legacy-multimedia-framework on my rockpro64 but I always end with a non working system.

Even ssh service is not available...

 

Here my steps:

  • install armbian buster (on eMMC using usbimager)
  • Complete the first boot configuration (password, user, ecc...)
  • apt update; apt upgrade
  • apt install media-buster-legacy-rk3399 --install-recommends
  • reboot
  • the board light are flashing but, after the boot prompt, the screen becomes total black and all the command I enter at the keyboard have no effect

Nothing more, nothing less.

I have also tried installing desktop using the armbian-config before the framework (which works well), but I ended in the same situation.

 

Can you suggest what I might have done wrong?

Thank you,

Riccardo

 

Expand  

First if all, if you want help you need to provide some basic information, like "armbianmonitor -u". Please read forum rules.

 

Second, are you sure you are using a buster legacy image, not "current"?

Posted

How is the state of this on the new release? Is VPU now possible on mainline?
I had tried images from balbes150 for the station P1 where I could install his Kodi packages for this. I was wondering if this now is possible on the latest release or not? And what packages need to be used for this?
Greetings.

Posted
  On 3/15/2022 at 8:08 PM, gounthar said:

What about hardware encoding with mainline?
Is it possible now?

Expand  

Not AFAIK, and also ISP camera support was planned but I am not sure of the current status. I think those are the two main points why someone would like to stay using legacy.

 

  On 3/3/2022 at 11:12 AM, NicoD said:

How is the state of this on the new release? Is VPU now possible on mainline?
I had tried images from balbes150 for the station P1 where I could install his Kodi packages for this. I was wondering if this now is possible on the latest release or not? And what packages need to be used for this?
Greetings.

Expand  

I wanted to do some standard packages for all distros in mainline, but I have been overloaded since some time ago, and I am not sure when will I be able to have a look at it. I will announce if it becomes ready.

Posted

In NanopiM4v2 for sound on hdmi:

Edit the Alsa config:

 

nano /etc/asound.conf 

 

Delete old content and paste the following one:

 

pcm.snd_card { type hw card 1 device 0 } ctl.snd_card { type hw card 1 device 0 } pcm.dmixer { type dmix ipc_key 1024 ipc_perm 0666 slave.pcm "snd_card" slave { period_time 0 period_size 1024 buffer_size 4096 rate 48000 format S16_LE channels 2 } bindings { 0 0 1 1 } } 

Save the file and reboot.

Posted
  On 12/17/2020 at 3:02 PM, JMCC said:
 

IT'S FINALLY HERE...

 

THE OFFICIAL ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION

 

After two years of using a separate script to enable the multimedia features in RK3399 Legacy Kernel, the whole framework has been incorporated to the official Armbian packaging system. The choice distro for this integration is Debian Buster (see FAQ at the end of this post about the reasons).

 

I. Installation

  1. Download a Armbian Buster Legacy Desktop image for your board, and install it with the standard Armbian method.
  2. Install the complete multimedia solution with
    sudo apt update && sudo apt upgrade
    
    sudo apt install media-buster-legacy-rk3399 --install-recommends

    The switch "--install-recommends" will add the whole Kodi binary addons collection (retro-gaming cores, music visualizations, screensavers, additional media decoders/encoders, vfs, etc.), plus the GLES-to-OpenGL wrapper "gl4es".

Expand  


I am have RockPi 4C.
I am go to https://armbian.hosthatch.com/archive/rockpi-4c/ and download latest buster legacy:

https://armbian.hosthatch.com/archive/rockpi-4c/archive/Armbian_21.08.1_Rockpi-4c_buster_legacy_4.4.213_xfce_desktop.img.xz


Write image on sd card, boot from sd card and do commands:

sudo apt update && sudo apt upgrade
sudo apt install media-buster-legacy-rk3399 --install-recommends

And reboot

 

But I am see on my monitor (connected via hdmi) only blank screen.

Some info I am found in logs:

/var/log/Xorg.0.log

  Reveal hidden contents

 

/var/log/lightdm/seat0-greeter.log

  Reveal hidden contents

 

armbianmonitor -u: http://ix.io/3Z0A

 

Can you help me?
Thank you!

Posted
  On 5/31/2022 at 10:21 AM, amurchick said:


I am have RockPi 4C.
I am go to https://armbian.hosthatch.com/archive/rockpi-4c/ and download latest buster legacy:

https://armbian.hosthatch.com/archive/rockpi-4c/archive/Armbian_21.08.1_Rockpi-4c_buster_legacy_4.4.213_xfce_desktop.img.xz


Write image on sd card, boot from sd card and do commands:

sudo apt update && sudo apt upgrade
sudo apt install media-buster-legacy-rk3399 --install-recommends

And reboot

 

But I am see on my monitor (connected via hdmi) only blank screen.

Some info I am found in logs:

/var/log/Xorg.0.log

  Reveal hidden contents

 

/var/log/lightdm/seat0-greeter.log

  Reveal hidden contents

 

armbianmonitor -u: http://ix.io/3Z0A

 

Can you help me?
Thank you!

Expand  

 

Can you please do the whole process again from scratch? I mean, flashing again the SD card, and installing the multimedia framework. This time, please post all the output of the "apt-install" command.

Also, please post the contents of /etc/X11/xorg.conf.d/*

Posted
  On 5/31/2022 at 10:51 AM, Rickyx said:

@amurchick the monitor worked well without having installed the multimedia framework?

Can you connect the monitor after the startup of the RockPi ?

Expand  

@Rickyx monitor say "No signal" when first booted from sd-card.

`dmesg` says "dwhdmi-rockchip ff940000.hdmi: failed to get edid"

All my trys to remove/insert HDMI cable - make same messages in dmesg.


So I am try previous versions from https://armbian.hosthatch.com/archive/rockpi-4c/
- Armbian_21.05.1_Rockpi-4c_buster_legacy_4.4.213_xfce_desktop.img.xz

- Armbian_21.02.3_Rockpi-4c_buster_legacy_4.4.213_xfce_desktop.img.xz

- Armbian_21.02.1_Rockpi-4c_buster_legacy_4.4.213_desktop.img.xz

- Armbian_20.11.10_Rockpi-4c_buster_legacy_4.4.213_desktop.img.xz

- Armbian_20.11.6_Rockpi-4c_buster_legacy_4.4.213_desktop.img.xz

 

Same result: no signal and `dmesg` says "dwhdmi-rockchip ff940000.hdmi: failed to get edid"

 

I am have Armbian 22.05.1 Bullseye with Linux 5.15.35-rockchip64 on eMMC - when boot from it - there are image on monitor and no `dmesg` messages like "ff940000.hdmi: failed to get edid" when remove/insert HDMI cable...
But image has defects (moire) and wrong colors - so I am guess my micro-HDMI to HDMI adapter has problems (before I am never connect monitor - its role before today was headless router).


I will order new micro-HDMI to HDMI cable and try again. I will let you know result.

@Rickyx, @JMCC Thank you for time spending.

Posted
  On 5/31/2022 at 10:55 AM, JMCC said:

 

Can you please do the whole process again from scratch? I mean, flashing again the SD card, and installing the multimedia framework. This time, please post all the output of the "apt-install" command.

Also, please post the contents of /etc/X11/xorg.conf.d/*

Expand  

I am receive new cable micro-HDMI to DHMI and try again with https://armbian.hosthatch.com/archive/rockpi-4c/archive/Armbian_21.08.1_Rockpi-4c_buster_legacy_4.4.213_xfce_desktop.img.xz

After first start I am see in serial console:

 

Now starting desktop environment...

 

But monitor says "No HDMI signal".

 

In /var/log/Xorg.0.log I am see correct monitor detection:

  Reveal hidden contents

 

I am try FHD monitor (1080p) and HD TV (720p)- same result (in logs all OK, but no image on screen).

 

So I think the problem is in my rock pi 4 c hardware.

 

Sorry for the inconvenience.

Posted (edited)

Hello,

I'm posting here hoping to get a response :)

 

Context :

 

I currently have my Helios64 server running on Armbian 22.02.1. I have several services (in total 21 Docker Containers) including Jellyfin to watch movies (only 1080p - H264).

Currently, I'm sending the video stream to my chomecast connected to my Salon TV. It sometimes happens (for certain film releases) that reading is impossible (freeze), the CPU is then at 100% utilization. I use hardware acceleration (VAAPI) for transcoding but it doesn't seem enough sometimes

 

So I wonder can i use your solution "ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION" to play my movies directly on my TV via HDMI ? Will I lose my already functional services?

 

If one evening, I decide to watch a movie, so I start on the desktop :

  1. Will my other services still be able to run in the background?
  2. Will the reading performance be better ?

 

Thank you for all your details :)

 

Flolm

Edited by Flolm
Posted
  On 8/4/2022 at 3:29 PM, Flolm said:

Hello,

I'm posting here hoping to get a response :)

 

Context :

 

I currently have my Helios64 server running on Armbian 22.02.1. I have several services (in total 21 Docker Containers) including Jellyfin to watch movies (only 1080p - H264).

Currently, I'm sending the video stream to my chomecast connected to my Salon TV. It sometimes happens (for certain film releases) that reading is impossible (freeze), the CPU is then at 100% utilization. I use hardware acceleration (VAAPI) for transcoding but it doesn't seem enough sometimes

 

So I wonder can i use your solution "ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION" to play my movies directly on my TV via HDMI ? Will I lose my already functional services?

 

If one evening, I decide to watch a movie, so I start on the desktop :

  1. Will my other services still be able to run in the background?
  2. Will the reading performance be better ?

 

Thank you for all your details :)

 

Flolm

Expand  

First of all, for this multimedia integration to work, you need to be running the legacy kernel (4.4.x). You don't specify which kernel you are running.

Second, AFAIK the only option to make HW encoding to work is gstreamer. This solution will install the required gstreamer plugin (see first post). But Jellyfin uses ffmpeg, so it is difficult that you can make it work with gstreamer, without editing the code and recompiling. Maybe another option is using a wrapper script that uses a ffmpeg pipe, and pointing the custom ffmpeg version from Jellyfin menu, but I have never tried something like that.

 

Third, and most important, if you want to post any question, please follow the forum guidelines and provide all the necessary information. 

Posted

hi, i have an orangepi 4 lts, but thereis no legacy image of armbian for this board. Orange pi does have their own debian legacy image but it tells me it was unable to locate the package. Is there any way to get the multimedia integration on this board? thanks!

Posted
  Цитата

You can try to build your own legacy image using the build framework

Expand  

I guess, there's no hope for "easy" legacy build for orangepi4-lts, because there is no way to choose "legacy" in the GUI of armbian build (even with "EXPERT" flag), it's missing.

And if I try to force "legacy" via CLI flags, I get:

sudo ./compile.sh \
BOARD=orangepi4-lts \
BRANCH=legacy \
RELEASE=buster \
BUILD_MINIMAL=yes \
BUILD_DESKTOP=no \
KERNEL_ONLY=no \
KERNEL_CONFIGURE=no
[ o.k. ] Using config file [ /home/user/progbin/build/userpatches/config-example.conf ]
[ o.k. ] Command line: setting BOARD to [ orangepi4-lts ]
[ o.k. ] Command line: setting BRANCH to [ legacy ]
[ o.k. ] Command line: setting RELEASE to [ buster ]
[ o.k. ] Command line: setting BUILD_MINIMAL to [ yes ]
[ o.k. ] Command line: setting BUILD_DESKTOP to [ no ]
[ o.k. ] Command line: setting KERNEL_ONLY to [ no ]
[ o.k. ] Command line: setting KERNEL_CONFIGURE to [ no ]
[ warn ] The KERNEL_ONLY key is no longer used. [ KERNEL_ONLY=no ]
[ o.k. ] Use an empty BUILD_ONLY variable instead 
[ error ] ERROR in function interactive_config_ask_branch [ functions/cli/cli-entrypoint.sh:106 -> functions/main/config-prepare.sh:114 -> functions/configuration/interactive.sh:149 -> functions/logging/traps.sh:0 ]
[ error ] Kernel branch not defined for this board [ legacy ]
[ o.k. ] Process terminated 

 

So, i guess, for Orange Pi 4 LTS the only hope is that JMCC will have the opportunity to implement multimedia features for "current" or that at some point mainline catches up.

Posted

Hi, thank you for your work! Only one question, is this supposed to work also for Rockchip RK3399T? I have a RockPi 4c + which has this variant. But I also noticed that legacy Armbian is not available for this board, maybe I have to build it myself

Posted
  On 1/26/2023 at 3:49 PM, Salvo Nice said:

I have a RockPi 4c + which has this variant. But I also noticed that legacy Armbian is not available for this board, maybe I have to build it myself

Expand  

Sorry, I don't have that board and have not tested the framework on it. Maybe you can build an image and try.

Posted
  Quote

I have a RockPi 4c + which has this variant. But I also noticed that legacy Armbian is not available for this board, maybe I have to build it myself

Expand  

 

Did you got any suuccess ?
I also own a Rock 4c+ but since weeks I'm unable to bring my gpu to work.... always llvmpipe is loaded as driver.
And tested different versions of Armbian, Debian & Ubuntu...

just this methode I havn't tested.

Have someone else any suggestions ?
As far I understood correctly with Debian 11 it should work OOTB because the drivers are included.

Or maybe a hardware faulty...?
I searched the  internet a lot but nothings worked out....

would be grateful for any tip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines