Skip to content

Add the NVIDIA R620 driver for the 6.18 kernel - #636

Draft
qianxjcraig wants to merge 3 commits into
bottlerocket-os:developfrom
qianxjcraig:kmod-6.18-nvidia-r620
Draft

qianxjcraig wants to merge 3 commits into
bottlerocket-os:developfrom
qianxjcraig:kmod-6.18-nvidia-r620

Conversation

@qianxjcraig

Copy link
Copy Markdown
Contributor

Issue:

Related: #624

Description of changes:

This PR adds the NVIDIA R620 driver for the 6.18 kernel, and updates NVLSM. It is the 6.18 counterpart of kmod-next-nvidia-r620 from #621, for x86_64 HGX systems that use the 6.18 kernel.

What's new in kmod-6.18-nvidia-r620:

  • The package has only the open GPU kernel modules. It has no GRID subpackage and no list of GPUs that stay on the proprietary driver.
  • Fabric manager and IMEX come from the 2.0 -direct packages, as in kmod-next-nvidia-r620.
  • The package provides the lts branch names with a priority epoch of 0. kmod-6.18-nvidia-r580 now provides them with a priority epoch of 1, so r580 stays the default lts provider. A variant gets r620 only if it lists a kmod-6.18-nvidia-r620 package by name.

What's new in nvlsm:

  • The package moves from 2025.06.6 to 2025.12.211. With 2025.06.6, NVLSM binds the NVLink bridge in single_port mode on newer HGX systems, fabric manager finds no location for the GPUs, and the GPU fabric state stays In Progress. With 2025.12.211, NVLSM binds the bridge in nvl_bridge mode and fabric manager registers all GPUs.
  • The RPM has the same files at the same paths, so the spec only changes the version.

Testing done:

  • Built the kit and a custom x86_64 AMI that uses kmod-6.18-nvidia-r620. Verified on actual hardware that:
    • the NVIDIA drivers come up and can see all the GPUs
    • with NVLSM 2025.12.211, the GPU fabric state is Completed with status Success on all GPUs
    • NCCL all-reduce over NVLink on a single node passes
  • Verified that the image has no r580 packages.
  • Built the kit for x86_64 and aarch64, and an aws-k8s-1.37-nvidia image against it. The image has r580 (lts) and r595 (pb) and no r620 packages, so variants that do not list r620 still resolve to r580.
  • TODO: regression check of the NVLSM update on an existing NVSwitch platform that uses r580/r595.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

vigh-m and others added 3 commits November 20, 2026 18:50
Give the lts branch Provides a priority epoch of 1. A second package
for the 6.18 kernel can then provide the same lts names at a lower
epoch, and r580 stays the default provider. A variant gets the other
package only if it asks for that package by name.
Add the NVIDIA R620 driver for the 6.18 kernel as the lts branch, as
kmod-next-nvidia-r620 does for kernel-next. This package builds only
the open GPU kernel modules. The units load them on every boot, with
no ghostdog check.

The lts Provides use a priority epoch of 0, so kmod-6.18-nvidia-r580
stays the default lts provider.
NVLSM 2025.06.6 binds the NVLink bridge in single_port mode on newer
HGX systems. Fabric manager then finds no location for the GPUs, and
the GPU fabric state stays In Progress, so NVLink peer-to-peer is not
available. NVLSM 2025.12.211 binds the bridge in nvl_bridge mode, and
fabric manager registers all GPUs.

The RPM has the same files at the same paths as 2025.06.6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants