kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A/B/C

Bug #1806242 reported by Berat Postalci
84
This bug affects 23 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
xorg-server (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have this error and arbitrary freezes on the system

My System:

Hardware:
Processor: Intel Core i7-8750H @ 4.10GHz (12 Cores), Motherboard: Dell 0M2MWX, Chipset: Intel Device a36f, Memory: 16384MB, Disk: 1000GB Seagate ST1000LM035-1RK1 + 256GB TOSHIBA KSG60ZMV, Graphics: Intel Device 3e9b, Audio: Realtek ALC3246, Monitor: DELL P2016, Network: Qualcomm Atheros Killer E2400 Gigabit + Intel Device a370

Software:
OS: Ubuntu 18.04, Kernel: 4.15.0-39-generic (x86_64), Desktop: Xfce 4.12, Display Driver: modesetting 1.19.6, OpenGL: 4.5 Mesa 18.0.5, File-System: ext4, Screen Resolution: 1920x1980

dmesg output:

Dec 2 16:00:22 G5 kernel: [ 2027.018608] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=15726 end=15727) time 1024 us, min 894, max 899, scanline start 845, end 903
Dec 2 16:08:50 G5 kernel: [ 2534.448063] ACPI Error: [LCD_] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364)
Dec 2 16:08:50 G5 kernel: [ 2534.448071] No Local Variables are initialized for Method [BRT6]
Dec 2 16:08:50 G5 kernel: [ 2534.448072] Initialized Arguments for Method [BRT6]: (2 arguments defined for method invocation)
Dec 2 16:08:50 G5 kernel: [ 2534.448073] Arg0: 00000000a83faa08 <Obj> Integer 0000000000000001
Dec 2 16:08:50 G5 kernel: [ 2534.448076] Arg1: 0000000035246c42 <Obj> Integer 0000000000000000
Dec 2 16:08:50 G5 kernel: [ 2534.448079] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0.PEGP.BRT6, AE_NOT_FOUND (20170831/psparse-550)
Dec 2 16:08:50 G5 kernel: [ 2534.448145] ACPI Error: Method parse/execution failed \EV5, AE_NOT_FOUND (20170831/psparse-550)
Dec 2 16:08:50 G5 kernel: [ 2534.448206] ACPI Error: Method parse/execution failed \SMEE, AE_NOT_FOUND (20170831/psparse-550)
Dec 2 16:08:50 G5 kernel: [ 2534.448268] ACPI Error: Method parse/execution failed \SMIE, AE_NOT_FOUND (20170831/psparse-550)
Dec 2 16:08:50 G5 kernel: [ 2534.448332] ACPI Error: Method parse/execution failed \NEVT, AE_NOT_FOUND (20170831/psparse-550)
Dec 2 16:08:50 G5 kernel: [ 2534.448394] ACPI Error: Method parse/execution failed \_SB.PCI0.LPCB.ECDV._Q66, AE_NOT_FOUND (20170831/psparse-550)
Dec 2 16:14:41 G5 kernel: [ 2885.660715] acpi INT3400:00: Unsupported event [0x86]
Dec 2 16:14:45 G5 kernel: [ 2889.787584] acpi INT3400:00: Unsupported event [0x86]
Dec 2 16:20:32 G5 kernel: [ 3237.026638] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=88190 end=88191) time 1687 us, min 894, max 899, scanline start 864, end 14
Dec 2 16:22:20 G5 kernel: [ 3344.842212] wlp0s20f3: AP 90:ef:68:2c:31:9b changed bandwidth, new config is 2432 MHz, width 2 (2422/0 MHz)
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: instantcrush 1622 F.... pulseaudio
CurrentDesktop: XFCE
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-11-28 (4 days ago)
InstallationMedia: Xubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: Dell Inc. G5 5587
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-39-generic root=UUID=0017db25-edad-4311-bca6-171f2624432e ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-39-generic N/A
 linux-backports-modules-4.15.0-39-generic N/A
 linux-firmware 1.173.2
Tags: bionic
Uname: Linux 4.15.0-39-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/01/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.6.1
dmi.board.name: 0M2MWX
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.6.1:bd11/01/2018:svnDellInc.:pnG55587:pvr:rvnDellInc.:rn0M2MWX:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: GSeries
dmi.product.name: G5 5587
dmi.sys.vendor: Dell Inc.

description: updated
affects: xorg (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1806242

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: bionic
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Berat Postalci (beratpostalci) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Berat Postalci (beratpostalci) wrote : CRDA.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : IwConfig.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : Lspci.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : Lsusb.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : ProcEnviron.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : ProcModules.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : PulseList.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : RfKill.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : UdevDb.txt

apport information

Revision history for this message
Berat Postalci (beratpostalci) wrote : WifiSyslog.txt

apport information

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe ...

As far as I know, for the moment at least, this bug affects Xorg but might not affect Wayland Gnome sessions. Can anyone confirm that?

summary: kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure
- on pipe B
+ on pipe ...
tags: added: disco
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

From memory, only Xorg's modesetting_drv uses atomic modesetting, but I don't think mutter/Gnome's Wayland backend does.

summary: kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure
- on pipe ...
+ on pipe A/B/C
Revision history for this message
Alexei Koltsov (akoltov) wrote :

Could you let me know when would this be fixed? I understand it needs to be prioritized and scheduled, developed, released, etc. My only laptop is using this distro and unfortunately I can't stand this screen flickering. I can try another distro and come back when this is resolved. Would this bug only affect Ubuntu?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's difficult because it seems only certain laptop models will be affected very often. And while no developers are affected by the bug then it's unlikely to get fixed. Because nobody with the ability to fix the bug has the hardware to reproduce the bug.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears Intel knows Xorg is broken and is disabling atomic mode:

  https://gitlab.freedesktop.org/xorg/xserver/merge_requests/180

That might also fix this bug.

Revision history for this message
gst (g-starck) wrote :

have same error:

[drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A
[drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B
[drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe C

and system freezes also quite frequently these last days..

how could I help ? or what could I try to workaround ? it's more and more frequent on my system.

ubuntu desktop 18.04 - kernel 4.15 or 5.0 same result. ThinkPad T580.

Revision history for this message
gst (g-starck) wrote :

sorry correction ThinkPad T590 is the faulty system (I have another T580 that I use too).

tags: added: ubuntu
Revision history for this message
gst (g-starck) wrote : apport information

ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gregory.starck 4026 F.... pulseaudio
 /dev/snd/controlC1: gregory.starck 4026 F.... pulseaudio
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
DistUpgraded: Fresh install
DistroCodename: bionic
DistroRelease: Ubuntu 18.04
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Device [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:2279]
InstallationDate: Installed on 2019-07-30 (131 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: LENOVO 20N4CTO1WW
Package: xorg-server (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-37-generic root=UUID=b08d0197-709f-4706-bc47-d9678c90d2b3 ro quiet splash pci=nomsi vt.handoff=1
ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-37-generic N/A
 linux-backports-modules-5.0.0-37-generic N/A
 linux-firmware 1.173.12
Tags: bionic ubuntu
Uname: Linux 5.0.0-37-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm docker sudo
_MarkForUpload: True
dmi.bios.date: 11/26/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: N2IET80W (1.58 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20N4CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: 0B98417 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN2IET80W(1.58):bd11/26/2019:svnLENOVO:pn20N4CTO1WW:pvrThinkPadT590:rvnLENOVO:rn20N4CTO1WW:rvr0B98417WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T590
dmi.product.name: 20N4CTO1WW
dmi.product.sku: LENOVO_MT_20N4_BU_Think_FM_ThinkPad T590
dmi.product.version: ThinkPad T590
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.97-1ubuntu1~18.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 19.0.8-0ubuntu0~18.04.3
version.libgl1-mesa-glx: libgl1-mesa-glx 19.0.8-0ubuntu0~18.04.3
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
gst (g-starck) wrote : AlsaInfo.txt

apport information

Revision history for this message
gst (g-starck) wrote : CRDA.txt

apport information

Revision history for this message
gst (g-starck) wrote : CurrentDmesg.txt

apport information

Revision history for this message
gst (g-starck) wrote : DkmsStatus.txt

apport information

Revision history for this message
gst (g-starck) wrote : DpkgLog.txt

apport information

Revision history for this message
gst (g-starck) wrote : IwConfig.txt

apport information

Revision history for this message
gst (g-starck) wrote : Lspci.txt

apport information

Revision history for this message
gst (g-starck) wrote : Lsusb.txt

apport information

Revision history for this message
gst (g-starck) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
gst (g-starck) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
gst (g-starck) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
gst (g-starck) wrote : ProcEnviron.txt

apport information

Revision history for this message
gst (g-starck) wrote : ProcInterrupts.txt

apport information

Revision history for this message
gst (g-starck) wrote : ProcModules.txt

apport information

Revision history for this message
gst (g-starck) wrote : PulseList.txt

apport information

Revision history for this message
gst (g-starck) wrote : RfKill.txt

apport information

Revision history for this message
gst (g-starck) wrote : UdevDb.txt

apport information

Revision history for this message
gst (g-starck) wrote : WifiSyslog.txt

apport information

Revision history for this message
gst (g-starck) wrote : XorgLog.txt

apport information

Revision history for this message
gst (g-starck) wrote : XorgLogOld.txt

apport information

Revision history for this message
gst (g-starck) wrote : Xrandr.txt

apport information

Revision history for this message
gst (g-starck) wrote : xdpyinfo.txt

apport information

Revision history for this message
Carcalac (carcalacus) wrote :

i have the same issue on ubuntu 19.10

Apr 3 22:43:21 HP-15-cs3xxx kernel: [ 8867.271966] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=532823 end=532824) time 143 us, min 1073, max 1079, scanline start 1072, end 1081

cat /etc/modprobe.d/i915.conf

options i915 enable_psr=0
options i915 enable_guc=2

5.3.0-45-generic

followed by one of the eight cores going crazy ~100% usage and i have to reboot because the system becomes slow..

Revision history for this message
Paul White (paulw2u) wrote (last edit ):

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. This bug (and its duplicates) were reported some time ago and there have been many changes in Ubuntu since that time. It seems that only releases of Ubuntu that are no longer supported are referred to:

Ubuntu 19.10 (eoan) reached end-of-life on July 17, 2020.
Ubuntu 18.04 (bionic) reached end-of-standard-support on May 31, 2023.

Does anyone still see the reported problem while using a currently supported version of Ubuntu? Please let us know if you do and with which one(s) otherwise this report can be left to expire in approximately 60 days time.

Thank you for helping make Ubuntu better.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I still get this error in Ubuntu Lunar, with kernel 6.2.0-35-generic.

Sample:
$ sudo dmesg -T|grep Atomic
[qua nov 1 05:52:03 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=78023 end=78024) time 305 us, min 1783, max 1799, scanline start 1753, end 1804
[qua nov 1 06:15:56 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=161109 end=161110) time 209 us, min 1783, max 1799, scanline start 1775, end 1811
[qua nov 1 22:22:34 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=50827 end=50828) time 270 us, min 1783, max 1799, scanline start 1767, end 1812
[qua nov 1 22:32:50 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=90592 end=90593) time 278 us, min 1783, max 1799, scanline start 1768, end 1814
[qua nov 1 22:35:42 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=100359 end=100360) time 168 us, min 1783, max 1799, scanline start 1779, end 1807
[qua nov 1 23:29:19 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=259865 end=259866) time 276 us, min 1783, max 1799, scanline start 1770, end 1817
[qui nov 2 03:54:09 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=317370 end=317371) time 264 us, min 1783, max 1799, scanline start 1756, end 1801
[qui nov 2 03:57:36 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=331393 end=331394) time 279 us, min 1783, max 1799, scanline start 1769, end 1816
[qui nov 2 04:00:05 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe C (start=317726 end=317727) time 255 us, min 2146, max 2159, scanline start 2140, end 2173
[qui nov 2 04:48:44 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe C (start=492825 end=492826) time 272 us, min 2146, max 2159, scanline start 2123, end 2159

Hardware is a lenovo x1 10th gen, with intel "alderlake gen12" according to intel_gpu_top, and I'm running xorg (not wayland).

Changed in xorg-server (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Eugene San (eugenesan) wrote :

Seems like the bug is back.

It pops up occasionally (one error line every ~2 hours) on Linux 6.5.0-14, 6.6.0-14 and 6.8.0-20.
Appears on both Jammy: Xorg (Mate) and Mantic: Xorg/Wayland (Mate/KDE).
Default kernel cmdline.
On Xorg the graphics is fine, but on Wayland it can a bit "flickery" at times but it's barely noticeable.
Machine is XPS13 9350.

```
kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=582395 end=582396) time 9696 us, min 1073, max 1079, scanline start 733, end 268
```

Please let me know if there is any additional information you need.

P.S.
Not necessarily related, but I also see:
```
kernel: workqueue: engine_retire [i915] hogged CPU for >10000us 8 times, consider switching to WQ_UNBOUND
among others like:
kernel: [130525.417342] workqueue: set_brightness_delayed hogged CPU for >10000us 32 times, consider switching to WQ_UNBOUND
kernel: [153420.843667] workqueue: smp_call_on_cpu_callback hogged CPU for >10000us 2048 times, consider switching to WQ_UNBOUND
kernel: [168386.280902] workqueue: delayed_fput hogged CPU for >10000us 512 times, consider switching to WQ_UNBOUND
kernel: [192582.937788] workqueue: intel_atomic_cleanup_work [i915] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
```
But that might be the scheduler getting confused on this aging and overloaded machine...

To post a comment you must log in.