I followed the tutorial Howto/NVIDIA - RPM Fusion for installing the Nvidia driver and CUDA, and it seemed that it was successful using the command modinfo -F version nvidia
which showed the version number. I’ve also used the tutorial Howto/Secure Boot - RPM Fusion to sign the module, yet the GPU isn’t being detected by LLM applications, and the GPU acceleration settings in the applications are grayed out.
The command lspci -k | grep -i nvidia
shows:
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2070 Mobile / Max-Q Refresh] (rev a1)
Kernel modules: nouveau, nvidia_drm, nvidia
...
Kernel driver in use: nvidia-gpu
Kernel modules: i2c_nvidia_gpu
The command sudo dnf repolist
shows:
repo id repo name
copr:copr.fedorainfracloud.org:phracek:PyCharm Copr repo for PyCharm owned by phracek
fedora Fedora 40 - x86_64
fedora-cisco-openh264 Fedora 40 openh264 (From Cisco) - x86_64
rpmfusion-free RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-nvidia-driver RPM Fusion for Fedora 40 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam RPM Fusion for Fedora 40 - Nonfree - Steam
rpmfusion-nonfree-updates RPM Fusion for Fedora 40 - Nonfree - Updates
updates Fedora 40 - x86_64 - Updates
The command lsmod | grep nouveau
shows:
nouveau 3923968 0
drm_ttm_helper 12288 1 nouveau
gpu_sched 65536 1 nouveau
drm_gpuvm 45056 1 nouveau
drm_exec 12288 2 drm_gpuvm,nouveau
i2c_algo_bit 20480 2 i915,nouveau
ttm 114688 3 drm_ttm_helper,i915,nouveau
drm_display_helper 278528 2 i915,nouveau
mxm_wmi 12288 1 nouveau
video 81920 3 msi_wmi,i915,nouveau
wmi 32768 6 video,intel_wmi_thunderbolt,wmi_bmof,msi_wmi,mxm_wmi,nouveau
The command nvcc --version
shows:
bash: nvcc: command not found...
The goal was to install and use the non-proprietary Nvidia drivers for Fedora as recommended, but I’ve done something incorrectly, and would like to remedy it. I don’t know how, so I’d like to seek help from the community.