You are not logged in.

#1 2022-07-31 12:03:13

startspades
Member
Registered: 2022-07-31
Posts: 28

[SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

I tried to install the nvidia drivers so that i could use cuda with pytorch. After installing the nvidia drivers using pacman, my computer will no longer boot into SDDM / KDE pasma. The boot hangs at the following message:


starting version 251.3-1-arch
/dev/nvme0n1p7: clean, 649267/9723904 files, 13522130/38868480 blocks

If i remove quiet from my grub parameters, I see that it hangs at:

[  OK  ] Reached target Graphical Interface.
            Starting Hostname Service...
[  OK  ] Started Hostname Service.

I can still use the terminal by pressing ctrl + alt + f2.

When running `pacman -Qs nvidia` I can see that i have installed version 515.57-1 of the driver:

local/cuda 11.7.0-2
    NVIDIA's GPU programming toolkit
local/egl-wayland 2:1.1.10-1
    EGLStream-based Wayland external platform
local/libvdpau 1.5-1
    NVIDIA NV-CONTROL X extension
local/nvidia 515.57-10
    NVIDIA drivers for linux
local/nvidia-settings 515.57-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 515.57-1
    NVIDIA drivers utilities
local/opencl-nvidia 515.57-1
    OpenCL implementation for NVIDIA

I am still new to arch so I am unsure how to debug this but it seems as if the driver is unable to start correctly.

The computer is still picking up my GPU correctly, as it shows when i run `lspci -k | grep -A 2 -E "(VGA|3D)"`:

07:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] (rev a1)
             Subsystem: Gigabyte Technology Co., Ltd Device 4008
             Kernel modules: noveau

Running `nvidia-smi` displays the following errror mesage:

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

So i then ran `sudo dmesg | grep nvidia` to see that there is a timeout error:

[    3.305833] nvidia-gpu 000:0700.3: enabling device (0000 -> 0002)
[    4.590228] nvidia-gpu 000:0700.3: i2c timeout error e0000000

Seeing "Kernel modules: noveau" is concerning because I believe that noveau should be disabled once the nvidia drivers are installed. I tried to disable noveau by creating a file at "/etc/modprobe.d/nvidia.conf" which contains:

blacklist noveau

Would anybody have some pointers on what i could do next to try and fix this?

Last edited by startspades (2022-08-02 20:47:03)

Offline

#2 2022-07-31 18:59:24

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: [SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

Please post the full system journal for a boot with the issue.

Offline

#3 2022-07-31 20:07:23

startspades
Member
Registered: 2022-07-31
Posts: 28

Re: [SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

loqs wrote:

Please post the full system journal for a boot with the issue.

I have uploaded logs from my most recent boot here: https://pastebin.com/xjLC3a9Y

Failed to find module 'nvidia-uvm'

Seems like it could be the cause...

Last edited by startspades (2022-07-31 20:08:59)

Offline

#4 2022-07-31 22:41:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,505

Re: [SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

You're bootinglinux 5.18.12 but nvidia 515.57-10 is a rebuild for linux 5.18.15.arch1-1
=> "pacman -Syu", don't conduct partial updates.

Offline

#5 2022-08-01 21:46:06

startspades
Member
Registered: 2022-07-31
Posts: 28

Re: [SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

seth wrote:

You're bootinglinux 5.18.12 but nvidia 515.57-10 is a rebuild for linux 5.18.15.arch1-1
=> "pacman -Syu", don't conduct partial updates.

I tried running "sudo pacman -Syu" It is not committing the updates due to errors. I redirected stdout to a file to display here:

:: Synchronising package databases...
core downloading...
extra downloading...
community downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (64) abseil-cpp-20220623.0-1  alsa-card-profiles-1:0.3.56-1  appstream-glib-0.8.0-1  archlinux-appstream-data-20220727-1  archlinux-keyring-20220727-1  avogadrolibs-1.97.0-1  avogadrolibs-qt5-1.97.0-1  base-3-1  ca-certificates-mozilla-3.81-1  code-1.69.2-1  cryptsetup-2.5.0-1  firefox-developer-edition-104.0b4-1  fish-3.5.1-1  fwupd-1.8.3-1  graphviz-5.0.0-1  gsm-1.0.21-1  harfbuzz-5.1.0-1  hwloc-2.8.0-1  imagemagick-7.1.0.45-1  iptables-1:1.8.8-2  iso-codes-4.11.0-1  jasper-3.0.6-1  kitinerary-22.04.3-2  lame-3.100-4  ldb-2:2.5.2-1  libbpf-0.8.1-1  libcap-2.65-1  libmm-glib-1.18.10-2  libphonenumber-1:8.12.52-3  libplacebo-4.208.0-1  libtiff-4.4.0-3  libuv-1.44.2-1  linux-5.18.15.arch1-1  llvm-libs-14.0.6-2  lv2-1.18.6-1  mesa-22.1.4-1  mobile-broadband-provider-info-20220725-1  modemmanager-1.18.10-2  mpg123-1.30.1-1  nodejs-18.7.0-1  npm-8.15.1-1  nss-3.81-1  pacman-6.0.1-7  pacman-mirrorlist-20220724-1  pipewire-1:0.3.56-1  plasma-workspace-5.25.3.1-2  prison-5.96.0-2  protobuf-21.4-1  protobuf-c-1.4.1-1  python-markdown-3.4.1-1  python-trove-classifiers-2022.7.22-1  qt5-base-5.15.5+kde+r174-1  qt5-svg-5.15.5+kde+r11-1  qt5-wayland-5.15.5+kde+r38-3  samba-4.16.4-1  serd-0.30.14-1  smbclient-4.16.4-1  sord-0.16.12-3  sratom-0.6.12-1  vlc-3.0.17.4-7  vtk-9.1.0-19  wavpack-5.5.0-1  wayland-protocols-1.26-1  xdg-desktop-portal-1.14.5-1

Total Download Size:      1.75 MiB
Total Installed Size:  1556.11 MiB
Net Upgrade Size:         7.54 MiB

:: Retrieving packages...
libtiff-4.4.0-3-x86_64 downloading...
lv2-1.18.6-1-x86_64 downloading...
lame-3.100-4-x86_64 downloading...
libcap-2.65-1-x86_64 downloading...
serd-0.30.14-1-x86_64 downloading...
sord-0.16.12-3-x86_64 downloading...
sratom-0.6.12-1-x86_64 downloading...
checking keyring...
checking package integrity...
Errors occurred, no packages were upgraded.

The errors that appear relate to packages being corrupt (PGP Signature), i get the option to each package that errors but once i go through the entire list the whole process aborts due to these errors.

The packages that have this error are:

> libcap
> libtiff
> lame
> lv2
> serd
> sord
> sratom

All of these packages have a signature from "David Runge <dvzrv@archlinux.org>"

Last edited by startspades (2022-08-01 21:50:55)

Offline

#6 2022-08-01 21:52:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,505

Re: [SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

Use code tags, not quote tags

pacman -Sy archlinux-keyring
pacman -Syu

Offline

#7 2022-08-01 22:15:10

startspades
Member
Registered: 2022-07-31
Posts: 28

Re: [SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

Was able to run "pacman -Syu" and now my display manager is loading. Thanks for the help!

Offline

#8 2022-08-02 05:22:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,505

Re: [SOLVED] Boot stuck on /dev/nvme0n1p7 after instaling nvidia drivers

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB