Jump to content

Pin packages for rockchip-multimedia and panform mesa


OttawaHacker

Recommended Posts

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 by OttawaHacker
Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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 by OttawaHacker
Link to comment
Share on other sites

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines