Is there an existing issue for this?
Current Behavior
Summary
After a fresh install of AlmaLinux 9.8 and installation of nvidia-open via the almalinux-release-nvidia-driver repo, the system boots to a black screen following the post-driver-install reboot. The nvidia, nvidia_modeset, and nvidia_drm kernel modules are loaded successfully, but DRM kernel mode setting is not active, and no configuration enabling it is present anywhere in the boot chain. Manually creating a modprobe.d config to set nvidia_drm modeset=1 and rebuilding the initramfs resolves the issue. This suggests the package/repo does not set modeset on by default, and nothing in the install/setup flow prompts the user to do so, leaving the driver in a non-functional state out of the box.
Environment
- OS: AlmaLinux release 9.8 (Olive Jaguar)
- Kernel:
5.14.0-687.15.1.el9_8.x86_64
- Driver package:
nvidia-open-610.43.02-1.el9_8.x86_64
- GPU: NVIDIA GTX 1660
- Install method: Fresh AlmaLinux 9 install, driver installed via:
sudo dnf install almalinux-release-nvidia-driver
sudo dnf install nvidia-open
Expected Behavior
Expected Behavior
After reboot, the system should boot to a working graphical session (display manager / Plasma), or at minimum the nvidia driver stack should be in a state capable of providing kernel mode setting out of the box, or the install flow should prompt/document that this configuration step is required.
Steps To Reproduce
Steps to Reproduce
- Install AlmaLinux 9 from the official ISO.
sudo dnf upgrade followed by reboot.
sudo dnf install almalinux-release-nvidia-driver
sudo dnf install nvidia-open
- Reboot.
Anything else?
Actual Behavior
System boots to a black screen. Dropping to a TTY and inspecting the system shows:
lsmod | grep nvidia shows nvidia, nvidia_modeset, and nvidia_drm all loaded.
cat /etc/modprobe.d/*.conf | grep -i nvidia returns nothing, no nvidia-related modprobe configuration exists.
cat /proc/cmdline contains no nvidia_drm.modeset=1 (or equivalent) kernel parameter.
- Attempting
startx manually fails; Xorg.0.log shows the X server terminating with error (1).
- The kernel/Xorg log contains the error
could not find NvKmsKapiDevice, indicating nvidia_drm could not obtain a kernel-mode-setting capable device handle from nvidia-modeset, consistent with KMS not being enabled.
Workaround
Manually creating /etc/modprobe.d/nvidia-drm.conf:
options nvidia_drm modeset=1
followed by:
sudo dracut -f --kver $(uname -r)
reboot
resolves the issue and the system boots to a working graphical session.
Notes
- The nvidia kernel modules load successfully and are present at boot; this is not a missing-driver or kmod-build-failure issue. The driver stack is present but non-functional for display purposes without the above manual step.
- Neither
almalinux-release-nvidia-driver nor nvidia-open appear to set nvidia_drm.modeset=1 by default via modprobe.d or kernel cmdline, and no warning or post-install message indicates this step is required.
- This was reproduced twice (across two separate fresh installs), with the same root cause and same fix both times.
Search terms
nvidia modeset nvidia-open nvidia_drm nvidia driver nvidia_driver nvidia-driver
Is there an existing issue for this?
Current Behavior
Summary
After a fresh install of AlmaLinux 9.8 and installation of
nvidia-openvia thealmalinux-release-nvidia-driverrepo, the system boots to a black screen following the post-driver-install reboot. Thenvidia,nvidia_modeset, andnvidia_drmkernel modules are loaded successfully, but DRM kernel mode setting is not active, and no configuration enabling it is present anywhere in the boot chain. Manually creating a modprobe.d config to setnvidia_drm modeset=1and rebuilding the initramfs resolves the issue. This suggests the package/repo does not set modeset on by default, and nothing in the install/setup flow prompts the user to do so, leaving the driver in a non-functional state out of the box.Environment
5.14.0-687.15.1.el9_8.x86_64nvidia-open-610.43.02-1.el9_8.x86_64Expected Behavior
Expected Behavior
After reboot, the system should boot to a working graphical session (display manager / Plasma), or at minimum the nvidia driver stack should be in a state capable of providing kernel mode setting out of the box, or the install flow should prompt/document that this configuration step is required.
Steps To Reproduce
Steps to Reproduce
sudo dnf upgradefollowed by reboot.sudo dnf install almalinux-release-nvidia-driversudo dnf install nvidia-openAnything else?
Actual Behavior
System boots to a black screen. Dropping to a TTY and inspecting the system shows:
lsmod | grep nvidiashowsnvidia,nvidia_modeset, andnvidia_drmall loaded.cat /etc/modprobe.d/*.conf | grep -i nvidiareturns nothing, no nvidia-related modprobe configuration exists.cat /proc/cmdlinecontains nonvidia_drm.modeset=1(or equivalent) kernel parameter.startxmanually fails;Xorg.0.logshows the X server terminating with error (1).could not find NvKmsKapiDevice, indicatingnvidia_drmcould not obtain a kernel-mode-setting capable device handle fromnvidia-modeset, consistent with KMS not being enabled.Workaround
Manually creating
/etc/modprobe.d/nvidia-drm.conf:followed by:
resolves the issue and the system boots to a working graphical session.
Notes
almalinux-release-nvidia-drivernornvidia-openappear to setnvidia_drm.modeset=1by default via modprobe.d or kernel cmdline, and no warning or post-install message indicates this step is required.Search terms
nvidia modeset nvidia-open nvidia_drm nvidia driver nvidia_driver nvidia-driver