Issue while installing NVIDIA GPU Driver Extension

Nilesh Maharjan 0 Reputation points
2024-11-15T00:33:16.13+00:00

Following this link, https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/hpccompute-gpu-linux

I tried to install the NVIDIA GPU Driver extension but I am getting this issue provided in the screenshot image.

OS: Linux (ubuntu 20.04)

Size: Standard NV6ads A10 v5 (6 vcpus, 55 GiB memory)

User's image

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

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 26,686 Reputation points
    2024-11-15T08:44:40.96+00:00

    Hi @Nilesh Maharjan

    I understand you are facing an issue with loading the NVIDIA Accelerated Graphics Driver for Linux on a system with Secure Boot enabled. This error message indicates that the kernel module failed to load because it was not signed by a key that is trusted by the system.

    To resolve this issue, you can try the following steps:

    1. Disable Secure Boot on your system. This will allow the kernel module to load even if it is not signed by a trusted key. You can usually disable Secure Boot from the BIOS or UEFI settings of your system.
    2. If you cannot/do not want to disable Secure Boot, you can try signing the kernel module with a key that is trusted by your system. NVIDIA provides instructions on how to sign the kernel module with a trusted key in their documentation. You can find the documentation at the following link: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#runfile-verifications

    There is a proven solution on this open forum that worked for many, I'd recommend you to review this https://askubuntu.com/questions/1023036/how-to-install-nvidia-driver-with-secure-boot-enabled/1049479#1049479

    If neither of these solutions work for you, please provide me installation logs for you NVIDIA GPU Driver so that I can assist you better. Also, please confirm if you have used a market place image to deploy your Ubuntu Linux distro?

    0 comments No comments

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.