You are not logged in.

#1 2025-06-15 20:01:24

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

Hello, today the linux-firmware package was updated and I noticed that nvidia firmware was Split into a different optional  package. Now i get "WARNING: Possibly missing firmware for module: 'nouveau'" message.

The corresponding change does not describe why this was done, it just say that nvidia firmware took 100 MB https://gitlab.archlinux.org/archlinux/ … 104709623a

Can someone explain the following questions in more detail:

1) The purpose of this change is to save 100 Mb or there are other reasons for it ?
2) Do I need the linux-firmware-nvidia package for nvidia-dkms or nvidia-open-dkms ? At the moment I don’t see that it would specified as dependency for other packages.
3) Will this package be specified as additional dependency for mesa ?

Thanks.

Last edited by node (2025-06-17 14:53:30)

Offline

#2 2025-06-15 20:08:21

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,154
Website

Re: Latest commit to linux-firmware pulls down all packages?

Offline

#3 2025-06-15 20:11:52

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

gromit wrote:

sorry, but  "Firmware for NVIDIA devices now accounts for almost a third of the size of the main firmware package." doesn’t tell me much and doesn't answer on my questions.

Last edited by node (2025-06-15 20:14:12)

Offline

#4 2025-06-16 02:46:02

ismailarilik
Member
From: Denizli, Türkiye
Registered: 2023-04-10
Posts: 2
Website

Re: Latest commit to linux-firmware pulls down all packages?

The package `linux-firmware` is very big and splitting big parts from it is a good idea I think. I don't have any NVIDIA unit in any of my computers but still I am waiting for it to be installed and hosting it in my systems for years; this shouldn't be optimal. BTW, isn't there a solution to identify the hardware and install necessary firmware afterwards?

Offline

#5 2025-06-16 08:03:03

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 690

Re: Latest commit to linux-firmware pulls down all packages?

ismailarilik wrote:

BTW, isn't there a solution to identify the hardware and install necessary firmware afterwards?

AFAIK, there is no such tool for Arch. In the case of linux-firmware-nvidia, it could be very simply solved by adding it as a dependency to nvidia-open, nvidia-open-lts, nvidia-open-dkms, nvidia, nvidia-lts, nvidia-dkms and vulkan-nouveau.

Offline

#6 2025-06-16 08:33:59

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

ismailarilik wrote:

The package `linux-firmware` is very big and splitting big parts from it is a good idea

Saving horribly giant 100 MB doesn’t seem like a big achievement to me. At the moment I’m forced to have three different electron versions instead of one, this could save 600 MB.

nl6720 wrote:

AFAIK, there is no such tool for Arch. In the case of linux-firmware-nvidia, it could be very simply solved by adding it as a dependency to nvidia-open, nvidia-open-lts, nvidia-open-dkms, nvidia, nvidia-lts, nvidia-dkms and vulkan-nouveau.

Well apparently linux-firmware-nvidia is not needed for nvidia-dkms, I had to figure it out after rebooting the system, although I would prefer to know about it before shutting down the computer.

If I understand correctly, then linux-firmware-nvidia would need that nouveau/ nova in principle could work, not only for NVK work.

Last edited by node (2025-06-16 08:35:42)

Offline

#7 2025-06-16 13:31:47

Erus_Iluvatar
Wiki Admin
Registered: 2010-04-01
Posts: 128

Re: Latest commit to linux-firmware pulls down all packages?

node wrote:

Saving horribly giant 100 MB doesn’t seem like a big achievement to me. At the moment I’m forced to have three different electron versions instead of one, this could save 600 MB.

FWIW the firmware files are copied into each and every initramfs, for people with a small EFI system partition the space saving is significant.

Edit: as corrected by Scimmia, I wanted to talk about the fallback initramfs, in particular with multiple kernels installed.

Last edited by Erus_Iluvatar (2025-06-17 06:03:46)


I'm french, don't mind my mistakes in english.

Offline

#8 2025-06-16 13:46:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,823

Re: Latest commit to linux-firmware pulls down all packages?

Erus_Iluvatar wrote:
node wrote:

Saving horribly giant 100 MB doesn’t seem like a big achievement to me. At the moment I’m forced to have three different electron versions instead of one, this could save 600 MB.

FWIW the firmware files are copied into each and every initramfs, for people with a small EFI system partition the space saving is significant.

Not true at all. They would only be in every one if you're using the kms hook (or modules array directly) and are using one of the relevant modules. In those cases, you need the package anyway, so no change at all. Otherwise using the kms hook would put it in the fallback only, and there are plenty of ways to mitigate that. Not using the kms hook for one.

Offline

#9 2025-06-16 14:08:28

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

Erus_Iluvatar wrote:

FWIW the firmware files are copied into each and every initramfs, for people with a small EFI system partition the space saving is significant.

Standard efi partition now has a size of 500 Mib That’s more than enough to store any efi files there, I don’t know why keep mkinitcpio there. this is not a /boot partition to store them here .

Last edited by node (2025-06-16 14:09:31)

Offline

#10 2025-06-16 14:14:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,823

Re: Latest commit to linux-firmware pulls down all packages?

node wrote:

I don’t know why keep mkinitcpio there. this is not a /boot partition to store them here .

Maybe not on your system, but that is a very common setup.

Offline

#11 2025-06-16 14:29:26

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

Scimmia wrote:

Maybe not on your system, but that is a very common setup.

it’s weird, I’ve seen /boot use a separate partition or boot in / (the most common solution), but never see anything like boot in /efi

Offline

#12 2025-06-16 14:30:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,823

Re: Latest commit to linux-firmware pulls down all packages?

Who said anything about /efi?

Offline

#13 2025-06-16 14:32:38

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

Scimmia wrote:

Who said anything about /efi?

"for people with a small EFI system partition the space saving is significant."

In any case it has nothing to do with the questions I asked, let’s stick to the topic

Last edited by node (2025-06-16 14:34:10)

Offline

#14 2025-06-16 14:34:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,823

Re: Latest commit to linux-firmware pulls down all packages?

Right, that's the partition, it has nothing to do with an /efi mount point.

https://wiki.archlinux.org/title/Instal … le_layouts

Offline

#15 2025-06-16 14:35:23

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

Scimmia wrote:

Right, that's the partition, it has nothing to do with an /efi mount point.

https://wiki.archlinux.org/title/Instal … le_layouts

In any case it has nothing to do with the questions I asked, let’s stick to the topic

Offline

#16 2025-06-17 00:36:42

node
Member
Registered: 2025-01-04
Posts: 20

Re: Latest commit to linux-firmware pulls down all packages?

Well, now linux-firmware a metapackage, which requires as dependencies all other firmware packages that were previously contained in it
https://gitlab.archlinux.org/archlinux/ … f5530cbdbc

Offline

#17 2025-06-17 16:02:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,862

Re: Latest commit to linux-firmware pulls down all packages?

Then many users will remove linux-firmware and replace it with only the parts they need.

For my desktop f.e I'll need amdgpu firmware (proc + videocard) and whichever one holds iwlwifi firmware (guess that will be in the intel one) .

Looks like an improvement to me.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#18 2025-06-18 21:19:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,709
Website

Latest commit to linux-firmware pulls down all packages?

Is it the intended behavior to have all of the firmware packages installed with linux-firmware?

pacman -Syu
:: Synchronizing package databases...
 router is up to date
 core-testing                                      7.9 KiB  19.3 KiB/s 00:00 [############################################] 100%
 extra-testing                                             7.8 MiB  6.36 MiB/s 00:01 [############################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (22) amd-ucode-20250613.12fe085f-5  bind-9.20.10-1  dbus-broker-37-2  dbus-broker-units-37-2  graphviz-13.0.1-1
              iana-etc-20250612-1  libnghttp2-1.66.0-1  libxml2-2.14.4-1  linux-firmware-20250613.12fe085f-5
              linux-firmware-amdgpu-20250613.12fe085f-5  linux-firmware-atheros-20250613.12fe085f-5
              linux-firmware-broadcom-20250613.12fe085f-5  linux-firmware-intel-20250613.12fe085f-5
              linux-firmware-mediatek-20250613.12fe085f-5  linux-firmware-nvidia-20250613.12fe085f-5
              linux-firmware-other-20250613.12fe085f-5  linux-firmware-radeon-20250613.12fe085f-5
              linux-firmware-realtek-20250613.12fe085f-5  linux-firmware-whence-20250613.12fe085f-5
              python-certifi-2025.06.15-1  xorg-server-21.1.18-1  xorg-server-common-21.1.18-1

Total Download Size:   345.39 MiB
Total Installed Size:  377.66 MiB
Net Upgrade Size:       66.76 MiB

Last edited by graysky (2025-06-18 21:26:38)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#19 2025-06-18 21:34:25

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,218

Re: Latest commit to linux-firmware pulls down all packages?

Offline

#20 2025-06-18 22:52:21

BS86
Member
Registered: 2022-11-03
Posts: 88

Re: Latest commit to linux-firmware pulls down all packages?

the idea is to not install the metapackage anymore, but only the individual packages depending on your hardware (for me that is amd-ucode, linux-firmware-amdgpu and linux-firmware-realtek)

Offline

#21 2025-06-18 22:58:28

UrbenLegend
Member
Registered: 2021-03-26
Posts: 28

Re: Latest commit to linux-firmware pulls down all packages?

I tried to upgrade linux-firmware to the one in testing and it was complaining about file conflicts with some of the nvidia firmware files. I had to remove linux-firmware first and then reinstall from testing. I am guessing it tried to install linux-firmware-nvidia while the old linux-firmware was still installed? Is this to be expected for this upgrade?

Offline

#22 2025-06-18 23:00:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,823

Re: Latest commit to linux-firmware pulls down all packages?

UrbenLegend wrote:

Is this to be expected for this upgrade?

No. It sounds like you might have linux-firmware in IgnorePkg or something?

Offline

#23 2025-06-18 23:03:40

UrbenLegend
Member
Registered: 2021-03-26
Posts: 28

Re: Latest commit to linux-firmware pulls down all packages?

I have no packages listed in IgnorePkg. Even if I did, wouldn't that mean it wouldn't have tried to update it in the first place? It was marked for upgrade in the confirmation list.

I believe it was complaining about the `ad103`, etc. folders

Offline

#24 2025-06-18 23:08:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,709
Website

Re: Latest commit to linux-firmware pulls down all packages?

Ah, I see. I guess there will be a NEWS entry for it. Otherwise, all of the packages will be pulled down.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#25 2025-06-18 23:23:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,823

Re: Latest commit to linux-firmware pulls down all packages?

OK, it appears it *is* expected if you skipped versions.

https://lists.archlinux.org/archives/li … 2UXXD7SMC/

Offline

Board footer

Powered by FluxBB