Overview
This article outlines how to use dmesg logs and kernel module commands to diagnose issues where the operating system fails to detect NVIDIA GPUs—even though they appear in the system's BMC (Baseboard Management Controller).
When to Use This
You may need this guide if:
-
nvidia-smi reports: NVRM: No NVIDIA GPU found
-
GPUs are visible in BMC or IPMI but not in the OS
-
You're seeing driver or hardware initialization errors during boot
Step 1: Check Kernel Ring Buffer (dmesg) for Errors
The dmesg command shows messages from the kernel that are helpful for low-level diagnostics.
What to Look For:
module verification failed — Indicates Secure Boot is blocking the NVIDIA kernel module.
-
No NVIDIA GPU found — The NVIDIA driver was loaded but no GPUs were detected on the PCI bus.
-
firmware: failed to load — A required firmware blob was missing.
-
ACPI: device not enabled — BIOS/UEFI settings may have disabled PCIe devices.
Step 2: Check if the NVIDIA Kernel Module is Loaded
Linux uses kernel modules (drivers) to interface with hardware like NVIDIA GPUs.
If you get output like:
→ The driver is loaded and likely functioning.
If there is no output:
The module didn’t load. Check dmesg again or try loading it manually:
Step 3: Check for Secure Boot Blocking the Driver
Secure Boot can prevent unsigned kernel modules like NVIDIA’s from loading.
Step 4: Check PCI Bus for NVIDIA Devices
This helps confirm whether the GPU is physically present and detected at the PCIe level.
If no output appears, the GPU is not even seen by the PCIe bus. Potential causes:
Check if nvidia kernel module is available:
If modinfo says "module not found", the driver installation might be corrupted or incomplete.
Related Articles
Related Articles
Nvidia-smi Tool Alert - Troubleshooting Guide
Purpose This document provides a standardized approach for handling and troubleshooting the Nvidia-smi Tool alert, including L1 and L2 actions, escalation guidelines, and resolution criteria. Alert Name Nvidia-smi Tool Alert Description This alert is ...
Execution of NVIDIA Field Diagnostic (FD) Tool and Collection of Diagnostic Logs, and troubleshooting of GPU(s) not detected
1. Objective To provide a standardized procedure for executing the NVIDIA Field Diagnostic (FD) tool, verifying GPU status, collecting the required diagnostic logs, and documenting the findings for further analysis. 2. Scope This procedure applies to ...
How to Set NVIDIA GPU Power Limit on Ubuntu using nvidia-smi
Managing the power consumption of your NVIDIA GPU on Ubuntu is a practical way to optimize energy efficiency, especially for workloads that do not require full GPU performance. This guide explains how to check and set power limits for your NVIDIA GPU ...
Troubleshooting steps if GPU is not detecting
Steps to check if GPU is not detecting on the system Parameters for demonstrating the Troubleshooting System Model : ASRock TRX40 Creator AMD sTRX4 Socket ATX GPU : PNY A6000 x 4 Verify the GPUs on the system using below steps Execute the below ...
Installing NVIDIA Drivers on Ubuntu
Ubuntu doesn't come with NVIDIA drivers installed by default as they are proprietary and closed-source. This means that you'll have issues like poor performance, displays not working, artifacts etc... while using the FOSS nouveau drivers. Graphical ...