Nvidia driver and CUDA installation

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.

Please show us the full output of dnf list installed '*nvidia*' and inxi -Fzxx as well as cat /proc/cmdline.

What you have posted seems to indicate that the nouveau driver is loaded instead of the nvidia driver.

The nvidia driver is proprietary.

My understanding is that the nouveau driver does not support hardware acceleration.

1 Like

@computersavvy Thank you for that clarification, that the nouveau driver is the open source driver and the Nvidia driver is the proprietary driver. Here are the outputs including the System and Graphics sections of the inxi -Fzxx, if any additional sections are needed, please let me know.

dnf list installed '*nvidia*'

Installed Packages
akmod-nvidia.x86_64                3:560.35.03-1.fc40 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.10.9-200.fc40.x86_64.x86_64
                                   3:560.35.03-1.fc40 @@commandline             
nvidia-gpu-firmware.noarch         20240909-1.fc40    @updates                  
nvidia-kmod-common.noarch          3:560.35.03-1.fc39 @cuda-fedora39-x86_64     
nvidia-modprobe.x86_64             3:560.35.03-1.fc40 @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64         3:560.35.03-1.fc40 @rpmfusion-nonfree-updates
nvidia-settings.x86_64             3:560.35.03-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64    3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64
                                   3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:560.35.03-3.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64    3:560.35.03-3.fc40 @rpmfusion-nonfree-updates

inxi -Fzxx

System:
  Kernel: 6.10.9-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 2.41-37.fc40
  Desktop: GNOME v: 46.5 tk: GTK v: 3.24.43 wm: gnome-shell dm: GDM
  Distro: Fedora Linux 40 (Workstation Edition)

Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-9.5 ports: active: eDP-1 empty: none
    bus-ID: 00:02.0 chip-ID: [CHIP ID]
  Device-2: NVIDIA TU106M [GeForce RTX 2070 Mobile / Max-Q Refresh]
    vendor: Micro-Star MSI driver: nouveau v: kernel arch: Turing pcie:
    speed: 8 GT/s lanes: 16 ports: active: none empty: DP-1, DP-2, HDMI-A-1,
    eDP-2 bus-ID: 01:00.0 chip-ID: [CHIP ID]
  Device-3: Bison HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-11:5 chip-ID: [CHIP ID]
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Sharp LQ156M1JW03 res: 1920x1080 dpi: 142
    diag: 395mm (15.5")
  API: OpenGL v: 4.6 vendor: intel mesa v: 24.1.7 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
    device-ID: [CHIP ID] display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.

cat /proc/cmdline
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.10.9-200.fc40.x86_64 root=UUID=[UUID] ro rootflags=subvol=root rd.luks.uuid=[LUKS UUID] rhgb quiet

These quite probably conflict and cause this (the nvidia driver not loading)

I would suggest that you remove the ‘nvidia-kmod-common’ package, disable the ‘cuda-fedora39-x86_64’ repo, then rebuild the nvidia driver from rpmfusion.

  1. sudo dnf remove nvidia-kmod-common
  2. sudo dnf config-manager --set-disabled cuda-fedora39-x86_64
  3. sudo akmods --force --rebuild
  4. After step 3 completes then reboot and verify the nvidia drivers are loaded with lsmod | grep nvidia

Please, also after performing those steps, if the nvidia driver still does not load (step 4 will return nothing) then post the output of sudo dmesg | grep -iE "nouveau|nvidia|secure"

1 Like

The first command was able to be executed, and then the second as well. But the third command sudo akmods --force --rebuild gave the error sudo: akmods: command not found.

This is the output after running the first command sudo dnf remove nvidia-kmod-common:

Dependencies resolved.
================================================================================
 Package                        Arch   Version             Repository      Size
================================================================================
Removing:
 nvidia-kmod-common             noarch 3:560.35.03-1.fc39  @cuda-fedora39-x86_64
                                                                           66 M
Removing dependent packages:
 akmod-nvidia                   x86_64 3:560.35.03-1.fc40  @rpmfusion-nonfree-nvidia-driver
                                                                           92 k
 kmod-nvidia-6.10.9-200.fc40.x86_64
                                x86_64 3:560.35.03-1.fc40  @@commandline   50 M
 nvidia-settings                x86_64 3:560.35.03-1.fc40  @rpmfusion-nonfree-nvidia-driver
                                                                          4.3 M
 xorg-x11-drv-nvidia-cuda       x86_64 3:560.35.03-3.fc40  @rpmfusion-nonfree-updates
                                                                          6.1 M
Removing unused dependencies:
 akmods                         noarch 0.5.8-8.fc40        @fedora         48 k
 fakeroot                       x86_64 1.36-1.fc40         @updates       163 k
 fakeroot-libs                  x86_64 1.36-1.fc40         @updates       125 k
 kmodtool                       noarch 1.1-10.fc40         @fedora         28 k
 libgit2                        x86_64 1.7.2-4.fc40        @updates       1.2 M
 llhttp                         x86_64 9.2.1-1.fc40        @updates        73 k
 nvidia-modprobe                x86_64 3:560.35.03-1.fc40  @rpmfusion-nonfree-nvidia-driver
                                                                           51 k
 nvidia-persistenced            x86_64 3:560.35.03-1.fc40  @rpmfusion-nonfree-updates
                                                                           58 k
 opencl-filesystem              noarch 1.0-20.fc40         @fedora          0  
 python3-babel                  noarch 2.16.0-1.fc40       @updates        28 M
 python3-click-plugins          noarch 1.1.1-19.fc40       @fedora         24 k
 python3-progressbar2           noarch 3.53.2-11.fc40      @fedora        257 k
 python3-pygit2                 x86_64 1.14.0-1.fc40       @fedora        1.2 M
 python3-rpmautospec            noarch 0.7.2-1.fc40        @updates       149 k
 python3-rpmautospec-core       noarch 0.1.5-1.fc40        @updates        11 k
 python3-typing-extensions      noarch 4.12.2-2.fc40       @updates       458 k
 python3-utils                  noarch 3.7.0-3.fc40        @fedora        173 k
 rpmdevtools                    noarch 9.6-7.fc40          @fedora        214 k
 xorg-x11-drv-nvidia-cuda-libs  x86_64 3:560.35.03-3.fc40  @rpmfusion-nonfree-updates
                                                                          194 M
 xorg-x11-drv-nvidia-kmodsrc    x86_64 3:560.35.03-3.fc40  @rpmfusion-nonfree-updates
                                                                           54 M

Haven’t done anything after getting the sudo: akmods: command not foundmessage, but thought that I should run the commandsudo dnf install akmod-nvidia, but I haven’t.

Reinstalling akmod-nvidia is exactly what should be done now. The fact that the file from the cuda repo caused that clearly shows the conflicts I expected.

I would do that as sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda and verify that it is installing only from the rpmfusion-nonfree-updates repo and fedora repos before accepting it.

1 Like

Ran the command sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda, then sudo akmods --force --rebuild, then restarted, and then ran the command lsmod | grep nvidia which shows:

nvidia_drm            135168  5
nvidia_modeset       1650688  3 nvidia_drm
nvidia_uvm           6844416  0
nvidia              72577024  32 nvidia_uvm,nvidia_modeset
i2c_nvidia_gpu         12288  0
video                  81920  3 msi_wmi,i915,nvidia_modeset

After performing all the steps you recommended, the LLM application now recognizes the GPU and the GPU acceleration can be enabled, as shown in the screenshot.

@computersavvy :pray: I am now able to proceed with a course and its hands on exercises.

1 Like

@computersavvy I’d like to ask you, what does the time displayed on the clock in your profile photo signify?

Simply an image of a clock on the wall of my computer room. The animals are Elk.

1 Like

It’s a nice clock, evokes peace and calmness, and thoughts of the beauty of nature.

1 Like

I’d like to note here that after implementing the solution, videos no longer freeze for a couple seconds whenever they are forwarded.

Before the solution was implemented, whenever a video was playing, if it was forwarded via dragging the time icon or clicking some future time point in the video, the audio would continue working properly, but the video would remain frozen for a couple seconds.

I also need to use these cuda with nvidia drivers and found this working for me. I run these steps and then able to run cuda core apps afterwards. Thanks for that. :pray: :pray:

Now the issue i’m facing is now both the igpu and dpgu shows blank screen. I’m able to access the system only with remote ssh now.
Please help me how to fix this now.

The command lspci -k | grep -i nvidia shows:

01:00.0 VGA compatible controller: NVIDIA Corporation GM107GL [Quadro K620] (rev a2)
	Subsystem: NVIDIA Corporation Device 1098
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX] (rev a1)
	Subsystem: NVIDIA Corporation Device 1098

The command nvidia-smi shows:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Quadro K620                    Off |   00000000:01:00.0  On |                  N/A |
| 34%   44C    P8              1W /   30W |      10MiB /   2048MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

The command sudo dnf repolist shows:


repo id                                          repo name
copr:copr.fedorainfracloud.org:phracek:PyCharm   Copr repo for PyCharm owned by phracek
copr:copr.fedorainfracloud.org:rockowitz:ddcutil Copr repo for ddcutil owned by rockowitz
cuda-fedora39-12-6-local                         cuda-fedora39-12-6-local
fedora                                           Fedora 39 - x86_64
fedora-cisco-openh264                            Fedora 39 openh264 (From Cisco) - x86_64
gitlab.com_paulcarroty_vscodium_repo             download.vscodium.com
google-chrome                                    google-chrome
microsoft-edge                                   microsoft-edge
packages.microsoft.com_yumrepos_edge             created by dnf config-manager from https://packages.microsoft.com/yumrepos/edge
rpmfusion-free                                   RPM Fusion for Fedora 39 - Free
rpmfusion-free-updates                           RPM Fusion for Fedora 39 - Free - Updates
rpmfusion-nonfree                                RPM Fusion for Fedora 39 - Nonfree
rpmfusion-nonfree-nvidia-driver                  RPM Fusion for Fedora 39 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                          RPM Fusion for Fedora 39 - Nonfree - Steam
rpmfusion-nonfree-updates                        RPM Fusion for Fedora 39 - Nonfree - Updates
updates                                          Fedora 39 - x86_64 - Updates

The command lsmod | grep nouveau shows nothing. It’s just blank .

The command dnf list installed '*nvidia*' shows :


Installed Packages
akmod-nvidia.x86_64                3:560.35.03-1.fc39  @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.11.4-101.fc39.x86_64.x86_64
                                   3:560.35.03-1.fc39  @@commandline            
libnvidia-cfg.x86_64               3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
libnvidia-fbc.x86_64               3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
libnvidia-ml.x86_64                3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
nvidia-driver-cuda.x86_64          3:560.35.03-1.fc39  @cuda-fedora39-12-6-local
nvidia-driver-cuda-libs.x86_64     3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
nvidia-driver-libs.x86_64          3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
nvidia-kmod-common.noarch          3:560.35.03-1.fc39  @cuda-fedora39-12-6-local
nvidia-libXNVCtrl.x86_64           3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
nvidia-libXNVCtrl-devel.x86_64     3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
nvidia-modprobe.x86_64             3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
nvidia-persistenced.x86_64         3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
nvidia-xconfig.x86_64              3:560.35.03-1.fc39  @cuda-fedora39-x86_64    
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:560.35.03-5.fc39  @rpmfusion-nonfree-nvidia-driver

The command inxi -Fzxx shows :

System:
  Kernel: 6.11.4-101.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Console: pty pts/0 DM: GDM Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Desktop Mobo: Gigabyte model: B85M-D3H v: x.x
    serial: <superuser required> UEFI: American Megatrends v: FD
    date: 08/12/2015
