FS#51703 - [linux] kernel error in drm_kms_helper, flip_done timed out
Attached to Project:
Arch Linux
Opened by Nils Naumann (naund) - Saturday, 05 November 2016, 09:46 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 27 February 2022, 10:42 GMT
Opened by Nils Naumann (naund) - Saturday, 05 November 2016, 09:46 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 27 February 2022, 10:42 GMT
|
Details
Description:
Since update to 4.8.2 I've got the following log entry, after 10s delay during booting: [code] [ 12.000117] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:26:pipe A] flip_done timed out [/code] See also the following forum thread: https://bbs.archlinux.org/viewtopic.php?id=218581 Afer some googling I found someone mentioning a bug in drm-misc, which should be resolved now: [code] Daniel Vetter - Sept. 2, 2016, 6:11 a.m. On Fri, Sep 2, 2016 at 1:48 AM, David Herrmann <dh.herrmann@gmail.com> wrote: > So either the drm_simple_kms_helpers are buggy, or the SimpleDRM use > of it. On DPMS updates, I get: > > Sep 02 01:00:39 david-t2 kernel: > [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* > [CRTC:25:crtc-0] flip_done timed out > Sep 02 01:00:39 david-t2 kernel: ------------[ cut here ]------------ > Sep 02 01:00:39 david-t2 kernel: WARNING: CPU: 3 PID: 352 at > drivers/gpu/drm/drm_atomic_helper.c:1549 > drm_atomic_helper_commit_hw_done+0xab/0xb0 [drm_kms_helper] > > The atomic-commit originates in: > drm_atomic_helper_connector_dpms() > > Any idea what is missing there? I haven't looked much into the > atomic-helpers, yet. The bugfix for that is in latest drm-misc (or well, should be at least). And you need to make sure to call drm_crtc_send_vblank_event (if there's an event) from your update hook. That /should/ work, but I didn't test it myself. flip_done not happening is when the driver/helpers fail to submit the event for some reason or another. -Daniel [/code] Additional info: * package version(s): linux 4.8.2 up to 4.8.6 * config and/or log files etc. dmesg: [url]https://gist.github.com/b11feee43a5625f6af87d1d9634684ad[/url] hwinfo: [url]https://gist.github.com/7574618148c168880366180bf831fec0[/url] Steps to reproduce: always |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Sunday, 27 February 2022, 10:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed upstream
Sunday, 27 February 2022, 10:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed upstream
Attached kernel log and hwinfo.
hwinfo.txt (328 KiB)
hwinfo.txt (321 KiB)
same issue in 4.8.10-1. but it got WORSE.
in 4.8.8-2 i get it at the CLI login. in 4.8.10-1 the display goes black upon boot and i have to use the advanced option to even get to the CLI login, where the error shows again.
hwinfo.txt (332 KiB)
While I can't interact with the display, I can SSH in just fine and everything works, with the exception of the reboot/poweroff commands. They take about ~5 minutes to execute, although they do shut down the SSH daemon. Same with the magic SysRq combination.
kernel_log.txt (6.7 KiB)
[1] https://bbs.archlinux.org/viewtopic.php?pid=1689914#p1689914
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
https://bbs.archlinux.org/viewtopic.php?id=218581&p=3
https://bugs.freedesktop.org/show_bug.cgi?id=101261
Please check if that fixes the issue that you have, i.e. try the latest drm-tip.
If it does not, please file a bug report against DRM/Intel here:
https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
It only happens with the xf86-video-intel package installed (running on a laptop with intel integrated graphics on an i5-2410m).
Uninstalling that package fixes the issue, but it also introduces some screen tearing.
aladhater: Please consider using the unsubscribe button, if comments like these bother you too much. THANK YOU!
2) disposable email address
3) trollish username
4) registered yesterday for this comment alone
5) comment duly deleted, we will see what happens
Sorry :D
Thanks :)
xf86-video-intel version 1:2.99.917+906+g846b53da-1
Linux Kernel version 5.6.7.arch1-1
Here is the upstream report:
https://bugs.freedesktop.org/show_bug.cgi?id=93782
I'm happy to accept it as fixed.