Here is an interesting observation (I think). I have a demo program that makes strong use of the GPU. Here is what happens with two close kernel versions:
* 5.3.0-45-generic => everything ok, no hang, no noise * 5.3.0-46-generic => I CAN HEAR COIL NOISE when running the demo! And the whole system FREEZES (as described above) regularly for 3-4 seconds, every 20 to 40 seconds, and dmesg shows Apr 8 08:31:47 XPS-13-9350 kernel: [ 1604.860896] i915 0000:00:02.0: GPU HANG: ecode 9:0:0x00000000, hang on rcs0 Apr 8 08:31:47 XPS-13-9350 kernel: [ 1604.861939] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Apr 8 08:32:51 XPS-13-9350 kernel: [ 1668.814516] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Apr 8 08:33:13 XPS-13-9350 kernel: [ 1690.794398] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Apr 8 08:33:39 XPS-13-9350 kernel: [ 1716.814185] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 This is on XPS13 with intel graphics. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1861395 Title: system hang: i915 Resetting rcs0 for hang on rcs0 Status in Linux: Fix Released Status in linux package in Ubuntu: Fix Released Status in linux source package in Eoan: Invalid Status in linux source package in Focal: Fix Released Bug description: System hangs, unknown cause, When this happens, the mouse pointer still moves, but I can't do anything else with the keys or clicking in the UI. Only recover I have found is a hard power-off Last bit of kern.log below: Jan 30 12:43:51 aries kernel: [ 6649.263031] i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0 Jan 30 12:43:51 aries kernel: [ 6649.263032] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. Jan 30 12:43:51 aries kernel: [ 6649.263033] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel Jan 30 12:43:51 aries kernel: [ 6649.263033] drm/i915 developers can then reassign to the right component if it's not a kernel issue. Jan 30 12:43:51 aries kernel: [ 6649.263034] The GPU crash dump is required to analyze GPU hangs, so please always attach it. Jan 30 12:43:51 aries kernel: [ 6649.263034] GPU crash dump saved to /sys/class/drm/card0/error Jan 30 12:43:51 aries kernel: [ 6649.264039] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:43:51 aries kernel: [ 6649.264778] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} Jan 30 12:43:51 aries kernel: [ 6649.265046] i915 0000:00:02.0: Resetting chip for hang on rcs0 Jan 30 12:43:51 aries kernel: [ 6649.267018] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} Jan 30 12:43:51 aries kernel: [ 6649.267764] [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} Jan 30 12:43:59 aries kernel: [ 6657.262680] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:01 aries kernel: [ 6659.246609] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:09 aries kernel: [ 6667.246324] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:09 aries kernel: [ 6667.494008] show_signal_msg: 20 callbacks suppressed Jan 30 12:44:09 aries kernel: [ 6667.494011] GpuWatchdog[6827]: segfault at 0 ip 000055fd01917ded sp 00007f63043cc480 error 6 in chrome[55fcfd9dc000+7171000] Jan 30 12:44:09 aries kernel: [ 6667.494017] Code: 48 c1 c9 03 48 81 f9 af 00 00 00 0f 87 c9 00 00 00 48 8d 15 a9 5a 9c fb f6 04 11 20 0f 84 b8 00 00 00 be 01 00 00 00 ff 50 30 <c7> 04 25 00 00 00 00 37 13 00 00 c6 05 c1 6d a4 03 01 80 7d 8f 00 Jan 30 12:44:23 aries kernel: [ 6681.265885] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:25 aries kernel: [ 6683.245838] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:27 aries kernel: [ 6685.261749] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:29 aries kernel: [ 6687.245641] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:31 aries kernel: [ 6689.261618] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Jan 30 12:44:51 aries kernel: [ 6709.260901] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-12-generic 5.4.0-12.15 ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8 Uname: Linux 5.4.0-12-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu15 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Thu Jan 30 12:51:24 2020 InstallationDate: Installed on 2018-06-18 (591 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: linux-signed-5.4 UpgradeStatus: Upgraded to focal on 2020-01-22 (8 days ago) --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu16 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: dpb 115653 F.... pulseaudio CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2018-06-18 (604 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 138a:0097 Validity Sensors, Inc. Bus 001 Device 003: ID 04f2:b5ce Chicony Electronics Co., Ltd Integrated Camera Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: LENOVO 20HRCTO1WW NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: linux (not installed) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-14-generic root=UUID=fa64d67d-26bf-4c42-a12f-c45b6ea5117c ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18 RelatedPackageVersions: linux-restricted-modules-5.4.0-14-generic N/A linux-backports-modules-5.4.0-14-generic N/A linux-firmware 1.186 Tags: focal Uname: Linux 5.4.0-14-generic x86_64 UpgradeStatus: Upgraded to focal on 2020-01-22 (21 days ago) UserGroups: adm cdrom dip libvirt lpadmin lxd netdev plugdev sambashare sudo video _MarkForUpload: True dmi.bios.date: 11/25/2019 dmi.bios.vendor: LENOVO dmi.bios.version: N1MET59W (1.44 ) dmi.board.asset.tag: Not Available dmi.board.name: 20HRCTO1WW dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN1MET59W(1.44):bd11/25/2019:svnLENOVO:pn20HRCTO1WW:pvrThinkPadX1Carbon5th:rvnLENOVO:rn20HRCTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad X1 Carbon 5th dmi.product.name: 20HRCTO1WW dmi.product.sku: LENOVO_MT_20HR_BU_Think_FM_ThinkPad X1 Carbon 5th dmi.product.version: ThinkPad X1 Carbon 5th dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1861395/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp