[Linux] Black Screen After Reboot When Installing NVIDIA Driver on Rocky Linux 10 / RHEL (Wayland Enabled)

[Linux] Black Screen After Reboot When Installing NVIDIA Driver on Rocky Linux 10 / RHEL (Wayland Enabled)

Environment

  • Operating System

    • Rocky Linux 10

    • RHEL 9.4+ / 10

    • Other RHEL-based distributions with Wayland enabled by default

  • GPU

    • NVIDIA GPUs 

  • Display Server

    • Wayland (default)

    • GDM display manager

Issue

After installing the NVIDIA driver (either directly or via graid-pre-installer) and rebooting the system, the host boots into a black screen with no graphical output.

Observed Symptoms

  • ❌ No graphical login screen is displayed

  • TTY console (Ctrl + Alt + F2 ~ F6) is accessible

  • ✅ System services are running normally

  • ✅ SSH access usually works

Root Cause

Starting from Rocky Linux 10 and newer RHEL-based distributions, Wayland is enabled by default.

However, the NVIDIA proprietary driver requires DRM Kernel Mode Setting (KMS) to be explicitly enabled to work correctly with Wayland.

If nvidia-drm.modeset=1 is not enabled, the NVIDIA driver fails to properly initialize the display stack, resulting in a black screen after reboot.


Resolution

Enable NVIDIA DRM modeset by adding the kernel parameters
nvidia-drm.modeset=1 to all installed kernels.

Steps (Rocky Linux 10)

  1. Switch to a console (if available) or connect via SSH

  2. Run the following command:

Quotesudo grubby --update-kernel=ALL --args="nvidia-drm.modeset=1"

  1. Reboot the system:

sudo reboot

Verification

After reboot, verify that the kernel parameter is applied:

Quotecat /proc/cmdline | grep nvidia-drm.modeset

Expected output:

Quote
nvidia-drm.modeset=1

You can also confirm that the NVIDIA DRM module is loaded:

Quote
lsmod | grep nvidia_drm

Additional Notes



  • This issue affects both standalone NVIDIA driver installations and installations performed via graid-pre-installer


  • The problem is not specific to SupremeRAID, but SupremeRAID environments frequently encounter it because NVIDIA GPUs are mandatory


  • Enabling nvidia-drm.modeset=1 is mandatory for Wayland support with the NVIDIA proprietary driver


  • No changes to the GDM or Wayland configuration are required once DRM modeset is enabled
    • Related Articles

    • [Linux] How to Resolve Graid Driver Failure After NVIDIA Upgrade#

      Environment RAID Model: SupremeRAID™ SR1000 / SR1010 / SR1001 Host Hardware: all server (x86, Intel/AMD platform) Operating System: Linux SupremeRAID™ Version: all NVIDIA Driver : 570.124.04 (CUDA 12.8) [Default version] NVIDIA Driver : 580.65.06 ...
    • Graid Performance Benchmarking 2025 - Linux #

      Environment RAID Model: All Host Hardware: AMD/Intel Operating System: Linux Storage Performance Testing on Linux This document provides quick and straightforward instructions for performing storage performance testing using the FIO benchmarking tool ...
    • SupremeRAID Not Detected After Pre-Installer on Multi-GPU Systems — BAR0 is 0M / PCI I/O Region Invalid

      Environment RAID Model: SR1000 / SR1001 / SR1010 Host Hardware: Multi-GPU system (e.g., NVIDIA A-series, with or without PCIe switch such as PLX/PEX) Operating System: RHEL / Rocky / AlmaLinux, Ubuntu / Debian (UEFI boot) Software: SupremeRAID ...
    • Offline install SupremeRAID driver#

      Environment RAID Model: SR1000 or SR1010, SR1001 Host Hardware: Intel, AMD Operating System: Linux RPM base(Alamlinux, CentOS, RHEL, Rocky, Oracle Linux) Issue When users need to install the SupremRAID driver but cannot connect to the external ...
    • Installation Guide for SupremeRAID driver

      Environment RAID Model: SR1000 or SR1010 etc Host Hardware: AMD/Intel/Supermicro model etc Operating System: Linux etc Issue Beginning using SupremeRAID Resolution Linux Step 1: Downloading the Required Scripts ...