Manjaro won't reboot or shutdown

I was trying to install Samba to share files with my Mac over my LAN but gave up as it was proving to be too complicated. I’ve since deleted what I’ve installed for Samba.

Since then I haven’t been able to shutdown or reboot, when I initiate the process either through the GUI or using systemctl in the terminal it shows some error messages and then just hangs.

Here is the output from inxi:

System:
  Kernel: 5.15.48-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=7fb251a7-2170-4018-afb2-783ec65b3af6 rw quiet
    udev.log_priority=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 17 9720 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0KNF8J v: A00 serial: <superuser required> UEFI: Dell
    v: 1.6.0 date: 04/14/2022
Battery:
  ID-1: BAT0 charge: 55.0 Wh (59.1%) condition: 93.1/95.1 Wh (98.0%)
    volts: 11.4 min: 11.4 model: SMP DELL 01RR3YM type: Li-poly serial: <filter>
    status: discharging
Memory:
  RAM: total: 31.04 GiB used: 2.14 GiB (6.9%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 12th Gen Intel Core i7-12700H bits: 64 type: MST AMCP
    arch: Alder Lake gen: core 12 built: 2021 process: Intel 7 (10nm ESF)
    family: 6 model-id: 0x9A (154) stepping: 3 microcode: 0x41C
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 586 high: 943 min/max: 400/4679:4700:3500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 521 2: 447 3: 543 4: 486
    5: 564 6: 491 7: 501 8: 574 9: 672 10: 943 11: 491 12: 499 13: 537 14: 583
    15: 558 16: 579 17: 642 18: 774 19: 617 20: 700 bogomips: 107560
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2 bts
    cat_l2 cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault
    cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c
    flexpriority flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp
    hwp_act_window hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe movdir64b movdiri msr mtrr nonstop_tsc nopl nx ospke pae pat pbe
    pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
    rdpid rdrand rdseed rdt_a rdtscp rep_good sdbg sep serialize sha_ni smap
    smep smx split_lock_detect ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer tsc_known_freq
    umip vaes vme vmx vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec
    xsaveopt xsaves xtopology xtpr
  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: 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 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Dell driver: i915
    v: kernel arch: Gen12.2 process: Intel 10nm built: 2021-22+ ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, HDMI-A-1
    bus-ID: 0000:00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Dell
    driver: nvidia v: 515.48.07 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Ampere process: TSMC n7 (7nm)
    built: 2020-22 bus-ID: 0000:01:00.0 chip-ID: 10de:2520 class-ID: 0300
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-6:2 chip-ID: 0c45:6732 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver: X:
    loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
    s-diag: 599mm (23.57")
  Monitor-1: eDP-1 model: Sharp 0x1518 built: 2021 res: 1920x1200 hz: 60
    dpi: 133 gamma: 1.2 size: 366x229mm (14.41x9.02") diag: 432mm (17")
    ratio: 16:10 modes: 1920x1200
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Dell
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Device-2: NVIDIA vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 0000:01:00.1 chip-ID: 10de:228e class-ID: 0403
  Sound Server-1: ALSA v: k5.15.48-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.0 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-10:4
    chip-ID: 8087:0033 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:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 953.87 GiB used: 8.87 GiB (0.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: PM9A1 NVMe 1024GB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 36308229 temp: 38.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 634.77 GiB size: 623.73 GiB (98.26%) used: 8.75 GiB (1.4%)
    fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
    uuid: 7fb251a7-2170-4018-afb2-783ec65b3af6
  ID-2: /boot/efi raw-size: 200 MiB size: 196 MiB (98.00%)
    used: 117.6 MiB (60.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: ESP uuid: 14D8-2F08
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 298.49 GiB fs: bitlocker
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 1.01 GiB fs: ntfs
    label: WINRETOOLS uuid: BE4A28054A27B8D3
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 17.84 GiB fs: ntfs label: Image
    uuid: AC1428211427ED50
  ID-5: /dev/nvme0n1p6 maj-min: 259:6 size: 1.43 GiB fs: ntfs
    label: DELLSUPPORT uuid: A258AB9558AB672F
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-6:2 info: Microdia Integrated_Webcam_HD type: Video
    driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0c45:6732 class-ID: 0e02
  Device-2: 1-9:3 info: Shenzhen Goodix USB2.0 MISC type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 27c6:63ac class-ID: ef00 serial: <filter>
  Device-3: 1-10:4 info: Intel type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0033 class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 427 Uptime: 12m wakeups: 1529 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1
  Packages: pacman: 918 lib: 282 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.19

I also did a journalctl --boot=-1 --priority=3 | tail --lines=100 and got the following:

Jun 21 17:04:30 michael-xps179720 kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
Jun 21 17:04:30 michael-xps179720 kernel: 
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:3:025d:0714:01: Probe not complete, timed out
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:3:025d:0714:01: Update Slave status failed:-110
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:1:025d:1316:01: Probe not complete, timed out
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:1:025d:1316:01: Update Slave status failed:-110
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:2:025d:1316:01: Probe not complete, timed out
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:2:025d:1316:01: Update Slave status failed:-110
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:0:025d:0711:01: Probe not complete, timed out
Jun 21 17:04:36 michael-xps179720 kernel: soundwire sdw:0:025d:0711:01: Update Slave status failed:-110
Jun 21 17:04:38 michael-xps179720 kernel: dell_smm_hwmon: unable to get SMM Dell signature
Jun 21 17:04:38 michael-xps179720 systemd-udevd[463]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
Jun 21 17:04:39 michael-xps179720 kernel: sof_sdw sof_sdw: snd_soc_register_card failed -517
Jun 21 17:04:39 michael-xps179720 kernel: sof_sdw sof_sdw: snd_soc_register_card failed -517
Jun 21 17:04:39 michael-xps179720 kernel: sof_sdw sof_sdw: snd_soc_register_card failed -517
Jun 21 17:04:39 michael-xps179720 kernel: sof_sdw sof_sdw: snd_soc_register_card failed -517
Jun 21 17:04:39 michael-xps179720 kernel: sof_sdw sof_sdw: snd_soc_register_card failed -517
Jun 21 17:04:39 michael-xps179720 kernel: sof_sdw sof_sdw: snd_soc_register_card failed -517
Jun 21 17:04:39 michael-xps179720 kernel: sof_sdw sof_sdw: snd_soc_register_card failed -517
Jun 21 17:04:58 michael-xps179720 lightdm[1340]: gkr-pam: unable to locate daemon control file
Jun 21 17:05:39 michael-xps179720 kernel: ucsi_acpi USBC000:00: ucsi_handle_connector_change: GET_CONNECTOR_STATUS failed (-110)
Jun 21 17:07:30 michael-xps179720 kernel: watchdog: watchdog0: watchdog did not stop!

Would appreciate the help on this. At the moment I’m just manually turning the laptop off by holding the power button for about 15 seconds which I appreciate is not good for the computer.

UPDATE: Have also just noticed that the sound is also not working now. Could it be to do with the latest Manjaro update?

Show them.

The moment I turn the computer off is the moment I can’t copy the error messages any more. I will take a picture.

it looks like this is the issue:

watchdog: watchdog0: watchdog did not stop!

so disable watchdog
also you have there a lot of sound related issues …
run this command:
cat /var/log/pacman.log
and copy here everything that you uninstalled with samba

I can’t embed media items, so I’ve written it out:

Broadcast message from michaelgv@michael-xps179720 (*timestamp):

The system is going down for reboot NOW!

[ 2235.608156] systemd-shutdown[1]: Waiting for process: 443 (systemd-udevd), 448 (systemd-udevd), 416 (systemd-udevd)
[ 2325.613983] systemd-shutdown[1]: Waiting for process: 443 (systemd-udevd), 448 (systemd-udevd)
[ 2405...] watchdog: watchdog0: watchdog did not stop!
[ 2416..] systemd-shutdown[1]: Waiting for process: 443 (systemd-udevd), 448 (systemd-udevd)
^@^@[ 2506..] systemd-shutdown[1]: Waiting for process: 443 (systemd-udevd), 448 (systemd-udevd)
[ 2586..] sd-unmoun[3824]: Failed to unmount /oldroot: Device or resource busy
[ 2586..] sd-unmoun[3825]: Failed to unmount /oldroot/dev: Device or resource busy
[ 2586...] watchdog: watchdog0: watchdog did not stop!
[ 2405...] shutdown[1]: Failed to finalize file systems, ignoring.
^@^@^@^@

Although the error messages are different on each shutdown.

Here is the output of cat /var/log/pacman.log:

[2022-06-21T14:43:08+0100] [PAMAC] synchronizing package lists
[2022-06-21T14:43:14+0100] [ALPM] transaction started
[2022-06-21T14:43:14+0100] [ALPM] installed manjaro-settings-samba (20210926-1)
[2022-06-21T14:43:14+0100] [ALPM-SCRIPTLET] ==> Attempting to enable Samba services...Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service.
[2022-06-21T14:43:14+0100] [ALPM-SCRIPTLET] Created symlink /etc/systemd/system/multi-user.target.wants/nmb.service → /usr/lib/systemd/system/nmb.service.
[2022-06-21T14:43:15+0100] [ALPM-SCRIPTLET] ==> Adding user 'michaelgv' to user-group 'sambashare'
[2022-06-21T14:43:15+0100] [ALPM-SCRIPTLET] ==> Samba services should now be enabled.==> Please add new users to 'sambashare' group.==> Reboot your system, so changes will take effect..
[2022-06-21T14:43:15+0100] [ALPM] transaction completed
[2022-06-21T14:45:24+0100] [PAMAC] synchronizing package lists
[2022-06-21T14:45:31+0100] [ALPM] transaction started
[2022-06-21T14:45:31+0100] [ALPM] installed thunar-gtk3 (2019.08.15-1)
[2022-06-21T14:45:31+0100] [ALPM] installed thunar-shares-plugin-gtk3 (0.3.0-1)
[2022-06-21T14:45:31+0100] [ALPM] transaction completed
[2022-06-21T14:45:31+0100] [ALPM] running '30-systemd-update.hook'...
[2022-06-21T16:28:06+0100] [ALPM] transaction started
[2022-06-21T16:28:06+0100] [ALPM] removed thunar-shares-plugin-gtk3 (0.3.0-1)
[2022-06-21T16:28:06+0100] [ALPM] removed thunar-gtk3 (2019.08.15-1)
[2022-06-21T16:28:07+0100] [ALPM] removed manjaro-settings-samba (20210926-1)
[2022-06-21T16:28:07+0100] [ALPM-SCRIPTLET] ==> Attempting to disable Samba services...Removed "/etc/systemd/system/multi-user.target.wants/smb.service".
[2022-06-21T16:28:07+0100] [ALPM-SCRIPTLET] Removed "/etc/systemd/system/multi-user.target.wants/nmb.service".
[2022-06-21T16:28:07+0100] [ALPM-SCRIPTLET] sambashare:x:964:michaelgv
[2022-06-21T16:28:07+0100] [ALPM-SCRIPTLET] 
[2022-06-21T16:28:07+0100] [ALPM-SCRIPTLET] ==> Samba services should now be disabled. Reboot your system.
[2022-06-21T16:28:07+0100] [ALPM] transaction completed
[2022-06-21T16:28:07+0100] [ALPM] running '30-systemd-update.hook'...
[2022-06-21T17:19:15+0100] [PACMAN] Running 'pacman -Syyu'
[2022-06-21T17:19:15+0100] [PACMAN] synchronizing package lists
[2022-06-21T17:19:16+0100] [PACMAN] starting full system upgrade

I’ve seen that to disable Watchdog I need to do the following:

adding nowatchdog to the kernel parameters and blacklist iTCO_wdt in a conf file in /etc/modprobe.d/

But, I don’t know how add stuff to the kernel parameters. (I’m a n00b to linux only installed it recently.)

it removed 2 thunar related packages with it…
disable watchdog:
Go to etc/default/grub and put into GRUB_CMDLINE_LINUX_DEFAULT the following kernel parameter:
nowatchdog - dont remove anything from there, just add it inside the quotes to already existing parameters, and just to be sure copy the line here
Then update grub:
sudo update-grub
Create a file:
sudo nano /etc/modprobe.d/blacklist.conf
Put there these lines:
blacklist iTCO_wdt
blacklist iTCO_vendor_support
Then CTRL+X, to save the file
Recreate initframs:
sudo mkinitcpio -P
Reboot

Thanks, super helpful. After rebooting it twice I get a new error now:

Broadcast message from michaelgv@michael-xps179720 (*timestamp):

The system is going down for reboot NOW!

[ 89...] systemd-shutdown[1]: Waiting for process: 443 (systemd-udevd), 414 (systemd-udevd), 436 (systemd-udevd)
[ 179...] systemd-shutdown[1]: Waiting for process: 436 (systemd-udevd), 443 (systemd-udevd)
[ 245...] INFO: task systemd-udevd:436 blocked for more than 122 seconds.
[ 245...]       Tainted: P                  OE            5.15.40-1-MANJARO #1
[ 245...] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 245...] INFO: task systemd-udevd:443 blocked for more than 122 seconds.
[ 245...]       Tainted: P                  OE            5.15.40-1-MANJARO #1
[ 245...] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 269...] shutdown[1[ Waiting for process: 443 (systemd-udevd), 436 (systemd-udevd)
[ 359...] shutdown[1[ Waiting for process: 443 (systemd-udevd), 436 (systemd-udevd)
[ 368...] INFO: task systemd-udevd:436 blocked for more than 122 seconds.
[ 368...]       Tainted: P                  OE            5.15.40-1-MANJARO #1
[ 368...] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 368...] INFO: task systemd-udevd:443 blocked for more than 122 seconds.
[ 368...]       Tainted: P                  OE            5.15.40-1-MANJARO #1
[ 368...] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 439..] sd-unmoun[1967]: Failed to unmount /oldroot: Device or resource busy
[ 439..] sd-unmoun[1968]: Failed to unmount /oldroot/dev: Device or resource busy
[ 439...] shutdown[1]: Failed to finalize file systems, ignoring.
[ 491...] INFO: task systemd-udevd:436 blocked for more than 122 seconds.
[ 491...]       Tainted: P                  OE            5.15.40-1-MANJARO #1
[ 491...] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 491...] INFO: task systemd-udevd:443 blocked for more than 122 seconds.
[ 491...]       Tainted: P                  OE            5.15.40-1-MANJARO #1
[ 491...] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

install different kernel, for example the 5.10 lts and try with it

510 just gets stuck when trying to boot at the black screen with the flashing underscore.

Should I try a more recent version?

yes try the 5.18 and check output from these commands:
cat /proc/sys/kernel/watchdog
cat /proc/sys/kernel/nmi_watchdog
it should be: 0

Yeah I got 0 for both of those.

5.18 is similar, this time the underscore doesn’t flash.

so you can boot only with the 5.15 kernel?

Yeah that’s right

If you can’t boot any other kernel then you have some bigger issues and misconfigurations we don’t know about.

First of all, try unplugging all usb dongles and retry.
Second of all, it could be this: FS#63697 : systemd 243.0-1 poweroff/reboot umount errors

I didn’t have any usb dongles plugged in.

I tried adding the below (before the for loop that was already in there) to /usr/lib/systemd/system-shutdown/nvidia.shutdown:

# remove nvidia modules
/usr/bin/modprobe -r nvidia_drm nvidia_modeset nvidia_uvm && /usr/bin/modprobe -r nvidia

After two reboots that seems to have fixed it. Although I still can’t turn the computer on with a different Linux kernel. Only 5.15

UPDATE: Has stopped working again

I think one of the solutions was to include ‘shutdown’ hook in /etc/mkinitcpio.conf's HOOKS array (and remake initramfs). But on the other hand there are mentions of this hook being deprecated.

I admit, I only skimmed over that page, so you might want to investigate further.

I’ve tried uninstalling Manjaro and loading it from the same USB that I used to install it and now it won’t even turn off from the USB either.

It previously worked fine from before and it’s the same version of Manjaro that I installed from initially.

:thinking:
download the latest manjaro iso and try with it

Tried that too. I was wondering if it might be because I’m using Minimal Manjaro