[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
Thanks, that worked: https://errors.ubuntu.com/oops/93823806-9ff7-11ea-9bb3-fa163e102db1 but I can't see any interesting functions blocking in any of the threads. Let's skip that and just make this about the nouveau kernel crash. ** Package changed: gnome-shell (Ubuntu) => linux (Ubuntu) ** Changed in: linux (Ubuntu) Status: Incomplete => New ** Summary changed: - gnome-shell freezes randomly on nouveau and wayland + Kernel crash in nouveau with Wayland -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: Kernel crash in nouveau with Wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
Daniel thank you so much for being so supportive, I really appreciate it :) I have ran the command `ubuntu-bug /var/crash/_usr_bin_gnome- shell.1000.crash` which then opens a dialog; however when I press "Send" there's no follow-up - no browser tab opens. The contents of `_usr_bin_gnome-shell.1000.uploaded` says `93823806-9ff7-11ea- 9bb3-fa163e102db1` so maybe it's already there in your servers. From the dialog I see the following title: gnome-shell crashed with SIGABRT in __Gl___poll() (sorry copy-paste from the dialog doesn't work). And there is no rush - the computer crashes once per day or so, so it's definitely not that annoying; if it becomes an annoyance I'll install the proprietary driver as a workaround. Thanks again -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
If we're unable to solve this quickly then consider opening the 'Additional Drivers' app and installing the proprietary Nvidia driver... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
Thanks. Yes if the nouveau kernel driver is crashing then it's quite possible the gnome-shell process will be frozen. Still, it would be interesting to know where in gnome-shell this happens. And to confirm they're the same issue or two coincidental ones. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
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 :01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT] [12870.773196] nouveau :01:00.0: fifo: runlist 0: scheduled for recovery [12870.773220] nouveau :01:00.0: fifo: channel 6: killed [12870.773229] nouveau :01:00.0: fifo: engine 5: scheduled for recovery [12870.773234] nouveau :01:00.0: fifo: engine 0: scheduled for recovery [12870.773896] nouveau :01:00.0: systemd-logind[1312]: channel 6 killed! [12907.524710] GpuWatchdog[5838]: segfault at 0 ip 560accf3e4c9 sp 7f3ce9a516c0 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 04 25 00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e [12922.616876] nouveau :01:00.0: Xwayland[2419]: failed to idle channel 4 [Xwayland[2419]] [12937.616723] nouveau :01:00.0: Xwayland[2419]: failed to idle channel 4 [Xwayland[2419]] [12937.616907] nouveau :01:00.0: fifo: fault 00 [READ] at 00013000 engine 07 [HOST0] client 07 [HUB/HOST_CPU] reason 02 [PTE] on channel 4 [007fa19000 Xwayland[2419]] [12937.616915] nouveau :01:00.0: fifo: channel 4: killed [12937.616917] nouveau :01:00.0: fifo: runlist 0: scheduled for recovery [12937.616923] nouveau :01:00.0: fifo: engine 0: scheduled for recovery [12937.616941] nouveau :01:00.0: fifo: engine 5: scheduled for recovery [12937.616945] nouveau :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:b807c5f5fbc8 EFLAGS: 00010282 [12937.735197] RAX: fffe RBX: b807c5f5fbf8 RCX: [12937.735198] RDX: 0010 RSI: b807c5f5fb38 RDI: b807c5f5fbd8 [12937.735198] RBP: b807c5f5fbe8 R08: R09: [12937.735199] R10: 0030 R11: 9b7ac9c07e40 R12: b807c5f5fc30 [12937.735199] R13: 9b7ca4fff0b0 R14: R15: 9b7ac9c07e38 [12937.735200] FS: 7f3cfaa1db00() GS:9b7cac2c() knlGS: [12937.735201] CS: 0010 DS: ES: CR0: 80050033 [12937.735201] CR2: 560ad25fe010 CR3: 000842f0a004 CR4: 003606e0 [12937.735202] DR0: DR1: DR2: [12937.735202] DR3: DR6: fffe0ff0 DR7: 0400 [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/0x4
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
** Attachment added: "dmesg" https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+attachment/5377303/+files/dmesg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
If you can ssh in when the freeze happens then please look for the gnome-shell processes. Find the one running as yourself and then: kill -ABRT That should generate a crash file in /var/crash which you can then report for formal analysis using the 'ubuntu-bug' command. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
It was a different time, so maybe they're unrelated as you say. Because the sound continues to play, I suspect that it's just the graphics stack that freezes. To verify this assumption I've installed openssh-server on the laptop; if the freeze occurs again, I'll ssh into the machine and I may be able to gather useful debugging info. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
If those kernel messages happen at the same time as this bug then we would move this to a kernel bug. If they happen at different times then they're not related to this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
Thank you so much. I was not yet able to investigate the crash (it usually happens during a video call and then I quickly need to reboot, to continue chatting with the customer - no time to diagnose :-D ) However, today I found out something in the log that might be connected (even though in this case nothing crashed, the computer seems to be continuing just fine): [ 2090.256068] [ cut here ] [ 2090.256153] WARNING: CPU: 5 PID: 6749 at drivers/gpu/drm/nouveau/nvif/vmm.c:68 nvif_vmm_put+0x6d/0x80 [nouveau] [ 2090.256154] Modules linked in: ccm rfcomm aufs cmac algif_hash overlay algif_skcipher af_alg bnep binfmt_misc dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua snd_hda_codec_hdmi intel_rapl_msr mei_hdcp intel_rapl_common iwlmvm x86_pkg_temp_thermal intel_powerclamp coretemp mac80211 kvm_intel snd_hda_codec_realtek libarc4 snd_hda_codec_generic kvm rmi_smbus snd_usb_audio rmi_core uvcvideo snd_usbmidi_lib intel_cstate intel_rapl_perf videobuf2_vmalloc snd_hda_intel serio_raw btusb iwlwifi videobuf2_memops snd_intel_dspcfg videobuf2_v4l2 btrtl snd_seq_midi snd_hda_codec videobuf2_common snd_seq_midi_event snd_rawmidi btbcm snd_hda_core btintel intel_wmi_thunderbolt videodev input_leds joydev snd_hwdep wmi_bmof snd_seq thinkpad_acpi bluetooth rtsx_pci_ms mc snd_pcm memstick cfg80211 nvram ledtrig_audio mei_me ecdh_generic snd_seq_device ecc intel_pch_thermal mei snd_timer snd soundcore mac_hid sch_fq_codel cuse parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs zstd_compress [ 2090.256181] hid_generic usbhid hid dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rtsx_pci_sdmmc nouveau aesni_intel crypto_simd mxm_wmi i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect cryptd sysimgblt glue_helper fb_sys_fops psmouse drm e1000e i2c_i801 rtsx_pci ahci libahci wmi video [ 2090.256215] CPU: 5 PID: 6749 Comm: chrome Not tainted 5.4.0-31-generic #35-Ubuntu [ 2090.256215] Hardware name: LENOVO 20EN0005MS/20EN0005MS, BIOS N1EET87W (1.60 ) 12/06/2019 [ 2090.256263] RIP: 0010:nvif_vmm_put+0x6d/0x80 [nouveau] [ 2090.256283] 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 26 7f ed 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 [ 2090.256284] RSP: 0018:a8d503f27bc8 EFLAGS: 00010282 [ 2090.256286] RAX: fffe RBX: a8d503f27bf8 RCX: [ 2090.256287] RDX: 0010 RSI: a8d503f27b38 RDI: a8d503f27bd8 [ 2090.256287] RBP: a8d503f27be8 R08: R09: [ 2090.256288] R10: 0030 R11: 927e7fc8f640 R12: a8d503f27c30 [ 2090.256289] R13: 927f64fee0b0 R14: R15: 927e7fc8f638 [ 2090.256290] FS: 7f0fb553bb00() GS:927f6c34() knlGS: [ 2090.256291] CS: 0010 DS: ES: CR0: 80050033 [ 2090.256291] CR2: 55bdb8317000 CR3: 00088824a003 CR4: 003606e0 [ 2090.256292] DR0: DR1: DR2: [ 2090.256306] DR3: DR6: fffe0ff0 DR7: 0400 [ 2090.256306] Call Trace: [ 2090.256362] nouveau_vma_del+0x75/0xc0 [nouveau] [ 2090.256402] nouveau_gem_object_close+0x1f5/0x210 [nouveau] [ 2090.256416] drm_gem_object_release_handle+0x35/0xa0 [drm] [ 2090.256427] drm_gem_handle_delete+0x59/0xa0 [drm] [ 2090.256449] ? drm_gem_handle_create+0x40/0x40 [drm] [ 2090.256478] drm_gem_close_ioctl+0x24/0x30 [drm] [ 2090.256488] drm_ioctl_kernel+0xae/0xf0 [drm] [ 2090.256511] drm_ioctl+0x234/0x3d0 [drm] [ 2090.256522] ? drm_gem_handle_create+0x40/0x40 [drm] [ 2090.256526] ? evict+0x14c/0x1b0 [ 2090.256565] nouveau_drm_ioctl+0x78/0xc0 [nouveau] [ 2090.256567] do_vfs_ioctl+0x407/0x670 [ 2090.256570] ? __secure_computing+0x42/0xe0 [ 2090.256571] ksys_ioctl+0x67/0x90 [ 2090.256573] __x64_sys_ioctl+0x1a/0x20 [ 2090.256575] do_syscall_64+0x57/0x190 [ 2090.256578] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 2090.256579] RIP: 0033:0x7f0fae1375d7 [ 2090.256581] 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 [ 2090.256595] RSP: 002b:7ffcbdcc1068 EFLAGS: 0246 ORIG_RAX: 0010 [ 2090.256596] RAX: ffda RBX: 55bdb82e3870 RCX: 7f0fae1375d7 [ 2090.256597] RDX: 7ffcbdcc10a0 RSI: 40086409 RDI: 0015 [ 2090.256597] RBP: 7ffcbdcc10a0 R08: R09: 0002 [ 2090.256598] R10: 7f0fa1124070 R11: 0246 R12: 40086409 [ 2090.256599] R13: 0015 R14: 0001 R15: b82c7b00 [ 2090.256600] ---[ end trace 9a9c0a943b125b8f ]--- [ 2090.257452
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps: 1. Look in /var/crash for crash files and if found run: ubuntu-bug YOURFILE.crash Then tell us the ID of the newly-created bug. 2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us. 3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1. Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
I can't see any kind of kernel crash that I was expecting. But it does appear one of your USB controllers is overwhelmed, which may cause the mouse and keyboard to fail: touko 12 07:47:46 mavi-vaadin kernel: usb 1-4.2.4: Not enough bandwidth for new device state. touko 12 07:47:46 mavi-vaadin kernel: usb 1-4.2.4: Not enough bandwidth for altsetting 2 touko 12 07:47:46 mavi-vaadin kernel: usb 1-4.2.4: 2:2: usb_set_interface failed (-28) touko 12 07:47:46 mavi-vaadin kernel: usb 1-4.2.4: Not enough bandwidth for new device state. touko 12 07:47:46 mavi-vaadin kernel: usb 1-4.2.4: Not enough bandwidth for altsetting 2 touko 12 07:47:46 mavi-vaadin kernel: usb 1-4.2.4: 2:2: usb_set_interface failed (-28) Looks like it might be overwhelmed by the audio DAC?... Although you say the graphics has frozen, so that's not a USB problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
Thank you, I was exactly hoping for a guidance on how to debug this issue further. The crash happened today 10:55:00; please find the output of journalctl -b-1 attached. ** Attachment added: "prevboot.txt" https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+attachment/5370267/+files/prevboot.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878166] Re: gnome-shell freezes randomly on nouveau and wayland
After a freeze and rebooting, please run: journalctl -b-1 > prevboot.txt then attach the resulting text file here. ** Changed in: gnome-shell (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878166 Title: gnome-shell freezes randomly on nouveau and wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1878166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs