Drm kms helper error

I should have mentioned before Things I already tried:

I should have mentioned before
Things I already tried:

1. Adding

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d

to my grub.

# If you change this file, run ‘update-grub’ afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n ‘Simple configuration’

GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=»quiet splash video=SVIDEO-1:d»
GRUB_CMDLINE_LINUX=»»

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD …)
#GRUB_BADRAM=»0x01234567,0xfefefefe,0x89abcdef,0xefefefef»

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo’
#GRUB_GFXMODE=640×480

# Uncomment if you don’t want GRUB to pass «root=UUID=xxx» parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=»true»

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE=»480 440 1″

2. Removed

3. Reinstalled the grub

4. xf86-video-intel is not installed on my system.

After every step I updated and rebooted my system.
Nothing is working.

About my system:
Linux debian 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux

Hardware:
H/W path Device Class Description
==========================================================
system Inspiron 1420
/0 bus 0DT492
/0/0 memory 64KiB BIOS
/0/400 processor Intel(R) Core(TM)2 Duo CPU T5550 @ 1.83GHz
/0/400/700 memory 32KiB L1 cache
/0/400/701 memory 2MiB L2 cache
/0/1000 memory 2GiB System Memory
/0/1000/0 memory 1GiB DIMM DDR Synchronous 667 MHz (1.5 ns)
/0/1000/1 memory 1GiB DIMM DDR Synchronous 667 MHz (1.5 ns)
/0/100 bridge Mobile PM965/GM965/GL960 Memory Controller Hub
/0/100/2 display Mobile GM965/GL960 Integrated Graphics Controller (primary)
/0/100/2.1 display Mobile GM965/GL960 Integrated Graphics Controller (secondary)
/0/100/1a bus 82801H (ICH8 Family) USB UHCI Controller #4
/0/100/1a/1 usb1 bus UHCI Host Controller
/0/100/1a/1/2 bus BCM2045B2
/0/100/1a/1/2/1 communication BCM2045
/0/100/1a/1/2/2 input Keyboard (Boot Interface Subclass)
/0/100/1a/1/2/3 input Mouse (Boot Interface Subclass)
/0/100/1a.1 bus 82801H (ICH8 Family) USB UHCI Controller #5
/0/100/1a.1/1 usb2 bus UHCI Host Controller
/0/100/1a.7 bus 82801H (ICH8 Family) USB2 EHCI Controller #2
/0/100/1a.7/1 usb6 bus EHCI Host Controller
/0/100/1b multimedia 82801H (ICH8 Family) HD Audio Controller
/0/100/1c bridge 82801H (ICH8 Family) PCI Express Port 1
/0/100/1c.1 bridge 82801H (ICH8 Family) PCI Express Port 2
/0/100/1c.1/0 wlp12s0 network PRO/Wireless 3945ABG [Golan] Network Connection
/0/100/1c.3 bridge 82801H (ICH8 Family) PCI Express Port 4
/0/100/1c.5 bridge 82801H (ICH8 Family) PCI Express Port 6
/0/100/1c.5/0 enp9s0 network NetLink BCM5906M Fast Ethernet PCI Express
/0/100/1d bus 82801H (ICH8 Family) USB UHCI Controller #1
/0/100/1d/1 usb3 bus UHCI Host Controller
/0/100/1d.1 bus 82801H (ICH8 Family) USB UHCI Controller #2
/0/100/1d.1/1 usb4 bus UHCI Host Controller
/0/100/1d.2 bus 82801H (ICH8 Family) USB UHCI Controller #3
/0/100/1d.2/1 usb5 bus UHCI Host Controller
/0/100/1d.7 bus 82801H (ICH8 Family) USB2 EHCI Controller #1
/0/100/1d.7/1 usb7 bus EHCI Host Controller
/0/100/1d.7/1/6 multimedia Laptop Integrated Webcam
/0/100/1e bridge 82801 Mobile PCI Bridge
/0/100/1e/1 bus R5C832 IEEE 1394 Controller
/0/100/1e/1.1 generic R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
/0/100/1e/1.2 generic R5C592 Memory Stick Bus Host Adapter
/0/100/1e/1.3 generic xD-Picture Card Controller
/0/100/1f bridge 82801HM (ICH8M) LPC Interface Controller
/0/100/1f.1 storage 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
/0/100/1f.2 scsi2 storage 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
/0/100/1f.2/0.0.0 /dev/sda disk 500GB ST500LT012-1DG14
/0/100/1f.2/0.0.0/1 /dev/sda1 volume 75GiB Windows NTFS volume
/0/100/1f.2/0.0.0/2 /dev/sda2 volume 124GiB EXT4 volume
/0/100/1f.2/0.0.0/3 /dev/sda3 volume 265GiB Windows NTFS volume
/0/100/1f.3 bus 82801H (ICH8 Family) SMBus Controller
/0/1 input PnP device PNP0f13
/0/2 input PnP device PNP0303
/0/3 system PnP device PNP0b00
/0/4 system PnP device PNP0c01
/0/5 system PnP device PNP0103
/0/6 system PnP device PNP0c01
/0/7 system PnP device PNP0c01
/0/8 system PnP device PNP0c01

#51 2017-02-08 19:18:50

Soukyuu
Member
Registered: 2014-04-08
Posts: 845

Re: kernel error in drm_kms_helper, flip_done timed out

I was having something similar on my intel 2000 HD, in the end I just removed xf86-video-intel and went with the generic KMS driver. Seems to be working just fine and I have not noticed any performance issues so far — maybe an option for some people here?


[ Arch x86_64 | linux | ThinkPad X220 | Intel Core i5 2540M@3.3Ghz | Intel HD3000 | 16GB RAM | Main, docked to 2 Monitors ]
[ Arch x86_64 | linux-ck-k10 | Custom-built | AMD Phenom II X4@3,5Ghz | nVidia 260 GTX | 12GB RAM | Retired ]
[ Arch x86_64 | linux | Custom-built | Intel Celeron G3920@2,99Ghz | iGPU | 8GB RAM | Home server ]

#52 2017-02-09 09:33:19

Bratpfanne
Member
Registered: 2016-11-17
Posts: 2

Re: kernel error in drm_kms_helper, flip_done timed out

Anyone who is affected by this bug could you please add the following kernel boot parameter instead of reverting the bad commit and test if it works?

This has solved the bug for me on my Latitude D630 with a 4.9 kernel. It disables the SVIDEO connector but my laptop doesen’t even have one so it’s fine.

Last edited by Bratpfanne (2017-02-09 09:57:09)

#53 2017-02-11 12:33:43

grzechoo
Member
From: Poland
Registered: 2013-12-02
Posts: 8

Re: kernel error in drm_kms_helper, flip_done timed out

Bratpfanne wrote:

Anyone who is affected by this bug could you please add the following kernel boot parameter instead of reverting the bad commit and test if it works?

I confirm — the issue is solved with above kernel boot parameter.
Running 4.9.8-1 on Compaq 6510b.

#54 2017-02-11 14:06:39

vitamin
Member
Registered: 2013-03-11
Posts: 5

Re: kernel error in drm_kms_helper, flip_done timed out

Bratpfanne wrote:

Anyone who is affected by this bug could you please add the following kernel boot parameter instead of reverting the bad commit and test if it works?

This has solved the bug for me on my Latitude D630 with a 4.9 kernel. It disables the SVIDEO connector but my laptop doesen’t even have one so it’s fine.

It works for me too. Thank you.
HP 550, kernel 4.9.8

#55 2017-02-13 15:31:07

step
Member
Registered: 2016-05-09
Posts: 56

Re: kernel error in drm_kms_helper, flip_done timed out

Bratpfanne wrote:

Anyone who is affected by this bug could you please add the following kernel boot parameter instead of reverting the bad commit and test if it works?

This has solved the bug for me on my Latitude D630 with a 4.9 kernel. It disables the SVIDEO connector but my laptop doesen’t even have one so it’s fine.

It not solved for me, i add it into systemd-boot so /boot/loader/entries/arch.conf but when i restart it freeze, the only way for me (at this moment) is to unistall xf86-video-intel

#56 2017-02-18 02:03:02

cdown
Member
From: London, England
Registered: 2013-02-09
Posts: 55
Website

Re: kernel error in drm_kms_helper, flip_done timed out

Bratpfanne wrote:

Anyone who is affected by this bug could you please add the following kernel boot parameter instead of reverting the bad commit and test if it works?

This has solved the bug for me on my Latitude D630 with a 4.9 kernel. It disables the SVIDEO connector but my laptop doesen’t even have one so it’s fine.

Thanks, this works for me on a T460s with 4.9.10.

#57 2017-02-18 08:42:43

collector1871
Member
From: Poland
Registered: 2016-12-05
Posts: 51

Re: kernel error in drm_kms_helper, flip_done timed out

After update to kernel 4.9 in one of my laptop (I am using 2 notebooks with Linux Arch) during boot I have «acpi errors».
But everything is working as usual. It is only blinking for 1-2 seconds during boot.

second notebook is working as usual, no problem at all, boot is clean.

Last edited by collector1871 (2017-02-18 08:43:53)

#58 2017-03-04 22:41:43

sofiasmith
Member
Registered: 2016-02-02
Posts: 7

Re: kernel error in drm_kms_helper, flip_done timed out

Today after pacman -Syu, linux-lts updated from 4.4.52 to 4.9.13.

And the infamous drm_kms_helper error appeared in linux- lts.

And then I aplied: GRUB_CMDLINE_LINUX_DEFAULT=»video=SVIDEO-1:d» on /etc/default/grub

grub-mkconfig -o /boot/grub/grub.cfg

Then I delete lts and install linux:

pacman -R linux-lts && pacman -S linux

