Failed to reboot/shutdown after installed Nvidia driver

I know there are lots of posts about problems of reboot/shutdown. But I tried lots of them and with no luck.

My situation is I can never reboot or shutdown the machine after switching to an Nvidia driver. It was in pain.

 ██████████████████  ████████     ken@manjaro
 ██████████████████  ████████     OS: Manjaro 21.0.5 Ornara
 ██████████████████  ████████     Kernel: x86_64 Linux 5.4.118-1-MANJARO
 ██████████████████  ████████     Uptime: 10m
 ████████            ████████     Packages: 1599
 ████████  ████████  ████████     Shell: zsh 5.8
 ████████  ████████  ████████     Resolution: 1920x1080
 ████████  ████████  ████████     DE: GNOME 3.38.5
 ████████  ████████  ████████     WM: Mutter
 ████████  ████████  ████████     WM Theme: Matcha-dark-sea
 ████████  ████████  ████████     GTK Theme: Matcha-sea [GTK2/3]
 ████████  ████████  ████████     Icon Theme: Papirus-Dark-Maia
 ████████  ████████  ████████     Font: Noto Sans 11
 ████████  ████████  ████████     Disk: 705G / 1.5T (50%)
                                  CPU: Intel Xeon E3-1535M v6 @ 8x 4.2GHz [52.0°C]
                                  GPU: Quadro M2200
                                  RAM: 3428MiB / 64042MiB

In manjaro setting manager, it shows my driver is GM206GLM [Quadro M2200 Mobile], video-hybrid-intel-nvidia-prime. My laptop is ThinkPad P51.

After a excute reboot, it froze in the booting frame with the logo of “Lenove”.
If I run shutdown, it stopped with a bunch of codes.

I tried to changes below one by one:

vim “/etc/default/grub”
I tried to alter the codes below one by one

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=! acpi_osi=\"Windows 2009\"  apm=power_off"
GRUB_CMDLINE_LINUX_DEFAULT="quiet  nouveau.modeset=0 splash apm=power_off"
GRUB_CMDLINE_LINUX_DEFAULT="quiet nouveau.modeset=0 splash acpi=force  apm=power_off"
GRUB_CMDLINE_LINUX="reboot=efi"
GRUB_CMDLINE_LINUX="reboot=bios"    
GRUB_CMDLINE_LINUX="reboot=acpi"
GRUB_CMDLINE_LINUX="reboot=pci"
  1. sudo vim /etc/modprobe.d/blacklist.conf
    add:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

But nothing works…

It is really terrible that I can’t shutdown the device normally.

Please help. This is my first time using Arch Linux.

This is the code I read from the photo when it froze during the shutdown.
The image is ok but there are too many. So, I can’t make sure all the words here are correct.

It is funny that I can’t insert a photo or link here

[266.828114] ROX: ffffffff91c49880 RS1: 0000000000000000 RD1: ffffb36a0007be50
[266.832222] RBP: ffffb36a0007be50 R08: 0000000000000000 R89: 0000000040000000
[266.836353] R10: 0000000000000010 R11: 0000000000000000 R12: ffff94c9f91cbd80
[266.848427] R13: FFFFB36A0007BE50 R14: FFFFFFFFC05D2980 R15: 0000000000001000
[266.844558] FS: 00007FCF9E6E2ec0 (0000) GS:F FFF94C9FF640000 (0000) KNLGS: 0000000000000000
[266.848749] CS: 0010 DS: 0000 ES: 0000 CRA0: 0000000000050033
[266.852913] CR2: 0000000000000000 CR3: 000000103450c006 CR4: 00000000003606e0
[266,857971] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[266.861971] DR8: 0000000000000000 DR6: 00000000fffe0ff0 nR7: 0000000000000400
[265.934637] Note: (SD-remount)[6422] exited with preempt_count 1
[265.934637] systemd-Shutdown [1]: Not all file Systems unmounted, 1 left.
[265.939823] systemd-Shutdown [1]: Deactivating swaps,
[265.943374] systemd-Shutdown [1]: All swaqps DEACTIVATED.
[265.947571] systemd-Shutdown [1]: Detaching loop devices
[265.952327] systemd-Shutdown [1]: All loop Devices Detached.
[265.956629] systemd-Shutdown [1]: Stopping MD Devices.
[265.968930] systemd-Shutdown [1]: All MD devices stopped
[265.965339] systemd-Shutdown [1]: Rrt - phpeveedruicacieu. (PS: Can't read)
[265.973438] systemd-Shutdown [1]: Cannot finalize remaining file systems, continuing.
[265.984684] Bug: kernel NULL pointer dereference, address: 0000000000000000
[265.988597] #PF: supervisor read access in kernel mode
[265.996558] #PF: error_code(0x0000) - not-present page
[265.996558] PGD 0 P4D 0
[266.888517] Oops: 0000 [#2] PREEMPT SMP PTI
[256.884352] CPU: 1 PID: 1 Comm: systemd-shutdou Tainted: P           OE     5.4.118-1-MANJARO #1
[266.088219] Hardware Name: Lenovo 20HHCTO1WW/20HHCTO1WW, BIOS N1UET78W (1.52 ) 06/18/2020
[266.812986] RIP:  0010: on_do_mount_ent+0x84/0xf7 [vfs_monitor]
[266.815989] Code: 07 00 00 00 74 dd 48 8b 80 10 07 00 00 48 8В 40 18 48 89 05 1e 40 00 00 48 85 c0 74 c6 b1 03 00 00 00 48 89 ef e8 bc e3 ff ff <80> 38 00 49 89 c4 0f 84 1e 02 00 00 48 89 c7 e8 08 9b b2 d0 48 89
[266.819960] RSP: 0018: FFFFB36A0007BD98 eFlags: 00010246
[266.824864] RAX: 0000000000000000 RBX: ffff94c9f6506000 RCX: 0000000000000000
[266.828114] ROX: ffffffff91c49880 RS1: 0000000000000000 RD1: ffffb36a0007be50
[266.832222] RBP: ffffb36a0007be50 R08: 0000000000000000 R89: 0000000040000000
[266.836353] R10: 0000000000000010 R11: 0000000000000000 R12: ffff94c9f91cbd80
[266.848427] R13: FFFFB36A0007BE50 R14: FFFFFFFFC05D2980 R15: 0000000000001000
[266.844558] FS: 00007FCF9E6E2ec0 (0000) GS:F FFF94C9FF640000 (0000) KNLGS: 0000000000000000
[266.848749] CS: 0010 DS: 0000 ES: 0000 CRA0: 0000000000050033
[266.852913] CR2: 0000000000000000 CR3: 000000103450c006 CR4: 00000000003606e0
[266,857971] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[266.861971] DR8: 0000000000000000 DR6: 00000000fffe0ff0 nR7: 0000000000000400
[266.869624] pre_handler_kretprobe+0xaf/0x1ba
[266.873833] ? copy-mount_string+0x20/0x20
[266.878854] ? do_mount+0x5/0xb40
[266.882256] kprobe_ftrace_handler+0xb5 /0x120
[266.086421] ? Ksys_mount+0x7e/0xc0
[266.898551] ftrace_ops_assist_func+0x99/0x140
[266.894572] 0xfffffffc05d90bf