Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 721608

Summary: sys-kernel/gentoo-sources-5.6.4 (or 5.6.5 up to 5.6.10) : vblank wait timed out on crtc 0 (intel video on sandy bridge)
Product: Gentoo Linux Reporter: n05ph3r42 <official.contacts>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: .config

Description n05ph3r42 2020-05-08 08:59:34 UTC
11.217367] ------------[ cut here ]------------
[   11.217371] vblank wait timed out on crtc 0
[   11.217385] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x23f449e4925, max_idle_ns: 440795297651 ns
[   11.217426] WARNING: CPU: 2 PID: 7 at drivers/gpu/drm/drm_vblank.c:1130 drm_wait_one_vblank+0x176/0x1a0
[   11.217427] Modules linked in:
[   11.217437] CPU: 2 PID: 7 Comm: kworker/u16:0 Not tainted 5.6.10-gentoo_intel #1
[   11.217440] Hardware name: Acer Aspire 3830G/JM30_HR, BIOS V1.12 08/14/2012
[   11.217450] Workqueue: events_unbound async_run_entry_fn
[   11.217458] RIP: 0010:drm_wait_one_vblank+0x176/0x1a0
[   11.217465] Code: 0f 0b e9 4c ff ff ff 48 89 e6 4c 89 ff e8 e2 21 a9 ff 45 85 ed 0f 85 2d ff ff ff 44 89 e6 48 c7 c7 70 f8 a5 be e8 c7 d6 a4 ff <0f> 0b e9 17 ff ff ff 0f 0b 31 c0 e9 09 ff ff ff 0f 0b 45 31 f6 e9
[   11.217468] RSP: 0000:ffffa8f50006b8d8 EFLAGS: 00010286
[   11.217473] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000001f
[   11.217476] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffffbf3f5cd0
[   11.217480] RBP: ffffa37989870000 R08: 000000029c9b81a5 R09: ffffffffbf3f5cd4
[   11.217483] R10: 000000000000026a R11: 0000000000033cd8 R12: 0000000000000000
[   11.217486] R13: 0000000000000000 R14: 000000000000000d R15: ffffa37989861808
[   11.217491] FS:  0000000000000000(0000) GS:ffffa3798fe80000(0000) knlGS:0000000000000000
[   11.217495] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   11.217499] CR2: 0000000000000000 CR3: 0000000243a0a001 CR4: 00000000000606e0
[   11.217501] Call Trace:
[   11.217516]  ? wait_woken+0x70/0x70
[   11.217525]  ilk_crtc_enable+0x4b0/0xc80
[   11.217534]  intel_update_crtc+0x1db/0x200
[   11.217542]  intel_commit_modeset_enables+0x41/0x60
[   11.217548]  intel_atomic_commit_tail+0x2c2/0x1380
[   11.217558]  ? flush_workqueue_prep_pwqs+0x114/0x130
[   11.217566]  ? flush_workqueue+0x18e/0x420
[   11.217574]  intel_atomic_commit+0x2db/0x350
[   11.217584]  drm_client_modeset_commit_atomic+0x1b6/0x1f0
[   11.217594]  drm_client_modeset_commit_force+0x4d/0x150
[   11.217605]  drm_fb_helper_restore_fbdev_mode_unlocked+0x44/0xa0
[   11.217612]  drm_fb_helper_set_par+0x2c/0x40
[   11.217619]  intel_fbdev_set_par+0x19/0x40
[   11.217627]  fbcon_init+0x2a1/0x5e0
[   11.217638]  visual_init+0xc9/0x130
[   11.217644]  do_bind_con_driver+0x1b9/0x2a0
[   11.217651]  do_take_over_console+0x111/0x180
[   11.217658]  do_fbcon_takeover+0x56/0xb0
[   11.217666]  register_framebuffer+0x1df/0x2f0
[   11.217676]  __drm_fb_helper_initial_config_and_unlock+0x32a/0x480
[   11.217685]  intel_fbdev_initial_config+0x12/0x20
[   11.217691]  async_run_entry_fn+0x32/0xe0
[   11.217699]  process_one_work+0x1cc/0x390
[   11.217707]  worker_thread+0x45/0x3b0
[   11.217715]  kthread+0xf8/0x130
[   11.217722]  ? process_one_work+0x390/0x390
[   11.217727]  ? kthread_park+0x80/0x80
[   11.217735]  ret_from_fork+0x35/0x40
[   11.217743] ---[ end trace 82a3019519d385f3 ]---

Reproducible: Sometimes

Steps to Reproduce:
1. emerge gentoo-sources 5.6.4 (AFAIK it happens since 5.6.4 or 5.6.5)
2. boot
3. check dmesg
Actual Results:  
vblank wait timed out

Expected Results:  
no vblank wait time out