And all is OK, worked like a charm, without any error and booting in 15 sec.

Thanks to bratpfanne!

#59 2017-03-05 04:41:16

sobralense
Member
Registered: 2015-08-24
Posts: 9

Re: kernel error in drm_kms_helper, flip_done timed out

Just to let you know, worked for me too.

I have an old Macbook (Early 2007) with an «Intel GMA X3100 integrated graphics».
Since couldn’t use linux-lts anymore, had to try the «video=» trick. Worked like a charm.
Funny, Xrandr wasn’t listing SVIDEO!

I’m still with the linux-lts kernel (at this time is newer than main linux for arch, waiting 4.10, maybe).

If you don’t use grub, but use «systemd-boot» like me, can do this:
Edit: /boot/loader/entries/linux-lts.conf
at the end of «options» line, include the:  video=SVIDEO-1:d
Mine is: options root=/dev/sda2 rw elevator=deadline nosplash resume=/dev/sda3 nmi_watchdog=0 video=SVIDEO-1:d
PS: This is a single line, and please it’s an example, don’t copy everything.

And update the boot entry with:
sudo mkinitcpio -p linux-lts

If anyone have the same, I changed the video driver too, could keep the Early KMS, removed the xf86-video-intel and the performance it’s really good with the «modesetting» driver for my old vga.

#60 2017-03-08 20:33:55

linux4me
Member
Registered: 2017-01-31
Posts: 12

Re: kernel error in drm_kms_helper, flip_done timed out

Bratpfanne wrote:

Anyone who is affected by this bug could you please add the following kernel boot parameter instead of reverting the bad commit and test if it works?

This has solved the bug for me on my Latitude D630 with a 4.9 kernel. It disables the SVIDEO connector but my laptop doesen’t even have one so it’s fine.

Thanks for this! It worked for me on a Toshiba Satellite A205 with the 4.9.11-1 kernel. My boot is now downright peppy.

#61 2017-03-10 08:55:16

martijn600
Member
Registered: 2017-03-10
Posts: 1

Re: kernel error in drm_kms_helper, flip_done timed out

Thanks Bratpfanne, video=SVIDEO-1:d solved the problem with my slow booting laptop as well.

For people who have only basic knowledge of Linux (like me), this is my account:
-Laptop specs:
HP Compaq 6910p
Duo Core @ 2.00 GHz, 1 GB RAM

I upgraded from Ubuntu 14.04 to 16.04, boot time to login screen after upgrade over 40 sec, which was noticeably slower than before.
Tried Xubuntu, but same problem (which not surprising, as Xubuntu has especially a faster UI).

-Opened terminal and typed: journalctl -b
This shows the boot log.
At subsequent lines with much time difference (about 10 sec) an error message with ‘flip_done timed’ appeared.
Searching on the internet on this message brought me to this forum.
It said that I needed to change the kernel boot parameters.

-In terminal I typed: sudo mousepad /etc/default/grub

-Changed line
GRUB_CMDLINE_LINUX_DEFAULT=»quiet splash»
into:
GRUB_CMDLINE_LINUX_DEFAULT=»quiet splash video=SVIDEO-1:d»

-To propagate the changes, I did both (though one of them would probably have sufficed):
sudo update-grub
and/or
sudo grub-mkconfig -o /boot/grub/grub.cfg

-Rebooted machine, booting to log-in screen now 24 sec.

B.t.w.: another cause of this problem might be that I had a second monitor plugged in during installation.

#62 2017-03-10 14:13:03

dsreyes1014
Member
Registered: 2014-06-28
Posts: 56

Re: kernel error in drm_kms_helper, flip_done timed out

I have a Dell D630 laptop as well and the kernel parameter video=SVIDEO-1:d seems to work.  This is not a solution but rather a workaround for now as my VGA port won’t work with the kernel parameter it seems.

#63 2017-03-12 13:25:54

webspider84
Member
Registered: 2017-03-12
Posts: 1

Re: kernel error in drm_kms_helper, flip_done timed out

Huge thanks to sobralense and Bratpfanne.

This has been annoying me for ages and adding video=SVIDEO-1:d to systemd-boot conf has worked perfectly.

Boot speed it fantastic,

Thanks again guys.

#64 2017-03-15 13:58:59

kjkinnell
Member
Registered: 2016-11-16
Posts: 3

Re: kernel error in drm_kms_helper, flip_done timed out

Toshiba Satellite L755 laptop now working again.

Just installed 4.10.2-1, and the drm_kms_helper «flip_done timed out» warning is gone, the machine is not hanging for two or three minutes when switching graphics modes.

Changing the SVIDEO boot param did not help on this machine.

I never had a boot speed issue, but switching between vts took forever, and there were random hangs in X.  The 4.9 lts kernel reintroduced all of that, but upstream was making steady progress on this and it looks like older/weird-Toshiba-Intel graphics is supported again in the latest kernel.

And thanks to Soukyuu—removing xf86-intel-video made debugging a tiny bit easier.  Nothing required it, I don’t know why I had it installed in the first place.

Last edited by kjkinnell (2017-03-15 14:00:39)

#65 2017-03-22 22:27:07

tmg
Member
Registered: 2017-03-22
Posts: 1

Re: kernel error in drm_kms_helper, flip_done timed out

Hi,

I faced the same problem installing Arch and Ubuntu on my laptop (zenbook ux31a). I found out this error only appeared when I had it plugged to my second monitor. Everything was fine using only the laptop.

#66 2017-06-13 10:16:03

giuscri
Member
From: Milan, Italy
Registered: 2013-08-19
Posts: 21

Re: kernel error in drm_kms_helper, flip_done timed out

I can confirm that removing xf86-video-intel fixed the problem, on Thinkpad x220; I didn’t need to change the kernel options.

$ uname -a
Linux x220 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 10:40:17 CEST 2017 x86_64 GNU/Linux

Last edited by giuscri (2017-06-13 10:16:49)

#67 2017-09-21 20:33:51

Lenry
Member
From: Szeged, Hungary
Registered: 2010-03-27
Posts: 64
Website

Re: kernel error in drm_kms_helper, flip_done timed out

Bratpfanne wrote:

Anyone who is affected by this bug could you please add the following kernel boot parameter instead of reverting the bad commit and test if it works?

This has solved the bug for me on my Latitude D630 with a 4.9 kernel. It disables the SVIDEO connector but my laptop doesen’t even have one so it’s fine.

Thank you!
This reduced my boot time from ~40 seconds to 10!
Thank you again

#68 2017-09-27 03:31:51

malcontent
Member
Registered: 2017-09-27
Posts: 12

Re: kernel error in drm_kms_helper, flip_done timed out

The message «flip_done timed out» is not the real problem here, it’s only a symptom of an underlying problem that needs to be fixed.

There are many potential problems that can cause the timeout, sometimes it’s because of a missing interrupt, sometimes the GPU goes haywire and that causes the timeout, it can be different things, but it’s important that we fix all those underlying issues.

So, please help with this and file bug reports on https://bugs.freedesktop.org/ (file it against DRM/Intel).

I would advise against adding a temporary workaround to your machine and then forget about it, because that won’t help solve the real problem.

We need to fix everything upstream.

Last edited by malcontent (2017-09-27 20:18:47)

#69 2017-12-30 22:09:09

joelek
Member
Registered: 2017-12-30
Posts: 1

Re: kernel error in drm_kms_helper, flip_done timed out

I am not (currently) running Arch Linux (I have in the past). But your forum helped me. I am installing Linux Mint 18.3 XFCE on an older acer Extensa 7620Z that I was given, and I was experiencing long (around 20 second) delays during boot, after login, and after logout. During the login/logout delays, the mouse cursor was visible but frozen. It made switching users very painful.

I was seeing the following error peppered in my syslog:

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

Adding video=SVIDEO-1:d to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub made the issue go away.

I am running Linux version 4.10.0-38-generic.

#70 2017-12-30 22:28:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,018
Website

Re: kernel error in drm_kms_helper, flip_done timed out

EDIT: I initially split your post off, but since you aren’t asking for support, I don’t see any need to. I’m glad you’ve found our forums useful.

I am going to close this old topic now, however.

Last edited by WorMzy (2017-12-30 22:30:37)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

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?

dsmalinsky's user avatar

asked Mar 16, 2017 at 21:58

tjespe's user avatar

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

TheOdd's user avatar

TheOdd

2,9021 gold badge20 silver badges41 bronze badges

answered May 17, 2017 at 12:36

Jan Dostrasil's user avatar

16

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.

eSavior's user avatar

answered Apr 8, 2018 at 20:53

Miro Justice's user avatar

2

