You are not logged in.
Hi everyone!
I just purchased a brand new PC that I'm very keen to get Arch live on.
Everything seems to work fine until I install NVIDIA drivers via:
pacman -S nvidiaAfterwards, booting gets stuck after this message:
Starting version 251.6-1-arch
/dev/mapper/volgroup0-lv_root: clean, 78716/1966080 files, 1656151/7864320 blocksI'm unable to use Ctrl + Alt + F{n} to access alternate terminals. Thus, I'm forced to use the installation media to regain access and do diagnostics...
Here is a paste of: lspci -k:
N.B. this command returns an error:
Unable to load libkmod resources: error -2Here is a dump of all my installed pacman packages via pacman -Q:
Here is a paste of an offending boot via journalctl -b -1:
I can see some nasty looking nvidia error messages that I fear could be the culprit but am unsure how to proceed. Highlighted below:
Oct 20 16:08:29 archlinux kernel: nvidia: loading out-of-tree module taints kernel.
Oct 20 16:08:29 archlinux kernel: nvidia: module license 'NVIDIA' taints kernel.
Oct 20 16:08:29 archlinux kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Oct 20 16:08:29 archlinux kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 511
Oct 20 16:08:29 archlinux kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Oct 20 16:08:29 archlinux kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 520.56.06 Thu Oct 6 21:38:55 UTC 2022
Oct 20 16:08:29 archlinux systemd-udevd[390]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'' failed with exit code 1.
Oct 20 16:08:29 archlinux kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input15
Oct 20 16:08:29 archlinux kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input16
Oct 20 16:08:29 archlinux kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input17
Oct 20 16:08:29 archlinux kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input18
Oct 20 16:08:29 archlinux kernel: input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input19
Oct 20 16:08:29 archlinux kernel: input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input20
Oct 20 16:08:29 archlinux kernel: input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input21
Oct 20 16:08:29 archlinux systemd-udevd[413]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) ${i}; done'' failed with exit code 1.
Oct 20 16:08:29 archlinux kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Oct 20 16:08:29 archlinux kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 520.56.06 Thu Oct 6 21:22:53 UTC 2022
Oct 20 16:08:29 archlinux kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Oct 20 16:08:29 archlinux kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
Oct 20 16:08:29 archlinux systemd-modules-load[376]: Inserted module 'nvidia_uvm'
Oct 20 16:08:29 archlinux kernel: nvidia-uvm: Loaded the UVM driver, major device number 509.I would try and downgrade to linux-lts, however it seems that my MediaTEK WiFi card only seems to work on the linux kernel...
Many thanks in advance and please do let me know if you need additional information
Cheers,
Tim
Last edited by tlonny (2022-10-20 19:27:01)
Offline
If you blacklist the amdgpu module is there any change?
Have I understood the journal correctly that there is no display manager in use? Which GPU's have displays attached?
Offline
Hi @loqs,
I've blacklisted amdgpu by:
echo "blacklist amdgpu" > /etc/modprobe.d/blacklist.conf....and I just booted it up and it works!
Have confirmed that the nvidia driver is in use as well via lspci -k!
Thank you so much mate - really appreciate your help!
As per your question about my journey:
1. I have no display manager installed at the moment.
2. I had a single monitor connected via the HDMI port of my GPU.
If you have a spare moment, I'd love to understand how you were able to figure out that that was the issue.
I'll mark this thread as solved...
Thanks again!!
Last edited by tlonny (2022-10-20 19:28:12)
Offline
The symptoms matched a similar issue I had helped on [1] with the Nvidia kernel modules not providing a frame buffer they need to be loaded before anything else that provides a none generic one and in the journal the amdgpu module was loaded before the Nvidia modules so that would block the nvidia module from using a generic framebuffer.
Offline