F31: latest update not booting, system freezes before login

[tom@linux2 ~]$ rpm-ostree db diff
ostree diff commit from: booted deployment (eb6161633466a5f6a0e7cf5c320f811ffbc4c569f198db1f317a319485b808f6)
ostree diff commit to:   pending deployment (ffc6e9ec3c79ee1234572e12bb4fc99cf02ca940a8e3d100bcf15eec1f75b134)
Upgraded:
  cups-filters 1.27.0-1.fc31 -> 1.27.1-1.fc31
  cups-filters-libs 1.27.0-1.fc31 -> 1.27.1-1.fc31
  firefox 73.0-2.fc31 -> 73.0.1-1.fc31
  kernel 5.4.20-200.fc31 -> 5.5.5-200.fc31
  kernel-core 5.4.20-200.fc31 -> 5.5.5-200.fc31
  kernel-devel 5.4.20-200.fc31 -> 5.5.5-200.fc31
  kernel-headers 5.4.18-200.fc31 -> 5.5.5-200.fc31
  kernel-modules 5.4.20-200.fc31 -> 5.5.5-200.fc31
  kernel-modules-extra 5.4.20-200.fc31 -> 5.5.5-200.fc31
  libarchive 3.4.0-1.fc31 -> 3.4.2-1.fc31
  libgee 0.20.2-1.fc31 -> 0.20.3-1.fc31
  libinput 1.15.0-1.fc31 -> 1.15.2-1.fc31
  libxcrypt 4.4.12-1.fc31 -> 4.4.14-1.fc31
  libxcrypt-compat 4.4.12-1.fc31 -> 4.4.14-1.fc31
  libxcrypt-devel 4.4.12-1.fc31 -> 4.4.14-1.fc31
  openjpeg2 2.3.1-4.fc31 -> 2.3.1-6.fc31
Removed:
  google-chrome-beta-81.0.4044.26-1.x86_64
Added:
  google-chrome-unstable-82.0.4062.3-1.x86_64
[tom@linux2 ~]$

Some excerpt from boot log:

Feb 22 22:43:14 localhost systemd[1]: Starting Create Volatile Files and Directories…
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group ‘utmp’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user ‘systemd-network’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user ‘systemd-network’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user ‘systemd-network’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group ‘systemd-journal’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group ‘systemd-journal’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “d:group:adm:r-x,d:group:wheel:r-x”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “group:adm:r-x,group:wheel:r-x”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “group:adm:r–,group:wheel:r–”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:32] Unknown group ‘systemd-journal’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:33] Unknown group ‘systemd-journal’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: [/usr/lib/tmpfiles.d/systemd.conf:34] Unknown group ‘systemd-journal’.
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “group::r-x,group:adm:r-x,group:wheel:r-x”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “d:group:adm:r-x,d:group:wheel:r-x”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “group:adm:r-x,group:wheel:r-x”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd-tmpfiles[825]: Failed to parse ACL “group:adm:r–,group:wheel:r–”: Invalid argument. Ignoring
Feb 22 22:43:14 localhost systemd[1]: Started Create Volatile Files and Directories.
Feb 22 22:43:14 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=k

Feb 22 21:43:34 linux2 kernel: ------------[ cut here ]------------
Feb 22 21:43:34 linux2 kernel: nouveau 0000:01:00.0: timeout
Feb 22 21:43:34 linux2 kernel: WARNING: CPU: 9 PID: 1675 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:221 gf100_vmm_invalidate+0x1b7/0x1d0 [nouveau]
Feb 22 21:43:34 linux2 kernel: Modules linked in: rfcomm xt_CHECKSUM xt_MASQUERADE nf_nat_tftp nf_conntrack_tftp tun bridge stp llc nf_conntrack_netbios_ns nf_conntrack_broadcast xt>
Feb 22 21:43:34 linux2 kernel: snd_soc_core kvm_intel snd_compress ac97_bus snd_pcm_dmaengine ath10k_pci btusb kvm ath10k_core snd_hda_intel btrtl irqbypass btbcm snd_intel_dspcfg >
Feb 22 21:43:34 linux2 kernel: CPU: 9 PID: 1675 Comm: gnome-shell Tainted: G W 5.5.5-200.fc31.x86_64 #1
Feb 22 21:43:34 linux2 kernel: Hardware name: Dell Inc. Inspiron 5477 AIO/0C4DT3, BIOS 1.2.9 11/06/2019
Feb 22 21:43:34 linux2 kernel: RIP: 0010:gf100_vmm_invalidate+0x1b7/0x1d0 [nouveau]
Feb 22 21:43:34 linux2 kernel: Code: 8b 40 10 48 8b 78 10 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 eb d8 02 ea 4c 89 ea 48 c7 c7 40 56 7d c0 48 89 c6 e8 ab 46 a7 e9 <0f> 0b e9 5c ff f>
Feb 22 21:43:34 linux2 kernel: RSP: 0018:ffffb6f381e278d8 EFLAGS: 00010286
Feb 22 21:43:34 linux2 kernel: RAX: 0000000000000000 RBX: ffff975a26ce0800 RCX: 0000000000000007
Feb 22 21:43:34 linux2 kernel: RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff975a2e459cc0
Feb 22 21:43:34 linux2 kernel: RBP: 0000000000000001 R08: 0000000000000699 R09: 0000000000000003
Feb 22 21:43:34 linux2 kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff975a21294a20
Feb 22 21:43:34 linux2 kernel: R13: ffff975a2aca9910 R14: ffff975a27257480 R15: ffff9759f07d8ea0
Feb 22 21:43:34 linux2 kernel: FS: 00007fc33b376200(0000) GS:ffff975a2e440000(0000) knlGS:0000000000000000
Feb 22 21:43:34 linux2 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 22 21:43:34 linux2 kernel: CR2: 0000556be41381e8 CR3: 000000043af5a005 CR4: 00000000003606e0
Feb 22 21:43:34 linux2 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 22 21:43:34 linux2 kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Feb 22 21:43:34 linux2 kernel: Call Trace:
Feb 22 21:43:34 linux2 kernel: nvkm_vmm_iter.constprop.0+0x34b/0x810 [nouveau]
Feb 22 21:43:34 linux2 kernel: ? nvkm_vmm_map_choose+0x90/0x90 [nouveau]
Feb 22 21:43:34 linux2 kernel: ? gf100_vmm_invalidate_pdb+0x30/0x30 [nouveau]
Feb 22 21:43:34 linux2 kernel: nvkm_vmm_ptes_unmap_put+0x2c/0x40 [nouveau]
Feb 22 21:43:34 linux2 kernel: ? nvkm_vmm_map_choose+0x90/0x90 [nouveau]
Feb 22 21:43:34 linux2 kernel: ? gf100_vmm_invalidate_pdb+0x30/0x30 [nouveau]
Feb 22 21:43:34 linux2 kernel: nvkm_vmm_put_locked+0x1c5/0x210 [nouveau]
Feb 22 21:43:34 linux2 kernel: nvkm_uvmm_mthd+0x4ec/0x780 [nouveau]
Feb 22 21:43:34 linux2 kernel: ? enqueue_task_fair+0x8c/0x4e0
Feb 22 21:43:34 linux2 kernel: nvkm_ioctl+0xde/0x180 [nouveau]
Feb 22 21:43:34 linux2 kernel: nvif_object_mthd+0x104/0x130 [nouveau]
Feb 22 21:43:34 linux2 kernel: ? xas_find+0x177/0x1c0
Feb 22 21:43:34 linux2 kernel: ? find_get_entries+0x98/0x2b0
Feb 22 21:43:34 linux2 kernel: nvif_vmm_put+0x5c/0x80 [nouveau]
Feb 22 21:43:34 linux2 kernel: nouveau_vma_del+0x70/0xc0 [nouveau]
Feb 22 21:43:34 linux2 kernel: nouveau_gem_object_close+0x1d7/0x200 [nouveau]
Feb 22 21:43:34 linux2 kernel: drm_gem_object_release_handle+0x30/0x90 [drm]
Feb 22 21:43:34 linux2 kernel: drm_gem_handle_delete+0x58/0x90 [drm]
Feb 22 21:43:34 linux2 kernel: ? drm_gem_handle_create+0x40/0x40 [drm]
Feb 22 21:43:34 linux2 kernel: drm_ioctl_kernel+0xaa/0xf0 [drm]
Feb 22 21:43:34 linux2 kernel: drm_ioctl+0x208/0x390 [drm]
Feb 22 21:43:34 linux2 kernel: ? drm_gem_handle_create+0x40/0x40 [drm]
Feb 22 21:43:34 linux2 kernel: nouveau_drm_ioctl+0x63/0xb0 [nouveau]
eb 22 21:43:34 linux2 kernel: do_vfs_ioctl+0x461/0x6d0
Feb 22 21:43:34 linux2 kernel: ? __fput+0x168/0x250
Feb 22 21:43:34 linux2 kernel: ksys_ioctl+0x5e/0x90
Feb 22 21:43:34 linux2 kernel: ? exit_to_usermode_loop+0xc7/0x130
Feb 22 21:43:34 linux2 kernel: __x64_sys_ioctl+0x16/0x20
Feb 22 21:43:34 linux2 kernel: do_syscall_64+0x5b/0x1c0
Feb 22 21:43:34 linux2 kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
Feb 22 21:43:34 linux2 kernel: RIP: 0033:0x7fc33f04538b
Feb 22 21:43:34 linux2 kernel: Code: 0f 1e fa 48 8b 05 fd 9a 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff f>
Feb 22 21:43:34 linux2 kernel: RSP: 002b:00007ffe5450df88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Feb 22 21:43:34 linux2 kernel: RAX: ffffffffffffffda RBX: 00007ffe5450dfc0 RCX: 00007fc33f04538b
Feb 22 21:43:34 linux2 kernel: RDX: 00007ffe5450dfc0 RSI: 0000000040086409 RDI: 000000000000000e
Feb 22 21:43:34 linux2 kernel: RBP: 0000000040086409 R08: 0000000000000005 R09: 0000000000000048
Feb 22 21:43:34 linux2 kernel: R10: 00007ffe5450b826 R11: 0000000000000246 R12: 000055bca1069fb0
Feb 22 21:43:34 linux2 kernel: R13: 000000000000000e R14: 000055bca106ce80 R15: 0000000000000000
Feb 22 21:43:34 linux2 kernel: —[ end trace b4ea192b8ff6658d ]—