[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out.

symptom

I am a Japanese and have low academic ability, so I am not good at writng English. I’m sorry to my terrible language ability for you.
I sometimes get the following error when logging out of Xorg. It’s a little different to [xf86-video-intel] flip_done timed out, but it’s similar.

[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out.   

Using the video=SVIDEO-1:d kernel parameter doesn’t work for me.
I’m running Arch Linux (4.17.2-1) on my laptop ThinkPad X220 which CPU is Intel Core i5-2540M Processor.

status

  • results of $ dmesg
  • results of $ hwinfo
  • chromium > chrome://gpu

EDIT

I tried to varify Jaylittle’s reply to not my post but to unnilquadium’s post.

compton

$ sudo pacman -S compton
$ vim ~/.config/compton/compton.conf
$ vim ~/.xmonad/xmonad.hs
myStartupHook = do
    spawnOnce "compton -b --config $HOME/.config/compton/compton.conf"
$ xmonad --recompile

video drivers

$ cat /etc/X11/xorg.conf.d/20-intel.conf
Selection "Device"
    Identifler "Intel Graphics"
    Driver "Intel"
    Option "AccelMethod" "sna"
EndSectionS
$ sudo rm /etc/X11/xorg.conf.d/20-intel.conf
$ sudo pacman -Rs xf86-video-intel
$ sudo pacman -Qme | grep xf86-vide

There is no output. Because any video driver is not installed by pacman, Xorg should be going to fall back to «kernel mode setting» according to Xorg > Driver installation. This article is my only knowledge about what is «kernel mode setting».

$ sudo reboot
$ xinit

The command $ xinit works without any video driver such as xf86-video-intel installed by pacman, but the same symptom occurs to me. Whichever each video driver such as xf86-video-fbdev, xf86-video-vesa, and xf86-video-intel is installed by pacman or there are no video drivers, the same symptom occurs to me.

XFCE

XFWM4 and other packages of XFCE were not installed by pacman, buy only the package of GTK2 is installed for rendering Chromium etc. Can I disable the built in compositor of XFCE etc. ?

$ sudo pacman -S xfce4
$ vim .xinitrc
exec startxfce4
$ xinit

I disabled the built in xfce compositor referring to How to switch to Compton for beautiful tear free compositing in XFCE.

To switch this off, go into the Applications menu and click ‘Settings Manager’: Then click ‘Window Manager Tweaks’, then the ‘Compositor’ tab, and un-tick the ‘Enable Display Compositing’ box:

Whichever I check or un-check the ‘Enable Display Compositing’ box, the same symptom occurs in both XFCE and xmonad to me.

try solution options

view bug reports

  • Topic: [settled] Problems during system startup (Read 146 times)(Machine translated from German)
  • FS#53722 — [linux] Laptop randomically hangs when suspending or freezing

preparations

linux modules

$ sudo pacman -S linux
$ sudo pacman -S linux-headers
$ sudo mkinitcpio -p linux

I confirmed that this solution doesn’t work.

video drivers

Soukyuu(Member)
I was having something similar on my intel 2000 HD, in the end I just removed xf86-video-intel and went with the generic KMS driver. Seems to be working just fine and I have not noticed any performance issues so far — maybe an option for some people here?
[ Arch x86_64 | linux | ThinkPad X220 | Intel Core i5 2540M@3.3Ghz | Intel HD3000 | 16GB RAM | Main, docked to 2 Monitors ]

giuscri(Member)
I can confirm that removing xf86-video-intel fixed the problem, on Thinkpad x220; I didn’t need to change the kernel options.

— kernel error in drm_kms_helper, flip_done timed out

xorg > generic KMS driver

$ sudo pacman -R xf86-video-intel  

I confirmed that this solution doesn’t work. $ xinit failed.
Only xf86-video-intel is neccesary to $ xinit Please see the chapter EDIT».

kernel modules

MODULES="i915"

Kernel mode setting (KMS) is supported by Intel chipsets that use the i915 DRM driver and is mandatory and enabled by default.
Refer to Kernel mode setting#Early KMS start for instructions on how to enable KMS as soon as possible at the boot process.

KMS is typically initialized after the initramfs stage. However it is possible to already enable KMS during the initramfs stage. Add the module radeon/amdgpu (for ATI/AMD cards), i915 (for Intel integrated graphics) or nouveau (for Nvidia cards) to the MODULES line in /etc/mkinitcpio.conf. For example: MODULES="i915"

— Intel Graphics > Enable early KMS

$ sudo mkinitcpio -p linux

I confirmed that this solution doesn’t work.

Note: Intel users might need to add intel_agp before i915 to suppress the ACPI errors. This might be required for resuming from hibernation to work with changed display configuration!

I confirmed that this solution doesn’t work.

grub parameters

enable_psr=0

Panel Self Refresh (PSR), a power saving feature used by Intel iGPUs is known to cause flickering in some instances FS#49628 FS#49371 FS#50605. A temporary solution is to disable this feature using the kernel parameter i915.enable_psr=0.

— Intel Graphics > Screen flickering

$ sudo vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.enable_psr=0"
$ sudo grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg

I confirmed that this solution doesn’t work.

i915.modeset=0

Kernel panic during shutdown. using 4.14 LTS kernel

$ sudo vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.modeset=0"
$ sudo grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg

I confirmed that this solution doesn’t work.
This solution made KMS disable. So characters in CUI grew blurry, and $ xinit failed.

video=SVIDEO-1:d

I was having something similar on my intel 2000 HD, in the end I just removed xf86-video-intel and went with the generic KMS driver. Seems to be working just fine and I have not noticed any performance issues so far — maybe an option for some people here?
[ Arch x86_64 | linux | ThinkPad X220 | Intel Core i5 2540M@3.3Ghz | Intel HD3000 | 16GB RAM | Main, docked to 2 Monitors ]

— kernel error in drm_kms_helper, flip_done timed out

$ sudo vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet video=SVIDEO-1:d"

Arch Linux is installed with GPT and UEFI, so do

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

This command will not reflect the kernel parameter sustainably.A correct command is below.

$ sudo grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg
$ cat /proc/cmdline  
BOOT_IMAGE=/vmlinuz-linux root=UUID=190bcde4-8a47-4df5-9f46-2d679b0312cf rw quiet video=SVIDEO-1:d

I confirmed that this solution doesn’t work.

modprobe

Disabling drm_kms_helper

  • Kernel module > Blacklisting
  • Stuck at black screen
vi /etc/modprobe.d/mhwd-gpu.conf
blacklist drm_kms_helper

I confirmed that this solution doesn’t work. Error messages of drm_kms_helper were displayed as before.

Disabling any other video port

Blacklist the nvidia & nouveau modules Kernel modules#Blacklisting
/etc/modprobe.d/blacklist.conf

blacklist nvidia
blacklist nouveau

— Disable_discrete_GPU

I confirmed that this solution doesn’t work.

$ ls -l /sys/class/drm
total 0
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-DP-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-DP-2 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-DP-3 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-3/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-HDMI-A-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-HDMI-A-2 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-HDMI-A-3 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-3/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-LVDS-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 card0-VGA-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-VGA-1/
lrwxrwxrwx 1 root root    0 Jun 16 23:21 renderD128 -> ../../devices/pci0000:00/0000:00:02.0/drm/renderD128/
-r--r--r-- 1 root root 4096 Jun 16 23:37 version
$ grep . /sys/class/drm/card?-*/status
/sys/class/drm/card0-DP-1/status:disconnected
/sys/class/drm/card0-DP-2/status:disconnected
/sys/class/drm/card0-DP-3/status:disconnected
/sys/class/drm/card0-HDMI-A-1/status:disconnected
/sys/class/drm/card0-HDMI-A-2/status:disconnected
/sys/class/drm/card0-HDMI-A-3/status:disconnected
/sys/class/drm/card0-LVDS-1/status:connected
/sys/class/drm/card0-VGA-1/status:disconnected

I don’t have enough understanding for these knowledge. I seem that I made any other video port disable excepted for LVDS.

drm_kms_helper poll=0

  • Kernel Mode Setting > Problem upon bootloading and dmesg
  • Ubuntu 13 change drm_kms_helper poll param
  • Finally! A fix for Intel KMS cursor lag!
  • Backported i915 Driver

/etc/modprobe.d/modprobe.conf

options drm_kms_helper poll=0

I confirmed that this solution doesn’t work.

EDID

Kernel Mode Setting > Forcing modes and EDID
I don’t still try this solution. Monitor resolution of ThinkPad X220 is 1366×768, so I don’t understand how to specify such monitor resolution on the basis of the table.

Xorg configuration

Option "AccelMethod" "uxa"

ThinkPad X220 is an old laptop, so I refered

Some window managers, such as qtile or awesome don’t seem to get along with the sna acceleration method of the intel driver, which results in tiled and broken display of the environments, when using a multi-monitor setup (using internal monitor only, works just fine).Switching to uxa fixes this [1].
—Lenovo ThinkPad X220 > Multi-monitor setups with X.

Note: You may need to indicate Option «AccelMethod» when creating a configuration file, even just to set it to the default method (currently «sna»); otherwise, X may crash.
— Intel Graphics > Xorg configuration

/etc/X11.xorg.conf.d/20-intel.conf :

Selection "Device"
    Identifler "Intel Graphics"
    Driver "Intel"
    Option "AccelMethod" "uxa"
EndSectionS

I confirmed that this solution doesn’t work. Speed of $ xinit and especially$ startx become a little slow.

Option "DRI" "2"

DRI3 is the default DRI version in xf86-video-intel. On some systems this can cause issues such as this. To switch back to DRI2 add the following line to your configuration file:

/etc/X11.xorg.conf.d/20-intel.conf :

Option "DRI" "2"

— Intel Graphics > DRI3 issues

I confirmed that this solution doesn’t work. But I am interest in this to my chrome://gpu of chromium.

Option "NoAccel" "True"

Some issues with X crashing, GPU hanging, or problems with X freezing, can be fixed by disabling the GPU usage with the NoAccel option — add the following lines to your configuration file:

/etc/X11.xorg.conf.d/20-intel.conf :

Option "NoAccel" "True"

— Intel_Graphics > X freeze/crash with intel driver

I confirmed that this solution doesn’t work. Rendering of chromium became very slow.

Option "DRI" "False"

Alternatively, try to disable the 3D acceleration only with the DRI option:

/etc/X11.xorg.conf.d/20-intel.conf :

Option "DRI" "False"

— Intel_Graphics > X freeze/crash with intel driver

I confirmed that this solution doesn’t work. Rendering of chromium were not changed in speed.

 «drm kms helper error» Видеокарта Intel GMA X3100 . kworkstation-8.2 ,
Как исправить?
На kworkstation-8.1 всё было нормально


Записан


А если ядро откатить до std-def-4.4.34?

$ sdiff alt-kworkstation-8.1-install-i586.iso.2.txt alt-kworkstation-8.2-install-i586.iso.2.txt | sed -n '724,735p; 2718,2719p; 2726p'
/ALTLinux/RPMS.main/kernel-image-std-def-4.4.34-alt0.M80P.1.i | /ALTLinux/RPMS.main/kernel-image-un-def-4.9.50-alt0.M80P.1.i5
/ALTLinux/RPMS.main/kernel-modules-bbswitch-std-def-0.8-alt1. | /ALTLinux/RPMS.main/kernel-modules-bbswitch-un-def-0.8-alt1.2
/ALTLinux/RPMS.main/kernel-modules-bcmwl-std-def-6.30.223.248 | /ALTLinux/RPMS.main/kernel-modules-bcmwl-un-def-6.30.223.248-
/ALTLinux/RPMS.main/kernel-modules-drm-radeon-std-def-4.4.34- | /ALTLinux/RPMS.main/kernel-modules-drm-radeon-un-def-4.9.50-a
/ALTLinux/RPMS.main/kernel-modules-drm-std-def-4.4.34-alt0.M8 | /ALTLinux/RPMS.main/kernel-modules-drm-un-def-4.9.50-alt0.M80
/ALTLinux/RPMS.main/kernel-modules-kvm-std-def-4.4.34-alt0.M8 | /ALTLinux/RPMS.main/kernel-modules-kvm-un-def-4.9.50-alt0.M80
/ALTLinux/RPMS.main/kernel-modules-nvidia-std-def-367.57-alt2 | /ALTLinux/RPMS.main/kernel-modules-nvidia-un-def-375.82-alt1.
/ALTLinux/RPMS.main/kernel-modules-r8168-std-def-8.042.00-alt | /ALTLinux/RPMS.main/kernel-modules-r8168-un-def-8.042.00-alt3
/ALTLinux/RPMS.main/kernel-modules-staging-std-def-4.4.34-alt | /ALTLinux/RPMS.main/kernel-modules-staging-un-def-4.9.50-alt0
/ALTLinux/RPMS.main/kernel-modules-v4l-std-def-4.4.34-alt0.M8 | /ALTLinux/RPMS.main/kernel-modules-v4l-un-def-4.9.50-alt0.M80
/ALTLinux/RPMS.main/kernel-modules-virtualbox-addition-std-de | /ALTLinux/RPMS.main/kernel-modules-virtualbox-addition-un-def
/ALTLinux/RPMS.main/kernel-modules-virtualbox-std-def-5.1.6-a | /ALTLinux/RPMS.main/kernel-modules-virtualbox-un-def-5.1.24-a
/ALTLinux/RPMS.main/xorg-dri-intel-12.0.3-alt1.i586.rpm       | /ALTLinux/RPMS.main/xorg-conf-synaptics-1.0-alt1.noarch.rpm
/ALTLinux/RPMS.main/xorg-dri-radeon-12.0.3-alt1.i586.rpm      | /ALTLinux/RPMS.main/xorg-dri-intel-17.1.9-alt0.M80P.1.i586.rp
/ALTLinux/RPMS.main/xorg-drv-intel-2.99.917-alt4.i586.rpm /ALTLinux/RPMS.main/xorg-drv-intel-2.99.917-alt4.i586.rpm

На Интел-графике это дело не особенно хитрое.


Записан


Что надо сделать , по пунктам, что бы откатить ?
И такое решение будет временное ? — с выходом kworkstation-8.3 откатится будет уже некуда ?

А может быть, Интел не поддерживает старые (Intel GMA X3100 — это 2008 г. , почти 10 лет) в новых версиях драйверов ? Или поддерживает, но не особо старательно ?

Только что попробовал Кубунту 16.04.03  загрузить c Live-CD , тоже самое
«drm kms helper error» , только другим шрифтом …

« Последнее редактирование: 30.09.2017 20:26:19 от newuserpc »


Записан



Записан


Что надо сделать , по пунктам, что бы откатить ?

Дать по-пунктам откат ядра невозможно даже в теории.
Могу дать ссылку как в сизифной системе откатывал ядро на p7 с пошаговыми командами. У вас будет немного по-другому.

И такое решение будет временное ? — с выходом kworkstation-8.3 откатится будет уже некуда ?

Это не от меня зависит, а от альтов.

« Последнее редактирование: 30.09.2017 20:33:39 от Speccyfighter »


Записан


Только что попробовал Кубунту 16.04.03  загрузить c Live-CD , тоже самое
«drm kms helper error» , только другим шрифтом …

Железо устарело … :-)


Записан


Только что попробовал Кубунту 16.04.03  загрузить c Live-CD , тоже самое
«drm kms helper error» , только другим шрифтом …

Да бог с ней, с кубунтой. Федору посмотрите, там ядро выше по версии (4.11.8-300.fc26.i686), может патчи наложили… Если уж и там плохо, ну тогда всё…
Ставьте альт рабочую станцию 8.1, обновляйте, но ядро не трогайте.
Если и после обновления системы закосячит, значит надо попробовать и драйвер xorg в hold ставить, т.е. запретить обновление.

Железо устарело … :-)

Что про моё-то тогда говорить? :-)
Процессор Intel® Pentium® M 770
2 МБ кэш-памяти, тактовая частота 2,13 ГГц, частота системной шины 533 МГц
Ревизия ядра Dothan была представлена в первом квартале 2005 года одновременно с набором системной логики Sonoma.
Графика на чипсете 82915GM в xubuntu 16.04.03 (4.10), fedora 26 (4.11), slackware-current (4.9) работает безукоризненно. Я на этом ноутбуке, потоковое кино смотрю. Этот процессор на момент презентации стоил что-то около 635 баксов, а сейчас копейки у китайцев.
Ноутбуков с x3100 всегда старательно избегал.

« Последнее редактирование: 30.09.2017 21:23:10 от Speccyfighter »


Записан


Что надо сделать , по пунктам, что бы откатить ?

update-kernel --type std-defи загрузить его, а не un-def, который в K 8.2 по умолчанию.


Записан


update-kernel —type std-def

не помогло, хотя всё отработало до «Завершено»


Записан


update-kernel —type std-def

не помогло, хотя всё отработало до «Завершено»

А с этим ядром загрузились?


Записан

Андрей Черепанов (cas@)


Да, загрузился ,
Сама неисправность проявляется как «drm kms helper error» — (три строчки с разными цифрами перед drm) в начале загрузки. Потом тишина секунд 15-20 , далее индикатор загрузки, затем опять «drm kms helper error» .
Далее загрузка как обычно.


Записан


Можно ради интереса взять ядро std-def из архива. Если проблема остается, то проблема наверняка связана с Mesa.


Записан


« Последнее редактирование: 02.10.2017 11:31:03 от Speccyfighter »


Записан


My problem was solved here  —  как именно дон Диего solved, он не написал  :-)
… установим-ка kworkstation-8.1 ;-)


Записан


« Последнее редактирование: 03.10.2017 10:11:58 от Speccyfighter »


Записан


На чтение 4 мин. Просмотров 40 Опубликовано 15.12.2019

Я только что установил 16.04 на моем MacBook Air, и все работает хорошо, за исключением загрузки системы. Я прошел через dmesg -log и выяснил, что drm_kms_helper -errors повторяются и занимает много времени. Исходная ошибка такова:

Значения CRTC и pipe -value изменяются, но в остальном все ошибки идентичны.

Что это значит и как его исправить? Если он не может быть исправлен, как я могу предотвратить использование такого количества времени при загрузке?

Содержание

  1. 2 ответа
  2. воскресенье, 19 марта 2017 г.
  3. *ERROR* [CRTC:31:pipe A] flip_done timed out
  4. 3 комментария:

2 ответа

Это ошибка. Чтобы избежать задержки, вы можете использовать обходной путь. От терминала:

Затем добавьте параметр загрузки ядра: v > , поэтому он будет выглядеть следующим образом: GRUB_CMDLINE_LINUX_DEFAULT=»quiet splash v >

У меня есть эта проблема после добавления видео = SVIDEO-1: d в grub , как описано выше.

Но я нашел эту запись ( Ссылка ) с этим комментарием:

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.

Я удалил пакет с помощью sudo apt-get удалить xserver-xorg-video-intel . Возможно, это работает для нас.

ВОПРОС

  • Можно ли попросить разработчиков Ubuntu 16.04 LTS устранить ошибку ядра из-за плохого процесса взаимодействия с процессором Intel на Dell Vostro 1510, который генерирует графические ошибки xorg и сетевые ошибки?
  • Приведите описание проблемы, найденное решение, но требующее перезаписи кода в grubb, что не очень нормально, не так ли?

Конфигурация:

  • Аппаратное обеспечение: DELL VOSTRO 1510, Intel Core 2 Duo
  • Версия Ubuntu: 16.04 LTS
  • Версия ядра: 4.13.0-45-generic

Что ожидалось:

  • Компьютер должен загрузиться без проблем, от запуска до подключения к среде. Подключение к сети должно работать.

Что случилось и не ожидалось (проблема):

  • Во время процесса загрузки компьютера, перед доступом к окнам подключения, появляется пара окон, в которых говорится: «. /. начиная с режима низкой графики» и «вам необходимо определить графический. /». самостоятельно».
  • После этих окон окна подключения появляются позже, но при подключении к рабочей среде подключение к беспроводной сети и сети невозможно.

Находки drm_kms_helper ОШИБКИ в сообщениях процесса запуска

Чтобы узнать, что произошло во время запуска, в командной строке терминала используется dmesg, и он возвращает множество ошибок. Некоторые отображаются красным цветом в конце текстового возврата. Эти красные тексты копируются / вставляются ниже:

. /. [drm: drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] ОШИБКА [CRTC:35: канал B] истекло время ожидания flip_done. /.

