[SRU][kernel-snaps-u24.04][PATCH 0/1] Set nvidia-stream parameter from EOL drivers

Aaron Jauregui aaron.jauregui at canonical.com
Thu Aug 7 07:15:11 UTC 2025


https://bugs.launchpad.net/bugs/2119706

[Impact]
We rely on the pc-kernel configure hook to detect and upgrade EOL
drivers. To avoid an existing issue where installing components on first
boot causing images to become unbootable, the configure hook only runs
if the nvidia-stream parameter has been set (snap set snap set pc-kernel
nvidia-stream=550-erd, etc).

Upgrading from the 550 (now EOL) driver to the 570 driver does not
happen, as this value is not set by default. This leaves the user with
an empty 550 driver that fails.

[Fix]
Use a post-refresh hook for the EOL ko component to set the
nvidia-stream parameter if it is not already set (and thus trigger the
component hook). Note that since this is a post-refresh hook it should
not trigger when installing a new EOL module, but it will handle the
upgrade case.

[Test case]
Refresh the pc-kernel from a previous version with the nvidia-550-erd-ko
component installed and the nvidia-stream parameter not set in the
pc-kernel. Refresh to a pc-kernel version with a corresponding EOL
nvidia-550-erd-ko, where the component hook will set nvidia-stream,
causing the target non-eol driver version to be installed (in this case
570).


Aaron Jauregui (1):
  nvidia-templates: set nvidia-stream if unset for EOL components

 nvidia-templates/eol-part-tmpl | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.43.0




More information about the kernel-team mailing list