NVIDIA GPU on Lion Purpul!

HI;
I installed AlmaLinux 10 by migration following the notified process on a server equipped with an NVIDIA GPU. The installation was performed from a stable and up-to-date installation of Almalinux 9.5 without an NVIDIA driver installed.
Upon reboot, after a long update process, I’m stuck on the graphics with a black screen!
I tried installing the NVIDIA Cuda drivers 9.5 recommendation alma and 570.144.run from NVIDIA site; After some unsuccessful modifications to the system (modprobe, dkms, grub, etc.), I stopped my investigation due to lack of convincing results !
I have log files and txt files available for support!
Thank you in advance for any guidance on how to move forward with NVIDIA integration on AlmaLinux, which seems problematic in my opinion!
Sincerely,
Henri
P.S.: Please specify the log file transfer method!

Hello Henri. I’m in a same boat. I don’t know why akmod-nvidia is not available through rpmfusion repo. So I installed nvidia drivers by official way. Here is a quick todo:
Download drivers from nvidia official website.
Move to your home folder.
F2 to rename to nv.run
right click and toggle Executable as Program in file properties
Open terminal and install dependencies:

sudo dnf in gcc kernel-devel ffmpeg

Reboot your computer, press ESC to get GRUB menu, highlight kernel boot line press “e” to edit, at the and of the line started with “options root=UUID” add digit 3
Then press F10 to boot
After booting completion, login with your name and password and type:
sudo ./nv.run
Follow the installation wizard and after. execute this command:
sudo grubby --args="nvidia_drm.modeset=1" --update-kernel=ALL
type reboot to reboot.
So after that you should have full nvidia acceleration with you GPU.
Let me know if it worked out for you.

RPM Fusion has simply not built/packaged NVidia’s driver for el10 yet.
NVidia themselves have not released their drivers as RPM for el10 yet either.
Likewise, ELRepo has barely started to build packages for el10 – nething released so far.


AlmaLinux includes Nouveau open source driver for NVidia GPUs. It should be able to do “basics”.

AlmaLinux 9 defaults to Wayland, but can start X11 sessions. AlmaLinux 10 has only Wayland. This could explain some issues.


I do have only one AlmaLinux 10 so far, with only minimal install, i.e. no GUI DE yet, so cannot tell how my RTX 3070 will behave.

I have NVIDIA .run-drivers installed on Alma Linux 10.

Follow these instructions to install from .run: A03 R9 ❯ NVIDIA: Installation on 9.x | AlmaLinux Wiki

My additions:

  • I have added /etc/modprobe.d/nvidia.conf with these settings (two lines):

options nvidia-drm modeset=1 fbdev=0
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp

  • I do a “sudo restorecon -Rv /” after driver install, before dracut. Makes sure SELinux labels are correct for the new driver files.
  • I use driver version 550.163.01 because of issues with suspend/resume with newer drivers. If suspend/resume isn’t a factor for you, newer versions may work better for you.

HI Shrisha,
I confirm the group’s suggestions regarding the implementation of NVIDIA drivers on AlmaLinux, X11 support, and chaotic Wayland; it’s “a real headache.”
For my part, I’m on 9.6 with NVIDIA drivers 570.153.02; it works perfectly with X11.
I tried a while ago with Alma Lion Purple beta; it was difficult to integrate the NVIDIA drivers, I think due to the exclusive choice of Wayland!
I tried getting help regarding the use of Wayland with NVIDIA without success… no matter, X11 works perfectly for my current use!
Regarding 9.6, the procedure is very simple and almost automatic. Run the executable file provided by NVIDIA, select open mode, integrate the dkms driver, rebuild the kernel, boot, and the driver is operational and usable with NVIDIA nsight compute…
Sincerely,
Henri