Am 01.10.25 um 20:12 schrieb Chris Murphy:
On Wed, Oct 1, 2025, at 1:25 PM, Chris Murphy wrote:
Fedora 42: Users should now have a fix in dracut-107-3. New initramfs
will be about 1/2 the size.
This Fedora 42 user reports a ~280 MB rescue initramfs, ~180 MB hostonly
initramfs before revert, and ~156 MB after revert. They do have nvidia gpu, so
we can deduct 100 MB due to the size of the nvidia firmware, but even 56 MB is
2x bigger than I'd expect.
The nvidia firmware contains two different major releases. It could be
30-50% smaller (which is still huge ) if the nvidia firmware package is
split into 2 seperate versions
and just the needed one is included in the initramfs.
Example:
36K usr/lib/firmware/nvidia/ga102/gsp/booter_load-535.113.01.bin.xz
36K usr/lib/firmware/nvidia/ga102/gsp/booter_load-570.144.bin.xz
20K usr/lib/firmware/nvidia/ga102/gsp/booter_unload-535.113.01.bin.xz
24K usr/lib/firmware/nvidia/ga102/gsp/booter_unload-570.144.bin.xz
20K usr/lib/firmware/nvidia/ga102/gsp/bootloader-535.113.01.bin.xz
20K usr/lib/firmware/nvidia/ga102/gsp/bootloader-570.144.bin.xz
25M usr/lib/firmware/nvidia/ga102/gsp/gsp-535.113.01.bin.xz
49M usr/lib/firmware/nvidia/ga102/gsp/gsp-570.144.bin.xz
the amdgpu firmware also grew in size a lot.
Imagine what happens, if you run an amdgpu AND a nvidia card in your
laptop... which contacts do.
Honestly, this needs to stop. There is most of the time not enough space
on old drives to grew your boot to 1,5G or 2G, even 1G maybe a problem.
if you have setuped luks on that drive, i would not even consider to
shrink a partition. Moving...ok, but shrinking.. no way.
In my case, i was lucky and had an extra 24g (thx samsung) to grew boot.
Where must be a better way to manage firmware in initramfses.
best regards,
Marius Schwarz
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue