Boot very slow because of drm_kms_helper errors

86,800

Solution 1

This is a bug. To avoid delay you can use workaround. From terminal run:

  1. sudo nano /etc/default/grub

Then add the kernel boot parameter: video=SVIDEO-1:d, so it will look like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d"

  1. sudo update-grub
  2. sudo reboot

Solution 2

I have still this problem after adding video=SVIDEO-1:d to grub like described above.

But I found this entry (https://bugs.archlinux.org/task/51703) with this comment:

Comment by Luis Bourgard (unnilquadium) - Friday, 26 January 2018, 19:08 GMT Still present in 4.14.14 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.

I removed the package with sudo apt-get remove xserver-xorg-video-intel. Maybe this works for us.

For screen-tearing correction, these ideas may also help (https://bbs.archlinux.org/viewtopic.php?id=233957):

Post by jaylittle - 2018-06-25 21:54:22 If you want to solve your screen tearing issue in Xfce without relying upon the broken intel xorg driver, just disable the built in Xfce compositor and run something like compton as part of your session startup. That should resolve your issue with screen tearing and allow you to use the more reputable kms driver.

Share:
86,800

Related videos on Youtube

tjespe
Author by

tjespe

Updated on September 18, 2022

Comments

  • tjespe
    tjespe over 1 year

    I just installed 16.04 on my MacBook Air, and everything seems to work well, except booting the system. I've been going through the dmesg-log and found out that drm_kms_helper-errors occur repeatedly and takes a lot of time each. The excact error is like this:

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

    The CRTC-value and the pipe-value varies, but otherwise all the errors are identical.

    What does this mean and how do I fix it? If it can't be fixed, how do I prevent it from using so much time when booting?

  • lucacerone
    lucacerone over 6 years
    didn't work for me :(
  • user17254
    user17254 over 6 years
    Works very well on Macbook with ElementaryOS too :)
  • sdu
    sdu almost 6 years
    with this boot parameter the boot time improved from about 3 Minutes to 20 seconds (ubuntu 18.04) with a Intel GM965 graphic
  • Erikas
    Erikas almost 6 years
    Exactly! Removing xf86-video-intel fixed the issue. This package is recommended to avoid everywhere!
  • Erikas
    Erikas almost 6 years
    Fixed issue on Arch Linux on Lenovo ThinkPad R61i.
  • LeCanardNoir
    LeCanardNoir over 5 years
    Don't working on my old intel pentium dual-core 32bit with lubuntu 16
  • LeCanardNoir
    LeCanardNoir over 5 years
    It work on my old Intel Pentium Dual-core 32bit, lubuntu 16
  • chriss
    chriss over 5 years
    This also worked on an Acer 4720Z
  • mehmoodnisar125
    mehmoodnisar125 over 5 years
    please follow this link to resolve your issue. youtube.com/watch?v=EZhOm_qYL-o
  • Yserbius
    Yserbius over 5 years
    On an old Dell Inspiron 1525, I was running 16, then upgraded to 18 and got this issue. I downgraded back, but it didn't fix it. This answer fixed the issue. Thanks!
  • Kennet Celeste
    Kennet Celeste over 5 years
    worked on inspiron 1525
  • lenooh
    lenooh about 5 years
    Worked on HP Compaq 6710b. It made the laptop usable again.... (everything was TERRIBLY slow without this).
  • Pete Forsyth
    Pete Forsyth about 5 years
    Worked for me, vastly improved startup time! 2008 Macbook (model 4,1, white polycarbonate, 2.4 GHz model). Running Lubuntu 18.10, 64 bit version using rEFInd.
  • NicolasSmith
    NicolasSmith about 5 years
    Works fine with Intel Pentium Dual T2330 (-MCP-) and Xubuntu 18.04
  • Rahul Virpara
    Rahul Virpara almost 5 years
    Worked on Compaq 610 Intel Core2Duo and Ubuntu Mate 18.04
  • FrontENG
    FrontENG almost 5 years
    Worked on Macbook Air 1,1 and Centos 7
  • Mandar Pandit
    Mandar Pandit over 4 years
    Worked for me on Lubuntu, version of Ubuntu 16.04 LTS.
  • daniel_hck
    daniel_hck over 3 years
    Worked for MAcbook 4,1 (white ) and Debian 10. Besides boot time, also fixed problems with ethernet card