I have several Debian/unstable machines, all with a Nvidia card.
On one of them, due to a bug in nouveau in the past, I use the
proprietary nvidia driver: libnvidia-legacy-390xx-* packages.
And the initrd size is reasonable:
-rw-r--r-- 1 root root 66937544 2024-07-30 11:27:32 initrd.img-6.9.12-amd64
Note that on this machine, firmware-nvidia-graphics is not installed. According to its description, this package is apparently for the
nouveau driver:
Package: firmware-nvidia-graphics
[...]
Source: firmware-nonfree
Version: 20240709-1
Suggests: initramfs-tools
Conflicts: firmware-misc-nonfree (<< 20230625-3~)
Description: Binary firmware for Nvidia GPU chips
This package contains the binary firmware for Nvidia graphics chips using
the nouveau driver.
On other machines, I use the nouveau driver, but
firmware-nvidia-graphics now makes the initrd.* file much larger.
See the increase:
-rw-r--r-- 1 root root 69879473 2024-07-19 02:11:58 initrd.img-6.7.12-amd64 -rw-r--r-- 1 root root 112644015 2024-08-01 13:01:40 initrd.img-6.9.12-amd64
which may be a problem with the small /boot partition (500 MB).AIUI, those old enough to use 390 drivers won't likely have support much longer,
This is currently OK, but if I want to have 3 or 4 kernels (e.g.
due to future bugs), this might not be possible.
Should I switch to the proprietary nvidia driver on these machines?
Vincent Lefevre composed on 2024-08-01 15:26 (UTC+0200):
I have several Debian/unstable machines, all with a Nvidia card.
On one of them, due to a bug in nouveau in the past, I use the
proprietary nvidia driver: libnvidia-legacy-390xx-* packages.
And the initrd size is reasonable:
-rw-r--r-- 1 root root 66937544 2024-07-30 11:27:32 initrd.img-6.9.12-amd64
Note that on this machine, firmware-nvidia-graphics is not installed. According to its description, this package is apparently for the
nouveau driver:
Package: firmware-nvidia-graphics
[...]
Source: firmware-nonfree
Version: 20240709-1
Suggests: initramfs-tools
Conflicts: firmware-misc-nonfree (<< 20230625-3~)
Description: Binary firmware for Nvidia GPU chips
This package contains the binary firmware for Nvidia graphics chips using
the nouveau driver.
On other machines, I use the nouveau driver, but
firmware-nvidia-graphics now makes the initrd.* file much larger.
See the increase:
-rw-r--r-- 1 root root 69879473 2024-07-19 02:11:58 initrd.img-6.7.12-amd64
-rw-r--r-- 1 root root 112644015 2024-08-01 13:01:40 initrd.img-6.9.12-amd64
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076561
which may be a problem with the small /boot partition (500 MB).
This is currently OK, but if I want to have 3 or 4 kernels (e.g.
due to future bugs), this might not be possible.
Should I switch to the proprietary nvidia driver on these machines?
AIUI, those old enough to use 390 drivers won't likely have support
much longer, if even supported now,
while the bug fix should trim initrd size considerably before
too long.
On 2024-08-01 10:23:53 -0400, Felix Miata wrote:
the bug fix should trim initrd size considerably before
too long.
What do you mean?
Vincent Lefevre composed on 2024-08-01 17:18 (UTC+0200):
On 2024-08-01 10:23:53 -0400, Felix Miata wrote:
the bug fix should trim initrd size considerably before
too long.
What do you mean?
After package containing bug fix is installed, newly generated
initrds will be considerably smaller that they were or would have
been before the fix arrived.
Vincent Lefevre composed on 2024-08-01 15:26 (UTC+0200):
-rw-r--r-- 1 root root 69879473 2024-07-19 02:11:58 initrd.img-6.7.12-amd64
-rw-r--r-- 1 root root 112644015 2024-08-01 13:01:40 initrd.img-6.9.12-amd64
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076561
On Thu, 2024-08-01 at 15:26 +0200, Vincent Lefevre wrote:
Should I switch to the proprietary nvidia driver on these machines?
Without NVidia's graphics accelerator, using software rendering with
nouveau is painfully slow. Sometimes even the mouse cursor is frozen.
This is especially the case if you're looking at a web page that has an annoying video ad playing in a sidebar.
The NVidia 390 driver is not available for Debian 12 (and it might not
have been available for Debian 11). I wasted a lot of my time, and a
lot of bandwidth in this discussion list, trying to install it. On my desktop, I installed a Quadro K2200 card to replace by GeForce card --
so now a computer that I use less frequently is stuck with nouveau. On
a laptop, I'm stuck with nouveau or returning to Debian 10.
Sorry but have you read that bug report (#1076561)? Some users has posted solutions to make smaller the initrd file:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076561#10
and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076561#48
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 156:22:45 |
| Calls: | 12,093 |
| Calls today: | 1 |
| Files: | 15,000 |
| Messages: | 6,517,738 |