[SRU][canonical-kernel-snaps/main][PATCH 0/1] nvidia-user: replace invalid ICD vendor path in mangler
Aaron Jauregui
aaron.jauregui at canonical.com
Thu Sep 3 23:50:28 UTC 2026
On Wed, Sep 02, 2026 at 05:02:40PM +0200, Stefan Bader wrote:
> On 17/08/2026 06:50, Aaron Jauregui via kernel-team wrote:
> > BugLink: https://bugs.launchpad.net/bugs/2163398
>
> From the submission it is hard to tell where exactly this
> applies to. UC24 or UC26. The bug report mentions UC24. Also
> since this is outside the normal SRU places it tends to be
> blanked and forgotten. I guess it would be helpful to be a bit
> more actively pointing people at this through other channels.
I agree about how confusing this is. I have added UC24 as a target
series to the tracking bug, but I don't think it's too helpful given
UC26 is not available as a target series anyway. Maybe it'd be best to
move this kind of patch/bugfix workflow to a Launchpad MR model? I'm not
sure how helpful that would be. I will try to be more dilligent in
requesting ML reviews explicitly from the appropriate people.
> What I always find hard to decide is whether those changes can
> be applied anytime or better just before a new cycle...
>
> -Stefan
It's probably fine to apply the changes anytime, assuming that there
aren't too many kernel snaps that depend on it for Nvidia components,
for the sake of consistency. AFAIK only the pc-kernel supports them, so
I don't think that is a problem.
>
> >
> > [Impact]
> >
> > The nvidia-user component's mangler is appending the component's
> > vendors directory to OCL_ICD_VENDORS as a colon-separated path list.
> > This is invalid, and causes there to be no OpenCL platforms discovered
> > at all, thus causing workloads to fail. When unset, it still points at a
> > directory that isn't staged by the component, which replaces the default
> > OpenCL vendor path and hides the host's ICDs.
> >
> > [Fix]
> >
> > Set a single path with a guard to prevent overwriting the existing path when
> > the variable is unset, or if the directory doesn't exist.
> >
> > [Test Case]
> >
> > Tested script behaviour on an existing UC install with pc-kernel and
> > nvidia-user component. Confirmed no overwrite occurs on an existing
> > variable or a non-existing dir.
> >
> > [Where problems could occur]
> >
> > Single-variable change in the mangler script, should not have any effect
> > outside of the variable's function.
> >
> > Aaron Jauregui (1):
> > nvidia-user: Replace invalid path list in mangler with guarded single
> > path
> >
> > hooks/nvidia-user/kernel-gpu-2404-provider-mangler | 6 +++++-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
> >
>
More information about the kernel-team
mailing list