You are not logged in.

#1 2020-11-02 02:43:00

jmandawg
Member
Registered: 2011-10-19
Posts: 60

Xorg hanging (blocked) after monitor sleep i915 cannot shutdown

Hi all,

Just recently (past month or so) my mini PC has been hanging and i can no longer access the console (alt+Fx) or the Xorg after the monitor goes to sleep.

The CPU is a intel gemini lake J5005 it's connected to the monitor via display port, and the audio also comes through the display port.

I can ssh into the machine, but i cannot kill -9 the Xorg task, and a reboot command just results in a freeze hang, and ultimately i have to hold in the power button to reset the computer.

Here is the dmesg: https://pastebin.com/1XNxavWu

any help is appreciated

Revelant section:

[89087.831218] INFO: task Xorg:1489 blocked for more than 122 seconds.
[89087.831230]       Not tainted 5.9.2-arch1-1 #1
[89087.831234] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89087.831240] task:Xorg            state:D stack:    0 pid: 1489 ppid:  1488 flags:0x00004080
[89087.831248] Call Trace:
[89087.831268]  __schedule+0x292/0x830
[89087.831280]  schedule+0x46/0xf0
[89087.831287]  schedule_preempt_disabled+0x14/0x20
[89087.831293]  __ww_mutex_lock.constprop.0+0x258/0x850
[89087.831379]  drm_modeset_lock+0x31/0xb0 [drm]
[89087.831551]  glk_force_audio_cdclk+0xa3/0x1b0 [i915]
[89087.831700]  i915_audio_component_get_power+0xe0/0x100 [i915]
[89087.831725]  snd_hdac_display_power+0xd7/0x150 [snd_hda_core]
[89087.831755]  hda_codec_runtime_resume+0x61/0x70 [snd_hda_codec]
[89087.831778]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89087.831785]  __rpm_callback+0x7b/0x130
[89087.831808]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89087.831815]  rpm_callback+0x1f/0x70
[89087.831835]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89087.831841]  rpm_resume+0x5d7/0x820
[89087.831851]  __pm_runtime_resume+0x3b/0x60
[89087.831865]  sync_eld_via_acomp+0xbf/0x180 [snd_hda_codec_hdmi]
[89087.831878]  check_presence_and_report+0xab/0xc0 [snd_hda_codec_hdmi]
[89087.832019]  intel_audio_codec_enable+0x12a/0x1a0 [i915]
[89087.832164]  intel_enable_ddi+0x417/0x570 [i915]
[89087.832174]  ? _raw_spin_lock_irqsave+0x26/0x50
[89087.832298]  ? fwtable_write32+0x4c/0x250 [i915]
[89087.832442]  intel_encoders_enable+0x80/0xa0 [i915]
[89087.832587]  hsw_crtc_enable+0x1ca/0x5d0 [i915]
[89087.832729]  intel_enable_crtc+0x53/0x60 [i915]
[89087.832873]  skl_commit_modeset_enables+0x25f/0x540 [i915]
[89087.833018]  intel_atomic_commit_tail+0x309/0x12c0 [i915]
[89087.833026]  ? complete+0x2f/0x40
[89087.833033]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[89087.833041]  ? flush_workqueue_prep_pwqs+0x117/0x130
[89087.833049]  ? flush_workqueue+0x19d/0x3f0
[89087.833192]  intel_atomic_commit+0x36e/0x3f0 [i915]
[89087.833257]  drm_atomic_connector_commit_dpms+0xda/0x100 [drm]
[89087.833327]  drm_mode_obj_set_property_ioctl+0x196/0x3d0 [drm]
[89087.833337]  ? ep_scan_ready_list.constprop.0+0x17c/0x190
[89087.833405]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89087.833467]  drm_connector_property_set_ioctl+0x39/0x60 [drm]
[89087.833526]  drm_ioctl_kernel+0xb2/0x100 [drm]
[89087.833534]  ? ep_read_events_proc+0xd0/0xd0
[89087.833593]  drm_ioctl+0x215/0x390 [drm]
[89087.833656]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89087.833670]  __x64_sys_ioctl+0x83/0xb0
[89087.833679]  do_syscall_64+0x33/0x40
[89087.833687]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89087.833695] RIP: 0033:0x7fb09be60f6b
[89087.833698] Code: Unable to access opcode bytes at RIP 0x7fb09be60f41.
[89087.833702] RSP: 002b:00007fffb6804268 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89087.833707] RAX: ffffffffffffffda RBX: 00007fffb68042a0 RCX: 00007fb09be60f6b
[89087.833711] RDX: 00007fffb68042a0 RSI: 00000000c01064ab RDI: 000000000000000a
[89087.833714] RBP: 00000000c01064ab R08: 000055622e2da078 R09: 0000000000000000
[89087.833717] R10: 0000000000000000 R11: 0000000000000246 R12: 000055622e4c56c0
[89087.833720] R13: 000000000000000a R14: 0000000000000000 R15: 0000000000000000
[89087.833754] INFO: task pulseaudio:1954 blocked for more than 122 seconds.
[89087.833760]       Not tainted 5.9.2-arch1-1 #1
[89087.833763] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89087.833767] task:pulseaudio      state:D stack:    0 pid: 1954 ppid:  1088 flags:0x000003a0
[89087.833772] Call Trace:
[89087.833781]  __schedule+0x292/0x830
[89087.833790]  schedule+0x46/0xf0
[89087.833796]  schedule_preempt_disabled+0x14/0x20
[89087.833802]  __mutex_lock.constprop.0+0x180/0x530
[89087.833816]  hdmi_eld_ctl_info+0x36/0xa0 [snd_hda_codec_hdmi]
[89087.833840]  __snd_ctl_elem_info.constprop.0+0x24/0x120 [snd]
[89087.833858]  snd_ctl_elem_info_user+0x91/0x100 [snd]
[89087.833887]  snd_ctl_ioctl+0x1f4/0x780 [snd]
[89087.833898]  __x64_sys_ioctl+0x83/0xb0
[89087.833905]  do_syscall_64+0x33/0x40
[89087.833913]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89087.833916] RIP: 0033:0x7fd47f319f6b
[89087.833919] Code: Unable to access opcode bytes at RIP 0x7fd47f319f41.
[89087.833921] RSP: 002b:00007fff4fea3cb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89087.833926] RAX: ffffffffffffffda RBX: 00007fff4fea4310 RCX: 00007fd47f319f6b
[89087.833929] RDX: 00007fff4fea41a0 RSI: 00000000c1105511 RDI: 0000000000000010
[89087.833932] RBP: 00007fff4fea42f0 R08: 0000000000000000 R09: 0000000000000000
[89087.833935] R10: 00007fd47f362ec0 R11: 0000000000000246 R12: 00007fff4fea41a0
[89087.833938] R13: 00007fff4fea3cd0 R14: 000055edf938ecb0 R15: 000055edf938ecb0
[89210.711193] INFO: task Xorg:1489 blocked for more than 245 seconds.
[89210.711205]       Not tainted 5.9.2-arch1-1 #1
[89210.711209] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89210.711215] task:Xorg            state:D stack:    0 pid: 1489 ppid:  1488 flags:0x00004080
[89210.711222] Call Trace:
[89210.711244]  __schedule+0x292/0x830
[89210.711255]  schedule+0x46/0xf0
[89210.711262]  schedule_preempt_disabled+0x14/0x20
[89210.711269]  __ww_mutex_lock.constprop.0+0x258/0x850
[89210.711355]  drm_modeset_lock+0x31/0xb0 [drm]
[89210.711526]  glk_force_audio_cdclk+0xa3/0x1b0 [i915]
[89210.711678]  i915_audio_component_get_power+0xe0/0x100 [i915]
[89210.711703]  snd_hdac_display_power+0xd7/0x150 [snd_hda_core]
[89210.711732]  hda_codec_runtime_resume+0x61/0x70 [snd_hda_codec]
[89210.711755]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89210.711766]  __rpm_callback+0x7b/0x130
[89210.711788]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89210.711795]  rpm_callback+0x1f/0x70
[89210.711815]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89210.711821]  rpm_resume+0x5d7/0x820
[89210.711831]  __pm_runtime_resume+0x3b/0x60
[89210.711846]  sync_eld_via_acomp+0xbf/0x180 [snd_hda_codec_hdmi]
[89210.711859]  check_presence_and_report+0xab/0xc0 [snd_hda_codec_hdmi]
[89210.712001]  intel_audio_codec_enable+0x12a/0x1a0 [i915]
[89210.712149]  intel_enable_ddi+0x417/0x570 [i915]
[89210.712160]  ? _raw_spin_lock_irqsave+0x26/0x50
[89210.712286]  ? fwtable_write32+0x4c/0x250 [i915]
[89210.712429]  intel_encoders_enable+0x80/0xa0 [i915]
[89210.712575]  hsw_crtc_enable+0x1ca/0x5d0 [i915]
[89210.712716]  intel_enable_crtc+0x53/0x60 [i915]
[89210.712858]  skl_commit_modeset_enables+0x25f/0x540 [i915]
[89210.712998]  intel_atomic_commit_tail+0x309/0x12c0 [i915]
[89210.713006]  ? complete+0x2f/0x40
[89210.713014]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[89210.713021]  ? flush_workqueue_prep_pwqs+0x117/0x130
[89210.713030]  ? flush_workqueue+0x19d/0x3f0
[89210.713169]  intel_atomic_commit+0x36e/0x3f0 [i915]
[89210.713235]  drm_atomic_connector_commit_dpms+0xda/0x100 [drm]
[89210.713303]  drm_mode_obj_set_property_ioctl+0x196/0x3d0 [drm]
[89210.713315]  ? ep_scan_ready_list.constprop.0+0x17c/0x190
[89210.713381]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89210.713444]  drm_connector_property_set_ioctl+0x39/0x60 [drm]
[89210.713503]  drm_ioctl_kernel+0xb2/0x100 [drm]
[89210.713511]  ? ep_read_events_proc+0xd0/0xd0
[89210.713569]  drm_ioctl+0x215/0x390 [drm]
[89210.713632]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89210.713646]  __x64_sys_ioctl+0x83/0xb0
[89210.713655]  do_syscall_64+0x33/0x40
[89210.713664]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89210.713671] RIP: 0033:0x7fb09be60f6b
[89210.713674] Code: Unable to access opcode bytes at RIP 0x7fb09be60f41.
[89210.713678] RSP: 002b:00007fffb6804268 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89210.713683] RAX: ffffffffffffffda RBX: 00007fffb68042a0 RCX: 00007fb09be60f6b
[89210.713686] RDX: 00007fffb68042a0 RSI: 00000000c01064ab RDI: 000000000000000a
[89210.713689] RBP: 00000000c01064ab R08: 000055622e2da078 R09: 0000000000000000
[89210.713692] R10: 0000000000000000 R11: 0000000000000246 R12: 000055622e4c56c0
[89210.713695] R13: 000000000000000a R14: 0000000000000000 R15: 0000000000000000
[89210.713726] INFO: task pulseaudio:1954 blocked for more than 245 seconds.
[89210.713731]       Not tainted 5.9.2-arch1-1 #1
[89210.713735] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89210.713739] task:pulseaudio      state:D stack:    0 pid: 1954 ppid:  1088 flags:0x000003a0
[89210.713745] Call Trace:
[89210.713754]  __schedule+0x292/0x830
[89210.713762]  schedule+0x46/0xf0
[89210.713768]  schedule_preempt_disabled+0x14/0x20
[89210.713774]  __mutex_lock.constprop.0+0x180/0x530
[89210.713789]  hdmi_eld_ctl_info+0x36/0xa0 [snd_hda_codec_hdmi]
[89210.713812]  __snd_ctl_elem_info.constprop.0+0x24/0x120 [snd]
[89210.713830]  snd_ctl_elem_info_user+0x91/0x100 [snd]
[89210.713859]  snd_ctl_ioctl+0x1f4/0x780 [snd]
[89210.713869]  __x64_sys_ioctl+0x83/0xb0
[89210.713876]  do_syscall_64+0x33/0x40
[89210.713884]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89210.713887] RIP: 0033:0x7fd47f319f6b
[89210.713890] Code: Unable to access opcode bytes at RIP 0x7fd47f319f41.
[89210.713893] RSP: 002b:00007fff4fea3cb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89210.713898] RAX: ffffffffffffffda RBX: 00007fff4fea4310 RCX: 00007fd47f319f6b
[89210.713901] RDX: 00007fff4fea41a0 RSI: 00000000c1105511 RDI: 0000000000000010
[89210.713903] RBP: 00007fff4fea42f0 R08: 0000000000000000 R09: 0000000000000000
[89210.713906] R10: 00007fd47f362ec0 R11: 0000000000000246 R12: 00007fff4fea41a0
[89210.713909] R13: 00007fff4fea3cd0 R14: 000055edf938ecb0 R15: 000055edf938ecb0
[89333.591163] INFO: task Xorg:1489 blocked for more than 368 seconds.
[89333.591174]       Not tainted 5.9.2-arch1-1 #1
[89333.591178] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89333.591184] task:Xorg            state:D stack:    0 pid: 1489 ppid:  1488 flags:0x00004080
[89333.591192] Call Trace:
[89333.591213]  __schedule+0x292/0x830
[89333.591225]  schedule+0x46/0xf0
[89333.591232]  schedule_preempt_disabled+0x14/0x20
[89333.591238]  __ww_mutex_lock.constprop.0+0x258/0x850
[89333.591324]  drm_modeset_lock+0x31/0xb0 [drm]
[89333.591496]  glk_force_audio_cdclk+0xa3/0x1b0 [i915]
[89333.591647]  i915_audio_component_get_power+0xe0/0x100 [i915]
[89333.591672]  snd_hdac_display_power+0xd7/0x150 [snd_hda_core]
[89333.591702]  hda_codec_runtime_resume+0x61/0x70 [snd_hda_codec]
[89333.591726]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89333.591733]  __rpm_callback+0x7b/0x130
[89333.591755]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89333.591761]  rpm_callback+0x1f/0x70
[89333.591782]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89333.591787]  rpm_resume+0x5d7/0x820
[89333.591797]  __pm_runtime_resume+0x3b/0x60
[89333.591812]  sync_eld_via_acomp+0xbf/0x180 [snd_hda_codec_hdmi]
[89333.591825]  check_presence_and_report+0xab/0xc0 [snd_hda_codec_hdmi]
[89333.591968]  intel_audio_codec_enable+0x12a/0x1a0 [i915]
[89333.592118]  intel_enable_ddi+0x417/0x570 [i915]
[89333.592129]  ? _raw_spin_lock_irqsave+0x26/0x50
[89333.592254]  ? fwtable_write32+0x4c/0x250 [i915]
[89333.592397]  intel_encoders_enable+0x80/0xa0 [i915]
[89333.592543]  hsw_crtc_enable+0x1ca/0x5d0 [i915]
[89333.592684]  intel_enable_crtc+0x53/0x60 [i915]
[89333.592825]  skl_commit_modeset_enables+0x25f/0x540 [i915]
[89333.592966]  intel_atomic_commit_tail+0x309/0x12c0 [i915]
[89333.592976]  ? complete+0x2f/0x40
[89333.592983]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[89333.592991]  ? flush_workqueue_prep_pwqs+0x117/0x130
[89333.592999]  ? flush_workqueue+0x19d/0x3f0
[89333.593138]  intel_atomic_commit+0x36e/0x3f0 [i915]
[89333.593208]  drm_atomic_connector_commit_dpms+0xda/0x100 [drm]
[89333.593277]  drm_mode_obj_set_property_ioctl+0x196/0x3d0 [drm]
[89333.593288]  ? ep_scan_ready_list.constprop.0+0x17c/0x190
[89333.593355]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89333.593417]  drm_connector_property_set_ioctl+0x39/0x60 [drm]
[89333.593476]  drm_ioctl_kernel+0xb2/0x100 [drm]
[89333.593485]  ? ep_read_events_proc+0xd0/0xd0
[89333.593543]  drm_ioctl+0x215/0x390 [drm]
[89333.593605]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89333.593619]  __x64_sys_ioctl+0x83/0xb0
[89333.593628]  do_syscall_64+0x33/0x40
[89333.593636]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89333.593644] RIP: 0033:0x7fb09be60f6b
[89333.593648] Code: Unable to access opcode bytes at RIP 0x7fb09be60f41.
[89333.593651] RSP: 002b:00007fffb6804268 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89333.593657] RAX: ffffffffffffffda RBX: 00007fffb68042a0 RCX: 00007fb09be60f6b
[89333.593660] RDX: 00007fffb68042a0 RSI: 00000000c01064ab RDI: 000000000000000a
[89333.593663] RBP: 00000000c01064ab R08: 000055622e2da078 R09: 0000000000000000
[89333.593666] R10: 0000000000000000 R11: 0000000000000246 R12: 000055622e4c56c0
[89333.593669] R13: 000000000000000a R14: 0000000000000000 R15: 0000000000000000
[89333.593702] INFO: task pulseaudio:1954 blocked for more than 368 seconds.
[89333.593708]       Not tainted 5.9.2-arch1-1 #1
[89333.593711] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89333.593716] task:pulseaudio      state:D stack:    0 pid: 1954 ppid:  1088 flags:0x000003a0
[89333.593721] Call Trace:
[89333.593730]  __schedule+0x292/0x830
[89333.593739]  schedule+0x46/0xf0
[89333.593745]  schedule_preempt_disabled+0x14/0x20
[89333.593750]  __mutex_lock.constprop.0+0x180/0x530
[89333.593765]  hdmi_eld_ctl_info+0x36/0xa0 [snd_hda_codec_hdmi]
[89333.593788]  __snd_ctl_elem_info.constprop.0+0x24/0x120 [snd]
[89333.593806]  snd_ctl_elem_info_user+0x91/0x100 [snd]
[89333.593835]  snd_ctl_ioctl+0x1f4/0x780 [snd]
[89333.593846]  __x64_sys_ioctl+0x83/0xb0
[89333.593854]  do_syscall_64+0x33/0x40
[89333.593861]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89333.593865] RIP: 0033:0x7fd47f319f6b
[89333.593867] Code: Unable to access opcode bytes at RIP 0x7fd47f319f41.
[89333.593870] RSP: 002b:00007fff4fea3cb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89333.593875] RAX: ffffffffffffffda RBX: 00007fff4fea4310 RCX: 00007fd47f319f6b
[89333.593878] RDX: 00007fff4fea41a0 RSI: 00000000c1105511 RDI: 0000000000000010
[89333.593881] RBP: 00007fff4fea42f0 R08: 0000000000000000 R09: 0000000000000000
[89333.593883] R10: 00007fd47f362ec0 R11: 0000000000000246 R12: 00007fff4fea41a0
[89333.593886] R13: 00007fff4fea3cd0 R14: 000055edf938ecb0 R15: 000055edf938ecb0
[89456.471167] INFO: task Xorg:1489 blocked for more than 491 seconds.
[89456.471179]       Not tainted 5.9.2-arch1-1 #1
[89456.471183] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89456.471189] task:Xorg            state:D stack:    0 pid: 1489 ppid:  1488 flags:0x00004080
[89456.471197] Call Trace:
[89456.471217]  __schedule+0x292/0x830
[89456.471229]  schedule+0x46/0xf0
[89456.471236]  schedule_preempt_disabled+0x14/0x20
[89456.471243]  __ww_mutex_lock.constprop.0+0x258/0x850
[89456.471328]  drm_modeset_lock+0x31/0xb0 [drm]
[89456.471500]  glk_force_audio_cdclk+0xa3/0x1b0 [i915]
[89456.471650]  i915_audio_component_get_power+0xe0/0x100 [i915]
[89456.471675]  snd_hdac_display_power+0xd7/0x150 [snd_hda_core]
[89456.471705]  hda_codec_runtime_resume+0x61/0x70 [snd_hda_codec]
[89456.471728]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89456.471735]  __rpm_callback+0x7b/0x130
[89456.471757]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89456.471764]  rpm_callback+0x1f/0x70
[89456.471785]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89456.471790]  rpm_resume+0x5d7/0x820
[89456.471800]  __pm_runtime_resume+0x3b/0x60
[89456.471816]  sync_eld_via_acomp+0xbf/0x180 [snd_hda_codec_hdmi]
[89456.471829]  check_presence_and_report+0xab/0xc0 [snd_hda_codec_hdmi]
[89456.471971]  intel_audio_codec_enable+0x12a/0x1a0 [i915]
[89456.472118]  intel_enable_ddi+0x417/0x570 [i915]
[89456.472128]  ? _raw_spin_lock_irqsave+0x26/0x50
[89456.472254]  ? fwtable_write32+0x4c/0x250 [i915]
[89456.472397]  intel_encoders_enable+0x80/0xa0 [i915]
[89456.472542]  hsw_crtc_enable+0x1ca/0x5d0 [i915]
[89456.472683]  intel_enable_crtc+0x53/0x60 [i915]
[89456.472822]  skl_commit_modeset_enables+0x25f/0x540 [i915]
[89456.472965]  intel_atomic_commit_tail+0x309/0x12c0 [i915]
[89456.472973]  ? complete+0x2f/0x40
[89456.472981]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[89456.472988]  ? flush_workqueue_prep_pwqs+0x117/0x130
[89456.472997]  ? flush_workqueue+0x19d/0x3f0
[89456.473135]  intel_atomic_commit+0x36e/0x3f0 [i915]
[89456.473201]  drm_atomic_connector_commit_dpms+0xda/0x100 [drm]
[89456.473270]  drm_mode_obj_set_property_ioctl+0x196/0x3d0 [drm]
[89456.473283]  ? ep_scan_ready_list.constprop.0+0x17c/0x190
[89456.473350]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89456.473412]  drm_connector_property_set_ioctl+0x39/0x60 [drm]
[89456.473470]  drm_ioctl_kernel+0xb2/0x100 [drm]
[89456.473479]  ? ep_read_events_proc+0xd0/0xd0
[89456.473537]  drm_ioctl+0x215/0x390 [drm]
[89456.473600]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89456.473613]  __x64_sys_ioctl+0x83/0xb0
[89456.473622]  do_syscall_64+0x33/0x40
[89456.473630]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89456.473638] RIP: 0033:0x7fb09be60f6b
[89456.473642] Code: Unable to access opcode bytes at RIP 0x7fb09be60f41.
[89456.473645] RSP: 002b:00007fffb6804268 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89456.473651] RAX: ffffffffffffffda RBX: 00007fffb68042a0 RCX: 00007fb09be60f6b
[89456.473654] RDX: 00007fffb68042a0 RSI: 00000000c01064ab RDI: 000000000000000a
[89456.473657] RBP: 00000000c01064ab R08: 000055622e2da078 R09: 0000000000000000
[89456.473660] R10: 0000000000000000 R11: 0000000000000246 R12: 000055622e4c56c0
[89456.473663] R13: 000000000000000a R14: 0000000000000000 R15: 0000000000000000
[89456.473696] INFO: task pulseaudio:1954 blocked for more than 491 seconds.
[89456.473701]       Not tainted 5.9.2-arch1-1 #1
[89456.473705] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89456.473710] task:pulseaudio      state:D stack:    0 pid: 1954 ppid:  1088 flags:0x000003a0
[89456.473715] Call Trace:
[89456.473724]  __schedule+0x292/0x830
[89456.473733]  schedule+0x46/0xf0
[89456.473739]  schedule_preempt_disabled+0x14/0x20
[89456.473744]  __mutex_lock.constprop.0+0x180/0x530
[89456.473760]  hdmi_eld_ctl_info+0x36/0xa0 [snd_hda_codec_hdmi]
[89456.473784]  __snd_ctl_elem_info.constprop.0+0x24/0x120 [snd]
[89456.473802]  snd_ctl_elem_info_user+0x91/0x100 [snd]
[89456.473830]  snd_ctl_ioctl+0x1f4/0x780 [snd]
[89456.473842]  __x64_sys_ioctl+0x83/0xb0
[89456.473849]  do_syscall_64+0x33/0x40
[89456.473856]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89456.473860] RIP: 0033:0x7fd47f319f6b
[89456.473863] Code: Unable to access opcode bytes at RIP 0x7fd47f319f41.
[89456.473865] RSP: 002b:00007fff4fea3cb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89456.473870] RAX: ffffffffffffffda RBX: 00007fff4fea4310 RCX: 00007fd47f319f6b
[89456.473873] RDX: 00007fff4fea41a0 RSI: 00000000c1105511 RDI: 0000000000000010
[89456.473878] RBP: 00007fff4fea42f0 R08: 0000000000000000 R09: 0000000000000000
[89456.473881] R10: 00007fd47f362ec0 R11: 0000000000000246 R12: 00007fff4fea41a0
[89456.473884] R13: 00007fff4fea3cd0 R14: 000055edf938ecb0 R15: 000055edf938ecb0
[89579.351096] INFO: task Xorg:1489 blocked for more than 614 seconds.
[89579.351109]       Not tainted 5.9.2-arch1-1 #1
[89579.351113] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89579.351120] task:Xorg            state:D stack:    0 pid: 1489 ppid:  1488 flags:0x00004080
[89579.351128] Call Trace:
[89579.351148]  __schedule+0x292/0x830
[89579.351160]  schedule+0x46/0xf0
[89579.351166]  schedule_preempt_disabled+0x14/0x20
[89579.351173]  __ww_mutex_lock.constprop.0+0x258/0x850
[89579.351258]  drm_modeset_lock+0x31/0xb0 [drm]
[89579.351432]  glk_force_audio_cdclk+0xa3/0x1b0 [i915]
[89579.351584]  i915_audio_component_get_power+0xe0/0x100 [i915]
[89579.351609]  snd_hdac_display_power+0xd7/0x150 [snd_hda_core]
[89579.351639]  hda_codec_runtime_resume+0x61/0x70 [snd_hda_codec]
[89579.351663]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89579.351671]  __rpm_callback+0x7b/0x130
[89579.351693]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89579.351700]  rpm_callback+0x1f/0x70
[89579.351721]  ? hda_call_codec_resume+0x140/0x140 [snd_hda_codec]
[89579.351727]  rpm_resume+0x5d7/0x820
[89579.351736]  __pm_runtime_resume+0x3b/0x60
[89579.351752]  sync_eld_via_acomp+0xbf/0x180 [snd_hda_codec_hdmi]
[89579.351765]  check_presence_and_report+0xab/0xc0 [snd_hda_codec_hdmi]
[89579.351911]  intel_audio_codec_enable+0x12a/0x1a0 [i915]
[89579.352059]  intel_enable_ddi+0x417/0x570 [i915]
[89579.352070]  ? _raw_spin_lock_irqsave+0x26/0x50
[89579.352196]  ? fwtable_write32+0x4c/0x250 [i915]
[89579.352342]  intel_encoders_enable+0x80/0xa0 [i915]
[89579.352490]  hsw_crtc_enable+0x1ca/0x5d0 [i915]
[89579.352639]  intel_enable_crtc+0x53/0x60 [i915]
[89579.352783]  skl_commit_modeset_enables+0x25f/0x540 [i915]
[89579.352927]  intel_atomic_commit_tail+0x309/0x12c0 [i915]
[89579.352935]  ? complete+0x2f/0x40
[89579.352943]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[89579.352950]  ? flush_workqueue_prep_pwqs+0x117/0x130
[89579.352958]  ? flush_workqueue+0x19d/0x3f0
[89579.353101]  intel_atomic_commit+0x36e/0x3f0 [i915]
[89579.353168]  drm_atomic_connector_commit_dpms+0xda/0x100 [drm]
[89579.353239]  drm_mode_obj_set_property_ioctl+0x196/0x3d0 [drm]
[89579.353252]  ? ep_scan_ready_list.constprop.0+0x17c/0x190
[89579.353319]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89579.353381]  drm_connector_property_set_ioctl+0x39/0x60 [drm]
[89579.353442]  drm_ioctl_kernel+0xb2/0x100 [drm]
[89579.353452]  ? ep_read_events_proc+0xd0/0xd0
[89579.353510]  drm_ioctl+0x215/0x390 [drm]
[89579.353573]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[89579.353589]  __x64_sys_ioctl+0x83/0xb0
[89579.353598]  do_syscall_64+0x33/0x40
[89579.353607]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89579.353615] RIP: 0033:0x7fb09be60f6b
[89579.353618] Code: Unable to access opcode bytes at RIP 0x7fb09be60f41.
[89579.353622] RSP: 002b:00007fffb6804268 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89579.353627] RAX: ffffffffffffffda RBX: 00007fffb68042a0 RCX: 00007fb09be60f6b
[89579.353631] RDX: 00007fffb68042a0 RSI: 00000000c01064ab RDI: 000000000000000a
[89579.353634] RBP: 00000000c01064ab R08: 000055622e2da078 R09: 0000000000000000
[89579.353637] R10: 0000000000000000 R11: 0000000000000246 R12: 000055622e4c56c0
[89579.353640] R13: 000000000000000a R14: 0000000000000000 R15: 0000000000000000
[89579.353672] INFO: task pulseaudio:1954 blocked for more than 614 seconds.
[89579.353678]       Not tainted 5.9.2-arch1-1 #1
[89579.353681] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[89579.353686] task:pulseaudio      state:D stack:    0 pid: 1954 ppid:  1088 flags:0x000003a0
[89579.353692] Call Trace:
[89579.353701]  __schedule+0x292/0x830
[89579.353710]  schedule+0x46/0xf0
[89579.353716]  schedule_preempt_disabled+0x14/0x20
[89579.353721]  __mutex_lock.constprop.0+0x180/0x530
[89579.353737]  hdmi_eld_ctl_info+0x36/0xa0 [snd_hda_codec_hdmi]
[89579.353760]  __snd_ctl_elem_info.constprop.0+0x24/0x120 [snd]
[89579.353778]  snd_ctl_elem_info_user+0x91/0x100 [snd]
[89579.353807]  snd_ctl_ioctl+0x1f4/0x780 [snd]
[89579.353817]  __x64_sys_ioctl+0x83/0xb0
[89579.353825]  do_syscall_64+0x33/0x40
[89579.353832]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[89579.353836] RIP: 0033:0x7fd47f319f6b
[89579.353839] Code: Unable to access opcode bytes at RIP 0x7fd47f319f41.
[89579.353842] RSP: 002b:00007fff4fea3cb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[89579.353846] RAX: ffffffffffffffda RBX: 00007fff4fea4310 RCX: 00007fd47f319f6b
[89579.353849] RDX: 00007fff4fea41a0 RSI: 00000000c1105511 RDI: 0000000000000010
[89579.353852] RBP: 00007fff4fea42f0 R08: 0000000000000000 R09: 0000000000000000
[89579.353855] R10: 00007fd47f362ec0 R11: 0000000000000246 R12: 00007fff4fea41a0
[89579.353858] R13: 00007fff4fea3cd0 R14: 000055edf938ecb0 R15: 000055edf938ecb0

Offline

#2 2020-11-02 07:14:22

seth
Member
Registered: 2012-09-03
Posts: 51,544

Re: Xorg hanging (blocked) after monitor sleep i915 cannot shutdown

Random guesses:
https://wiki.archlinux.org/index.php/In … ete_freeze
https://wiki.archlinux.org/index.php/Mi … ly_loading

Edit: if not, also try

i915.enable_dc=0 i915.enable_dp_mst=false

(Still poking in the dark, though)

Last edited by seth (2020-11-02 07:23:17)

Online

#3 2020-11-02 10:19:36

xerxes_
Member
Registered: 2018-04-29
Posts: 676

Re: Xorg hanging (blocked) after monitor sleep i915 cannot shutdown

Also as a workaround you can disable monitor power saving by 'xset s off -dpms' and if you start xorg by .xinitrc place it there before end of file.

Offline

#4 2020-11-02 12:24:01

jmandawg
Member
Registered: 2011-10-19
Posts: 60

Re: Xorg hanging (blocked) after monitor sleep i915 cannot shutdown

xerxes_ wrote:

Also as a workaround you can disable monitor power saving by 'xset s off -dpms' and if you start xorg by .xinitrc place it there before end of file.

Thanks putting that in the .xinitrc does work around the issue.  I also opened an upstream bug.

https://gitlab.freedesktop.org/drm/intel/-/issues/2623

Offline

Board footer

Powered by FluxBB