Nvidia utils update causing no boot

pacman-mirrors -G i get only the word “stable” as the result.
the inxi results in:

System:
  Kernel: 5.19.0-3-rt10-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.19-rt-x86_64
    root=UUID=649e0b3a-4dee-4243-b844-ee395fae1f3a rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7C37 v: 1.0
    serial: <superuser required>
  Mobo: Micro-Star model: MPG X570 GAMING EDGE WIFI (MS-7C37) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.80
    date: 04/20/2020
Battery:
  Device-1: hidpp_battery_0 model: Logitech M510 serial: <filter> charge: 55%
    (should be ignored) rechargeable: yes status: discharging
Memory:
  RAM: total: 15.57 GiB used: 1.4 GiB (9.0%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 3073 high: 4123 min/max: 2200/4208 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2200
    3: 4123 4: 2057 5: 3600 6: 3600 7: 3600 8: 3907 9: 3600 10: 2200 11: 2200
    12: 3600 bogomips: 86398
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
    sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext
    tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Micro-Star MSI
    driver: nvidia v: 515.76 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-10) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-21 pcie: gen: 2 speed: 5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 2d:00.0 chip-ID: 10de:1c82
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 93
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.

The rest is bluetooth, network, drive and audio info etc…


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

well so far so good. let’s check the gpu-server, please post the output of

glxinfo | grep server

if glxinfo is not installed you need to install the package “mesa-utils” before running glxinfo, but it should be installed.

“command not found”
also when installing “mesa-utils” it sees a conflict and wants to remove and update the very thing that is causing the problem.

post output from:

pacman -Qs nvidia
ls /etc/mkinitcpio.d/*.preset
sudo ls /boot/initramfs-*
sudo ls /boot/vmlinuz-*
sudo ls /usr/lib/modules/*

and IF YOU tell us what “wants to remove…” then we can tell YOU what might cause the problem. but if you let us die as foolish we will dig in the dark till the last day !
do you understand ?

btw: do update or downgrade to a ordinary supported kernel that doesn’t cause trouble unless you are expert to deal with real-time-kernels and the hints with them. we already remembered you to do so but i think it’s wasted time if you stick on and waiting for wonders.

i’m out

pacman -Qs nvidia output

local/egl-wayland 2:1.1.11-2
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/lib32-nvidia-utils 515.76-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl 515.76-1
    NVIDIA NV-CONTROL X extension
local/linux519-rt-nvidia 515.76-1 (linux519-rt-extramodules)
    NVIDIA drivers for linux
local/mhwd-nvidia 515.76-1
    MHWD module-ids for nvidia 515.76
local/mhwd-nvidia-390xx 390.154-2
    MHWD module-ids for nvidia 390.154
local/mhwd-nvidia-470xx 470.141.03-2
    MHWD module-ids for nvidia 470.141.03
local/nvidia-utils 515.76-1
    NVIDIA drivers utilities

ls /etc/mkinitcpio.d/*.preset

/etc/mkinitcpio.d/linux519-rt.preset

ls /boot/initramfs-*

/boot/initramfs-5.19-rt-x86_64-fallback.img 
/boot/initramfs-5.19-rt-x86_64.img

ls /boot/vmlinuz-*

/boot/vmlinuz-5.19-rt-x86_64

ls /usr/lib/modules/*

/usr/lib/modules/5.19.0-3-rt10-MANJARO:
extramodules	   modules.builtin	      modules.dep.bin  modules.symbols.bin
kernel		   modules.builtin.alias.bin  modules.devname  pkgbase
kernelbase	   modules.builtin.bin	      modules.order    vmlinuz
modules.alias	   modules.builtin.modinfo    modules.softdep
modules.alias.bin  modules.dep		      modules.symbols

/usr/lib/modules/extramodules-5.19-rt-MANJARO:
nvidia-drm.ko.xz  nvidia-modeset.ko.xz	nvidia-uvm.ko.xz
nvidia.ko.xz	  nvidia-peermem.ko.xz	version

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

$ mbn info nvidia-utils -q  
Branch         : archlinux
Name           : nvidia-utils
Version        : 520.56.06-2
Repository     : extra
Build Date     : Wed 19 Oct 2022 00:50:34 
Packager       : Sven-Hendrik Haase <svenstaro@gmail.com>
Branch         : unstable
Name           : nvidia-utils
Version        : 520.56.06-2
Repository     : extra
Build Date     : Fri 14 Oct 2022 02:55:10 
Packager       : Mark Wagie <mark@manjaro.org>
Branch         : testing
Name           : nvidia-utils
Version        : 520.56.06-2
Repository     : extra
Build Date     : Fri 14 Oct 2022 02:55:10 
Packager       : Mark Wagie <mark@manjaro.org>
Branch         : stable
Name           : nvidia-utils
Version        : 520.56.06-2
Repository     : extra
Build Date     : Fri 14 Oct 2022 02:55:10 
Packager       : Mark Wagie <mark@manjaro.org>

$ mbn info linux519-rt-nvidia -q
Branch         : unstable
Name           : linux519-rt-nvidia
Version        : 520.56.06-1
Repository     : community
Build Date     : Wed 12 Oct 2022 18:36:45 
Packager       : Mark Wagie <mark@manjaro.org>
Branch         : testing
Name           : linux519-rt-nvidia
Version        : 520.56.06-1
Repository     : community
Build Date     : Wed 12 Oct 2022 18:36:45 
Packager       : Mark Wagie <mark@manjaro.org>
Branch         : stable
Name           : linux519-rt-nvidia
Version        : 515.76-1
Repository     : community
Build Date     : Thu 22 Sep 2022 16:04:38 
Packager       : Bernhard Landauer <oberon@manjaro.org>

Keep calm and wait a bit until it arrived stable branch.

it looks like you have to wait when the nvidia drivers are being shipped to the stable branch, which could be weeks… or you can resolve this issue from chroot… boot into manjaro live usb, connect to internet, enter chroot:
manjaro-chroot -a
(this command doesnt work with btrfs or encryption, you have to chroot manually);
uninstall nvidia:
mhwd -r pci video-nvidia
uninstall the rt kernel:
pacman -R linux519-rt
rerun update:
pacman-mirrors --fasttrack 5 && pacman -Syyu
install 515 kernel:
pacman -S linux515
install nvidia:
mhwd -i pci video-nvidia
exit chroot:
exit
reboot

Still stuck on kernel 5.19.0_rt10-3 unsupported. I’ve installed many different kernels and cannot switch due to dependency issues with nvidia drivers. Maybe I should try and plug monitor into motherboard hdmi when updating?

Well… 5.19-rt is unsupported. Why not just removing it plus dependencies?

Removing it causes a no-boot. Stuck on “root clean”
Under hardware config display controller GP107 GeForce GTX 1050 Ti there’s a list of open-source and installed-- video-nvidia-470xx, video-nvidia-390xx are both unchecked.
video-nvidia installed is checked, video-linux “open-source” is checked along with video-modesetting and video-vesa

So… what are actually the “dependency issues”?
Guess you run this?

sudo mhwd-kernel --remove linux519-rt

If that is removed I can’t get past root clean on boot screen.

The reinstall the video-nvidia and remove video-vesa.

kernel 5.19.0_rt10-3
Everything was running fine till last update then nvidia drivers caused a no-boot issue stuck at root clean.
Switching kernels results gives “mount: /sys/firmware/efi/efivars: unknown filesystem type ‘efivarfs’”
I just want to switch to a stable Ls kernel. I don’t have a dual boot so why the efi?

Hi @bearthly,

You can always install a new kernel from a chroot environment.

That’s possibly the only way, and very much the only way I know if. But, I don’t know about that error as I’ve never dealt with it before.

Edit:

I suspect you’ll also have to repair GRUB. Which you need to do from the chroot environment.

Edit #2:

Just saw the thread being moved here so just want to say: you’re in good hands here, so I’m out.

Edit #3:

Just saw this, it might help:

My structure is…
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 105498623 104448000 49.8G Linux filesystem
/dev/nvme0n1p3 105498624 976768031 871269408 415.5G Linux filesystem

Ok, here’s the latest so far. I’ve narrowed it down to the upgrade process and the issue appears to be not with the nvidia drivers but the removal of a driver that the update says needs to be removed. here is the output:
To upgrade (3):
libxnvctrl 520.56.06-1 (515.76-1) extra
nvidia-utils 520.56.06-2 (515.76-1) extra
lib32-nvidia-utils 520.56.06-1 (515.76-1) multilib
To remove (1):
linux60-rt-nvidia 515.76-2 community
…how can I force upgrade and NOT remove “linux60-rt-nvidia?”

I am troubleshooting some driver conflict. I’ve narrowed it down to a driver update automatically including a removal of a driver that I want to keep for troubleshooting. How can I force the update to not remove it?
I understand this is a general question but if I give specifics it will further complicate the issue.

But without specifics people can’t hand you a solution for your specific problem…

1 Like