Thank you kindly. I was able to ssh into the machine and prepare a crash
report from the gnome-shell process, I will upload that shortly, perhaps
as a separate bug report. However, the real culprit might be located in
the dmesg:


```
[12870.773176] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[12870.773196] nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
[12870.773220] nouveau 0000:01:00.0: fifo: channel 6: killed
[12870.773229] nouveau 0000:01:00.0: fifo: engine 5: scheduled for recovery
[12870.773234] nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
[12870.773896] nouveau 0000:01:00.0: systemd-logind[1312]: channel 6 killed!
[12907.524710] GpuWatchdog[5838]: segfault at 0 ip 0000560accf3e4c9 sp 
00007f3ce9a516c0 error 6 in chrome[560ac8dd1000+7094000]
[12907.524716] Code: 00 79 09 48 8b 7d c0 e8 05 28 2b fc c7 45 c0 aa aa aa aa 
0f ae f0 41 8b 84 24 e0 00 00 00 89 45 c0 48 8d 7d c0 e8 e7 44 e9 fb <c7> 04 25 
00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e
[12922.616876] nouveau 0000:01:00.0: Xwayland[2419]: failed to idle channel 4 
[Xwayland[2419]]
[12937.616723] nouveau 0000:01:00.0: Xwayland[2419]: failed to idle channel 4 
[Xwayland[2419]]
[12937.616907] nouveau 0000:01:00.0: fifo: fault 00 [READ] at 0000000000013000 
engine 07 [HOST0] client 07 [HUB/HOST_CPU] reason 02 [PTE] on channel 4 
[007fa19000 Xwayland[2419]]
[12937.616915] nouveau 0000:01:00.0: fifo: channel 4: killed
[12937.616917] nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
[12937.616923] nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
[12937.616941] nouveau 0000:01:00.0: fifo: engine 5: scheduled for recovery
[12937.616945] nouveau 0000:01:00.0: Xwayland[2419]: channel 4 killed!
[12937.735092] ------------[ cut here ]------------
[12937.735142] WARNING: CPU: 3 PID: 26055 at 
drivers/gpu/drm/nouveau/nvif/vmm.c:68 nvif_vmm_put+0x6d/0x80 [nouveau]
[12937.735142] Modules linked in: rfcomm aufs cmac algif_hash algif_skcipher 
af_alg bnep overlay binfmt_misc dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua intel_rapl_msr mei_hdcp snd_hda_codec_hdmi intel_rapl_common 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm intel_cstate 
intel_rapl_perf iwlmvm mac80211 libarc4 snd_usb_audio snd_hda_codec_realtek 
serio_raw intel_wmi_thunderbolt uvcvideo rmi_smbus snd_hda_codec_generic 
snd_usbmidi_lib rmi_core snd_seq_midi snd_seq_midi_event wmi_bmof 
videobuf2_vmalloc iwlwifi videobuf2_memops videobuf2_v4l2 snd_rawmidi 
snd_hda_intel videobuf2_common snd_intel_dspcfg rtsx_pci_ms thinkpad_acpi btusb 
snd_hda_codec nvram videodev btrtl btbcm snd_hda_core input_leds memstick 
ledtrig_audio mc snd_seq btintel joydev cfg80211 snd_hwdep bluetooth snd_pcm 
snd_seq_device mei_me ecdh_generic ecc snd_timer mei intel_pch_thermal snd 
soundcore mac_hid sch_fq_codel cuse parport_pc ppdev lp parport ip_tables 
x_tables autofs4 btrfs zstd_compress dm_crypt
[12937.735161]  raid10 raid456 async_raid6_recov async_memcpy async_pq 
async_xor async_tx xor hid_generic usbhid hid raid6_pq libcrc32c raid1 raid0 
multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau 
rtsx_pci_sdmmc mxm_wmi aesni_intel crypto_simd i2c_algo_bit ttm drm_kms_helper 
syscopyarea sysfillrect sysimgblt cryptd fb_sys_fops glue_helper drm e1000e 
psmouse ahci i2c_i801 rtsx_pci libahci wmi video
[12937.735173] CPU: 3 PID: 26055 Comm: chrome Not tainted 5.4.0-31-generic 
#35-Ubuntu
[12937.735174] Hardware name: LENOVO 20EN0005MS/20EN0005MS, BIOS N1EET87W (1.60 
) 12/06/2019
[12937.735194] RIP: 0010:nvif_vmm_put+0x6d/0x80 [nouveau]
[12937.735196] Code: 00 00 48 8d 55 e0 be 02 00 00 00 48 c7 45 e0 00 00 00 00 
48 89 45 e8 e8 71 e5 ff ff 85 c0 75 0a 48 c7 43 08 00 00 00 00 eb b7 <0f> 0b eb 
f2 e8 ea f6 58 eb 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
[12937.735196] RSP: 0018:ffffb807c5f5fbc8 EFLAGS: 00010282
[12937.735197] RAX: 00000000fffffffe RBX: ffffb807c5f5fbf8 RCX: 0000000000000000
[12937.735198] RDX: 0000000000000010 RSI: ffffb807c5f5fb38 RDI: ffffb807c5f5fbd8
[12937.735198] RBP: ffffb807c5f5fbe8 R08: 0000000000000000 R09: 0000000000000000
[12937.735199] R10: 0000000000000030 R11: ffff9b7ac9c07e40 R12: ffffb807c5f5fc30
[12937.735199] R13: ffff9b7ca4fff0b0 R14: 0000000000000000 R15: ffff9b7ac9c07e38
[12937.735200] FS:  00007f3cfaa1db00(0000) GS:ffff9b7cac2c0000(0000) 
knlGS:0000000000000000
[12937.735201] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[12937.735201] CR2: 0000560ad25fe010 CR3: 0000000842f0a004 CR4: 00000000003606e0
[12937.735202] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[12937.735202] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[12937.735203] Call Trace:
[12937.735265]  nouveau_vma_del+0x75/0xc0 [nouveau]
[12937.735316]  nouveau_gem_object_close+0x1f5/0x210 [nouveau]
[12937.735330]  drm_gem_object_release_handle+0x35/0xa0 [drm]
[12937.735337]  drm_gem_handle_delete+0x59/0xa0 [drm]
[12937.735344]  ? drm_gem_handle_create+0x40/0x40 [drm]
[12937.735350]  drm_gem_close_ioctl+0x24/0x30 [drm]
[12937.735356]  drm_ioctl_kernel+0xae/0xf0 [drm]
[12937.735362]  drm_ioctl+0x234/0x3d0 [drm]
[12937.735384]  ? drm_gem_handle_create+0x40/0x40 [drm]
[12937.735387]  ? dentry_free+0x37/0x70
[12937.735420]  nouveau_drm_ioctl+0x78/0xc0 [nouveau]
[12937.735422]  do_vfs_ioctl+0x407/0x670
[12937.735439]  ? __secure_computing+0x42/0xe0
[12937.735440]  ksys_ioctl+0x67/0x90
[12937.735441]  __x64_sys_ioctl+0x1a/0x20
[12937.735444]  do_syscall_64+0x57/0x190
[12937.735447]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[12937.735448] RIP: 0033:0x7f3cf36195d7
[12937.735450] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
[12937.735451] RSP: 002b:00007fff0606e3f8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000010
[12937.735452] RAX: ffffffffffffffda RBX: 0000560ad25c92a0 RCX: 00007f3cf36195d7
[12937.735453] RDX: 00007fff0606e430 RSI: 0000000040086409 RDI: 0000000000000015
[12937.735453] RBP: 00007fff0606e430 R08: 00000000000000e9 R09: 0000000000000010
[12937.735454] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000040086409
[12937.735455] R13: 0000000000000015 R14: 0000560ad24b3560 R15: 0000560ad25c7500
[12937.735457] ---[ end trace 4c9d0e4f452c0cf2 ]---
[12937.736277] ------------[ cut here ]------------
```