Поиск похожих ошибок на Ask-ubuntu.ru для 16.04 LTS:

    Поиск в интернете всего текста об ошибке выше и добавление Ubuntu 16.04 TLS, возвращает дискуссию Ask-ubuntu.ru: drm_kms_helper ОШИБКА

Это решение предлагает добавить фрагмент кода на grubb (см. Ответ 2 вышеупомянутого связанного обсуждения). Кусок кода, который предлагается добавить в grub:

видео =SVIDEO-1: д

Применяя решение выше

Откройте grub, чтобы написать в нем, используя команду терминала:

sudo nano / etc / default / grub

Затем добавьте параметр загрузки ядра: v >

GRUB_CMDLINE_LINUX_DEFAULT = «тихий всплеск видео =SVIDEO-1:d»

Затем обновите и перезагрузите

sudo update-grub sudo reboot

Эффекты решения: проблема решена

После применения этого решения Dell Vostro 1510 с Intel Core 2 Duo под Ubuntu 16.04 LTS загружается без ошибок, сетевое подключение снова работает нормально.

воскресенье, 19 марта 2017 г.

*ERROR* [CRTC:31:pipe A] flip_done timed out

Пишу больше для себя, но может кому ещё пригодится.

Не сразу заметил с какого ядра, но появилась бага: при переключении из иксов в терминал появляется длительное зависание с сообщением

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

Проявляется у меня на intel v >
GRUB_CMDLINE_LINUX_DEFAULT=»quiet splash v >
И баг не проявляется. 🙂 По крайней мере у меня.

3 комментария:

Привет из 2019! Появился ли способ решить проблему?

Честно говоря — даже не проверял. 😉 Как в грабе была эта строчка — так и осталась. Надо бы проверить. Всё же сильно уже всё поменялось.

Судя по всем поправили. 😉 Во всяком случае уже несколько дней ноут работает без проблем загружаясь без вышеуказанного хака.


Description


Joe Wright



2020-01-17 19:21:55 UTC

Description of problem:
- DRM errors at boot

Jan 17 06:17:00 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
Jan 17 06:17:10 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out

Version-Release number of selected component (if applicable):
- kernel 3.10.0-1062.9.1.el7.x86_64

How reproducible:
- appears randomly at boot

Steps to Reproduce:
1. Boot the system
2.
3.

Actual results:


Expected results:


Additional info:
[root@localhost~]# uname -r 
3.10.0-1062.9.1.el7.x86_64
[root@localhost ~]# dmidecode -t 1
# dmidecode 3.21, 27 bytes
System Information
        Manufacturer: VMware, Inc.
        Product Name: VMware Virtual Platform
        Version: None
        Serial Number: VMware-42 37 33 8e c5 82 b6 a0-e8 98 e4 c8 f6 8f 84 f3
        UUID: 4237338e-c582-b6a0-e898-e4c8f68f84f3
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

[root@localhost ~]# lspci | grep SVGA
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
[root@localhost ~]# grep drm_atomic_helper_wait_for_dependencies /var/log/messages
Jan 17 06:17:00 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
Jan 17 06:17:10 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
Jan 17 09:32:20 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
Jan 17 09:32:30 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
[root@localhost ~]#


[root@localhost tmp]# grep drm /var/log/messages
Jan 17 06:16:35 localhost kernel: [drm] DMA map mode: Keeping DMA mappings.
Jan 17 06:16:35 localhost kernel: [drm] Capabilities:
Jan 17 06:16:35 localhost kernel: [drm]   Rect copy.
Jan 17 06:16:35 localhost kernel: [drm]   Cursor.
Jan 17 06:16:35 localhost kernel: [drm]   Cursor bypass.
Jan 17 06:16:35 localhost kernel: [drm]   Cursor bypass 2.
Jan 17 06:16:35 localhost kernel: [drm]   8bit emulation.
Jan 17 06:16:35 localhost kernel: [drm]   Alpha cursor.
Jan 17 06:16:35 localhost kernel: [drm]   Extended Fifo.
Jan 17 06:16:35 localhost kernel: [drm]   Multimon.
Jan 17 06:16:35 localhost kernel: [drm]   Pitchlock.
Jan 17 06:16:35 localhost kernel: [drm]   Irq mask.
Jan 17 06:16:35 localhost kernel: [drm]   Display Topology.
Jan 17 06:16:35 localhost kernel: [drm]   GMR.
Jan 17 06:16:35 localhost kernel: [drm]   Traces.
Jan 17 06:16:35 localhost kernel: [drm]   GMR2.
Jan 17 06:16:35 localhost kernel: [drm]   Screen Object 2.
Jan 17 06:16:35 localhost kernel: [drm]   Command Buffers.
Jan 17 06:16:35 localhost kernel: [drm]   Command Buffers 2.
Jan 17 06:16:35 localhost kernel: [drm]   Guest Backed Resources.
Jan 17 06:16:35 localhost kernel: [drm] Max GMR ids is 64
Jan 17 06:16:35 localhost kernel: [drm] Max number of GMR pages is 65536
Jan 17 06:16:35 localhost kernel: [drm] Max dedicated hypervisor surface memory is 0 kiB
Jan 17 06:16:35 localhost kernel: [drm] Maximum display memory size is 8192 kiB
Jan 17 06:16:35 localhost kernel: [drm] VRAM at 0xe8000000 size is 8192 kiB
Jan 17 06:16:35 localhost kernel: [drm] MMIO at 0xfe000000 size is 256 kiB
Jan 17 06:16:35 localhost kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Jan 17 06:16:35 localhost kernel: [drm] No driver support for vblank timestamp query.
Jan 17 06:16:35 localhost kernel: [drm] Screen Target Display device initialized
Jan 17 06:16:35 localhost kernel: [drm] width 1280
Jan 17 06:16:35 localhost kernel: [drm] height 768
Jan 17 06:16:35 localhost kernel: [drm] bpp 32
Jan 17 06:16:35 localhost kernel: [drm] Fifo max 0x00040000 min 0x00001000 cap 0x0000077f
Jan 17 06:16:35 localhost kernel: [drm] Using command buffers with DMA pool.
Jan 17 06:16:35 localhost kernel: [drm] DX: no.
Jan 17 06:16:35 localhost kernel: [drm] Atomic: yes.
Jan 17 06:16:35 localhost kernel: [drm] SM4_1: no.
Jan 17 06:16:35 localhost kernel: fbcon: svgadrmfb (fb0) is primary device
Jan 17 06:16:35 localhost kernel: [drm] Initialized vmwgfx 2.15.0 20180704 for 0000:00:0f.0 on minor 0
Jan 17 06:17:00 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
Jan 17 06:17:10 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
Jan 17 09:32:20 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
Jan 17 09:32:30 localhost kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
Jan 17 03:58:29 localhost kernel: Command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.9.1.el7.x86_64 root=/dev/mapper/system-root ro crashkernel=256M selinux=0 nodmraid rd.lvm.lv=system/root rd.lvm.lv=system/swap net.ifnames=0 biosdevname=0 drm.debug=0x1bf
Jan 17 03:58:29 localhost kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.9.1.el7.x86_64 root=/dev/mapper/system-root ro crashkernel=256M selinux=0 nodmraid rd.lvm.lv=system/root rd.lvm.lv=system/swap net.ifnames=0 biosdevname=0 drm.debug=0x1bf
Jan 17 09:58:32 localhost kernel: [drm] DMA map mode: Keeping DMA mappings.
Jan 17 09:58:32 localhost kernel: [drm] Capabilities:
Jan 17 09:58:32 localhost kernel: [drm]   Rect copy.
Jan 17 09:58:32 localhost kernel: [drm]   Cursor.
Jan 17 09:58:32 localhost kernel: [drm]   Cursor bypass.
Jan 17 09:58:32 localhost kernel: [drm]   Cursor bypass 2.
Jan 17 09:58:32 localhost kernel: [drm]   8bit emulation.
Jan 17 09:58:32 localhost kernel: [drm]   Alpha cursor.
Jan 17 09:58:32 localhost kernel: [drm]   Extended Fifo.
Jan 17 09:58:32 localhost kernel: [drm]   Multimon.
Jan 17 09:58:32 localhost kernel: [drm]   Pitchlock.
Jan 17 09:58:32 localhost kernel: [drm]   Irq mask.
Jan 17 09:58:32 localhost kernel: [drm]   Display Topology.
Jan 17 09:58:32 localhost kernel: [drm]   GMR.
Jan 17 09:58:32 localhost kernel: [drm]   Traces.
Jan 17 09:58:32 localhost kernel: [drm]   GMR2.
Jan 17 09:58:32 localhost kernel: [drm]   Screen Object 2.
Jan 17 09:58:32 localhost kernel: [drm]   Command Buffers.
Jan 17 09:58:32 localhost kernel: [drm]   Command Buffers 2.
Jan 17 09:58:32 localhost kernel: [drm]   Guest Backed Resources.
Jan 17 09:58:32 localhost kernel: [drm] Max GMR ids is 64
Jan 17 09:58:32 localhost kernel: [drm] Max number of GMR pages is 65536
Jan 17 09:58:32 localhost kernel: [drm] Max dedicated hypervisor surface memory is 0 kiB
Jan 17 09:58:32 localhost kernel: [drm] Maximum display memory size is 8192 kiB
Jan 17 09:58:32 localhost kernel: [drm] VRAM at 0xe8000000 size is 8192 kiB
Jan 17 09:58:32 localhost kernel: [drm] MMIO at 0xfe000000 size is 256 kiB
Jan 17 09:58:32 localhost kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Jan 17 09:58:32 localhost kernel: [drm] No driver support for vblank timestamp query.
Jan 17 09:58:32 localhost kernel: [drm] Screen Target Display device initialized
Jan 17 09:58:32 localhost kernel: [drm] width 1280
Jan 17 09:58:32 localhost kernel: [drm] height 768
Jan 17 09:58:32 localhost kernel: [drm] bpp 32
Jan 17 09:58:32 localhost kernel: [drm] Fifo max 0x00040000 min 0x00001000 cap 0x0000077f
Jan 17 09:58:32 localhost kernel: [drm] Using command buffers with DMA pool.
Jan 17 09:58:32 localhost kernel: [drm] DX: no.
Jan 17 09:58:32 localhost kernel: [drm] Atomic: yes.
Jan 17 09:58:32 localhost kernel: [drm] SM4_1: no.
Jan 17 09:58:32 localhost kernel: fbcon: svgadrmfb (fb0) is primary device
Jan 17 09:58:32 localhost kernel: [drm] Initialized vmwgfx 2.15.0 20180704 for 0000:00:0f.0 on minor 0


