Search the Community
Showing results for tags 'rock-5b-plus'.
-
Hey everyone, for the past couple of days I've been looking into the Mesa-VPU script made by AmazingFate that's used to patch Mesa/VPU onto a custom build of Armbian. https://github.com/armbian/build/blob/main/extensions/mesa-vpu.sh I already have an install of Armbian (Debian XFCE 6.12.28-current-rockchip64 ) on my Rock5b and was looking into applying as much as I can without re-building an image or starting from scratch. From my understanding, You'd need the vendor rk3588 kernel if you want the best possible compatibility with things like the VPU for multimedia acceleration (Someone please correct me if this is not the case lol) What follows is what I was able to piece together after troubleshooting, reading the Mesa changelog & trying to apply as many packages as I can from AmazingFate's kernel extension script. I've also included some tweaks for XFCE to hopefully provide a smooth graphical experience. Although my Rock5b is used as a headless server and doesnt have anything plugged into the HDMI port, I can say that the following changes have made a huge difference in graphical performance of VNC. Please keep in mind that i'm not a developer for Armbian. I just wanted to share this as a guide i've put together to hopefully help someone else who's tried the same (Please let me know your thoughts or if there was anything i've missed. Like I said, this is what has worked for me) (Obviously the correct fix is to rebuild Armbian with Mesa-VPU. What follows was done as an experiment) #################### GUIDE BELOW. THIS IS NOT A SHELL SCRIPT! PLEASE READ AND DO NOT COPY/PASTE ENTIRETY INTO TERMINAL!############################# #### -- 01 Setup AmazingFate Panfork-Mesa repo for mali-g610-firmware 01 -- #### ## 1A: import gpg key and use it to sign repo ## wget -qO - https://download.opensuse.org/repositories/home:/amazingfate:/panfork-mesa/Debian_12/Release.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/panfork-mesa.gpg ## 1B: Add Repo to apt sources & update ## echo "deb https://download.opensuse.org/repositories/home:/amazingfate:/panfork-mesa/Debian_12/ /" | sudo tee /etc/apt/sources.list.d/panfork-mesa.list sudo apt update ## 1C: Install firmware ## sudo apt install mali-g610-firmware libmali-g610-x11 ## 1D: **RECOMMENDED** : Remove panfork-mesa repo ## sudo rm -rf /etc/apt/sources.list.d/panfork-mesa.list sudo rm -rf /etc/apt/trusted.gpg.d/panfork-mesa.gpg #### -- 02 Enable Debian Experimental Repo for recent Mesa Packages 02 -- #### sudo nano /etc/apt/sources.list ## 2A: Add the following to the bottom of the document... ## deb http://deb.debian.org/debian unstable main contrib non-free deb http://deb.debian.org/debian experimental main ## 2B: Update and install Mesa Packages ## sudo apt update sudo apt install -t experimental mesa-vulkan-drivers mesa-utils libgl1-mesa-dri libglx-mesa0 mesa-vdpau-drivers mesa-va-drivers mesa-opencl-icd mesa-libgallium ## 2C: **RECOMMENDED** : Re-open apt sources and remove Experimental/Unstable repos... ## sudo nano /etc/apt/sources.list #Remove the following and update apt...# deb http://deb.debian.org/debian unstable main contrib non-free deb http://deb.debian.org/debian experimental main sudo apt update #### -- 03 Add rockchip-multimedia Ubuntu Repo to Apt 03 -- #### echo "deb [arch=arm64] https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/rockchip-multimedia.list ## 3A: Download Key and add convert to gpg ## curl -o rockchip-multimedia.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8065BE1FC67AABDE" gpg --dearmor rockchip-multimedia.asc sudo mv rockchip-multimedia.asc.gpg /etc/apt/keyrings/rockchip-multimedia.gpg ## 3B: Add PPA Repo and update ## echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/rockchip-multimedia.gpg] https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/rockchip-multimedia.list sudo apt update ## 3C: Install packages ## sudo apt install libv4l-rkmpp chromium gstreamer1.0-rockchip1 rockchip-multimedia-config ## 3D: **OPTIONAL** : Disable rockchip-multimedia PPA repo ## sudo mv /etc/apt/sources.list.d/rockchip-multimedia.list /etc/apt/sources.list.d/rockchip-multimedia.list.disabled sudo apt update #### -- 04 Optimize XFCE/Xorg and Reboot 04 -- #### ## 4A: Open default xorg config ## sudo nano /etc/X11/xorg.conf.d/01-armbian-defaults.conf #Add the following... # Section "Device" Identifier "Mali-G610" Driver "modesetting" Option "DRI" "3" # Required for Mali GPUs Option "GALLIUM_DRIVER" "panfrost" Option "PageFlip" "on" # Reduces tearing Option "TearFree" "true" # Xfce-specific anti-tearing EndSection ## 4B: Add XFCE Specific tweaks ## sudo nano /etc/X11/xorg.conf.d/20-xfce-tweaks.conf #Add the following... # Section "Extensions" Option "COMPOSITE" "Enable" EndSection Section "ServerFlags" Option "AutoAddGPU" "off" # Prevents duplicate GPU detection EndSection ## 4C: Reboot ## sudo reboot now
-
I am attempting to set up rock-5b-plus to use as a Desktop device, with OBS Studio for livestreaming. My ultimate objective is that I wish to plug an HDMI signal (from a camera) into the HDMI input (`hdmiin`) and use this as a "Video Capture Device" for livestreaming from the camera. Steps I have taken so far: 1. Written this to the microSD card: `Armbian_25.2.2_Rock-5b-plus_bookworm_vendor_6.1.99_cinnamon-backported-mesa_desktop.img.xz` downloaded via [this link](https://dl.armbian.com/rock-5b-plus/Bookworm_vendor_cinnamon-backported-mesa) available [here](https://www.armbian.com/rock-5b-plus/). I opted for this one as it appeared to include software to run MESA 2. Booted the rock-5b-plus from the microSD card and gone through first-time setup as well as running `sudo apt update && sudo apt upgrade -y` 3. Opened a Desktop UI on the computer and run `sudo apt install obs-studio -y` 4. On running obs-studio, observe the error message "Failed to initialise video. Your GPU may not be supported, or your graphics driver may need to be updated". 5. Set about trying to install `mali-g610-firmware` using this link for guidance: 6. Run the following to install amazingfate's signing keys: ``` wget -qO- https://build.opensuse.org/projects/home:amazingfate/signing_keys/download?kind=gpg | sudo gpg --dearmor -o /etc/apt/keyrings/obs-home-amazingfate.gpg ``` 7. Append the following to `/etc/apt/sources.list` (although if mesa-bookwork-backport is already in the distro then I'm not sure why I need to do this) ``` deb [signed-by=/etc/apt/keyrings/obs-home-amazingfate.gpg] https://download.opensuse.org/repositories/home:/amazingfate:/mesa-bookworm-backport/Debian_12/ ./ ``` 8. Then update / upgrade / install ``` sudo apt update && sudo apt upgrade -y sudo apt install mali-g610-firmware ``` But it tells me `E: Unable to locate package mali-g610-firmware`. Here is some useful info: ``` chrishobcroft@rock-5b-plus:~$ cat /etc/apt/sources.list deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware #deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware #deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware #deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware #deb-src http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware deb [signed-by=/etc/apt/keyrings/obs-home-amazingfate.gpg] https://download.opensuse.org/repositories/home:/amazingfate:/mesa-bookworm-backport/Debian_12/ ./ ```
-
Hi, picked up a Rock 5b+ as it looked like the exact right board hardware wise and the rk3588 is getting a reasonable amount of support and happy to see it's officially supported by Armbian. Was able to build and flash the UEFI image and boot into the Fedora installer which would allow a RAID install but unfortunately it doesn't support either the PCIe bifurcation needed for both m.2 slots to work or the hardware acceleration for transcoding. It looks like there's progress being made by Collabora so eventually mainline support should be good enough but for now I'm looking to use Armbian with the BSP kernel as able to boot into it with both drives being detected. Had a look but couldn't seem to find any guides on how to install Armbian to two mirrored drives, could probably get by with one drive but it's going to be located at my parent's house 100 miles away so ideally would want to avoid a failed SSD needing an impromptu day's travel when I'm revising for exams! Happy to learn the build process, manual copy file trees, edit fstab and boot parameters, etc but could do with being pointed in the right direction or at least know if it's a lost cause. It looks like uboot supports mirrored boot disks, and Debian definitely does, so feels like it should be possible even if it's not a typical install. Thanks!
-
Hey Everyone, I'm sorry if this has been answered elsewhere. I recently purchased a Radxa Rock 5B+ and I installed the debian bookworm test build provided by radxa on there getting started page. https://docs.radxa.com/en/rock5/rock5b/getting-started/install-os/boot_from_sd_card https://github.com/radxa-build/rock-5b-plus-6_1/releases/download/rsdk-t4/rock-5b-plus-6_1_bookworm_kde_t4.output.img.xz I was mainly intent on using the HDMI with gstreamer using custom resolutions, but found that when using custom resolutions they cannot use the YCrCb pixel format only RGB8. It seems based on the following comment that RGB8 videoconvert hardware acceleration is missing from the default GPU drivers so one needs custom drivers. https://forum.radxa.com/t/hdmi-input-on-rock-5b/16242/4 https://forum.radxa.com/t/rk3588-kodi-rkmpp-accelerated-decoding-working-out-of-box/12785 Looking at the ppa they want you to add it seems like it only supports ubuntu and reading more they recommend you install armbian jammy on the rock 5B. I did find one github repo that appears to have the raw scripts related to rockchip-multimedia-config and a folder called debian https://github.com/amazingfate/rockchip-multimedia-config But looking at the files it seems like it relies on the device-tree files, which I feel may be different between the 5B and 5B+. So my two questions are 1) is there a working build of armbian ubuntu jammy or noble, that will install on the Rock 5B+ and work as well as it does for the Rock 5B. 2) Does anyone know if the rockchip-multimedia-config ppa with custom drivers will work on the Rock 5B+ ? Any other tips you all may have would be much appreciated. If I can provide any more details from my end just let me know.
-
Hi all, https://paste.armbian.com/koqimivaro vendor kernel boots, detects ethernet, wifi & nvme (booting from SD card) and seem to be working well. Also attached are the UART gathered first boot/install logs. I think the SBC accidentally skipped over the root password by resting on the enter key 😁 uart-logs.txt