balbes150 Posted October 18, 2022 Posted October 18, 2022 Alpha version of Armbian images for OrangePi 800. https://disk.yandex.ru/d/3Xta87KhFem-Bw 0 Quote
balbes150 Posted October 19, 2022 Author Posted October 19, 2022 Version 20221019 works VGA HDMI video output, LAN, Wi Fi, analog sound, HDMI sound. 1 Quote
balbes150 Posted October 21, 2022 Author Posted October 21, 2022 Version 20221021 kernel 5.19.16 0 Quote
balbes150 Posted October 24, 2022 Author Posted October 24, 2022 Version 20221024 kernel 5.19.16 fix analog sound add image kernel 6.0.3 0 Quote
NicoD Posted October 27, 2022 Posted October 27, 2022 @balbes150Hi, I hope you're doing well. I'm gathering info for OPi800 review. I had not used RK3399 in a long time for desktop. I moved to N2+ instead. My question. How is it now with the media kernel? Is everything now integrated for that in all your rk3399 images/media-kernel? Or do I still need a debian image to install the media packages? I'm a bit confused. Video playback looks good, but I haven't tried any 4k files. Youtube playback ain't perfect. I remember this being better with the media script. Otherwise the images are pretty good. I tried the 6.0.3. There only on-board wifi wasn't working. The 5.19.6 works great. But haven't gone deep yet. Thank you for the good work. Cheers. 0 Quote
Werner Posted October 28, 2022 Posted October 28, 2022 In theory it should perform as the OPi4 LTS with the exemption that a case has been molded around 0 Quote
balbes150 Posted October 28, 2022 Author Posted October 28, 2022 10 часов назад, NicoD сказал: How is it now with the media kernel? Hi. The kernel itself works well with all functions on RK3399 (has patches from LE). For the 1920x1080 video mode, 3399 features are quite enough for full-screen video in Armbian. For full-screen 4k video playback on Armbian there is not enough ffmpeg\HW decoder, but for such modes (4k video), I prefer to use a specialized distribution - LibreELEC, which works great for these purposes. 10 часов назад, NicoD сказал: Or do I still need a debian image to install the media packages? If build the latest versions of ffmpeg\mpv\kodi using patches from LE, all HW 4k functions will work in Armbian. I remember that @JMCC was building a test version of these components using the 5.10 kernel and everything worked fine. 10 часов назад, NicoD сказал: The 5.19.6 works great. VGA does not work on it yet. All functions work on the first version of images with the 5.18.5 kernel (in fact, this is the "legacy" kernel from OPI) 2 Quote
NicoD Posted October 28, 2022 Posted October 28, 2022 @balbes150Thank you for the info. One more thing, I don't see OC overlays. Is this possible with your images? It does run very cool. So there's headroom. Cheers. 0 Quote
balbes150 Posted October 28, 2022 Author Posted October 28, 2022 36 минут назад, NicoD сказал: I don't see OC overlays. Is this possible with your images? the overlay with extlinux.conf works from a running system. But I doubt the usefulness of this feature for the opi 800. 0 Quote
NicoD Posted October 29, 2022 Posted October 29, 2022 @balbes150 I'm finishing my research on the OPi800. I wanted to let you know my findings before I make the video. The best image I tried was Armbian_22.11.0-trunk_Orangepi-800_jammy_current_5.19.16_xfce_desktop.img5.19 Jammy There I did have an issue with hdmi audio not always working. After a reboot it most of the times is back. Also I couldn't get 5Ghz wifi working while 2.4Ghz wifi is working well. This was the error in dmesg [ 230.032015] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 234.585036] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 239.501298] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 244.921950] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 262.054026] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! With Armbian_22.11.0-trunk_Orangepi-800_sid_current_5.18.5_xfce_desktop.img There is no on-board wifi. I also noticed my 5Ghz wifi dongle drivers aren't installed or working. Works on other armbian devices. It's a realtek 802.11ac So I again was stuck in 2.4Ghz wifi mode. But then a very old dongle that performs a lot worse than OPi800 2.4Ghz wifi. I tested the VGA port on this image. VGA does work, dual display works. But there's a problem with the VGA color. It's all yellow. I don't think it's my display, but I haven't used it in a while, so possible. I still have to test images with kernel 6.0 Here my gathered info until now. OPi800 ------ Benchmarks ---------- Board | OS | Kernel | Clockspeeds | 7z b all cores | 7z b core small core | 7z b big core | NicoD Blender | Supertuxkart | Memcpy | Memset | SBC-Bench OPi800 OrangeOS arch xfce4 5.18.5 1.4Ghz A53/1.8Ghz A72 7475 1283 (core 0) 1906 (core 5) xxx 7fps OPi800 Armbian Jammy xfce4 5.19.16 1.4Ghz A53/1.8Ghz A72 7686 1241 (core 0) 1841 (core 5) 10m11s 7fps http://ix.io/4eiS OPi800 Armbian Sid xfce4 5.18.5 1.4Ghz A53/1.8Ghz A72 7740 1253 (core 0) 1844 (core 5) xxx 7fps File transfer rates ------------------- | eMMC read | eMMC write | eMMC access time | sd-read | sd-write | USB3 read | USB3 write | USB-C read | USBC-C write OPi800 244.3 MB/s 165.4 MB/s 0.22 msec 68.4 MB/s 35 MB/s 426.5 MB/s 150.2 MB/s Temperatures ------------ idle 42C maxed out 83C Power consumption ----------------- idle 0.55A @ 5.25V Maxed out 1.55A @ 5.2V Issue's ------- Armbian Jammy 5.19 HDMI-audio doesn't always work / No VGA / Problem with 5Ghz wifi(maybe a router problem, don't have it with other devices and rebooted router) 2.4 works well [ 230.032015] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 234.585036] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 239.501298] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 244.921950] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! [ 262.054026] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection Scarlet-Dekerf 5Ghz failed status code:1! Armbian Sid 5.18 on-board wifi/bt / Missing 5Ghz usb dongle drivers Thank you for the great work. It is a nice experience with Jammy 5.19. I installed box64, box86, wine, PPSSPP and tons of games. Runs well for an RK3399. I like that they choose a VGA port instead of dual HDMI. I hope it can be fixed in the future. Cheers. 0 Quote
NicoD Posted October 29, 2022 Posted October 29, 2022 Also sid 5.18.5 seems to be throttling at 70C while other images don't. Sid 22:06:30: 1608/1416MHz 5.90 95% 1% 94% 0% 0% 0% 70.0°C 22:06:40: 1608/1416MHz 5.93 85% 1% 83% 0% 0% 0% 69.4°C 22:06:52: 1512/1416MHz 6.02 94% 0% 94% 0% 0% 0% 70.0°C 22:07:07: 1512/1416MHz 6.53 86% 2% 84% 0% 0% 0% 70.6°C 22:07:19: 1608/1416MHz 6.57 89% 1% 88% 0% 0% 0% 68.9°C 22:07:31: 1512/1416MHz 6.63 95% 2% 93% 0% 0% 0% 70.0°C 22:07:41: 1608/1416MHz 6.44 79% 1% 78% 0% 0% 0% 68.9°C 22:07:52: 1800/1416MHz 6.85 99% 2% 96% 0% 0% 0% 68.9°C 22:08:02: 1608/1416MHz 6.88 99% 2% 96% 0% 0% 0% 68.9°C 22:08:12: 1512/1416MHz 6.74 94% 1% 93% 0% 0% 0% 68.9°C Jammy 5.19 12:15:18: 1800/1416MHz 6.95 99% 2% 95% 0% 0% 1% 68.3°C 12:15:28: 1800/1416MHz 6.95 92% 1% 89% 0% 0% 0% 71.1°C 12:15:38: 1800/1416MHz 6.75 84% 2% 81% 0% 0% 1% 70.0°C 12:15:49: 1800/1416MHz 6.79 83% 1% 81% 0% 0% 0% 72.2°C 12:16:02: 1800/1416MHz 6.98 89% 2% 86% 0% 0% 1% 71.7°C 12:16:14: 1800/1416MHz 6.73 84% 1% 82% 0% 0% 0% 70.6°C 12:16:24: 1800/1416MHz 6.85 97% 3% 92% 0% 0% 1% 71.1°C 12:16:34: 1800/1416MHz 6.88 92% 0% 90% 0% 0% 0% 72.2°C 12:16:44: 1800/1416MHz 6.61 80% 3% 76% 0% 0% 1% 70.0°C 12:16:55: 1800/1416MHz 6.82 99% 2% 95% 0% 0% 1% 69.4°C 12:17:06: 1800/1416MHz 7.07 90% 2% 86% 0% 0% 1% 72.2°C Jammy 6.0.5 has no hdmi output. 0 Quote
balbes150 Posted October 31, 2022 Author Posted October 31, 2022 29.10.2022 в 22:19, NicoD сказал: Also I couldn't get 5Ghz wifi working while 2.4Ghz wifi is working well. Check the version with kernel 5.18. 29.10.2022 в 22:19, NicoD сказал: There I did have an issue with hdmi audio not always working. After a reboot it most of the times is back. If you configure which device to use by default (for example, through the Volume Control plug-in), I have not seen any problems with switching audio and output to HDMI on all cores. 29.10.2022 в 22:19, NicoD сказал: With Armbian_22.11.0-trunk_Orangepi-800_sid_current_5.18.5_xfce_desktop.img Have you checked all the images since 5.18 ? There is a difference in them. And it's better to use Ubuntu for tests. 29.10.2022 в 22:19, NicoD сказал: I tested the VGA port on this image. VGA does work, dual display works. But there's a problem with the VGA color. It's all yellow. I don't think it's my display, but I haven't used it in a while, so possible. I didn't see any problems with the VGA color. Have you tried running with VGA only ? 29.10.2022 в 22:19, NicoD сказал: I still have to test images with kernel 6.0 The new 6.0.6 images (with Wi-Fi) are still in the build process and will be available on the site only tomorrow. 1 Quote
NicoD Posted October 31, 2022 Posted October 31, 2022 1 hour ago, balbes150 said: Check the version with kernel 5.18. This was Linux 5.18.5-media and there was no wifi at all here. It was Sid I tried. 1 hour ago, balbes150 said: If you configure which device to use by default (for example, through the Volume Control plug-in), I have not seen any problems with switching audio and output to HDMI on all cores. The problem is that sometimes HDMI audio isn't there to choose from. Doesn't happen that often. But sometimes it's not there and I have to reboot to have hdmi-audio back. It might be because I'm using a Elgato 4K60 HDMI capture box. I do have issue's with that thing not always working. 1 hour ago, balbes150 said: Have you checked all the images since 5.18 ? There is a difference in them. And it's better to use Ubuntu for tests. Thank you, I'll test a more recent Ubuntu with 5.18. The Sid I tested was the oldest I could find. So there might be the problem. I tried Sid because I had seen great improvements in supertuxkart on BPiM5 with Bullseye. Didn't see that on Sid here. 1 hour ago, balbes150 said: I didn't see any problems with the VGA color. Have you tried running with VGA only ? I will test it again, and also test on my old pentium to see if it's normal there. I didn't try having only VGA running. 1 hour ago, balbes150 said: The new 6.0.6 images (with Wi-Fi) are still in the build process and will be available on the site only tomorrow. I will wait for those before making the video. Now my 5.19.16 Jammy xfce4 image is almost perfect. Everything is running that I want to run. Only the HDMI audio that isn't always there. But that's a minor issue. I'll also try to build a Buster image from your build script to see if I can use the Media Framework on it. I do miss the perfect video playback on it. Thank you for the input. Helps a lot. I'll wait at least a day before making the video. Normally I was gonna make it today. Cheers. 1 Quote
NicoD Posted October 31, 2022 Posted October 31, 2022 I did try to build a Buster image with your script but it never finished. I tried 2 times with the same result. [ o.k. ] Checking MD5 sum of installed packages [ debsums ] [ error ] ERROR in function create_rootfs_cache [ functions/cli/cli-entrypoint.sh:108 -> functions/main/default-build.sh:125 -> functions/main/rootfs-image.sh:65 -> functions/rootfs/create-cache.sh:229 -> functions/logging/traps.sh:0 ] [ error ] MD5 sums check of installed packages failed [ o.k. ] Process terminated [ error ] unmount_on_exit() called! [ functions/cli/cli-entrypoint.sh:108 -> functions/main/default-build.sh:125 -> functions/main/rootfs-image.sh:65 -> functions/rootfs/create-cache.sh:229 -> functions/logging/traps.sh:1 -> functions/main/rootfs-image.sh:0 ] [ o.k. ] Unmounting [ /home/nicod/build/.tmp/rootfs-1dc2499a-f3c6-4fea-a14d-e66babedf043/ ] [ error ] ERROR in function unmount_on_exit [ functions/cli/cli-entrypoint.sh:108 -> functions/main/default-build.sh:125 -> functions/main/rootfs-image.sh:65 -> functions/rootfs/create-cache.sh:229 -> functions/logging/traps.sh:1 -> functions/main/rootfs-image.sh:26 -> functions/logging/traps.sh:0 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated I'll wait for your new images. 0 Quote
balbes150 Posted November 1, 2022 Author Posted November 1, 2022 14 часов назад, NicoD сказал: I'll wait for your new images. Upd image 20221031 5.19.17 and 6.0.6 0 Quote
NicoD Posted November 1, 2022 Posted November 1, 2022 Tried the 6.0.6 Jammy xfce4 image. Wifi works, but again my 5Ghz wifi is unable to connect. 5Ghz dongle works. I tested Manjaro yesterday and there the 5Ghz works as should. And also video playback there is perfect. It seems to have hardware accelerated video playback. No screen tearing, no reloads and perfect 1080p youtube and 1440p h264 video files. So for me Armbian is way better for gaming since I know how to install everything here with armbian-gaming. So I'll show that with gaming. And Manjaro is a good 2nd image for video playback and light desktop use. Tho more software works on Armbian in my experience. I hope the media framework can be brought back to life for Armbian on RK3399. I used to love working with it. Also found out that the strange color on my vga was due to a decaying vga cable. Tried with another cable and it works as it should. Doesn't work on 6.0.6. I think you know that. Also the on-board speaker doesn't work. But hdmi audio is working on 6.0.6 *** After reboot it's back. So seems sometimes audio devices don't wake up at boot. Cheers. 0 Quote
balbes150 Posted November 2, 2022 Author Posted November 2, 2022 8 часов назад, NicoD сказал: I tested Manjaro yesterday and there the 5Ghz works as should. And also video playback there is perfect. It seems to have hardware accelerated video playback. No screen tearing, no reloads and perfect 1080p youtube and 1440p h264 video files. It uses the old 5.18.5 kernel (with a lot of hacks in the code) and the "manual" addition of "presets". They got the equipment long before us, let's see what happens at least in a few months Due to the simplicity of the packaging and assembly system, they easily take "other people's developments" in different directions and use them at home. But this build system has a big disadvantage (for me) - this system cannot be used in certified conditions, it is a "floating" distribution without a certificate. Such a system can only be used at home, it is not suitable for serious use in corporate settings. 8 часов назад, NicoD сказал: Wifi works, but again my 5Ghz wifi is unable to connect Have you tried Armbian versions with 5.18 kernel ? 8 часов назад, NicoD сказал: And Manjaro is a good 2nd image for video playback and light desktop use. The best system for video playback is LibreELEC. Only it has all the most advanced and best for these purposes. 😛 8 часов назад, NicoD сказал: Also the on-board speaker doesn't work Hmm, everything works for me. But I have seen some problems with turning on the built-in speaker, if you insert and pull it into the 3.5 jack (turning it on/off again solves the problem), perhaps the switch contacts in the connector are not fully restored when pulling out the external connector. 0 Quote
NicoD Posted November 2, 2022 Posted November 2, 2022 6 hours ago, balbes150 said: It uses the old 5.18.5 kernel Their kernel is 5.19.15-2 I'll mention they've got the device earlier and are further ahead for now. 6 hours ago, balbes150 said: Have you tried Armbian versions with 5.18 kernel ? I did try the 5.18.5 Sid xfce image and there was no on-board wifi and even my 5Ghz dongle didn't work with it. 5.19.5 and 6.0.6 Jammy xfce were the best images I tried. I'm using my 5Ghz dongle on it and that works. Just only 2.4Ghz with on-board wifi. I do see my 5Ghz network, but can't connect. The same with OPiOS. But works with Manjaro. 6 hours ago, balbes150 said: The best system for video playback is LibreELEC. Only it has all the most advanced and best for these purposes. 😛 I tried LibreElec. OPiRK3399 version. It runs, but no on-board wifi and no sound. So not really useful. I'm gonna make the video now. Thank you for the great work. 0 Quote
balbes150 Posted November 2, 2022 Author Posted November 2, 2022 38 минут назад, NicoD сказал: I tried LibreElec. OPiRK3399 version. LE OPiRK3399 version =! LE OPi-800 but there is no LAN yet and you need to manually add firmware and module settings to enable WiFi (USB WiFi should work), I hope to release LE next week with the correction of these bugs. 1 Quote
NicoD Posted November 2, 2022 Posted November 2, 2022 @jock Sorry to bother you. I'm testing the OrangePi800, and it doesn't seem to have the media framework working on balbes150 his images. Do you know more about this? Igor directed me to this -> https://github.com/armbian/build/pull/4098 I'm no developer and have to admit I know little about this. I used to use the media script on Bionic and after that Buster and that ran great. But had not used RK3399 in a long time for that. I made a review video, but don't want the info to be outdated in a few days. Cheers. 0 Quote
jock Posted November 2, 2022 Posted November 2, 2022 @NicoD Hello, no bothering at all, I'm happy to help! That pull request adds the libreelec patches to rockchip64 branch that provide several fixes and multimedia enhancements to mainline kernel so it is possible to use an "almost" mainline ffmpeg/gstreamer for h.264/hevc/vp8/vp9 hardware decoding, DRM fixes, support for 10-bit HDR videos, more DRM planes, etc... etc... There was an old thread where I provided a ready-to-go mpv executable with hardware acceleration on mainline kernel, but should be rebuilt for recent distros since it is quite old now. It could be a nice idea to try mainline kernel with wayland based desktop environment. I may build an Opi800 image with kernel 5.19 from that branch, maybe with a fully-fledged KDE, rebuild ffmpeg/mpv and give instructions for a cutting edge test if you think it is reasonable 1 Quote
NicoD Posted November 2, 2022 Posted November 2, 2022 3 minutes ago, jock said: I may build an Opi800 image with kernel 5.19 from that branch, maybe with a fully-fledged KDE, rebuild ffmpeg/mpv and give instructions for a cutting edge test if you think it is reasonable That is more than reasonable. Would even be fantastic. I've got a few days. I just need the video to be out before the give away stops. 5 minutes ago, jock said: It could be a nice idea to try mainline kernel with wayland based desktop environment. That is a nice idea. I've never tried wayland on Armbian. I am now using wayland on Edge2 and VIM4. But without xwayland with GPU acceleration there's not much fun to it. So with a well supported SoC/GPU it must be a lot more fun. 0 Quote
balbes150 Posted November 3, 2022 Author Posted November 3, 2022 8 часов назад, jock сказал: That pull request adds the libreelec patches to rockchip64 branch that provide several fixes and multimedia enhancements to mainline kernel The "media" core uses patches from LE, so the core has everything that is in LE for HW video. Only applications\libraries compiled using LE patches (ffmpeg mpv kodi etc) are missing. Previously , @JMCC had already built an intermediate test version of all KODI packages using this main kernel and it worked well with HW . 8 часов назад, jock сказал: I may build an Opi800 image with kernel 5.19 from that branch, maybe with a fully-fledged KDE, rebuild ffmpeg/mpv and give instructions for a cutting edge test if you think it is reasonable If you have the opportunity (time), it is better to build DEB packages using the latest media-6 kernel, it is now used in LE (and patches from LE are included in this kernel). This will allow, by analogy with the JMC media script, to provide the ability to install HW support for all systems that use the kernel with the necessary patches. The ideal option is to add an extension to the build system that will collect packages (ffmpeg mkv code etc) using the latest LE patches and put them in the Armbian repository. This will allow you to easily install everything you need by any user through regular tools (apt synaptic etc). @jock By the way, it would be interesting to check the MEDIA core for the rest of the rk3328\3399\3288 etc devices that you have. In the future, can combine their capabilities. 0 Quote
balbes150 Posted November 8, 2022 Author Posted November 8, 2022 All support work has been stopped. 0 Quote
CraftWorld Posted January 19, 2023 Posted January 19, 2023 08.11.2022 в 16:54, balbes150 сказал: All support work has been stopped. @balbes150 does it mean you've deleted orangepi-800.dtb from your build? Also wanna ask if it is possible to get Opi4 with your media kernel? cause it doesn't have resolution issues i've been encountering on mainline armbian. Can it be achieved only by providing right dtb? Asking cause i was trying to run Armbian_22.11.0-trunk_Orangepi-800_jammy_current_5.19.17.img on Orange Pi 4, everything that i need was working. Bluetooth wasn't. Then apt upgrade erased orangepi-800.dtb, and i had to manually put it back. 0 Quote
balbes150 Posted January 19, 2023 Author Posted January 19, 2023 6 часов назад, CraftWorld сказал: does it mean you've deleted orangepi-800.dtb from your build? There is no longer support for OPI 800 in the media core. 6 часов назад, CraftWorld сказал: Also wanna ask if it is possible to get Opi4 with your media kernel? In theory, yes, but I don't have this equipment and I have no idea what it takes. 0 Quote
CraftWorld Posted January 19, 2023 Posted January 19, 2023 Huge thanks for fast answer and for all of mentioned images 0 Quote
CraftWorld Posted January 26, 2023 Posted January 26, 2023 well, wasn't that hard - all the work was done for me. I've just took your image for Station P1, dts for Orange Pi 800 from your github, dts for OrangePi 4 from armbian github, Then refilled all nodes in Pi 800s dts with info from Pi 4. only thing that was not building - type c settings, had to cut them off. After that done - got all i need working on OPi 4. (HDMI USB WiFi Bt Ethernet) and no resolution issues with 16:10. Thanks for that. 0 Quote
Werner Posted January 26, 2023 Posted January 26, 2023 2 minutes ago, CraftWorld said: and no resolution issues with 16:10 Slightly off-topic but interesting. Quite a while ago I tested a 16:10 monitor with 1920x1200 resolution on the Station P1 I could not get to work with other kernels than legacy 4.4.y. Which branch did you build against? current or edge? 0 Quote
CraftWorld Posted January 26, 2023 Posted January 26, 2023 (edited) 5.19-media and 6.1-media all of it was curren at the moment of building. 16:10 gave me some head ache - needed to build kernels that allow to specifiy EDID and make specific EDID files. Actually tested only for 1280x800 screen, and only one of them is working totally fine without EDID fix. another one need EDID fix to display cli interface but works okay when it load to login page (but i do believe it's display issue). Edited January 26, 2023 by CraftWorld upd 0 Quote
Recommended Posts
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.