eb 22 21:46:55 linux2 systemd[1801]: gnome-shell-wayland.service: State ‘stop-final-sigterm’ timed out. Killing.
Feb 22 21:46:55 linux2 systemd[1801]: gnome-shell-wayland.service: Failed with result ‘timeout’.
Feb 22 21:46:55 linux2 systemd[1801]: Failed to start GNOME Shell on Wayland.
Feb 22 21:46:55 linux2 systemd[1801]: Dependency failed for GNOME Shell on Wayland.
Feb 22 21:46:55 linux2 systemd[1801]: Dependency failed for GNOME Wayland Session.
Feb 22 21:46:55 linux2 systemd[1801]: Dependency failed for GNOME Wayland Session (session: gnome-login).
Feb 22 21:46:55 linux2 systemd[1801]: gnome-session-wayland@gnome-login.target: Job gnome-session-wayland@gnome-login.target/start failed with result ‘dependency’.
Feb 22 21:46:55 linux2 systemd[1801]: gnome-session-wayland.target: Job gnome-session-wayland.target/start failed with result ‘dependency’.
Feb 22 21:46:55 linux2 systemd[1801]: gnome-session-wayland.target: Triggering OnFailure= dependencies.
Feb 22 21:46:55 linux2 systemd[1801]: gnome-shell-wayland.target: Job gnome-shell-wayland.target/start failed with result ‘dependency’.
Feb 22 21:46:55 linux2 systemd[1801]: gnome-shell-wayland.service: Triggering OnFailure= dependencies.
Feb 22 21:46:55 linux2 systemd[1801]: gnome-shell-wayland.service: Consumed 1min 38.321s CPU time.
Feb 22 21:46:55 linux2 systemd[1801]: Condition check resulted in Disable GNOME Shell extensions after failure being skipped.
Feb 22 21:46:55 linux2 systemd[1801]: Stopped target GNOME Session Manager is ready.
Feb 22 21:46:55 linux2 systemd[1801]: Stopping GNOME Session Manager (session: gnome-login)…
Feb 22 21:46:55 linux2 systemd[1801]: gnome-session-manager@gnome-login.service: Succeeded.
Feb 22 21:46:55 linux2 systemd[1801]: Stopped GNOME Session Manager (session: gnome-login).
Feb 22 21:46:55 linux2 systemd[1801]: Stopped target Tasks to be run before GNOME Session starts.
Feb 22 21:46:55 linux2 systemd[1801]: Stopped target Session services which should run early before the graphical session is brought up.
Feb 22 21:46:55 linux2 systemd[1801]: Reached target Shutdown running GNOME Session.
Feb 22 21:46:55 linux2 systemd[1801]: Stopping Monitor Session leader for GNOME Session…
Feb 22 21:46:55 linux2 systemd[1801]: Starting Restart DBus after GNOME Session shutdown…
Feb 22 21:46:55 linux2 systemd[1801]: Stopped target Shutdown running GNOME Session.
Feb 22 21:46:55 linux2 systemd[1801]: Reached target Shutdown running GNOME Session.
Feb 22 21:46:55 linux2 systemd[1801]: Stopped target Shutdown running GNOME Session.
Feb 22 21:46:55 linux2 systemd[1801]: gnome-session-monitor.service: Succeeded.
Feb 22 21:46:55 linux2 systemd[1801]: Stopped Monitor Session leader for GNOME Session.
Feb 22 21:46:55 linux2 systemd[1801]: Started Restart DBus after GNOME Session shutdown.
Feb 22 21:46:55 linux2 gdm-launch-environment][1795]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Feb 22 21:46:55 linux2 dbus-broker[1814]: Dispatched 320 messages @ 14(±30)μs / message.

I found a solution, basically following https://blogs.gnome.org/alexl/2019/03/06/nvidia-drivers-in-fedora-silverblue/.

  1. Used the gnome software app to enable RPM Fusion for Fedora $releasever - Nonfree - NVIDIA Driver,
    can also be done by editing /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo and setting enabled=1

  2. rpm-ostree install kmod-nvidia xorg-x11-drv-nvidia

  3. rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1

  4. systemctl reboot

That worked and then I could do the regular rpm-ostree upgrade and the latest kernel 5.5 would work.