EDIT : By using pci=nocrs
under GRUB config ( /etc/default/grub
) I managed to eliminate all display drivers and just use TTY for a clean installation. Then, I removed this parameter since it avoids the system control for resource management.
Basically, the error is like the following:
[ 38.273335] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 38.273338] NVRM: None of the NVIDIA devices were initialized.
[ 38.274301] nvidia-nvlink: Unregistered Nvlink Core, major device number 238
[ 38.516692] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 38.516703] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR0 is 0M @ 0x0 (PCI:0000:26:00.0)
[ 38.525116] nvidia 0000:26:00.0: probe with driver nvidia failed with error -1
As you can see the system can’t load the drivers.
I’m using Ubuntu 24.04 and Gigabyte Windforce RTX 5060 and I have tried the following methods to install GPU drivers:
- Ubuntu Service:
sudo ubuntu-drivers install nvidia:580 # or 570
- PPA :
sudo add-apt-repository ppa:graphics-drivers/ppa
- Nvidia Runfile :
sudo ./NVIDIA-Linux-x86_64-570.195.03.run
Neither proprietary nor open versions worked for me. Also, changing BIOS settings to support 4G Decoding
made Windows 11 not booting at all and Secure Boot
is not activated.
Here are some other logs:
azeer@azeer:~$ dpkg -l | grep -i nvidia
ii libnvidia-cfg1-580:amd64 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-580 580.95.05-0ubuntu1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-580:amd64 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA libcompute package
ii libnvidia-decode-580:amd64 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-egl-wayland1:amd64 1:1.1.17-0ubuntu0~gpu24.04.1 amd64 Wayland EGL External Platform library -- shared library
ii libnvidia-encode-580:amd64 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-extra-580:amd64 580.82.09-0ubuntu0~gpu24.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-580:amd64 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-580:amd64 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii nvidia-compute-utils-580 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-580-open 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA DKMS package (open kernel module)
ii nvidia-driver-580-open 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA driver (open kernel) metapackage
ii nvidia-firmware-580-580.82.09 580.82.09-0ubuntu0~gpu24.04.1 amd64 Firmware files used by the kernel module
ii nvidia-kernel-common-580 580.82.09-0ubuntu0~gpu24.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-580-open 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.17.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 510.47.03-0ubuntu4 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-580 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18.3ubuntu0.24.04.1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-580 580.82.09-0ubuntu0~gpu24.04.1 amd64 NVIDIA binary Xorg driver
azeer@azeer:~$ lspci -vvv -s 26:00.0
26:00.0 VGA compatible controller: NVIDIA Corporation Device 2d05 (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 41a2
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 78
IOMMU group: 14
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at f0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at e000 [size=128]
Expansion ROM at f4000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
Windows 11 drivers are working with no problems, so I’m not suspecting any hardware issue. I have also tried Ubuntu 22.04 but that also didn’t work.
Thanks for your suggestions.