[Bug 100162] X server hang when toggling fullscreen in media player

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 9 10:54:34 UTC 2017


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

--- Comment #8 from Thomas Lindroth <thomas.lindroth at gmail.com> ---
I got another hang today. This one was a bit different so I'm not sure if it's
the same problem. The desktop froze but I could move the mouse and the mouse
cursor would change shape depending on what I was mousing over. Trying to
switch to framebuffer made my 2nd monitor go black and the primary monitor was
still frozen. After about a minute the framebuffer came up and after that I
could switch back to X and keep working.

Kernel 4.4.52 - 4.4.54 didn't give me any freezes but I had several freezes
with 4.4.55. 4.4.56 - 4.4.59 didn't freeze but 4.4.60 froze almost immediately
after booting with it. There are almost no patches for i915 in those releases
but recompiling the kernel will shuffle the kernels memory layout. Perhaps
there is a kernel bug that depends on a specific kernel memory layout?

I'm using the same setup as before but with kernel 4.4.60.

Errors in dmesg after the hang:
[warning] ------------[ cut here ]------------
[warning] WARNING: CPU: 0 PID: 3131 at
/usr/src/linux-4.4.60/drivers/gpu/drm/i915/intel_display.c:3965
intel_crtc_wait_for_pending_flips+0x1dc/0x240()
[warning] WARN_ON(wait_event_timeout(dev_priv->pending_flip_queue,
!intel_crtc_has_pending_flip(crtc), 60*HZ) == 0)Modules linked in: cfg80211
iptable_mangle xt_limit xt_conntrack iptable_filter iptable_nat nf_nat_ipv4
nf_nat ip_tables iTCO_wdt kvm_intel kvm snd_hda_codec_hdmi crc32_pclmul
snd_hda_intel snd_hda_codec lpc_ich mfd_core uas usb_storage snd_hwdep joydev
snd_hda_core hid_microsoft
[warning] CPU: 0 PID: 3131 Comm: X Not tainted 4.4.60 #2
[warning] Hardware name: Gigabyte Technology Co., Ltd. Z97X-Gaming
G1/Z97X-Gaming G1, BIOS F9 07/31/2015
[warning] 0000000000000286 000000007b7db219 ffff88040425baa0 ffffffffba2f644b
[warning] ffff88040425bae8 ffffffffbaa73a20 ffff88040425bad8 ffffffffba073f86
[warning] 0000000000000000 ffff88040c1f8e10 ffff88040c0af000 ffff88040c1b9800
[warning] Call Trace:
[warning] [<ffffffffba2f644b>] dump_stack+0x4d/0x72
[warning] [<ffffffffba073f86>] warn_slowpath_common+0x86/0xc0
[warning] [<ffffffffba07401c>] warn_slowpath_fmt+0x5c/0x80
[warning] [<ffffffffba0ae9a3>] ? finish_wait+0x53/0x70
[warning] [<ffffffffba499bac>] intel_crtc_wait_for_pending_flips+0x1dc/0x240
[warning] [<ffffffffba0aeb00>] ? wait_woken+0x80/0x80
[warning] [<ffffffffba49add1>] intel_pre_plane_update+0x111/0x140
[warning] [<ffffffffba49b465>] intel_atomic_commit+0x215/0x690
[warning] [<ffffffffba41b684>] ? drm_atomic_check_only+0x144/0x5d0
[warning] [<ffffffffba41bb47>] drm_atomic_commit+0x37/0x60
[warning] [<ffffffffba3f84ee>] drm_atomic_helper_disable_plane+0xae/0xf0
[warning] [<ffffffffba41a518>] ? drm_modeset_lock+0x68/0xe0
[warning] [<ffffffffba40b311>] __setplane_internal+0x171/0x270
[warning] [<ffffffffba41a620>] ? drm_modeset_lock_all_crtcs+0x90/0xa0
[warning] [<ffffffffba40f1a8>] drm_mode_setplane+0x138/0x1b0
[warning] [<ffffffffba40102b>] drm_ioctl+0x14b/0x510
[warning] [<ffffffffba40f070>] ? drm_plane_check_pixel_format+0x50/0x50
[warning] [<ffffffffba1afc94>] do_vfs_ioctl+0x2c4/0x4a0
[warning] [<ffffffffba2aea89>] ? tomoyo_file_ioctl+0x19/0x20
[warning] [<ffffffffba2a05a3>] ? security_file_ioctl+0x43/0x60
[warning] [<ffffffffba1afee9>] SyS_ioctl+0x79/0x90
[warning] [<ffffffffba001cba>] ? syscall_return_slowpath+0xaa/0x140
[warning] [<ffffffffba765f57>] entry_SYSCALL_64_fastpath+0x12/0x66
[warning] ---[ end trace e040b901003e878d ]---
[warning] ------------[ cut here ]------------
[warning] WARNING: CPU: 0 PID: 3131 at
/usr/src/linux-4.4.60/drivers/gpu/drm/i915/intel_display.c:3970
intel_crtc_wait_for_pending_flips+0x22d/0x240()
[warning] Removing stuck page flip
[warning] Modules linked in: cfg80211 iptable_mangle xt_limit xt_conntrack
iptable_filter iptable_nat nf_nat_ipv4 nf_nat ip_tables iTCO_wdt kvm_intel kvm
snd_hda_codec_hdmi crc32_pclmul snd_hda_intel snd_hda_codec lpc_ich mfd_core
uas usb_storage snd_hwdep joydev snd_hda_core hid_microsoft
[warning] CPU: 0 PID: 3131 Comm: X Tainted: G        W       4.4.60 #2
[warning] Hardware name: Gigabyte Technology Co., Ltd. Z97X-Gaming
G1/Z97X-Gaming G1, BIOS F9 07/31/2015
[warning] 0000000000000086 000000007b7db219 ffff88040425baa0 ffffffffba2f644b
[warning] ffff88040425bae8 ffffffffbaa73a20 ffff88040425bad8 ffffffffba073f86
[warning] ffff88040c1b99a8 ffff88040c1f8e10 ffff88040c0af000 ffff88040c1b9800
[warning] Call Trace:
[warning] [<ffffffffba2f644b>] dump_stack+0x4d/0x72
[warning] [<ffffffffba073f86>] warn_slowpath_common+0x86/0xc0
[warning] [<ffffffffba07401c>] warn_slowpath_fmt+0x5c/0x80
[warning] [<ffffffffba0ae9a3>] ? finish_wait+0x53/0x70
[warning] [<ffffffffba499bfd>] intel_crtc_wait_for_pending_flips+0x22d/0x240
[warning] [<ffffffffba0aeb00>] ? wait_woken+0x80/0x80
[warning] [<ffffffffba49add1>] intel_pre_plane_update+0x111/0x140
[warning] [<ffffffffba49b465>] intel_atomic_commit+0x215/0x690
[warning] [<ffffffffba41b684>] ? drm_atomic_check_only+0x144/0x5d0
[warning] [<ffffffffba41bb47>] drm_atomic_commit+0x37/0x60
[warning] [<ffffffffba3f84ee>] drm_atomic_helper_disable_plane+0xae/0xf0
[warning] [<ffffffffba41a518>] ? drm_modeset_lock+0x68/0xe0
[warning] [<ffffffffba40b311>] __setplane_internal+0x171/0x270
[warning] [<ffffffffba41a620>] ? drm_modeset_lock_all_crtcs+0x90/0xa0
[warning] [<ffffffffba40f1a8>] drm_mode_setplane+0x138/0x1b0
[warning] [<ffffffffba40102b>] drm_ioctl+0x14b/0x510
[warning] [<ffffffffba40f070>] ? drm_plane_check_pixel_format+0x50/0x50
[warning] [<ffffffffba1afc94>] do_vfs_ioctl+0x2c4/0x4a0
[warning] [<ffffffffba2aea89>] ? tomoyo_file_ioctl+0x19/0x20
[warning] [<ffffffffba2a05a3>] ? security_file_ioctl+0x43/0x60
[warning] [<ffffffffba1afee9>] SyS_ioctl+0x79/0x90
[warning] [<ffffffffba001cba>] ? syscall_return_slowpath+0xaa/0x140
[warning] [<ffffffffba765f57>] entry_SYSCALL_64_fastpath+0x12/0x66
[warning] ---[ end trace e040b901003e878e ]---

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


More information about the intel-gfx-bugs mailing list