[Bug 98986] [i915][SNB] black screen after disconnecting HDMI monitor

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 6 21:26:01 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=98986

--- Comment #8 from Bruno Lago <teolupus at gmail.com> ---
Hi there,

I have just installed the latest drm-tip kernel and can confirm the bug is
still present.

Please let me note that this bug is affecting a lot of people using the Intel
Graphics cards and the latest Linux distributions. This bug is extremely
annoying  for those of us working with two monitors. To reproduce (and cause a
complete freeze / crash of my system) all I have to do is to connect/disconnect
my secondary HDMI monitor a few times.

Here is the version of the kernel I have installed:

bruno at galaxy:~/Downloads$ ls *.deb
linux-headers-4.13.0-994_4.13.0-994.201708042250_all.deb
linux-image-4.13.0-994-generic_4.13.0-994.201708042250_amd64.deb
linux-headers-4.13.0-994-generic_4.13.0-994.201708042250_amd64.deb

Version of the kernel currently in use:

bruno at galaxy:~$ uname -a
Linux galaxy 4.13.0-994-generic #201708042250 SMP Sat Aug 5 02:52:07 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux

bruno at galaxy:~/Downloads$ lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if
00 [VGA controller])
        Subsystem: Samsung Electronics Co Ltd 2nd Generation Core Processor
Family Integrated Graphics Controller [144d:c0cd]
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

bruno at galaxy:~/Downloads$ modinfo i915 | head
filename:      
/lib/modules/4.13.0-994-generic/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_26.bin
firmware:       i915/kbl_dmc_ver1_01.bin
firmware:       i915/kbl_guc_ver9_14.bin
firmware:       i915/bxt_guc_ver8_7.bin

Here is the latest crash report I've got on kernel.log:

Aug  7 09:12:19 Galaxy kernel: [  249.656047] pipe A vblank wait timed out
Aug  7 09:12:19 Galaxy kernel: [  249.656082] ------------[ cut here
]------------
Aug  7 09:12:19 Galaxy kernel: [  249.656124] WARNING: CPU: 3 PID: 991 at
/home/kernel/COD/linux/drivers/gpu/drm/i915/intel_display.c:11907
intel_atomic_commit_tail+0xf70/0xfa0 [i915]
Aug  7 09:12:19 Galaxy kernel: [  249.656125] Modules linked in: ccm rfcomm
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic bnep binfmt_misc
intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4
snd_hda_intel iwldvm snd_hda_codec kvm uvcvideo snd_hda_core mac80211 snd_hwdep
videobuf2_vmalloc snd_pcm irqbypass samsung_laptop videobuf2_memops iwlwifi
videobuf2_v4l2 intel_cstate snd_seq videobuf2_core videodev btusb joydev
intel_rapl_perf snd_seq_device btrtl media btbcm snd_timer btintel input_leds
serio_raw bluetooth cfg80211 acpi_als snd ecdh_generic mei_me lpc_ich soundcore
kfifo_buf industrialio mac_hid mei shpchp parport_pc ppdev lp parport autofs4
algif_skcipher af_alg dm_crypt hid_generic usbhid hid i915 crct10dif_pclmul
crc32_pclmul ghash_clmulni_intel pcbc aesni_intel i2c_algo_bit drm_kms_helper
Aug  7 09:12:19 Galaxy kernel: [  249.656165]  aes_x86_64 syscopyarea
crypto_simd sysfillrect sysimgblt glue_helper fb_sys_fops cryptd psmouse ahci
drm libahci r8169 mii wmi video
Aug  7 09:12:19 Galaxy kernel: [  249.656177] CPU: 3 PID: 991 Comm: Xorg Not
tainted 4.13.0-994-generic #201708042250
Aug  7 09:12:19 Galaxy kernel: [  249.656177] Hardware name: SAMSUNG
ELECTRONICS CO., LTD. 900X3B/900X4B/900X3B/900X4B, BIOS P10AAH 12/20/2012
Aug  7 09:12:19 Galaxy kernel: [  249.656179] task: ffff96b518b88000
task.stack: ffffb621c0d60000
Aug  7 09:12:19 Galaxy kernel: [  249.656206] RIP:
0010:intel_atomic_commit_tail+0xf70/0xfa0 [i915]
Aug  7 09:12:19 Galaxy kernel: [  249.656207] RSP: 0018:ffffb621c0d63aa0
EFLAGS: 00010286
Aug  7 09:12:19 Galaxy kernel: [  249.656209] RAX: 000000000000001c RBX:
0000000000000000 RCX: 0000000000000000
Aug  7 09:12:19 Galaxy kernel: [  249.656210] RDX: 0000000000000000 RSI:
ffff96b51f2cdc78 RDI: ffff96b51f2cdc78
Aug  7 09:12:19 Galaxy kernel: [  249.656211] RBP: ffffb621c0d63b58 R08:
0000000000000001 R09: 000000000000032c
Aug  7 09:12:19 Galaxy kernel: [  249.656212] R10: ffffb621c0d63aa0 R11:
000000000000032c R12: ffff96b510990000
Aug  7 09:12:19 Galaxy kernel: [  249.656213] R13: 0000000000000000 R14:
0000000000000000 R15: 0000000000000001
Aug  7 09:12:19 Galaxy kernel: [  249.656214] FS:  00007f60e9065a00(0000)
GS:ffff96b51f2c0000(0000) knlGS:0000000000000000
Aug  7 09:12:19 Galaxy kernel: [  249.656216] CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Aug  7 09:12:19 Galaxy kernel: [  249.656217] CR2: 0000003c36640a10 CR3:
0000000119047000 CR4: 00000000000406e0
Aug  7 09:12:19 Galaxy kernel: [  249.656218] Call Trace:
Aug  7 09:12:19 Galaxy kernel: [  249.656225]  ? wait_woken+0x80/0x80
Aug  7 09:12:19 Galaxy kernel: [  249.656251]  intel_atomic_commit+0x210/0x2b0
[i915]
Aug  7 09:12:19 Galaxy kernel: [  249.656260]  ?
handle_conflicting_encoders+0x289/0x2a0 [drm_kms_helper]
Aug  7 09:12:19 Galaxy kernel: [  249.656277]  drm_atomic_commit+0x4b/0x50
[drm]
Aug  7 09:12:19 Galaxy kernel: [  249.656284] 
drm_atomic_helper_set_config+0x68/0x90 [drm_kms_helper]
Aug  7 09:12:19 Galaxy kernel: [  249.656296] 
__drm_mode_set_config_internal+0x65/0x110 [drm]
Aug  7 09:12:19 Galaxy kernel: [  249.656306]  drm_mode_setcrtc+0x4f1/0x660
[drm]
Aug  7 09:12:19 Galaxy kernel: [  249.656317]  ? drm_mode_getcrtc+0x180/0x180
[drm]
Aug  7 09:12:19 Galaxy kernel: [  249.656327]  drm_ioctl_kernel+0x69/0xb0 [drm]
Aug  7 09:12:19 Galaxy kernel: [  249.656337]  drm_ioctl+0x32a/0x410 [drm]
Aug  7 09:12:19 Galaxy kernel: [  249.656347]  ? drm_mode_getcrtc+0x180/0x180
[drm]
Aug  7 09:12:19 Galaxy kernel: [  249.656351]  do_vfs_ioctl+0xa3/0x600
Aug  7 09:12:19 Galaxy kernel: [  249.656353]  ? __sys_recvmsg+0x51/0x90
Aug  7 09:12:19 Galaxy kernel: [  249.656355]  ? __sys_recvmsg+0x51/0x90
Aug  7 09:12:19 Galaxy kernel: [  249.656357]  SyS_ioctl+0x79/0x90
Aug  7 09:12:19 Galaxy kernel: [  249.656360] 
entry_SYSCALL_64_fastpath+0x1e/0xa9
Aug  7 09:12:19 Galaxy kernel: [  249.656361] RIP: 0033:0x7f60e6ebff07
Aug  7 09:12:19 Galaxy kernel: [  249.656362] RSP: 002b:00007ffee9aaa3e8
EFLAGS: 00003246 ORIG_RAX: 0000000000000010
Aug  7 09:12:19 Galaxy kernel: [  249.656364] RAX: ffffffffffffffda RBX:
0000000000000000 RCX: 00007f60e6ebff07
Aug  7 09:12:19 Galaxy kernel: [  249.656365] RDX: 00007ffee9aaa420 RSI:
00000000c06864a2 RDI: 000000000000000b
Aug  7 09:12:19 Galaxy kernel: [  249.656366] RBP: 00000051ebb24150 R08:
0000000000000000 R09: 00000051ebc569f0
Aug  7 09:12:19 Galaxy kernel: [  249.656367] R10: 00007ffee9aaa5c0 R11:
0000000000003246 R12: 0000000000000001
Aug  7 09:12:19 Galaxy kernel: [  249.656368] R13: 00007ffee9aa81d0 R14:
0000000000000128 R15: 00000051ebc6a2c0
Aug  7 09:12:19 Galaxy kernel: [  249.656369] Code: ff ff ff 48 83 c7 08 e8 2f
68 29 ee 4c 8b 85 68 ff ff ff 4d 85 c0 0f 85 ff fd ff ff 8d 73 41 48 c7 c7 08
80 6d c0 e8 41 1a 2b ee <0f> ff e9 e9 fd ff ff 8d 70 41 48 c7 c7 d8 7f 6d c0 e8
2b 1a 2b 
Aug  7 09:12:19 Galaxy kernel: [  249.656399] ---[ end trace 4506ba1664d375b5
]---
Aug  7 09:12:30 Galaxy kernel: [  259.804167]
[drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR*
[CRTC:36:pipe A] flip_done timed out
Aug  7 09:12:40 Galaxy kernel: [  270.044202]
[drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR*
[CRTC:36:pipe A] flip_done timed out
Aug  7 09:12:41 Galaxy kernel: [  270.772047] pipe A vblank wait timed out
Aug  7 09:12:41 Galaxy kernel: [  270.772090] ------------[ cut here
]------------
Aug  7 09:12:41 Galaxy kernel: [  270.772146] WARNING: CPU: 2 PID: 208 at
/home/kernel/COD/linux/drivers/gpu/drm/i915/intel_display.c:11907
intel_atomic_commit_tail+0xf70/0xfa0 [i915]
Aug  7 09:12:41 Galaxy kernel: [  270.772147] Modules linked in: ccm rfcomm
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic bnep binfmt_misc
intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4
snd_hda_intel iwldvm snd_hda_codec kvm uvcvideo snd_hda_core mac80211 snd_hwdep
videobuf2_vmalloc snd_pcm irqbypass samsung_laptop videobuf2_memops iwlwifi
videobuf2_v4l2 intel_cstate snd_seq videobuf2_core videodev btusb joydev
intel_rapl_perf snd_seq_device btrtl media btbcm snd_timer btintel input_leds
serio_raw bluetooth cfg80211 acpi_als snd ecdh_generic mei_me lpc_ich soundcore
kfifo_buf industrialio mac_hid mei shpchp parport_pc ppdev lp parport autofs4
algif_skcipher af_alg dm_crypt hid_generic usbhid hid i915 crct10dif_pclmul
crc32_pclmul ghash_clmulni_intel pcbc aesni_intel i2c_algo_bit drm_kms_helper
Aug  7 09:12:41 Galaxy kernel: [  270.772204]  aes_x86_64 syscopyarea
crypto_simd sysfillrect sysimgblt glue_helper fb_sys_fops cryptd psmouse ahci
drm libahci r8169 mii wmi video
Aug  7 09:12:41 Galaxy kernel: [  270.772221] CPU: 2 PID: 208 Comm:
kworker/u16:4 Tainted: G        W       4.13.0-994-generic #201708042250
Aug  7 09:12:41 Galaxy kernel: [  270.772222] Hardware name: SAMSUNG
ELECTRONICS CO., LTD. 900X3B/900X4B/900X3B/900X4B, BIOS P10AAH 12/20/2012
Aug  7 09:12:41 Galaxy kernel: [  270.772265] Workqueue: events_unbound
intel_atomic_commit_work [i915]
Aug  7 09:12:41 Galaxy kernel: [  270.772268] task: ffff96b5105ac5c0
task.stack: ffffb621c0b7c000
Aug  7 09:12:41 Galaxy kernel: [  270.772309] RIP:
0010:intel_atomic_commit_tail+0xf70/0xfa0 [i915]
Aug  7 09:12:41 Galaxy kernel: [  270.772311] RSP: 0000:ffffb621c0b7fd90
EFLAGS: 00010286
Aug  7 09:12:41 Galaxy kernel: [  270.772313] RAX: 000000000000001c RBX:
0000000000000000 RCX: 0000000000000000
Aug  7 09:12:41 Galaxy kernel: [  270.772315] RDX: 0000000000000000 RSI:
ffff96b51f28dc78 RDI: ffff96b51f28dc78
Aug  7 09:12:41 Galaxy kernel: [  270.772317] RBP: ffffb621c0b7fe48 R08:
0000000000000001 R09: 000000000000035a
Aug  7 09:12:41 Galaxy kernel: [  270.772318] R10: ffffb621c0b7fd90 R11:
000000000000035a R12: ffff96b510990000
Aug  7 09:12:41 Galaxy kernel: [  270.772320] R13: 0000000000000000 R14:
0000000000000000 R15: 0000000000000001
Aug  7 09:12:41 Galaxy kernel: [  270.772322] FS:  0000000000000000(0000)
GS:ffff96b51f280000(0000) knlGS:0000000000000000
Aug  7 09:12:41 Galaxy kernel: [  270.772324] CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Aug  7 09:12:41 Galaxy kernel: [  270.772326] CR2: 00007fd8542ab138 CR3:
00000000c62bd000 CR4: 00000000000406e0
Aug  7 09:12:41 Galaxy kernel: [  270.772328] Call Trace:
Aug  7 09:12:41 Galaxy kernel: [  270.772334]  ? ttwu_do_wakeup+0x1e/0x140
Aug  7 09:12:41 Galaxy kernel: [  270.772340]  ? wait_woken+0x80/0x80
Aug  7 09:12:41 Galaxy kernel: [  270.772381] 
intel_atomic_commit_work+0x12/0x20 [i915]
Aug  7 09:12:41 Galaxy kernel: [  270.772385]  process_one_work+0x1e9/0x410
Aug  7 09:12:41 Galaxy kernel: [  270.772389]  worker_thread+0x4b/0x410
Aug  7 09:12:41 Galaxy kernel: [  270.772392]  kthread+0x109/0x140
Aug  7 09:12:41 Galaxy kernel: [  270.772395]  ? process_one_work+0x410/0x410
Aug  7 09:12:41 Galaxy kernel: [  270.772397]  ?
kthread_create_on_node+0x70/0x70
Aug  7 09:12:41 Galaxy kernel: [  270.772399]  ?
kthread_create_on_node+0x70/0x70
Aug  7 09:12:41 Galaxy kernel: [  270.772404]  ret_from_fork+0x25/0x30
Aug  7 09:12:41 Galaxy kernel: [  270.772405] Code: ff ff ff 48 83 c7 08 e8 2f
68 29 ee 4c 8b 85 68 ff ff ff 4d 85 c0 0f 85 ff fd ff ff 8d 73 41 48 c7 c7 08
80 6d c0 e8 41 1a 2b ee <0f> ff e9 e9 fd ff ff 8d 70 41 48 c7 c7 d8 7f 6d c0 e8
2b 1a 2b 
Aug  7 09:12:41 Galaxy kernel: [  270.772454] ---[ end trace 4506ba1664d375b6
]---
Aug  7 09:12:51 Galaxy kernel: [  280.796081]
[drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR*
[CRTC:36:pipe A] flip_done timed out
Aug  7 09:12:51 Galaxy kernel: [  281.052064]
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:36:pipe A] flip_done timed out


Would be great if Intel could fix this asap. Really annoying to have hardware
that was working well for so many years to behave like this now.

Cheers,
Bruno

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170806/5804879d/attachment-0001.html>


More information about the intel-gfx-bugs mailing list