NVIDIA Graphics is not detected

Hi,

After installing Fedora over a year ago I could not use my dedicated Graphics. I installed nvidia drivers etc. but it is not even detected. I have tried some solutions including going through Optimus Howto. Nothing helped. Below I list some useful commands outputs.

Any help would be appreciated.

$ lspci | grep -i nvidia
$ lspci | grep -i graphics
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
$ lsmod | grep -i nvidia
$ switcherooctl list
Device: 0
  Name:        Intel® UHD Graphics 630
  Default:     yes
  Discrete:    no
  Environment: DRI_PRIME=pci-0000_00_02_0 VK_LOADER_DRIVERS_SELECT=*intel*
$ 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.
$ dnf list installed \*nvidia\*
Updating and loading repositories:
Repositories loaded.
Installed packages
akmod-nvidia.x86_64                                 3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.17.12-300.fc43.x86_64.x86_64          3:580.119.02-1.fc43  @commandline
kmod-nvidia-6.18.4-200.fc43.x86_64.x86_64           3:580.119.02-1.fc43  <unknown>
nvidia-gpu-firmware.noarch                          20251125-1.fc43      updates
nvidia-modprobe.x86_64                              3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                          3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                              3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                          3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                     3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686                  3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                  3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686                       3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                     3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                    3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-xorg-libs.x86_64                3:580.119.02-1.fc43  rpmfusion-nonfree-nvidia-driver
...
$ __NV_PRIME_RENDER_OFFLOAD=1 vkcube
Selected WSI platform: wayland
Selected GPU 0: Intel(R) UHD Graphics 630 (CFL GT2), type: IntegratedGpu

System: Fedora 39-42 (currently 42)
Laptop: MSI GF63 Thin 9SCSR-1081XPL
Graphics: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
Gigabyte Geforce GTX 1050 (not detected thought) - looks fine to me, there is no signs of physical damage on the motherboard.

  1. Are you using Secure Boot?

  2. Can you show any relevant boot-time logs, using sudo dmesg | grep nvidia ?

  1. I’ve tried with and without. The same results.
  2. No, not even a single line is printed.

Your lspci command did not show an nvidia device, but that may be due to the use of grep.
Try lspci with nothing else and look through the output to see if the nvidia gpu is seen.

If that gives no results then this appears to be a hardware (or bios) issue and may require manual repair, or replacement of the laptop.

You might also check the current bios version and see if an update is available, as well as checking within the bios settings in case somehow the dGPU has gotten disabled. It is known that with newer kernels several laptop versions have required a bios update.

The MSI GF63 Thin series of laptop was released in 2018 so you appear to have gotten almost 8 years of good use out of it so far. Hopefully this is only a bios issue and not anything actual hardware.

2 Likes

Nothing from lspci nvidia related.

$ lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Processor Host Bridge/DRAM Registers [Coffee Lake H] (rev 07)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Cannon Lake PCH CNVi WiFi (rev 10)
00:15.0 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:15.2 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #2 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #13 (rev f0)
00:1f.0 ISA bridge: Intel Corporation HM370 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 Non-Volatile memory controller: Seagate Technology PLC PCIe Gen4 SSD (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)

There is no bios update for my laptop from MSI either unfortunatelly…

I was trying to tweak some bios settings but all seems ok, if anything I was able to turn my Geforce as primary display but in this model it cannot actually display any video (it is more of a offload calculations device) so there was black screen. I think it was running though because there was a lot of heat being produced from it.

It is pretty old I agree but in a good shape so I hoped it can be done anything.

Long shot, but does the BIOS have a “reset to factory settings” or anything like that? Maybe worth a try before giving up on the GPU.

1 Like

“Reset to defaults” yes. I have tried this. Still no NVIDIA GPU from the commands above :frowning: