Cannot install gpu driver 535, A100 80G gpus

Minghui Song 45 Reputation points Microsoft Employee
2025-03-20T12:43:58.04+00:00

I cannot install driver 535.x version.

I followed this doc https://learn.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup#supported-distributions-and-drivers, using this command:

sudo ubuntu-drivers install

, and I can only install 470.x version, which not met our requrirments.

I tried to download the 535 driver from below link, but met this error:

 The target kernel has CONFIG_MODULE_SIG set, which means that it supports cryptographic signatures on kernel modules. On some systems, the kernel may refuse to load modules without a valid signature from a trusted key. This system also has UEFI Secure Boot enabled; many  distributions enforce module signature verification on UEFI systems when Secure Boot is enabled. Would you like to sign the NVIDIA kernel module?
https://download.microsoft.com/download/8/d/a/8da4fb8e-3a9b-4e6a-bc9a-72ff64d7a13c/NVIDIA-Linux-x86_64-535.161.08-grid-azure.run

The result is I cannot use my A100 machine!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,678 questions
{count} votes

Accepted answer
  1. Mounika Reddy Anumandla 3,995 Reputation points Microsoft External Staff
    2025-03-21T07:56:08.15+00:00

    Hi Minghui Song,

    As mentioned in the document https://learn.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup#ubuntu Installing third-party drivers requires extra-steps on VMs with TrustedLaunch and Secure Boot enabled. They require the user to add a new Machine Owner Key for the system to boot.

    If Secure Boot must remain enabled, you must manually sign the kernel module.
    This might give you more insights: https://forums.developer.nvidia.com/t/nvidia-drivers-not-working-while-secure-boot-is-enabled-after-updating-to-ubuntu-24-04/305351

    Meanwhille, can you provide with the vm sku details?

    Install GRID driver on Ubuntu with Secure Boot enabled

    The GRID driver installation process does not offer any options to skip kernel module build and installation and select a different source of signed kernel modules, so secure boot has to be disabled in Linux VMs in order to use them with GRID, after installing signed kernel modules.

    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup#install-grid-driver-on-ubuntu-with-secure-boot-enabled

    Let me know if you have any further queries!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.