Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77653 - [linux-firmware] Consider splitting linux-firmware further

Attached to Project: Arch Linux
Opened by Emil (xexaxo) - Sunday, 26 February 2023, 15:51 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:23 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

Early in 2022 out firmware package got a) xz compression and b) enterprise-y firmware was split into sub-packages, currently linux-firmware is at ~130/150M (compressed vs installed).
While it's far more manageable it still provides fairly large "overhead" wrt what Arch users need - somewhere between 2x and 8x.

Of all the firmware, ~120 MiB fits into the following categories:

Wifi/BT/NIC
- 43 MiB iwlwifi* - Intel Wifi
- 20 MiB {ar,ath}* - Atheros Wifi/Bt
- 14 MiB intel/ibt* - Intel BT
- 6 MiB brcm* - Broadcom, b43 might be incoming?
- 2 MiB {RTL,rtl,rtw}* - Realtek

GPU
- 23 MiB amdgpu - various GPUs, hw blocks and multiple versions of each
- 8 MiB i915 - Gen9+ GPUs only
- 4 MiB radeon - ancient AMD radeons also should we include r128?
- 3 MiB nvidia - huge GSP firmware might be incoming?

In the typical setup, people would have GPU/Wifi/BT of a 1-2 vendors, be that one or multiple devices. Where the rest is more or less dead weight.

Let's pick some of my machines for example:
- i915 Gen8 + Intel Wifi/BT - 60M applicable
- AMGPU + Realtek Wifi/BT - 25M applicable
- AMGPU + Intel Wifi/BT + Realtek NIC - 82M applicable
- i915 Gen9 + Nvidia GPU + Realteck NIC - 18M applicable

My proposal is to split out each section listed above as it's own sub-package. Or at the very least the larger ones like Intel Wifi, Intel BT, Atheros, AMDGPU.

Thanks in advance

Additional info:
* package version(s)
linux-firmware 20230210.bf4115c-1
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:23 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/linux-firmware/issues/ 1
Comment by Andreas Radke (AndyRTR) - Tuesday, 25 April 2023, 15:17 GMT
Split Realtek, Qcom Atheros, Mediatek, brcmfmac WiFi/BT firmwares to subpackages:

https://src.fedoraproject.org/rpms/linux-firmware/c/be92a95e169422f1108bce0aee70ed96fc26fb0b?branch=rawhide
Comment by Emil (xexaxo) - Monday, 01 May 2023, 13:59 GMT
Neat, didn't see that one - great minds things alike ... or something.

Note that Fedora goes a step further than my proposal - splitting the Intel Wifi/Bt firmware into 17 packages. IMHO that seems like an overkill (and a bit of a maintenance nightmare) but if the maintainers like it, I won't object :-P

Loading...