drivers/gpu/drm/drm_vblank.c
Comment 1 Jonas Stein gentoo-dev 2020-05-12 22:08:03 UTC
please attach your .config
Why do you think this is a Gentoo specific bug?
Comment 2 n05ph3r42 2020-05-28 08:11:22 UTC
Created attachment 642318 [details]
.config

Here it is. 
BTW, I gave no reason to think, that it is gentoo-specific bug.
Comment 3 n05ph3r42 2020-05-28 08:12:05 UTC
Here it is. I gave no reason to think, that it is gentoo-specific bug.
Comment 4 n05ph3r42 2020-05-28 08:15:28 UTC
[   11.215433] ------------[ cut here ]------------
[   11.215441] vblank wait timed out on crtc 0
[   11.215446] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x23f45126d86, max_idle_ns: 440795256522 ns
[   11.215475] WARNING: CPU: 4 PID: 95 at drivers/gpu/drm/drm_vblank.c:1130 drm_wait_one_vblank+0x189/0x1b0
[   11.215477] Modules linked in:
[   11.215483] CPU: 4 PID: 95 Comm: kworker/u16:4 Not tainted 5.6.14-gentoo_intel #1
[   11.215485] Hardware name: Acer Aspire 3830G/JM30_HR, BIOS V1.12 08/14/2012
[   11.215491] Workqueue: events_unbound async_run_entry_fn
[   11.215497] RIP: 0010:drm_wait_one_vblank+0x189/0x1b0
[   11.215502] Code: b8 a5 ff 0f 0b eb cc 48 89 e6 4c 89 ff e8 df ec a9 ff 45 85 ed 0f 85 17 ff ff ff 44 89 e6 48 c7 c7 58 ac a5 b5 e8 3a b8 a5 ff <0f> 0b e9 01 ff ff ff 0f 0b 31 c0 e9 f3 fe ff ff 0f 0b 45 31 f6 e9
[   11.215504] RSP: 0000:ffffbc3d403578f0 EFLAGS: 00010286
[   11.215507] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000001f
[   11.215510] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffffb632fcd0
[   11.215513] RBP: ffff9b1949cb0000 R08: 000000029c7e0cd7 R09: ffffffffb632fcd4
[   11.215515] R10: 000000000000026a R11: 0000000000033cd4 R12: 0000000000000000
[   11.215517] R13: 0000000000000000 R14: 000000000000000d R15: ffff9b194ce8ec08
[   11.215521] FS:  0000000000000000(0000) GS:ffff9b194ff00000(0000) knlGS:0000000000000000
[   11.215524] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   11.215526] CR2: 0000000000000000 CR3: 00000002e2e0a001 CR4: 00000000000606e0
[   11.215528] Call Trace:
[   11.215539]  ? wait_woken+0x80/0x80
[   11.215547]  ilk_crtc_enable+0x4eb/0xcc0
[   11.215554]  intel_update_crtc+0x1d5/0x1f0
[   11.215561]  intel_commit_modeset_enables+0x41/0x60
[   11.215566]  intel_atomic_commit_tail+0x2ba/0x13b0
[   11.215572]  ? flush_workqueue_prep_pwqs+0x113/0x130
[   11.215578]  ? flush_workqueue+0x170/0x3c0
[   11.215584]  intel_atomic_commit+0x2db/0x350
[   11.215590]  drm_client_modeset_commit_atomic+0x1b9/0x1f0
[   11.215596]  drm_client_modeset_commit_force+0x4f/0x150
[   11.215603]  drm_fb_helper_restore_fbdev_mode_unlocked+0x44/0x90
[   11.215608]  drm_fb_helper_set_par+0x2b/0x40
[   11.215614]  intel_fbdev_set_par+0x11/0x50
[   11.215621]  ? con_is_visible+0x22/0x40
[   11.215626]  fbcon_init+0x2e2/0x680
[   11.215632]  visual_init+0xc9/0x130
[   11.215638]  do_bind_con_driver.isra.0+0x1d5/0x2e0
[   11.215645]  do_take_over_console+0x111/0x180
[   11.215650]  do_fbcon_takeover+0x57/0xc0
[   11.215656]  register_framebuffer+0x1df/0x2f0
[   11.215662]  __drm_fb_helper_initial_config_and_unlock+0x31b/0x490
[   11.215669]  intel_fbdev_initial_config+0xf/0x20
[   11.215673]  async_run_entry_fn+0x32/0xe0
[   11.215679]  process_one_work+0x1cc/0x390
[   11.215685]  worker_thread+0x48/0x3d0
[   11.215690]  ? rescuer_thread+0x3d0/0x3d0
[   11.215694]  kthread+0x113/0x130
[   11.215699]  ? __kthread_bind_mask+0x60/0x60
[   11.215704]  ret_from_fork+0x35/0x40
[   11.215709] ---[ end trace 7b39b9354e799e53 ]---