I'm attaching a full dmesg dump.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1878166

Title:
  gnome-shell freezes randomly on nouveau and wayland

Status in gnome-shell package in Ubuntu:
  Incomplete

Bug description:
  The freeze causes the mouse cursor to stop moving and keyboard to stop
  responding and nothing moves on screen, not even the clock. Curiously
  the music continues to play (and e.g. sound from youtube video
  continues to be played even though the video itself freezes and no
  longer animates on-screen).

  It appears that the freeze happens quite randomly; I am not able to
  figure out what it's caused by. Sometimes it's caused by launching the
  Snap Chromium, or perhaps by a notification shown, but I do not know
  for sure. I also tried to hunt system logs and/or systemd gnome-shell
  logs, but I failed to discover some kind of crash dump.

  Curiously the Ctrl+Alt+F2 key combo stops working. That leads me to
  believe that it's some kind of kernel+nouveau crash, but I can't seem
  to discover any kernel panic in the system logs.

  After the gnome-shell freezes, the numlock light still responds to
  numlock key presses. However, mashing Ctrl+Alt+Del has no effect, so
  I'm only able to reboot via Alt+Sysrq+s u b.

  Thank you :)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-shell 3.36.1-5ubuntu2
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  Uname: Linux 5.4.0-29-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May 12 11:20:36 2020
  DisplayManager: gdm3
  InstallationDate: Installed on 2016-09-05 (1344 days ago)
  InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to focal on 2020-03-20 (52 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to