dictum
April 8, 2024, 6:52pm
1
RL 8.9
lspci | grep -i nv
02:01.0 VGA compatible controller: NVIDIA Corporation GA102GL [A40] (rev a1)
./NVIDIA-Linux-x86_64-535.129.03.run
ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the
wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target
kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of
the NVIDIA device(s), or no NVIDIA device installed in this system is supported by this NVIDIA Linux graphics driver
release.
Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file
'/var/log/nvidia-installer.log' for more information.
cd /etc/modprobe.d
cat nvidia.conf
blacklist nouveau
cat disable-nouveau.conf
blacklist nouveau\noptions nouveau modeset=0
dracut -f initramfs-$(uname -r).img $(uname -r)
It is not recommended to use the .run
installer. Please review the following topic: Nvidia Drivers on Rocky Linux
dictum
April 8, 2024, 7:49pm
3
I followed the procedure here:
Preface
An nvidia gpu is one of the common chips in use on almost all operating system platforms. It is generally common for users to install Rocky Linux (or any other Enterprise Linux) or Fedora Linux and then want to install the drivers. There are many guides online and most are conflicting or have information that may not even be needed for the general user.
The goal of this post is to provide the general recommendations and instructions for installing the nvidia driver on a Rocky Linux syst…
and am still getting this:
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Looks like nouveau is still loading? Which is a problem.
lsmod | grep -i nouv
nouveau 2478080 0
mxm_wmi 16384 1 nouveau
wmi 32768 2 mxm_wmi,nouveau
i2c_algo_bit 16384 1 nouveau
drm_display_helper 155648 1 nouveau
video 53248 1 nouveau
drm_ttm_helper 16384 2 vmwgfx,nouveau
ttm 81920 3 vmwgfx,drm_ttm_helper,nouveau
drm_kms_helper 184320 5 vmwgfx,drm_display_helper,nouveau
drm 602112 8 vmwgfx,drm_kms_helper,drm_display_helper,drm_ttm_helper,ttm,nouveau
lsmod | grep -i Nvidia
dictum
April 8, 2024, 7:57pm
4
This shows nothing loading.
dkms status
dictum
April 8, 2024, 7:59pm
5
lspci | grep NVID
02:01.0 VGA compatible controller: NVIDIA Corporation GA102GL [A40] (rev a1)
system
Closed
June 7, 2024, 8:00pm
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.