Comment 9


Steve Barcomb



2020-06-03 12:18:05 UTC

Hey Joe,
Can you validate if the customer is seeing impact from this or if the issue is just that we are logging the error?  Does the customer have any RHEL8 systems that are also seeing this error as well?

-Steve


Comment 12


Steve Barcomb



2020-06-15 20:18:40 UTC

When Red Hat shipped 7.7 on Aug 6, 2019 Red Hat Enterprise Linux 7 entered Maintenance Support 1 Phase.

    https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_1_Phase

That means only "Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released". This BZ does not appear to meet Maintenance Support 1 Phase criteria so is being closed WONTFIX. If this is critical for your environment please open a case in the Red Hat Customer Portal, https://access.redhat.com, provide a thorough business justification and ask that the BZ be re-opened for consideration in the next minor release.


Comment 33


Paul B. Henson



2020-11-02 19:36:42 UTC

I'm seeing this on an RHEL 8 box:

Linux ldap-dev-vmc-02 4.18.0-193.19.1.el8_2.x86_64 #1 SMP Mon Sep 14 14:37:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Nov  1 20:30:28 ldap-dev-vmc-02 kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
Nov  1 20:30:38 ldap-dev-vmc-02 kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
Nov  2 08:14:32 ldap-dev-vmc-02 kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
Nov  2 08:14:42 ldap-dev-vmc-02 kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out


Comment 36


Jeremiah Buckley



2020-11-17 20:25:47 UTC

Hi, this is a repeat of what is posted on 1884401 (RHEL 8 version of this bug) but, IHAC who is also interested in these 3 questions, please ignore if you already noticed these questions on 1884401. Don't mean to pester, I just don't know how info flows on these tickets, so want to be sure it gets to the right people:

1. Also, what is the cause of the bug?

2. What is the impact of the bug?
 
3. Is there any workaround for the bug?


Thanks,


Comment 37


Ryan Stasel



2020-11-18 16:27:31 UTC

I cannot see bug 1884401. 

