x11-drivers/nvidia-drivers-530.41.03:0/530::gentoo USE="X driver static-libs tools wayland -dist-kernel -kernel-open -persistenced"
You mean the gsp firmwares? I'd rather not touch this without someone being able to confirm these are still able to load both with and without USE=kernel-open. I "think" it should work but nvidia sometime do things differently due to licensing limitations and it may potentially not work even with CONFIG_FW_LOADER_COMPRESS_XZ (wouldn't hurt to try .zst too given linux-firmware also has USE=compress-zst). After compression + reboot, "should" be able to confirm with: $ nvidia-smi -q | grep GSP GSP Firmware Version : N/A (I don't have a card recent enough to use gsp, so it shows N/A and I can't tell if it works mysql) Note that linux-firmware uses the following commands to compress given I guess kernel decompressor may(?) be picky (e.g. with blocks generated by threads): $ xz -T1 -C crc32 $ zstd -15 -T1 -C -q --rm That aside, I'm also not super interested in the extra churn to support this (need to check kernel configs + compress manually) unless it's really wanted. The whole nvidia-drivers install is 1.2GB and compressing firmwares just saves ~21MB out of that (not really for someone tight on space either way). -rw-r--r-- 1 root root 33391944 Apr 2 09:26 gsp_ga10x.bin -rw-r--r-- 1 root root 29751120 Apr 2 09:26 gsp_tu10x.bin -rw-r--r-- 1 root root 21497848 Apr 2 09:26 gsp_ga10x.bin.xz -rw-r--r-- 1 root root 18743100 Apr 2 09:26 gsp_tu10x.bin.xz
(In reply to Ionen Wolkens from comment #1) > You mean the gsp firmwares? I'd rather not touch this without someone being > able to confirm these are still able to load both with and without > USE=kernel-open. And right, to confirm without kernel-open may need to add a file with `options nvidia NVreg_EnableGpuFirmware=1` in /etc/modules.d (or add to nvidia.conf). There's only a handful of cards that use it by default[1] [1] https://download.nvidia.com/XFree86/Linux-x86_64/530.41.03/README/gsp.html