Bug 187001 - kernel error in drm_kms_helper, flip_done timed out
Summary: kernel error in drm_kms_helper, flip_done timed out
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: other_other
Depends on:
Reported: 2016-11-05 06:57 UTC by Sebastian M.
Modified: 2016-12-20 08:53 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.8.2
Tree: Mainline
Regression: No

dmesg (98.83 KB, application/octet-stream)
2016-11-05 06:57 UTC, Sebastian M.
hwinfo (333.79 KB, application/octet-stream)
2016-11-05 06:58 UTC, Sebastian M.

Description Sebastian M. 2016-11-05 06:57:49 UTC
Created attachment 243691 [details]

Hello! Since I've updated to 4.8.2 my boot delays drastically and I get this message following the bootloader:

[   12.000117] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:26:pipe A] flip_done timed out

Downgrading to 4.7.6 resolved the issue for now. I have attached dmesg and hwinfo for you.
Comment 1 Sebastian M. 2016-11-05 06:58:22 UTC
Created attachment 243701 [details]
Comment 2 Nils Naumann 2016-12-03 12:11:02 UTC
This bug seem to be related with the GM965 graphics controller.  This forum thread has some more information:  https://bbs.archlinux.org/viewtopic.php?id=218581
Comment 3 Koen Bulcke 2016-12-20 08:53:42 UTC

As I commented in the archlinux forum:


Here a Ubuntu 16.10 user with exactly the same problem on my Dell D630 laptop (problem indeed started since the 16.10 release).

I've tried to find a temporal work-around by commenting some lines in intel_display.c , rebuilding my kernel and install it. Since then the problem seems to be gone.

See modified lines (based on input from: https://bugs.freedesktop.org/show_bug.cgi?id=96781#c8 ):

koen@beite-m1:~/ubuntukernel/ubuntu-yakkety$ find drivers -name "intel_display.c" | xargs grep -Hn "//.*KBU"
drivers/gpu/drm/i915/intel_display.c:13849:    // KBU drm_atomic_helper_wait_for_dependencies(state);
drivers/gpu/drm/i915/intel_display.c:13973:    // KBU drm_atomic_helper_commit_hw_done(state);
drivers/gpu/drm/i915/intel_display.c:13982:    // KBU drm_atomic_helper_commit_cleanup_done(state);
drivers/gpu/drm/i915/intel_display.c:14056:    // KBU ret = drm_atomic_helper_setup_commit(state, nonblock);
drivers/gpu/drm/i915/intel_display.c:14057:    // KBU if (ret)
drivers/gpu/drm/i915/intel_display.c:14058:    // KBU     return ret;

get the source with:  git clone git://kernel.ubuntu.com/ubuntu/ubuntu-yakkety.git ; it (currently) downloads kernel 4.8.0-30 .

Maybe somebody can download "your" Arch kernel source, apply same work-around and build your kernel again from source and see if that works as work-around.


br, Koen.

Note You need to log in before you can comment on or make changes to this bug.