CPU:
  Info: quad core model: Intel Core i7-4770 bits: 64 type: MT MCP
    arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 2532 high: 3864 min/max: 800/3900 cores: 1: 3854 2: 800
    3: 3864 4: 3792 5: 800 6: 2553 7: 800 8: 3793 bogomips: 54274
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
    vendor: Gigabyte driver: i915 v: kernel arch: Gen-7.5 ports: active: none
    empty: HDMI-A-1,HDMI-A-2,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0412
  Device-2: NVIDIA GM107GL [Quadro K620] driver: nvidia v: 560.35.03
    arch: Maxwell pcie: speed: 2.5 GT/s lanes: 16 ports: active: none off: DP-1
    empty: DVI-I-1 bus-ID: 01:00.0 chip-ID: 10de:13bb
  Display: server: X.org v: 1.20.14 with: Xwayland v: 23.2.7 driver:
    gpu: nvidia,nvidia-nvswitch note: X driver n/a, try sudo/root tty: 80x24
  Monitor-1: DP-1 model: BenQ GW2490 res: 1920x1080 dpi: 93
    diag: 604mm (23.8")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: crocus
    device: 3 drv: swrast surfaceless: drv: nvidia
    inactive: gbm,wayland,x11,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 23.3.6
    note: console (EGL sourced) renderer: Quadro K620/PCIe/SSE2, Mesa Intel HD
    Graphics 4600 (HSW GT2), llvmpipe (LLVM 17.0.6 256 bits)
  API: Vulkan v: 1.3.275 surfaces: N/A device: 0 type: discrete-gpu
    driver: N/A device-ID: 10de:13bb device: 1 type: integrated-gpu driver: N/A
    device-ID: 8086:0412 device: 2 type: cpu driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20
  Device-3: NVIDIA GM107 High Definition Audio [GeForce 940MX]
    driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0fbc
  API: ALSA v: k6.11.4-101.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.8 status: off with: 1: pipewire-pulse
    status: off 2: wireplumber status: off 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 98.53 GiB (21.2%)
  ID-1: /dev/sda vendor: Crucial model: CT500BX500SSD1 size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 33 C
Partition:
  ID-1: / size: 464.17 GiB used: 98.12 GiB (21.1%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 397.8 MiB (40.9%) fs: ext4
    dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 464.17 GiB used: 98.12 GiB (21.1%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 7.64 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.64 GiB used: 946.2 MiB (12.1%)
  Processes: 221 Power: uptime: 3h 45m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 6 Compilers: gcc: 13.3.1 Shell: Bash v: 5.2.26
    running-in: pty pts/0 inxi: 3.3.34

cat /proc/cmdline

BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.4-101.fc39.x86_64 root=UUID=0640163d-c97b-49a8-8249-bdb3990268ea ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

the output of sudo dmesg | grep -iE "nouveau|nvidia|secure"

[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.4-101.fc39.x86_64 root=UUID=0640163d-c97b-49a8-8249-bdb3990268ea ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[    0.000000] secureboot: Secure boot disabled
[    0.007551] secureboot: Secure boot disabled
[    0.036497] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.4-101.fc39.x86_64 root=UUID=0640163d-c97b-49a8-8249-bdb3990268ea ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[    4.058066] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input11
[    4.058133] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input12
[    4.058187] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input13
[    4.058241] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input14
[    5.733030] nvidia: loading out-of-tree module taints kernel.
[    5.733040] nvidia: module license 'NVIDIA' taints kernel.
[    5.733044] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    5.733045] nvidia: module license taints kernel.
[    6.225974] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
[    6.227139] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[    6.455404] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024
[    6.576055] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    6.718065] nvidia-uvm: Loaded the UVM driver, major device number 510.
[    6.789142] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  560.35.03  Fri Aug 16 21:21:48 UTC 2024
[    6.796067] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    7.760767] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 2
[    7.779637] nvidia 0000:01:00.0: vgaarb: deactivate vga console
[    7.880175] fbcon: nvidia-drmdrmfb (fb0) is primary device
[    7.880178] nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device

I understand i had to do something with switching the display to igpu and install specific driver for the igpu. But i’m not sure how to work out that.Thanks.

The information you provided show that you are mixing packages from rpmfusion and cuda-fedora39. History on this forum appears to show that is never a good thing (In every case I can recall it caused problems (and yours seems no exception)).

My suggestion at this point is to either disable the rpmfusion repo and rely only on the cuda-fedora39 repo, or to instead disable the cuda-fedora39 repo and rely only on the rpmfusion repos. It seems the packages do not play well together when mixing the repos.

The cuda-fedora repo contains packages directly from nvidia and that are not tweaked nor tested thoroughly to function with fedora. The rpmfusion repo contains packages that have been adjusted and tested to work with fedora.

Beyond that I have no further suggestions.

1 Like