Atomic update failure on pipe A

Hi,

My problem with drm.
In dmesg appear one error with drm.

dmesg -l err

[    0.684836] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e7(Transmitter ID)
[    0.684880] pcieport 0000:00:1c.7:   device [8086:9d17] error status/mask=00001000/00002000
[    0.684913] pcieport 0000:00:1c.7:    [12] Replay Timer Timeout   
[    2.226131] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x201] vs fed40080 f80
[    2.227348] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x201] vs fed40080 f80
[15530.493116] snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x201f0500

[28000.027612] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=48825 end=48826) time 139 us, min 1073, max 1079, scanline start 1071, end 1080

Use environment:
Intel NUC NUC7i5BNH
nix-env --version
nix-env (Nix) 2.1.3
4.14.98 #1-NixOS SMP Wed Feb 6 16:31:37 UTC 2019 x86_64 GNU/Linux
system.stateVersion = "18.09";
KDE Desktop

lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               142
Model name:          Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
Stepping:            9
CPU MHz:             3399.887
CPU max MHz:         3400.0000
CPU min MHz:         400.0000
BogoMIPS:            4416.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            4096K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nons
top_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fau
lt epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_wi
ndow hwp_epp

lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Device 5926 (rev 06)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1c.7 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #8 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
3a:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)

I’m not sure what exactly what the issue is, sorry to be a bit annoying in this next sentence: there was no clear question asked or issue presented.

Though, from looking quickly, it looks like you may be having issues starting the graphical environment.

If so, I have hopes the issue might be resolved in a newer kernel. NixOS defaults to using the latest stable LTS kernel, but sometimes for relatively or really new hardware, it causes issues. Seeing it’s an ix-7xxx series CPU makes me think it could help.

To use the latest kernel, add this to your configuration.nix.

{/*...*/}:
{
  # [...]
  # Use the latest kernel for better hardware support.
  boot.kernelPackages = pkgs.linuxPackages_latest;
  # [...]
}
1 Like