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

Bug #1755109 reported by dino99
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

oem@ubuntu:~$ journalctl -b | grep intel
kernel: intel_idle: MWAIT substates: 0x142120
kernel: intel_idle: v0.4.1 model 0x5E
kernel: intel_idle: lapic_timer_reliable_states 0xffffffff
kernel: intel_pstate: Intel P-state driver initializing
kernel: intel_pstate: HWP enabled
kernel: fb: switching to inteldrmfb from VESA VGA
kernel: fbcon: inteldrmfb (fb0) is primary device
kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
kernel: intel_rapl: Found RAPL domain package
kernel: intel_rapl: Found RAPL domain core
kernel: intel_rapl: Found RAPL domain uncore
kernel: intel_rapl: Found RAPL domain dram
kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=811480 end=811481) time 154 us, min 1073, max 1079, scanline start 1070, end 1080

************
driver installed: intel-microcode (3.20180108.1+really20171117.1)
note that error was not seen with the used kernel before the last gcc-7 (7.3.0-10) & 8 (8-20180309) upgrades (other changes/upgrades seems unrelated)
https://www.dedoimedo.com/computers/intel-microcode-atomic-update.html

************

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-12-generic 4.15.0-12.13
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Mon Mar 12 09:10:46 2018
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=06a0e343-7443-402b-a607-1fe53f3c1ac3
IwConfig:
 enp2s0 no wireless extensions.

 lo no wireless extensions.
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 046d:c062 Logitech, Inc. M-UAS144 [LS1 Laser Mouse]
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-12-generic root=UUID=2f22752a-ca0f-4cff-b5d7-9754e6154d56 ro plymouth:debug
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-12-generic N/A
 linux-backports-modules-4.15.0-12-generic N/A
 linux-firmware 1.172
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/07/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P7.00
dmi.board.name: B150M-HDV
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP7.00:bd10/07/2016:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB150M-HDV:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
dino99 (9d9) wrote :
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Also seen on Archlinux: https://bbs.archlinux.org/viewtopic.php?id=233230

Per their comment, my output:

oem@ubuntu:~$ cat /sys/module/i915/parameters/enable_psr
cat: /sys/module/i915/parameters/enable_psr: Permission denied
oem@ubuntu:~$ sudo cat /sys/module/i915/parameters/enable_psr
[sudo] password for oem:
0

So returns '0' , but 'cat' usually does not needs 'sudo' . Looks abnormal.

dino99 (9d9)
description: updated
description: updated
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc5

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-da-key
Revision history for this message
dino99 (9d9) wrote :

As said on top of that report, that error is seen for the first time using the latest supported kernel. This same kernel (4.15-7) was not exposing that error until yesterday (check journalctl daily), so might have some relationship with gcc recent changes.
Will install vanilla 4.16-rc5 and comment back.

Revision history for this message
dino99 (9d9) wrote :

Booting with 4.16-rc5, that error is not seen with that vanilla kernel

oem@ubuntu:~$ journalctl -b | grep intel
kernel: intel_idle: MWAIT substates: 0x142120
kernel: intel_idle: v0.4.1 model 0x5E
kernel: intel_idle: lapic_timer_reliable_states 0xffffffff
kernel: intel_pstate: Intel P-state driver initializing
kernel: intel_pstate: HWP enabled
kernel: intel_pmc_core: initialized
kernel: fb: switching to inteldrmfb from VESA VGA
kernel: fbcon: inteldrmfb (fb0) is primary device
kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
kernel: intel_rapl: Found RAPL domain package
kernel: intel_rapl: Found RAPL domain core
kernel: intel_rapl: Found RAPL domain uncore
kernel: intel_rapl: Found RAPL domain dram

Revision history for this message
dino99 (9d9) wrote :

oem@ubuntu:~$ journalctl -b | grep drm
kernel: fb: switching to inteldrmfb from VESA VGA
kernel: [drm] Replacing VGA console driver
kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kernel: [drm] Driver supports precise vblank timestamp query.
kernel: [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
kernel: [drm] Initialized i915 1.6.0 20171222 for 0000:00:02.0 on minor 0
kernel: fbcon: inteldrmfb (fb0) is primary device
kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
/usr/lib/gdm3/gdm-x-session[1371]: (II) xfree86: Adding drm device (/dev/dri/card0)

tags: added: kernel-fixed-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Also tested the vanilla 4.15-9 : no trouble here too

Then reloaded the ubuntu 4.15.0.12 : again no more issue. Looks like the new gcc upgrade has resolved some problem.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
PabloAB (pabloab777) wrote :

Sill having this issue. Sorry, which version of gcc may fix it? Here my case:

journalctl -b | grep "Atomic update failure" | wc -l && gcc --version && inxi -SCG! 31
14
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

System: Kernel: 4.15.0-43-generic x86_64 bits: 64 Desktop: Gnome 3.28.3 Distro: Ubuntu 18.04.1 LTS
CPU: Dual core Intel Core i7-6500U (-MT-MCP-) cache: 4096 KB
           clock speeds: max: 3100 MHz 1: 500 MHz 2: 500 MHz 3: 500 MHz 4: 500 MHz
Graphics: Card-1: Intel HD Graphics 520
           Card-2: NVIDIA GM108M [GeForce 940M]
           Display Server: x11 (X.Org 1.19.6 ) drivers: fbdev (unloaded: modesetting,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) version: 4.5 Mesa 18.0.5

Revision history for this message
ALinuxUser (buntulongername-new) wrote :

I see the error in my logs too, though I have not noticed symptoms.

OS: Linux Mint 19.1 Tessa x86_64
Host: 20KHCTO1WW ThinkPad X1 Carbon 6th
Kernel: 5.1.14-050114-generic
DE: Cinnamon 4.0.10
WM: Mutter (Muffin)
WM Theme: Mint-Y-Dark-trans (Mint-Y-Dark-BB_hack)
Theme: Mint-Y-Dark [GTK2/3]
Icons: Paper [GTK2/3]
Terminal: xfce4-terminal
Terminal Font: InconsolataGo 12
CPU: Intel i7-8550U (8) @ 1.800GHz
GPU: Intel UHD Graphics 620

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.