-
Posts
1431 -
Joined
-
Last visited
Reputation Activity
-
NicoD reacted to Werner in RK3399 Legacy Multimedia Framework
Same but fix is easy. Run the script from console, not from terminal.
-
NicoD reacted to balbes150 in Board Bring Up Station P1 rk3399, M1 rk3328
you forgot to add these libraries manually (or you need to use images where this is already done).
by the way, you also have access to the arm server and you can run the build on it (there are already these libraries) and the build time will not be very large.
-
NicoD reacted to balbes150 in Board Bring Up Station P1 rk3399, M1 rk3328
https://www.stationpc.com/thread-126-1-1.html
-
NicoD reacted to Igor in Unable to boot Buster Legacy on NanoPi M4V2
Tnx. https://armbian.atlassian.net/browse/AR-584
-
NicoD reacted to TRS-80 in Holiday shopping the easy way
Of course not! But they are about to...
All jokes aside, I talk to anyone who seems even the slightest bit interested about the importance of Free Software every chance I get. So my family have all heard the words of our Lord and Saviour rms many times by now.
Second order shipped yesterday. Projected to arrive 12/28. It seems like they suddenly got busy. I guess I am not the only one ordering "last minute" holiday gifts.
They contacted me about third order, because some colors (black) of design (penguin) were too close to item they were being printed on (dark blue). Which I thought was nice of them. Third order have not shipped as of time of writing (but I placed it one day after first two, and there was that confirmation delay).
-
NicoD reacted to JMCC in RK3399 Legacy Multimedia Framework
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
Download a Armbian Buster Legacy Desktop image for your board, and install it with the standard Armbian method. 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".
II. Features
Accelerated GLES/EGL X desktop: No action needed. Accelerated Chromium, with WebGL and video display acceleration: No action needed Desktop video player capable of smooth 4K HEVC-HDR: Use the "Rockchip Gst Player" from the Multimedia menu, or choose it with right-click on the media file. Command-line 4K playing is also possible with "gst-play-1.0 --videosink=kmssink". RKMPP-accelerated MPV: Use normally for standard operation (windowed with mouse-operated GUI). For fullscreen, keyboard-operated mode, use the command line switch "--gpu-context=drm" (this will allow you to play smooth 4K).
- See instructions below, in the next post, for playing YouTube videos up to 4K with this MPV.
ISP Camera with real-time h.264/1080p HW encoding: Using the Gstreamer Plugin. Check this wiki for instructions on how to use it. Most of it applies to Armbian, except for the selection of ov5647/imx219 camera, which must be done using DT overlays. OpenCL 1.2 support: It will be fully functional, no further action needed. You can download some tests and examples from this link. Kodi 18.9 Leia with full RKMPP+GBM acceleration, 4K-HDR capable: You can start it from LightDM menu as your user account:
Alternatively, you can also run it as a system service with these command lines: sudo systemctl disable lightdm sudo systemctl enable kodi-gbm sudo reboot Full collection of Kodi binary add-ons: Includes retrogaming cores, media encoders and decoders, PVR, screensavers, vfs and audio visualizations. They are all installed with the package "kodi-addons-full", but are disabled by default. They need to be enabled individually within the Kodi GUI. OpenGL 2.1 support through the gl4es wrapper: It is installed with the package "gl4es", with no further action needed.
III. Sources
This is the list of the sources used for the packages:
IV. FAQ
¿Why did you use Debian Buster as a base for this implementation?
It was the most appropriate for several reasons. Upstream Rockchip-Linux developers use Debian buster, so the software could be ported with less modifications than if we chose a different distro. Besides, it is a completely stable distro, unlike Bullseye, which is a moving target as of today. It also has Chromium as a package, unlike Focal that uses snap instead. For last, it has a good backports repo, with several libs that would otherwise need to be compiled and maintained if we chose, for example, Focal.
¿Why Legacy instead of Mainline?
This is an implementation based on the vendor's BSP kernel. It has been tested and is reliable, which many people will prefer rather than having a bleeding-edge, less stable implementation. In addition to that, Mainline upstream multimedia support is still a WIP, and lacks many features that are only present on Legacy kernels.
¿Will you add new features to this implementation?
No, this implementation will only receive bug fixes if necessary. From now on, all multimedia work will be focused on Mainline and recent distros (like Focal or Bullseye). All new features will go there. -
NicoD reacted to JMCC in RK3288/RK3328 Legacy Multimedia Framework
IT'S FINALLY HERE...
THE OFFICIAL ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION
After two years of using a separate script to enable the multimedia features in RK3288/3328 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
Download a Armbian Buster Legacy Desktop image for your board, and install it with the standard Armbian method. Install the complete multimedia solution with sudo apt update && sudo apt upgrade sudo apt install media-buster-legacy-tinkerboard --install-recommends ## Or ## sudo apt install media-buster-legacy-rk3328 --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".
II. Features
Accelerated GLES/EGL X desktop: No action needed. Accelerated Chromium, with WebGL and video display acceleration: No action needed Desktop video player capable of smooth 4K HEVC-HDR: Use the "Rockchip Gst Player" from the Multimedia menu, or choose it with right-click on the media file. Command-line 4K playing is also possible with "gst-play-1.0 --videosink=kmssink". RKMPP-accelerated MPV: Use normally for standard operation (windowed with mouse-operated GUI). For fullscreen, keyboard-operated mode, use the command line switch "--gpu-context=drm" (this will allow you to play smooth 4K).
- See instructions below, in the next post, for playing Youtube videos up to 4k with this MPV. ISP Camera with real-time h.264/1080p HW encoding (RK3288 only): Using the Gstreamer Plugin. Check this wiki for instructions on how to use it. Most of it applies to Armbian, except for the selection of ov5647/imx219 camera, which must be done using DT overlays. OpenCL 1.2 support (RK3288 only): It will be fully functional, no further action needed. You can download some tests and examples from this link. Kodi 18.9 Leia with full RKMPP+GBM acceleration, 4K-HDR capable: You can start it from Light DM menu as your user account:
Alternatively, you can also run it as a system service with these command lines: sudo systemctl disable lightdm sudo systemctl enable kodi-gbm sudo reboot
Full collection of Kodi binary add-ons: Includes retrogaming cores, media encoders and decoders, PVR, screensavers, vfs and audio visualizations. They are all installed with the package "kodi-addons-full", but are disabled by default. They need to be enabled individually within the Kodi GUI. OpenGL 2.1 support through the gl4es wrapper: It is installed with the package "gl4es", with no further action needed.
III. Sources
This is the list of the sources used for the packages:
IV. FAQ
¿Why did you use Debian Buster as a base for this implementation?
It was the most appropriate for several reasons. Upstream Rockchip-Linux developers use Debian buster, so the software could be ported with less modifications than if we chose a different distro. Besides, it is a completely stable distro, unlike Bullseye, which is a moving target as of today. It also has Chromium as a package, unlike Focal that uses snap instead. For last, it has a good backports repo, with several libs that would otherwise need to be compiled and maintained if we chose, for example, Focal.
¿Why Legacy instead of Mainline?
This is an implementation based on the vendor's BSP kernel. It has been tested and is reliable, which many people will prefer rather than having a bleeding-edge, less stable implementation. In addition to that, Mainline upstream multimedia support is still a WIP, and lacks many features that are only present on Legacy kernels.
¿Will you add new features to this implementation?
No, this implementation will only receive bug fixes if necessary. From now on, all multimedia work will be focused on Mainline and recent distros (like Focal or Bullseye). All new features will go there. -
NicoD reacted to balbes150 in Board Bring Up Station P1 rk3399, M1 rk3328
Throw away this intel shit. use the native build on rk3399. This is faster and without any stupid Trojans in Intel x86.
You use the source code from Friendlyelec , they are significantly worse. It is better to use the ones that go for rockchip64-legacy (there are also sources for analog audio 8323\8388)
https://github.com/150balbes/build/blob/armbian-tv/config/boards/station-p1.conf#L3
https://github.com/150balbes/build/blob/armbian-tv/config/sources/families/include/rockchip64_common.inc#L51
And the kernel config that WiFi works with.
https://github.com/150balbes/build/blob/armbian-tv/config/kernel/linux-rockchip64-p1-legacy.config
PS I wanted to create a PR with the change, but so far I have suspended it until we discuss and agree on these changes.
-
NicoD reacted to piter75 in Board Bring Up Station P1 rk3399, M1 rk3328
It needs some more love than simply using roc-rk3399-pc as base device tree ;-)
I will try to tweak a bit here and there in the coming days.
-
NicoD got a reaction from Werner in Board Bring Up Station P1 rk3399, M1 rk3328
Also noticed that. Power ok, but not communication.
It also overheats too easily for such a nice heatsink/case. I suspect there's a thermal resistor pad. I'll see to replace it with copper shims and some thermal paste when done with benchmarks. Heatsink never goes over 45C when CPU throttles at 85C.
P.S.: I also wonder on the DP support. I'll order a USB type-C to hdmi adapter.
-
NicoD reacted to Werner in Board Bring Up Station P1 rk3399, M1 rk3328
Odd. I can easily switch to desktop and back. It is definitely there: https://github.com/armbian/build/tree/desktop
-
NicoD got a reaction from TRS-80 in sick and tired of my Armbian desktop locking and crashing
It's been fixed to my knowledge. It was the mesa update that was buggy.
Still a few other bugs need to be worked out. But this problem seems to be gone.
I do think there's another issue. Panfrost is enabled by default in desktop and server images, I don't know if it has a path for correct update.
Certainly for server images I'd disable it since it can only make problems. For desktop I don't mind.
The other issue with ondemand governor I've not seen anymore. So might also be fixed. If anyone could confirm.
-
NicoD reacted to Igor in Board Bring Up Station P1 rk3399, M1 rk3328
./compile.sh LIB_TAG=desktop EXPERT=yes
-
NicoD got a reaction from Werner in Board Bring Up Station P1 rk3399, M1 rk3328
I've got groovy and bullseye. But no Hirsute or Sid. EXPERT="yes". The same for dev, current and legacy.
I'd love to try Hirsute.
Is there no audio out on your monitor? I've also got an HDMI monitor without speakers but with a 3.5mm plug on the sides.
Otherwise I use a lot of USB audio adapters. They are very cheap and work on everything. Have input and output. So I need it to record a microphone.
I got many different types but these are my favorite.
https://www.amazon.de/Sabrent-Soundkarte-External-erforderlich-AU-MMSA/dp/B00IRVQ0F8/ref=sr_1_2_sspa?__mk_de_DE=ÅMÅŽÕÑ&dchild=1&keywords=usb+audio+adapter&qid=1608136477&sr=8-2-spons&psc=1&smid=A1S41JW81H0D20&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEzSUhTTkQwQk5IQ1JIJmVuY3J5cHRlZElkPUEwNjczNTQzMUZMNkdLMkhEUzFPVyZlbmNyeXB0ZWRBZElkPUEwODY2OTI0M1BIMkRGRjRQUElNTSZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=
Cheaper but probably as good.
https://www.aliexpress.com/item/1005001304650882.html?spm=a2g0o.productlist.0.0.4caa60c5xNIJhX&algo_pvid=7c32f1c5-8bbb-42ec-821d-d52c797290bb&algo_expid=7c32f1c5-8bbb-42ec-821d-d52c797290bb-30&btsid=0b0a556b16081364157233010ee6a1&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
Just those with a cable I've got bad experiences with. I use this when camping, so with every movement those with cables have bad contacts.
These do give better sound than most on-board 3.5mm sound. Certainly for the old Raspberries. Those have awful on-board sound.
Even with my M4V2 it's better to use the USB audio adapter since it gives a bit more volume when using headphones.
-
NicoD got a reaction from Werner in Board Bring Up Station P1 rk3399, M1 rk3328
Thank you. I'll try that. For now I've got everything I need working in Bionic.
I'll let the RockPiX do another build. It is slow, but steady
@Werner I'm on 5.9.15 Bionic and can confirm analog audio not working. HDMI sound works fine.
I'm using a 1080p display so can't test that resolution.
-
NicoD reacted to jasonyang in reboot command doesn't work for NanoPi M4 on the "current" images
Just FYI that, the board is now functioning correctly with the ROMs updated last weekend ;-)
-
NicoD got a reaction from legogris in 32-core 3.3Ghz ARM Server Review
Today I had the pleasure of benchmarking an ARM64 server.
This server has been made available for Armbian to test native ARM64 image building.
I knew nothing about the server. Nobody told me any details.
So everything was an adventure for me to find out. I got SSH access, so my research began.
A lscpu informed me it had 32-cores all clocked at 3.3Ghz.
cat /proc/cpuinfo confirmed these 32-cores
Checking on what kernel we're on. Ubuntu Focal 5.4.0-52-generic.
And how much memory. 128GB RAM.
So first thing I wanted to know, how does one core perform with 7-zip benchmark?
The record I had seen until now was from the A73 cores from the Odroid N2+ clocked at 2.4Ghz. 2504MIPS decompression.
So :
taskset -c 31 7z b
This beats the Odroid N2+ its A73 cores clocked at 2.4Ghz. 2763 vs 2504MIPS decompression.
This also tells me these cores do not perform as good per clock as a high performance core.
While doing the single core benchmark I checked the sensors to know the wattage and temperature.
CPU power is about 20W for a single core tasks.
Without a load the CPU consumes between 10W-15W. So in total it consumes a bit more than 20W in idle.
Temperature never went under 49C even after +5 minutes in idle.
Of course, the next thing to do is an all-core 7zip benchmark.
This gives an amazing result. Way higher than anything I had ever seen on ARM.
85975MIPS decompression. This is amazing.
Best I had seen was 11000MIPS of the Odroid N2+. So this server does 8 x better than the N2+.
Tho, I must say. 7zip does bad with unequal clusers. The N2+ has a great difference in cluster frequencies. So it performs worse then expected here.
The wattage went a lot higher, up to 110W. And the temperature rose quickly up to 75C in seconds.
To test the internet connection I downloaded an Armbian image multiple times. Sometimes it was as low as 3MB/s.
Highest average speed I've seen was 12.5MB/s
Next test. BMW Blender render benchmark.
Here the fastest I had ever seen was by the Khadas VIM3. That did it in 42m51s.
I haven't done this yet with the N2+ in Armbian. In Odroid's Ubuntu it was a little slower. I expect it to be a little faster than the VIM3 in Armbian Bionic.
This is a tile based test. So every core gets its own task, until all tiles are done.
Well, this ARM64 server did this in 8m27s.
5 x faster compared to the Khadas VIM3.
For this the wattage didn't go over 85W. But the temperature did rise to 83C. So it started to throttle.
@lanefu already had done SBC-Bench on it when it was free. So this I didn't have to do myself.
http://ix.io/2Dcc
Here we see a lot. For example the CPUMiner did : 81.0kH/s
The Odroid N2+ : 14 kH/s 5.7 x less
RK3399 does a maximum of : 10.23kH/s 8 x less
Odroid C2 clocked at 1.75Ghz : 4.65kH/s 17 x less
So this server clearly can move a lot of bits around.
Now, what is this server? Ask google if nobody else tells me. "32 core ARM server 3.3Ghz"
First answer : https://www.theregister.com/2018/09/18/ampere_shipping/
That looks like it is this CPU. But still I can't find the exact name.
2nd answer : https://www.servethehome.com/ampere-32-core-64-bit-arm-chip-x-gene-3-ip/
So this is the Ampere 32-core 64-bit from X-Gene 3 IP.
Here the wikichip : https://en.wikichip.org/wiki/apm/x-gene/apm883832-x3?fbclid=IwAR0ljCQ61DY8Zwh_VyZd0fQH43dmPUTJA-CGLiQKYqU2fWwszFm1CPjH6Zo
This supports up to 1TB RAM. 8 channels @ 2666Mhz. With a maximum memory bandwidth of 158.95 GiB/s.
42 lanes of PCIe Gen 3, with 8 controllers
– x16 or two x8/x4
– x16 or two x8/x4
– x8 or two x4
– Two x1
4 x SATA Gen 3 ports, 2 x USB2. And a TDP of 125W TDP.
For me this is just an awesome thing to behold. I use ARM for almost everything.
The NanoPi M4V2 is my main desktop computer.
It isn't as powerful as my PC, but does the task for 10 x less power consumption, while being completely silent.
But when I need a big CPU, it isn't enough.
Even the more powerful Odroid N2+ isn't powerful enough to render long, +20minutes 1440p video's for example for my Youtube channel.
So then i need to use my x86/amd64 PC.
Today I have seen and tasted the future.
While this doesn't use the most modern Cortex/clusters. And it is only 16nm.
So there is still a lot of room for improvements in performance and lower power consumption.
ARM for desktop is possible, and ARM servers for big datacenters is possible(AWS). I have seen the future, I loved every second of it.
Here benchmarks compared to my SBCs
Greetings, NicoD
-
NicoD got a reaction from gounthar in Board Bring Up Station P1 rk3399, M1 rk3328
I've gotten it from Firefly. Didn't need to pay income taxes or shipping. That's a game of chance. Many times I need to pay for income taxes, sometimes not.
For this I wanted to take my chances. I could use a 2nd RK3399 with 4GB ram. Ideal for running mainline while my M4V2 runs legacy.
It does run too hot for having such a case(85c at 2/1.5Ghz). I'll see to improve that. I suspect thermal pads that I'll replace with copper shims. Done that on my M4V2 and the difference is huge.
-
NicoD got a reaction from Werner in Holiday shopping the easy way
Wow. Does your family know what Armbian is?
Cool family if so. Nobody in my family knows what Linux is, and wouldn't understand if I told them. And I make videos about it.
I hope they are happy with their gifts. Armbian all the way
-
NicoD got a reaction from Werner in Board Bring Up Station P1 rk3399, M1 rk3328
I build Bionic legacy today and didn't boot, no led on. Why didn't I check here
Took my poor RockPiX 5 hours and 30 minutes to build. I'll try again tomorrow. Now the build should go faster. Thanks.
-
NicoD reacted to TRS-80 in Holiday shopping the easy way
I never know what to get anyone. If I'm being honest I have more than a little disdain for how commercialized the holidays have become nowadays. We were not raised in a materialistic way growing up. A lot of gifts were socks and other actually useful things like that (which I only appreciate now as I get older ). Anyway...
So when some of the guys shared some pictures of themselves with some Armbian swag in IRC a while back, a little light bulb went off in my head.
So this morning, I went nuts and spent > 400 USD sending everyone in my family some Armbian swag. I figure, it's a good way to get the word out there to friends and family about a project I care a lot about, while supporting the project a bit financially at the same time.
I don't expect anyone else to spend that sort of money, in fact I am a tight wad and rarely do, myself. But a coffee mug or something might be nice?
I also don't like to rush people (because I don't like to be rushed, myself), however if you are going for delivery before the holidays I would place your order ASAP, maybe even today.
One final gotcha, their credit card processor apparently only allow 2 orders per day. Luckily I had sent orders to other family first, because my third order was denied. I called their customer support and they confirmed this issue and told me to try again after 24 hours. So the stuff that is coming here for us I will place that order (again) tomorrow. I just wanted to give everyone a heads up about that though.
-
NicoD got a reaction from lanefu in Board Bring Up Station P1 rk3399, M1 rk3328
I've gotten my Station P1.
It looks great. I love the metal case.
There seems to be PCIe GPIO's. Also RTC battery.
It is sweet. Thank you for informing me about this.
-
NicoD reacted to Winguo in Board Bring Up Station P1 rk3399, M1 rk3328
Both Station P1 and M1 support Armbian OS.
-
NicoD reacted to gounthar in Board Bring Up Station P1 rk3399, M1 rk3328
Or is it the other way around?
-
NicoD got a reaction from gounthar in Board Bring Up Station P1 rk3399, M1 rk3328
I've gotten my Station P1.
It looks great. I love the metal case.
There seems to be PCIe GPIO's. Also RTC battery.
It is sweet. Thank you for informing me about this.
