OttawaHacker Posted January 26, 2023 Posted January 26, 2023 (edited) I did a bit of reading - to prevent ubuntu packages to update the rockchip optimized packages, you need to pin the packages. There is a simple way to do that. 1. Create a file called rockchip-multimedia-ppu in /etc/apt/preferences.d with Package: * Pin: release o=LP-PPA-liujianfeng1994-rockchip-multimedia Pin-Priority: 600 2. Create a file called panfork-mesa-ppu in /etc/apt/preferences.d with Package: * Pin: release o=LP-PPA-liujianfeng1994-liujianfeng1994-panfork-mesa Pin-Priority: 600 You can verify that the apt configuration is working correctly with sudo apt policy chromium-browser which should return chromium-browser: Installed: 1:105.0.5195.125-0ubuntu1~jammy~rkmpp20221209 Candidate: 1:107.0.5304.62-0ubuntu1~ppa1~22.04.1 Version table: 1:107.0.5304.62-0ubuntu1~ppa1~22.04.1 500 500 http://apt.armbian.com jammy/jammy-desktop arm64 Packages 500 http://ppa.launchpadcontent.net/saiarcot895/chromium-beta/ubuntu jammy/main arm64 Packages *** 1:105.0.5195.125-0ubuntu1~jammy~rkmpp20221209 400 400 https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu jammy/main arm64 Packages 100 /var/lib/dpkg/status 1:85.0.4183.83-0ubuntu2 500 500 http://ports.ubuntu.com jammy/universe arm64 Packages Edited January 26, 2023 by OttawaHacker 0 Quote
martivo Posted January 26, 2023 Posted January 26, 2023 Thanks, seems like a good idea. Added this functionality to orange pi 5 ansible role collection into "orangepi5-hdmi" role. 0 Quote
OttawaHacker Posted January 26, 2023 Author Posted January 26, 2023 Wow that ansible collection is amazing - any chances some of these features could be contributed into the current armbian-config features? Would be nice for inexperienced users to have a simple "Install hardware acceleration and optimized Chromium browser" in software category 0 Quote
martivo Posted January 26, 2023 Posted January 26, 2023 Some of them could (and are like setting the hostname), but I am guessing there is a reason why these hardware acceleration things are not yet packaged with Orange pi 5 Armbian by default? Hopefully someone who knows more can shed some light on what the downsides of using those repos is or what the future plan is. I like to think that once this is more mature then users would only need to run "sudo apt install chrome" or "apt install kodi" and get all the correct things. For now I am trying to collect, automate the How-To of Orange Pi 5 HTPC + Home Server setup into the Ansible roles to make it easy to apply setups without error....following forum instructions can be prone to error and sometimes tedious. 0 Quote
Efe Çetin Posted January 26, 2023 Posted January 26, 2023 Here is why they are not preinstalled https://github.com/armbian/build/pull/4476 0 Quote
OttawaHacker Posted January 27, 2023 Author Posted January 27, 2023 (edited) 6 hours ago, Efe Çetin said: Here is why they are not preinstalled https://github.com/armbian/build/pull/4476 After following all the threads - the panfork drivers, there is somekind of back story with the author of the drivers... I can understand that the armbian community wants to separate themselves, but I'm not sure how much practical difference there would be if the software menu had a clear option to install the panfork drivers (at your own risk and put more context) vs advertising the ppa repo in the landing. Sadly I'm not sure end users have options for mesa drivers right now. For the multimedia ppa - these packages originate from an engineer from rockchip - my understanding is that it is a different story. Is there any specific reason for that PPA? IMO the multimedia one should be optional since it has a modified version of chromium, there could be legitimate security reasons someone doesn't want to install that (esp since that chromium is going to stay behind in versions). Edited January 27, 2023 by OttawaHacker 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.