I see this only on about half of my RHEL8 installs. Seems to occur after boot (I'll go to login to the console and see the screen full of these messages). dmesg also fills with them.


Comment 38


Dave Airlie



2020-11-23 00:16:18 UTC

(In reply to Jeremiah Buckley from comment #36)
> Hi, this is a repeat of what is posted on 1884401 (RHEL 8 version of this
> bug) but, IHAC who is also interested in these 3 questions, please ignore if
> you already noticed these questions on 1884401. Don't mean to pester, I just
> don't know how info flows on these tickets, so want to be sure it gets to
> the right people:
> 
> 1. Also, what is the cause of the bug?

The cause is likely the hypervisor being under load and not scheduling some guest work in a fast enough time. This could be because the guest is generating a lot of dmesg traffic (a guess), or a lot of X.org/desktop rendering, or because the host is overloaded with other VMs.

> 
> 2. What is the impact of the bug?

In theory none, we miss a flip, another will happen later.

>  
> 3. Is there any workaround for the bug?

There isn't really a bug in the guest, it just reports some info, maybe we should just drop the severity of this to a warning so people stop flagging it as the canary for the hypervisor being overloaded.

Dave.


Comment 39


Ryan Stasel



2020-11-23 00:45:10 UTC

(In reply to Dave Airlie from comment #38)

> > 1. Also, what is the cause of the bug?
> 
> The cause is likely the hypervisor being under load and not scheduling some
> guest work in a fast enough time. This could be because the guest is
> generating a lot of dmesg traffic (a guess), or a lot of X.org/desktop
> rendering, or because the host is overloaded with other VMs.

I see this in headless non-X running rhel8 installs. I don't see a ton of rapid dmesg traffic (just a lot when I look after months of uptime and dmesg is full of nothing but these errors). Our vmware infrastructure isn't overloaded. I suppose it could be the hypervisor being slow, but I see no evidence of that in any of our monitoring. The hosts are not heavily loaded, nor is the storage. 


> There isn't really a bug in the guest, it just reports some info, maybe we
> should just drop the severity of this to a warning so people stop flagging
> it as the canary for the hypervisor being overloaded.

I have only seen this issue with rhel8, I have run rhel6.x and 7.x in identical environments and not seen this issue. I mainly care because it fills up dmesg and console with messages and makes it difficult to see other important messages. 

Thanks.


Comment 41


Jeremiah Buckley



2020-11-24 17:57:28 UTC

Dave, thanks for the detail. Can you explain more about Flips? If you try googling for VMWare and Flips, well... it's just one of those garbage searches that return 1000 different ways that vmware and flip can be used in a sentence. We have clients who might be able to think up reproduction steps if they new more about what the flip timeout really was involved with.


Comment 45


John Savanyo



2020-12-02 19:03:37 UTC

VMware internal PR on this item is 2685159


Comment 46


Kodiak Firesmith



2020-12-04 11:03:51 UTC

FYSA this appears to happen on fully headless VMWare guests at random.  In my case right now it's CentOS8 but the same behavior.  vSphere environment is not under much load at all.  I'm guessing our RHEL 8 hosts are doing this as well.  Never saw this with RHEL 7 guests.

So essentially, +1


Comment 51


Bob Knau



2021-02-11 21:10:33 UTC

I am at 7.8 and saw for the first time.   The virtual guest was having a VMWare snapshot creation and then messages appeared 16 seconds later.  From 2:05:04-2:05:38 the machine pauses to get snapshot as seem in vmstat output, the run queue is then stacked with everyone that built up when it returns.  Did not noticed any issues caused by the messages. -bk

Feb 11 02:05:54 XXXXXXXXX kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
Feb 11 02:06:04 XXXXXXXXX kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out

procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- -----timestamp-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st                 EST
 3  0  30464 1976088 1883376 21966432    0    0     0   940 7394 5370 59 23 17  1  0 2021-02-11 02:05:01
10  0  30464 1974680 1883388 21966608    0    0     0  1444 7548 6682 58 31 11  0  0 2021-02-11 02:05:02
12  0  30464 1967312 1883404 21966856    0    0   124   624 7820 8585 61 39  0  0  0 2021-02-11 02:05:03
15  0  30464 1954472 1883428 21967324    0    0   408  2708 7709 6555 58 41  0  0  0 2021-02-11 02:05:04
315  0  30464 1958988 1883476 21967244    0    0     0 13615 2901 2462  2  1 97  0  0 2021-02-11 02:05:38
 6  2  30464 1927740 1883556 21967504    0    0   428    40 5073 3674 55 24 12  9  0 2021-02-11 02:05:39
 7  2  30464 1936796 1883556 21967540    0    0     0   264 7546 13297 61 36  2  1  0 2021-02-11 02:05:40
 3  2  30464 1943736 1883556 21967388    0    0     0   232 7339 7391 58 31  7  4  0 2021-02-11 02:05:41
 9  1  30464 1929884 1883568 21968000    0    0    12   428 7308 7828 59 28  6  7  0 2021-02-11 02:05:42
 5  1  30464 1937560 1883572 21968520    0    0   292  1548 12799 15582 61 37  2  0  0 2021-02-11 02:05:43
 5  1  30464 1943216 1883580 21969028    0    0     0   284 4979 2488 62 23  2 14  0 2021-02-11 02:05:44
 8  1  30464 1924208 1883584 21969364    0    0     0   952 11855 11897 72 28  1  0  0 2021-02-11 02:05:45
 7  2  30464 1917876 1883616 21969668    0    0     0  1292 10167 9422 66 31  2  1  0 2021-02-11 02:05:46
11  0  30464 1910088 1883652 21970656    0    0    44  1348 14506 16712 65 31  2  2  0 2021-02-11 02:05:47
 7  1  30464 1910932 1883656 21972752    0    0   324  3724 21830 32997 66 31  3  1  0 2021-02-11 02:05:48
10  1  30464 1906400 1883664 21974252    0    0     0  1704 22597 31639 63 34  2  0  0 2021-02-11 02:05:49
 5  1  30464 1911660 1883668 21974920    0    0    16   820 13614 16947 65 33  2  1  0 2021-02-11 02:05:50
 9  1  30464 1921912 1883696 21975824    0    0    12  1316 13320 16221 66 31  2  1  0 2021-02-11 02:05:51
11  1  30464 1931288 1883712 21977056    0    0     4  2148 14122 18808 66 32  1  1  0 2021-02-11 02:05:52
 7  1  30464 1922904 1883724 21978768    0    0     8  2316 20088 31175 64 33  2  1  0 2021-02-11 02:05:53
 6  1  30464 1920372 1883744 21980252    0    0     0  2084 17414 26949 65 31  4  0  0 2021-02-11 02:05:54
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- -----timestamp-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st                 EST
10  1  30464 1914660 1883744 21982052    0    0     0  1700 17415 24349 68 28  3  1  0 2021-02-11 02:05:55
 4  1  30464 1922244 1883768 21983600    0    0    20  2652 20243 29836 65 28  6  1  0 2021-02-11 02:05:56
 4  1  30464 1914044 1883784 21984588    0    0     0  1424 12525 16037 59 26  9  6  0 2021-02-11 02:05:57
 5  1  30464 1907492 1883796 21986180    0    0     4  7232 18841 24495 59 24 11  6  0 2021-02-11 02:05:58
 6  0  30464 1911812 1883804 21988116    0    0     0  2844 21422 29487 56 25 14  4  0 2021-02-11 02:05:59
11  1  30464 1905572 1883812 21990836    0    0    32  2060 16826 21911 61 28  8  2  0 2021-02-11 02:06:00


Comment 56


Zack Rusin



2021-03-31 02:17:48 UTC

Yes, thank you. I'll get this upstreamed as a module parameter for the next major kernel release. I'll update this bug once it's been merged.


Comment 57


henson



2021-03-31 02:32:53 UTC

bug 1884401 is private. Could somebody copy the referenced patches into this one?


Comment 58


Michel Dänzer



2021-03-31 10:38:08 UTC

(In reply to Zack Rusin from comment #56)
> I'll get this upstreamed as a module parameter for the next major kernel release.

A module parameter which disables so much functionality seems like a pretty big hammer?


Comment 59


Luca Maranzano



2021-04-08 16:36:59 UTC

Hello all,

I'm getting these kind of messages also on Ubuntu 18.04 and 20.04 (Kernel 5.4) running on vSphere 6.7 with latest patches.
It seems strictly related to the vSphere version, since I've the same guest OS on less recent version of vSphere and the message does not appear.

It does NOT seem to have impact on the VMs for the moment.

In my opinion it can be related to the "vmwgfx" driver provided by vmware tools.

For the moment, for servers environment, my workaround is to boot the VM with these parameters:

GRUB_CMDLINE_LINUX_DEFAULT="vga=normal nomodeset"

I think we'll open a SR to VMware.

Regards
Luca


Comment 60


Zack Rusin



2021-04-27 22:18:11 UTC

(In reply to Michel Dänzer from comment #58)
> (In reply to Zack Rusin from comment #56)
> > I'll get this upstreamed as a module parameter for the next major kernel release.
> 
> A module parameter which disables so much functionality seems like a pretty
> big hammer?

This entire patch is basically cut down version of a feature we'll be adding in the next release, so it will basically endup as a five line patch once the other stuff lands. It's big here because I had to extract all the support code from the other features without exposing them.


Comment 61


Michel Dänzer



2021-04-28 13:57:53 UTC

(In reply to Zack Rusin from comment #60)
> This entire patch is basically cut down version of a feature we'll be adding
> in the next release, so it will basically endup as a five line patch once
> the other stuff lands. It's big here because I had to extract all the
> support code from the other features without exposing them.

FWIW, my concern isn't that the patch attached to bug 1884401 was big (it really wasn't), but that AFAICT it disabled 3D acceleration and related features in guests (SVGA_CAP_3D, SVGA_CAP_SCREEN_OBJECT_2 and SVGA_CAP_GBOBJECTS).

(What you wrote above sounds very different from that, which makes me wonder if you're referring to another patch I haven't seen yet :)

Also, a module parameter which needs to be set to avoid bad behaviour isn't ideal, there should be no bad behaviour by default.


Comment 62


Zack Rusin



2021-04-28 14:42:30 UTC

(In reply to Michel Dänzer from comment #61)
> (In reply to Zack Rusin from comment #60)
> > This entire patch is basically cut down version of a feature we'll be adding
> > in the next release, so it will basically endup as a five line patch once
> > the other stuff lands. It's big here because I had to extract all the
> > support code from the other features without exposing them.
> 
> FWIW, my concern isn't that the patch attached to bug 1884401 was big (it
> really wasn't), but that AFAICT it disabled 3D acceleration and related
> features in guests (SVGA_CAP_3D, SVGA_CAP_SCREEN_OBJECT_2 and
> SVGA_CAP_GBOBJECTS).

iirc none of those are used. The guest is running without 3d. We're not disabling anything that's actually used, we're just limiting the guest to the feature set it actually needs. It's heavy handed in the patch because currently we do not have a "pre svga v2 feature set" config.

> (What you wrote above sounds very different from that, which makes me wonder
> if you're referring to another patch I haven't seen yet :)
> 
> Also, a module parameter which needs to be set to avoid bad behaviour isn't
> ideal, there should be no bad behaviour by default.

There's no bad behavior. On configs without 3D support flips might take a bit, missing a frame isn't a problem. We're talking about preventing error messages on those missing flips. Moving the flips to the host isn't changing anything, they still take the same amount of time it's just that they're not blocking in drm preventing the error messages.


Comment 63


Zack Rusin



2021-04-28 14:52:17 UTC

(In reply to Zack Rusin from comment #62)
> (In reply to Michel Dänzer from comment #61)
> > (In reply to Zack Rusin from comment #60)
> > > This entire patch is basically cut down version of a feature we'll be adding
> > > in the next release, so it will basically endup as a five line patch once
> > > the other stuff lands. It's big here because I had to extract all the
> > > support code from the other features without exposing them.
> > 
> > FWIW, my concern isn't that the patch attached to bug 1884401 was big (it
> > really wasn't), but that AFAICT it disabled 3D acceleration and related
> > features in guests (SVGA_CAP_3D, SVGA_CAP_SCREEN_OBJECT_2 and
> > SVGA_CAP_GBOBJECTS).
> 
> iirc none of those are used. The guest is running without 3d. We're not
> disabling anything that's actually used, we're just limiting the guest to
> the feature set it actually needs. It's heavy handed in the patch because
> currently we do not have a "pre svga v2 feature set" config.
> 
> > (What you wrote above sounds very different from that, which makes me wonder
> > if you're referring to another patch I haven't seen yet :)
> > 
> > Also, a module parameter which needs to be set to avoid bad behaviour isn't
> > ideal, there should be no bad behaviour by default.
> 
> There's no bad behavior. On configs without 3D support flips might take a
> bit, missing a frame isn't a problem. We're talking about preventing error
> messages on those missing flips. Moving the flips to the host isn't changing
> anything, they still take the same amount of time it's just that they're not
> blocking in drm preventing the error messages.

Also, just wanted to mention that we are working on asynchronous presentation in the host to fix this properly, we just don't have a timeline for it, so we  want something people can do in the meantime if they don't want those warnings in the log.


Comment 67


Ryan Stasel



2021-07-20 23:05:24 UTC

So, this issue affects RHEL8 as well...


Comment 69


Steve Barcomb



2021-07-21 13:58:25 UTC

For people following this issue the RHEL8 version of this bug is https://bugzilla.redhat.com/show_bug.cgi?id=1884401 .   I am reopening the RHEL7 version of this bug due to the many customer cases attached to this issue.  There is a dialog with the VMWare team to resolve this, though I do not have a current ETA.


Comment 71


Paul B. Henson



2021-07-21 19:07:22 UTC

(In reply to Steve Barcomb from comment #69)
> For people following this issue the RHEL8 version of this bug is
> https://bugzilla.redhat.com/show_bug.cgi?id=1884401 .   I am reopening the
> RHEL7 version of this bug due to the many customer cases attached to this
> issue.  There is a dialog with the VMWare team to resolve this, though I do
> not have a current ETA.

That bugid appears to be marked private? It won't let me see it. I've asked multiple times about the patch to fix this issue without response, so I guess that's private too?


Comment 72


Steve Barcomb



2021-07-21 20:03:22 UTC

Hey Paul,
That bug is marked private because there is customer data contained in the bug.  We obviously do not want to make that public.  I see you have an account, but at quick glance I do not see a support case linked to this bug.  Feel free to open a support case to get better information on the status.  A quick note, there is no submitted patch for this from VMWare yet.


Comment 73


Paul B. Henson



2021-07-22 00:41:02 UTC

I haven't bothered to open a case on it, it's not that critical, and I'm sure it would end up like my open case 02801614, I don't need somebody to tell me every couple of weeks there's no progress :).

Comment 55 mentions a patch attached to 1884401 (which I can't see) submitted by Zack Rusin who appears to work for vmware? I've asked multiple times if it could be copied here to the unrestricted bug but nobody has replied. I guess I could indeed open a case to ask for it <sigh>, but it seems better to just post it here so everybody could see it. Unless vmware patches are secret customer information.

Thanks...


Comment 74


Steve Barcomb



2021-07-23 00:35:03 UTC

Hey Paul,
You can find the test kernel package here:  

  http://people.redhat.com/sbarcomb/bz1792515/

Be aware that this package does not resolve the issue, and this information was distributed to our support teams.  It was for gathering diagnostics for VMWare.  Pertinent information from VMWare:

"Patch which removes any guest flip stalls

So far we were unable to reproduce this bug. For anyone who is able to reproduce this bug, it would be wonderful if you could grab the small attached patch and see if it fixes it. It's on top of master but it's small enough that it should apply to basically any vmwgfx version.

The patch removes any possible stalls during flips from the vmwgfx driver."


As of now, Red Hat is still waiting on a final fix from VMWare.


Comment 75


John Savanyo



2021-08-16 21:36:49 UTC

We closed internal VMware PR as won't fix.  We are unable to fix because we can't reproduce in house.


Comment 76


Ryan Stasel



2021-08-16 21:42:05 UTC

(In reply to John Savanyo from comment #75)
> We closed internal VMware PR as won't fix.  We are unable to fix because we
> can't reproduce in house.

I assume any one of us with this issue could provide logs via Skyline, etc.


Comment 79


Zack Rusin



2021-09-08 20:18:41 UTC

For anyone who's able to reproduce this bug, I'd love to see the kernel logs from a system booted with parameter: "drm.debug=0xf" (which can be also enabled via "echo 0xf > /sys/module/drm/parameters/debug" right after boot).

Of course an easy fix the log spamming issue, is to just replace DRM_ERROR's related to flip timeout with DRM_DEBUG_ATOMIC, e.g. for 5.14 kernel that would be:

diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index ff1416cd609a..4c0945881042 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -84,7 +84,7 @@ int drm_crtc_commit_wait(struct drm_crtc_commit *commit)
 	 */
 	ret = wait_for_completion_timeout(&commit->flip_done, timeout);
 	if (!ret) {
-		DRM_ERROR("flip_done timed outn");
+		DRM_DEBUG_ATOMIC("flip_done timed outn");
 		return -ETIMEDOUT;
 	}

diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index 2c0c6ec92820..061689d8b9e0 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -1551,8 +1551,8 @@ void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev,

 		ret = wait_for_completion_timeout(&commit->flip_done, 10 * HZ);
 		if (ret == 0)
-			DRM_ERROR("[CRTC:%d:%s] flip_done timed outn",
-				  crtc->base.id, crtc->name);
+			DRM_DEBUG_ATOMIC("[CRTC:%d:%s] flip_done timed outn",
+					 crtc->base.id, crtc->name);
 	}

 	if (old_state->fake_commit)
@@ -2218,22 +2218,22 @@ void drm_atomic_helper_wait_for_dependencies(struct drm_atomic_state *old_state)
 	for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) {
 		ret = drm_crtc_commit_wait(old_crtc_state->commit);
 		if (ret)
-			DRM_ERROR("[CRTC:%d:%s] commit wait timed outn",
-				  crtc->base.id, crtc->name);
+			DRM_DEBUG_ATOMIC("[CRTC:%d:%s] commit wait timed outn",
+					 crtc->base.id, crtc->name);
 	}

 	for_each_old_connector_in_state(old_state, conn, old_conn_state, i) {
 		ret = drm_crtc_commit_wait(old_conn_state->commit);
 		if (ret)
-			DRM_ERROR("[CONNECTOR:%d:%s] commit wait timed outn",
-				  conn->base.id, conn->name);
+			DRM_DEBUG_ATOMIC("[CONNECTOR:%d:%s] commit wait timed outn",
+					 conn->base.id, conn->name);
 	}

 	for_each_old_plane_in_state(old_state, plane, old_plane_state, i) {
 		ret = drm_crtc_commit_wait(old_plane_state->commit);
 		if (ret)
-			DRM_ERROR("[PLANE:%d:%s] commit wait timed outn",
-				  plane->base.id, plane->name);
+			DRM_DEBUG_ATOMIC("[PLANE:%d:%s] commit wait timed outn",
+					 plane->base.id, plane->name);
 	}
 }
 EXPORT_SYMBOL(drm_atomic_helper_wait_for_dependencies);


Comment 84


Steve Barcomb



2021-09-22 18:40:18 UTC

A quick update on what is happening in the background on these bugs.  We are going to focus on non performance impacting page flip messages in bz 1884401 and 1792515.  Since there are a multitude of symptoms in each of these bugs, these are the three paths customers and Red Hat support should use.

- If you are seeing page flip stalls and are seeing a performance issue on a VMWare hypervisor.  VMWare requests you open an SR with them to review your configuration and performance metrics.

- If you are seeing page flip messages and no performance issues on a VMWare hypervisor.  These BZs are for tracking changes to vmware’s graphics driver to suppress this message. 

- If you are seeing page flip messages and you are not using a VMWare hypervisor, please open a Red Hat support case and request that they open a new bug for your specific graphics card.


Comment 85


Ryan Stasel



2021-09-22 20:02:16 UTC

@sbarcomb Thanks for the update. Is there any way to make a "public" bz for case 2. The first one you listed is locked due to customer info in there. Or are we just going to focus on THIS bz for this?


Comment 86


Steve Barcomb



2021-09-23 15:38:01 UTC

Hey Ryan,
I asked about making that bug public, however some of the bug content prevents us from making it publicly accessible.  What I will offer to everyone watching this bug who needs information on the RHEL8 bug is to email me directly at sbarcomb.  I can tell everyone that I made the exact same public update in bz 1884401 yesterday and the only difference of substance was the test build that was provided earlier (and again not the final fix).  I know that's not exactly ideal, but hopefully folks will be content working directly with me to get an update if they do not have an open support case.


Comment 90


Morten Stevens



2021-10-26 10:00:59 UTC

(In reply to Zack Rusin from comment #79)
> For anyone who's able to reproduce this bug, I'd love to see the kernel logs
> from a system booted with parameter: "drm.debug=0xf" (which can be also
> enabled via "echo 0xf > /sys/module/drm/parameters/debug" right after boot).

VMware vSphere 7.0 U3 + updates
Kernel: 4.18.0-305.19.1.el8_4.x86_64

dmesg:

[ 9470.440148] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[ 9480.680039] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[19817.456782] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[19827.696869] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[121847.366905] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[121857.606922] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[124657.225265] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[124667.465252] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[152521.824848] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[152532.064752] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[178068.086370] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[178078.326359] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[192274.562421] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[192284.802409] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out

echo 0xf > /sys/module/drm/parameters/debug

[204483.478696] [drm:drm_mode_object_get [drm]] OBJ ID: 74 (2)
[204483.478729] [drm:drm_mode_object_get [drm]] OBJ ID: 75 (1)
[204483.478757] [drm:drm_mode_object_get [drm]] OBJ ID: 76 (1)
[204483.478816] vmwgfx 0000:00:0f.0: [drm:drm_calc_timestamping_constants [drm]] crtc 38: hwmode: htotal 0, vtotal 0, vdisplay 0
[204483.478845] vmwgfx 0000:00:0f.0: [drm:drm_calc_timestamping_constants [drm]] crtc 38: clock 64662 kHz framedur 0 linedur 0
[204483.478940] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 76 (2)
[204483.478969] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 75 (2)
[204483.478996] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 74 (3)
[204483.479021] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 77 (1)
[204483.686722] [drm:drm_mode_object_get [drm]] OBJ ID: 74 (2)
[204483.686770] [drm:drm_mode_object_get [drm]] OBJ ID: 75 (1)
[204483.686798] [drm:drm_mode_object_get [drm]] OBJ ID: 77 (1)
[204483.686852] vmwgfx 0000:00:0f.0: [drm:drm_calc_timestamping_constants [drm]] crtc 38: hwmode: htotal 0, vtotal 0, vdisplay 0
[204483.686881] vmwgfx 0000:00:0f.0: [drm:drm_calc_timestamping_constants [drm]] crtc 38: clock 64662 kHz framedur 0 linedur 0
[204483.686978] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 77 (2)
[204483.687005] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 75 (2)
[204483.687031] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 74 (3)
[204483.687056] [drm:drm_mode_object_put.part.4 [drm]] OBJ ID: 76 (1)

This issue is also reproducible with Fedora and the latest 5.14.x kernel.


Comment 94


Zack Rusin



2022-04-27 19:24:01 UTC

Morten, thanks for the update. I don't see the errors in the logs with "echo 0xf > /sys/module/drm/parameters/debug". Those logs will be noisy but they need to contain the error in order to get any extra info out of them. Is this during suspend and are there any issues apart from the message in the log? We don't seem to have a way to reproduce this problem. If there's no other issue apart from the message, it's harmless. Michel doesn't think guarding that message under one of the DRM debug flags is an option, so unfortunately all the bugs without any issues apart from the message itself will have to be closed as "won't fix". Please feel free to reopen if there's any issue that seems to be associated with those messages.

Я просто установил 16.04 на моем MacBook Air, и все, кажется, работает хорошо, кроме начальной загрузки системы. Я проходил dmesg— зарегистрируйтесь и узнанный это drm_kms_helper— ошибки неоднократно происходят, и занимает много времени каждый. Точная ошибка похожа на это:

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

CRTC— значение и pipe— значение варьируется, но иначе все ошибки идентичны.

Что это означает и как я фиксирую его? Если это не может быть зафиксировано, как я препятствую тому, чтобы он использовал так много времени при начальной загрузке?

задан
9 July 2018 в 23:42

поделиться

2 ответа

Это — ошибка. Для предотвращения задержки, можно использовать обходное решение. От выполненного терминала:

  1. sudo nano /etc/default/grub

Затем добавляют параметр начальной загрузки ядра: video=SVIDEO-1:d, таким образом, это будет похоже на это: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d"

  1. sudo update-grub
  2. sudo reboot

ответ дан TheOdd
23 November 2019 в 01:12

поделиться

У меня есть все еще эта проблема после добавления video=SVIDEO-1:d для расчистки как описанный выше.

Но я нашел эту запись (https://bugs.archlinux.org/task/51703) с этим комментарием:

Комментарий Luis Bourgard (unnilquadium) — пятница, 26 января 2018, 19:08 GMT, Все еще существующий в 4.14.14, Это только происходит с xf86-video-intel установленным пакетом (работа ноутбука с Intel интегрировала графику на i5-2410m). Удаление того пакета устраняет проблему, но это также представляет некоторый экранный разрыв.

Я удалил пакет с sudo Кв. — добираются, удаляют xserver-xorg-video-intel. Возможно, это работает на нас.

ответ дан Miro Justice
23 November 2019 в 01:12

поделиться

Другие вопросы по тегам:

Похожие вопросы:

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Drm error cpu pipe a fifo underrun
  • Driving stability bmw e60 ошибка
  • Driving model error хово
  • Drivesafe 2 ошибка e01
  • Drives files error detected some files might be corrupted battlefield 5

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии