Project 'drm/intel' was moved to 'drm/i915/kernel'. Please update any links and bookmarks that may still have the old path.
i915 hang on blender 2.90
Overview
On blender, the video freezes often. Here the dmesg traces:
Apparent cause
The crash seems to be triggered by rapid zoom / move perspective of the view.
System
- Architecture: x86_64
- Kernel: 5.8.0-2-amd64
- Distrib: Debian Testing
- Computer: Clevo N150ZU "Notebook"
- Connector: Internal
- Proc: Intel(R) Core(TM) i5-8265U CPU
dmesg
[ 6161.593566] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[ 6161.593592] i915 0000:00:02.0: [drm] blender[14850] context reset due to GPU hang
[ 6161.607875] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:87f99eb9, in blender [14850]
[ 6161.607876] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 6161.607876] Please file a _new_ bug report at https://gitlab.freedesktop.org/drm/intel/issues/new.
[ 6161.607876] Please see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
[ 6161.607877] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 6161.607877] The GPU crash dump is required to analyze GPU hangs, so please always attach it.
[ 6161.607877] GPU crash dump saved to /sys/class/drm/card0/error
[ 6162.405301] ------------[ cut here ]------------
[ 6162.405317] WARNING: CPU: 4 PID: 0 at kernel/sched/core.c:4576 default_wake_function+0x16/0x30
[ 6162.405319] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm fuse nf_tables nfnetlink ccm algif_aead cbc des_generic libdes ecb algif_skcipher cmac bnep sha512_ssse3 sha512_generic md4 algif_hash af_alg uvcvideo btusb btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev mc jitterentropy_rng drbg ansi_cprng ecdh_generic ecc crc16 binfmt_misc snd_sof_pci snd_sof_intel_hda_common intel_rapl_msr intel_rapl_common snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp snd_soc_skl x86_pkg_temp_thermal intel_powerclamp snd_soc_hdac_hda snd_hda_codec_hdmi snd_hda_ext_core kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp iwlmvm kvm snd_hda_codec_realtek snd_soc_acpi_intel_match irqbypass snd_hda_codec_generic mac80211 snd_soc_acpi ghash_clmulni_intel ledtrig_audio libarc4 snd_soc_core aesni_intel libaes nls_ascii snd_compress crypto_simd iwlwifi nls_cp437 cryptd snd_hda_intel glue_helper vfat
[ 6162.405384] snd_intel_dspcfg fat snd_hda_codec rapl joydev snd_hda_core intel_cstate efi_pstore cfg80211 snd_hwdep intel_uncore snd_pcm pcspkr snd_timer iTCO_wdt efivars serio_raw tpm_crb intel_pmc_bxt snd intel_wmi_thunderbolt tpm_tis mei_me iTCO_vendor_support tpm_tis_core watchdog sg soundcore hid_multitouch mei rfkill intel_pch_thermal evdev tpm ac acpi_pad rng_core intel_hid uinput pkcs8_key_parser coretemp tuxedo_keyboard(OE) sparse_keymap parport_pc ppdev lp sunrpc parport efivarfs ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic hid_logitech_hidpp hid_logitech_dj usbhid sd_mod t10_pi crc_t10dif crct10dif_generic hid_generic i915 i2c_algo_bit rtsx_pci_sdmmc drm_kms_helper ahci mmc_core xhci_pci libahci cec xhci_hcd libata thunderbolt crct10dif_pclmul crct10dif_common crc32_pclmul r8169 drm scsi_mod crc32c_intel realtek usbcore libphy psmouse rtsx_pci i2c_i801 i2c_hid intel_lpss_pci i2c_smbus hid intel_lpss
[ 6162.405455] usb_common idma64 wmi battery video button
[ 6162.405466] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G W OE 5.8.0-2-amd64 #1 Debian 5.8.10-1
[ 6162.405469] Hardware name: Notebook N150ZU /N150ZU , BIOS 1.07.06 03/08/2019
[ 6162.405476] RIP: 0010:default_wake_function+0x16/0x30
[ 6162.405482] Code: e8 8f 9c 38 00 eb 99 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f7 c2 fe ff ff ff 75 09 48 8b 7f 08 e9 4a f9 ff ff <0f> 0b 48 8b 7f 08 e9 3f f9 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00
[ 6162.405485] RSP: 0018:ffffab0d401bcd78 EFLAGS: 00010086
[ 6162.405489] RAX: ffffffffa56d2070 RBX: ffffab0d46a5bd30 RCX: ffffab0d401bcdb0
[ 6162.405491] RDX: 00000000fffffffb RSI: 0000000000000003 RDI: ffffab0d46a5bd30
[ 6162.405494] RBP: ffff952f12743d68 R08: 0000000000000000 R09: ffffffffc07f9f00
[ 6162.405496] R10: ffff95307a25f980 R11: 0000000000000001 R12: ffffab0d401bce48
[ 6162.405498] R13: ffff952f12743d60 R14: ffffab0d401bcdb0 R15: ffffab0d401bce48
[ 6162.405502] FS: 0000000000000000(0000) GS:ffff953080700000(0000) knlGS:0000000000000000
[ 6162.405505] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6162.405507] CR2: 00002cf532ea1000 CR3: 000000046a00a003 CR4: 00000000003606e0
[ 6162.405510] Call Trace:
[ 6162.405514] <IRQ>
[ 6162.405520] autoremove_wake_function+0x11/0x50
[ 6162.405653] __i915_sw_fence_complete+0x19e/0x200 [i915]
[ 6162.405771] dma_i915_sw_fence_wake_timer+0x2c/0x50 [i915]
[ 6162.405884] signal_irq_work+0x228/0x320 [i915]
[ 6162.405898] irq_work_single+0x2c/0x40
[ 6162.405905] irq_work_run_list+0x2d/0x40
[ 6162.405911] irq_work_run+0x14/0x30
[ 6162.405918] __sysvec_irq_work+0x2d/0xb0
[ 6162.405925] sysvec_irq_work+0x2f/0x80
[ 6162.405933] asm_sysvec_irq_work+0x12/0x20
[ 6162.405941] RIP: 0010:__do_softirq+0x6f/0x2b1
[ 6162.405945] Code: ff 89 4c 24 1c 65 66 8b 05 ee b6 e2 59 44 0f b7 f8 c7 44 24 18 0a 00 00 00 65 66 c7 05 d8 b6 e2 59 00 00 fb 66 0f 1f 44 00 00 <b8> ff ff ff ff 48 c7 c3 c0 50 80 a6 41 0f bc c7 89 c6 83 c6 01 89
[ 6162.405948] RSP: 0018:ffffab0d401bcfa0 EFLAGS: 00000206
[ 6162.405951] RAX: ffff952d07560001 RBX: 0000000000000001 RCX: 0000000000200042
[ 6162.405953] RDX: 0000000000000000 RSI: ffffffffa6200000 RDI: 0000000000000000
[ 6162.405955] RBP: ffffab0d400ebd78 R08: 0000000000000a1a R09: 0000000000000000
[ 6162.405957] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000023
[ 6162.405959] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
[ 6162.405968] ? __entry_text_end+0x1fe8e2/0x1fe8e2
[ 6162.405977] ? handle_irq_event+0x80/0xbb
[ 6162.405983] asm_call_on_stack+0x12/0x20
[ 6162.405986] </IRQ>
[ 6162.405993] do_softirq_own_stack+0x39/0x50
[ 6162.405998] irq_exit_rcu+0x8e/0xc0
[ 6162.406003] common_interrupt+0x78/0x140
[ 6162.406009] asm_common_interrupt+0x1e/0x40
[ 6162.406015] RIP: 0010:cpuidle_enter_state+0xb6/0x3f0
[ 6162.406019] Code: 00 9e 3b 5a e8 5b 4a a6 ff 49 89 c7 0f 1f 44 00 00 31 ff e8 0c 55 a6 ff 80 7c 24 0f 00 0f 85 d4 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 e0 01 00 00 49 63 d4 4c 2b 7c 24 10 48 8d 04 52 48
[ 6162.406021] RSP: 0018:ffffab0d400ebe78 EFLAGS: 00000246
[ 6162.406025] RAX: ffff95308072bf40 RBX: ffffcb0d3fd21500 RCX: 000000000000001f
[ 6162.406027] RDX: 0000000000000000 RSI: 00000000471c7c22 RDI: 0000000000000000
[ 6162.406029] RBP: ffffffffa68c5b80 R08: 0000059acbf9e477 R09: 0000000000000018
[ 6162.406032] R10: 00000000000002e6 R11: 00000000000002e4 R12: 0000000000000004
[ 6162.406034] R13: ffffcb0d3fd21500 R14: 0000000000000004 R15: 0000059acbf9e477
[ 6162.406041] ? cpuidle_enter_state+0xa4/0x3f0
[ 6162.406046] cpuidle_enter+0x29/0x40
[ 6162.406051] do_idle+0x1f9/0x2e0
[ 6162.406055] cpu_startup_entry+0x19/0x20
[ 6162.406062] start_secondary+0x151/0x190
[ 6162.406104] secondary_startup_64+0xa4/0xb0
[ 6162.406110] ---[ end trace b6a3392cfc4fd349 ]---
[ 6163.993548] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[ 6163.993573] i915 0000:00:02.0: [drm] blender[14850] context reset due to GPU hang
[ 6164.005374] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dfbfff, in blender [14850]
[ 6165.625513] i915 0000:00:02.0: [drm] Resetting rcs0 for preemption time out
[ 6165.625525] i915 0000:00:02.0: [drm] blender[14850] context reset due to GPU hang
[ 6165.634772] i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dffffb, in blender [14850]
[ 6165.635578] ------------[ cut here ]------------
[ 6165.635582] WARNING: CPU: 4 PID: 8193 at kernel/sched/core.c:2470 ttwu_queue_wakelist+0xc0/0xd0
[ 6165.635582] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm fuse nf_tables nfnetlink ccm algif_aead cbc des_generic libdes ecb algif_skcipher cmac bnep sha512_ssse3 sha512_generic md4 algif_hash af_alg uvcvideo btusb btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev mc jitterentropy_rng drbg ansi_cprng ecdh_generic ecc crc16 binfmt_misc snd_sof_pci snd_sof_intel_hda_common intel_rapl_msr intel_rapl_common snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp snd_soc_skl x86_pkg_temp_thermal intel_powerclamp snd_soc_hdac_hda snd_hda_codec_hdmi snd_hda_ext_core kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp iwlmvm kvm snd_hda_codec_realtek snd_soc_acpi_intel_match irqbypass snd_hda_codec_generic mac80211 snd_soc_acpi ghash_clmulni_intel ledtrig_audio libarc4 snd_soc_core aesni_intel libaes nls_ascii snd_compress crypto_simd iwlwifi nls_cp437 cryptd snd_hda_intel glue_helper vfat
[ 6165.635602] snd_intel_dspcfg fat snd_hda_codec rapl joydev snd_hda_core intel_cstate efi_pstore cfg80211 snd_hwdep intel_uncore snd_pcm pcspkr snd_timer iTCO_wdt efivars serio_raw tpm_crb intel_pmc_bxt snd intel_wmi_thunderbolt tpm_tis mei_me iTCO_vendor_support tpm_tis_core watchdog sg soundcore hid_multitouch mei rfkill intel_pch_thermal evdev tpm ac acpi_pad rng_core intel_hid uinput pkcs8_key_parser coretemp tuxedo_keyboard(OE) sparse_keymap parport_pc ppdev lp sunrpc parport efivarfs ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic hid_logitech_hidpp hid_logitech_dj usbhid sd_mod t10_pi crc_t10dif crct10dif_generic hid_generic i915 i2c_algo_bit rtsx_pci_sdmmc drm_kms_helper ahci mmc_core xhci_pci libahci cec xhci_hcd libata thunderbolt crct10dif_pclmul crct10dif_common crc32_pclmul r8169 drm scsi_mod crc32c_intel realtek usbcore libphy psmouse rtsx_pci i2c_i801 i2c_hid intel_lpss_pci i2c_smbus hid intel_lpss
[ 6165.635622] usb_common idma64 wmi battery video button
[ 6165.635625] CPU: 4 PID: 8193 Comm: kworker/4:0 Tainted: G W OE 5.8.0-2-amd64 #1 Debian 5.8.10-1
[ 6165.635625] Hardware name: Notebook N150ZU /N150ZU , BIOS 1.07.06 03/08/2019
[ 6165.635661] Workqueue: events engine_retire [i915]
[ 6165.635663] RIP: 0010:ttwu_queue_wakelist+0xc0/0xd0
[ 6165.635664] Code: e0 01 c1 e0 03 09 c8 41 88 84 24 8c 04 00 00 c7 42 68 01 00 00 00 e8 6f 93 07 00 b8 01 00 00 00 5b 5d 41 5c 41 5d c3 31 c0 c3 <0f> 0b 31 c0 eb f0 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57
[ 6165.635665] RSP: 0018:ffffab0d401bcca0 EFLAGS: 00010046
[ 6165.635666] RAX: 0000000000000004 RBX: 00000000fffffffb RCX: 000000000002bf40
[ 6165.635666] RDX: ffff953080700000 RSI: 0000000000000004 RDI: 0000000000000000
[ 6165.635667] RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000008
[ 6165.635667] R10: 0000000000000001 R11: 0000000000000004 R12: ffff953071a4ee40
[ 6165.635667] R13: 0000000000000004 R14: ffff953071a4f5b4 R15: ffff953080700000
[ 6165.635668] FS: 0000000000000000(0000) GS:ffff953080700000(0000) knlGS:0000000000000000
[ 6165.635669] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6165.635669] CR2: 00007f4a33808000 CR3: 000000046a00a004 CR4: 00000000003606e0
[ 6165.635670] Call Trace:
[ 6165.635671] <IRQ>
[ 6165.635673] try_to_wake_up+0x173/0x5e0
[ 6165.635675] autoremove_wake_function+0x11/0x50
[ 6165.635697] __i915_sw_fence_complete+0x19e/0x200 [i915]
[ 6165.635719] dma_i915_sw_fence_wake_timer+0x2c/0x50 [i915]
[ 6165.635741] signal_irq_work+0x228/0x320 [i915]
[ 6165.635744] irq_work_single+0x2c/0x40
[ 6165.635746] irq_work_run_list+0x2d/0x40
[ 6165.635747] irq_work_run+0x14/0x30
[ 6165.635748] __sysvec_irq_work+0x2d/0xb0
[ 6165.635750] sysvec_irq_work+0x2f/0x80
[ 6165.635752] asm_sysvec_irq_work+0x12/0x20
[ 6165.635754] RIP: 0010:_raw_spin_unlock_irqrestore+0x11/0x20
[ 6165.635755] Code: e0 4c 39 f0 76 d8 80 4d 00 04 eb 92 cc cc cc cc cc cc cc cc cc cc cc cc cc 0f 1f 44 00 00 c6 07 00 0f 1f 40 00 48 89 f7 57 9d <0f> 1f 44 00 00 c3 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 07
[ 6165.635755] RSP: 0018:ffffab0d401bcf40 EFLAGS: 00000246
[ 6165.635756] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffab0d41802230
[ 6165.635756] RDX: ffffab0d41802230 RSI: 0000000000000246 RDI: 0000000000000246
[ 6165.635757] RBP: ffff952d0771e000 R08: 0000000000000040 R09: 0000000000003ff0
[ 6165.635757] R10: 0000000000200000 R11: 0000000000003fe8 R12: ffff952d0771e070
[ 6165.635758] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
[ 6165.635782] execlists_submission_tasklet+0x87/0x160 [i915]
[ 6165.635784] tasklet_action_common.constprop.0+0x66/0x110
[ 6165.635786] __do_softirq+0xd4/0x2b1
[ 6165.635787] asm_call_on_stack+0x12/0x20
[ 6165.635788] </IRQ>
[ 6165.635789] do_softirq_own_stack+0x39/0x50
[ 6165.635791] irq_exit_rcu+0x8e/0xc0
[ 6165.635792] common_interrupt+0x78/0x140
[ 6165.635793] asm_common_interrupt+0x1e/0x40
[ 6165.635820] RIP: 0010:i915_request_retire+0x1eb/0x330 [i915]
[ 6165.635821] Code: f5 9f e5 48 8b 7b 58 e8 a3 44 fc ff 48 8b ab d0 01 00 00 48 c7 83 d0 01 00 00 00 00 00 00 48 85 ed 74 11 48 89 ef 48 8b 6d 00 <e8> 10 f0 07 e5 48 85 ed 75 ef 48 8d bb 10 01 00 00 e8 3f 1f 00 00
[ 6165.635821] RSP: 0018:ffffab0d44dcbe38 EFLAGS: 00000286
[ 6165.635822] RAX: 0000000000000000 RBX: ffff952f58b5c480 RCX: 00000000810000f3
[ 6165.635822] RDX: 00000000810000f4 RSI: 0000000000000001 RDI: ffff952fc0a1cc50
[ 6165.635823] RBP: ffff952fc0a1c0f0 R08: 0000000000000000 R09: ffffffffc0801600
[ 6165.635823] R10: ffff952fc0a1c880 R11: 0000000000000001 R12: ffff952f58b5c4c0
[ 6165.635823] R13: ffff952d0771e000 R14: 0000000000000000 R15: ffff952f58b5c6c0
[ 6165.635850] ? i915_request_retire+0x140/0x330 [i915]
[ 6165.635878] ? i915_request_retire+0x1f0/0x330 [i915]
[ 6165.635900] engine_retire+0xa6/0xf0 [i915]
[ 6165.635902] process_one_work+0x1b4/0x370
[ 6165.635904] worker_thread+0x53/0x3e0
[ 6165.635905] ? process_one_work+0x370/0x370
[ 6165.635906] kthread+0x11b/0x140
[ 6165.635907] ? __kthread_bind_mask+0x60/0x60
[ 6165.635908] ret_from_fork+0x22/0x30
[ 6165.635910] ---[ end trace b6a3392cfc4fd34a ]---