Tons of freezing and "hanging" after update (maybe Nvidia related?)

Hello everyone.

Noob-ish here. I just upgraded Manjaro, and now my entire display is hanging whenever I try to startx or something similar. Even if I type clear I get a big hang. The computer is almost unusable, except I can log in to tty as root and do whatever I like. This all leads me to believe that it is a graphics/display issue, but I could be wrong. Regular commands work just fine.

Package versions are:

linux510-nvidia 520.56.06-2
linux510 5.10.148-1

I tried monitoring with systemd-analyze, but nothing seems to be amiss. Any suggestions on how I might debug this, or if this is a known issue?

can you post the output of

inxi --admin --verbosity=7 --filter --no-host --width

from console TTY you could do it by sending the output to a file

inxi --admin --verbosity=7 --filter --no-host --width > myinxi.txt

and edit/copy it for more easier transfer from this file

Here you go!

System:
  Kernel: 5.10.148-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=680a8b70-06b3-49ca-b358-16d20d41d4ba rw quiet
    acpi_backlight=vendor apparmor=1 security=apparmor udev.log_priority=3
  Console: tty 1 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401IV_GA401IV
    v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: GA401IV v: 1.0 serial: <filter>
    UEFI: American Megatrends v: GA401IV.214 date: 08/03/2020
Battery:
  ID-1: BAT0 charge: 45.4 Wh (72.2%) condition: 62.9/76.0 Wh (82.7%)
    volts: 15.8 min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: discharging
Memory:
  RAM: total: 15.12 GiB used: 799.3 MiB (5.2%)
  Array-1: capacity: 32 GiB slots: 2 EC: None max-module-size: 16 GiB
    note: est.
  Device-1: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M471A1K43CB1-CWE serial: N/A
  Device-2: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M471A1K43DB1-CWE serial: <filter>
CPU:
  Info: model: AMD Ryzen 9 4900HS with Radeon Graphics socket: FP6 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: 0x60 (96) stepping: 1
    microcode: 0x8600104
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1500 high: 3000 min/max: 1400/3000 boost: enabled
    base/boost: 3000/4400 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.2 V ext-clock: 100 MHz cores: 1: 1400 2: 3000 3: 1400 4: 1400
    5: 1400 6: 1400 7: 1400 8: 1400 9: 1400 10: 1400 11: 1400 12: 1400
    13: 1400 14: 1400 15: 1400 16: 1400 bogomips: 95859
  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 ibrs 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 rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme smep ssbd sse
    sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
    topoext tsc tsc_scale umip 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 and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU106M [GeForce RTX 2060 Max-Q] vendor: ASUSTeK
    driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-10) arch: Turing code: TUxxx
    process: TSMC 12nm built: 2018-22 pcie: speed: Unknown lanes: 63 link-max:
    gen: 5 speed: 32 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f12 class-ID: 0300
  Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel
    arch: GCN-5.1 code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 04:00.0 chip-ID: 1002:1636 class-ID: 0300 temp: 30.0 C
  Display: server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3 driver: X:
    loaded: amdgpu,modesetting,nouveau,nvidia,vesa alternate: fbdev,nv
    gpu: amdgpu tty: 240x67
  Monitor-1: eDP-1 model: Sharp LQ140M1JW46 built: 2020 res: 1920x1080
    dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Message: GL data unavailable in console for root.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 04:00.1
    chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound API: ALSA v: k5.10.148-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.58 running: no
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: br-887f3061c41a state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 5-4:3
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.84 TiB used: 357.62 GiB (19.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530
    SDBPNPZ-1T00-1002 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 21106000 temp: 32.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Samsung model: PSSD T7
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: <filter> scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%) used: 357.62 GiB
    (38.1%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 680a8b70-06b3-49ca-b358-16d20d41d4ba
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 312 KiB
    (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: EAD2-14B7
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 931.51 GiB fs: ext4 label: N/A
    uuid: 0f0e3232-5006-43c5-98d8-a401fe71d8dc
USB:
  Hub-1: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: ASUSTek N-KEY Device type: Keyboard
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 0b05:1866 class-ID: 0301
  Hub-2: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 5-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 5-3:2 info: Shenzhen Goodix FingerPrint type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 27c6:521d class-ID: ff00
  Device-2: 5-4:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Hub-4: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Device-1: 6-2:2 info: Samsung PSSD T7 type: Mass Storage driver: uas
    interfaces: 1 rev: 3.2 speed: 10 Gb/s power: 896mA chip-ID: 04e8:4001
    class-ID: 0806 serial: <filter>
Sensors:
  System Temperatures: cpu: 31.6 C mobo: N/A
  Fan Speeds (RPM): cpu: 2600
  GPU: device: nvidia screen: :0.0 temp: 32 C device: amdgpu temp: 30.0 C
Info:
  Processes: 339 Uptime: 15m wakeups: 2 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 11
  clang: 14.0.6 Packages: 1626 pm: pacman pkgs: 1620 libs: 465 tools: pamac
  pm: flatpak pkgs: 6 Shell: Bash (login) v: 5.1.16 running-in: tty 1
  inxi: 3.3.22

one question, what gui did you use ?
plasma/kde or gnome or cinnamon etc. ? that would help a little bit.

I am using i3 as my desktop environment.

I should also mention that if I run startx at all, I will get:

waiting for X server to begin accepting connections ..
..
..
..
..

for a really long time.

The funny part is that even the initial boot will take more time than usual, so it might be going deeper than the gui itself?

a backup would be priceless now…

Hahaha I do have a backup if need be ! (I’m a week behind, but it’s not killer for me). I was just wondering if there were a nicer way out of this. And I like to learn how to fix my system for future’s sake too.

i hope so, but i cannot help on i3 but it’s good to know that you do have plan b. :+1:

you can try switching kernels and see if it helps
also rerun update again, to see if there are any errors

@brahma @Olli I have no understanding why, but upgrading my kernel from 510 to 515 fixed my issue. If it works, it works :person_shrugging: Thank you for the help! Wish I knew why though :grimacing:

For those who might have the same issue one day:

mhwd-kernel -li  // Figure out which kernel you have
pacman -S linux515 // Install the new kernel
shutdown now
1 Like

can you also update your UEFI motherboard ?

I just finished fixing a Dell 15-5575. It seemed that X was crapping out. I thought as well it was Video related… but just like you I updated to linux515 and it was magical.

I am also running an AMD CPU chipset (Ryzen3). but I’m running Amd Radeon Vega for Videocard.

Devs, we need to REMOVE 510. Troubleshooting/Upgrading to 510 was the worst experience I’ve had in 10 years.

1 Like

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