Ubuntu 22.04.3 LTS unable to see NVIDIA GPU

Good day. I am running Ubuntu 22.04.03 (Dual-booted with Windows 11) on Legion Pro 5 16IRX8 (82WK00MHRA) with built-in Intel Graphics and NVIDIA GeForce RTX 4070. Everything currently runs through the Intel graphics. I have tried to install different driver versions like 535, 525, 510 via apt-get install. Tried prime-select to checkout to nvidia, but it didn’t change anything. Also tried setting the kernel parameter with pci=realloc and pciehp_poll_mode=1. My secure boot is off.

nvidia-smi tells:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Adding bug report.
nvidia-bug-report.log.gz (148.2 KB)

Hoping for your help!

There are no kernel modules compiled.
Please run
sudo apt install --reinstall linux-headers-$(uname -r)
and post any erors and the output of
dkms status
afterwards.

it seems that it didn’t help(
dkms status doesn’t print anything.

Please post the output of
dpkg -l |grep nvidia

sure

rc  libnvidia-compute-525:amd64                525.147.05-0ubuntu0.22.04.1                  amd64        NVIDIA libcompute package
ii  libnvidia-compute-535:amd64                535.129.03-0ubuntu0.22.04.1                  amd64        NVIDIA libcompute package
ii  nvidia-prime                               0.8.17.1                                     all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                            510.47.03-0ubuntu1                           amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-535                           535.129.03-0ubuntu0.22.04.1                  amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                    0.18.2                                       all          Extension for the nvidia-settings control panel

Doesn’t look like any driver is installed, please use Software&Updates to install a driver.

Software&Updates tells me, that there is no driver to install.

Ok, I just turned off hybrid gpu mode and strictly switched to discrete Nvidia GPU, after that ubuntu started to recognize the installed Nvidia drivers. Mb it’s not the best solution, but it works. Thanks anyway for your help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.