I noticed that if the laptop is not fully charged, then I'd get no microfreezes. However, if it's fully charged, then if I plug in anything that charges via USB C (charger, or monitor), I'd get the microfreezes.
I just updated to 5.5.6-arch1-1, and the issue seems to be resolved. I'll update if the issue comes back.
]]>1. Here's a jounalctl -b. Since the boot, I unplugged the usb-c charger, and plugged in the usb-c external monitor. A few freezes happened in the meantime. At eachtime, CPU went to 92-100%, and things resumed a few seconds later. Running slack in chrome seems to make it worse, though that could be orthogonal. https://gist.github.com/ashic/6ec4c1960 … f6f581ffbd
2. I'm currently on 5.4.15-arch1-1 . Is there an easy way to try out 5.5?
3. I run on integrated graphics, and have optirun / primusrun kick off required processes on the nvidia. Bumblebee makes it happen, and it's worked fine till a few months ago. (Primusrun still works, the microfreezes are likely orthogonal).
]]>I also have a 5510 - they have Skylake chips and are affected by the recent i915 issue that V1del linked in post #4. Run a 5.5 kernel to avoid those hangs.
You also haven't been clear about how you're disabling the nvidia card.
I mostly run on integrated graphics.
Lastly, please edit your posts to add data if no one else has posted in the meantime instead of double/triple-posting.
]]>[ 1521.723725] audit: type=1110 audit(1580379773.444:129): pid=51802 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit,pam_gnome_keyring acct="ashic" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:1 res=success'
[ 1622.766972] audit: type=1131 audit(1580379874.492:130): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@620 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1622.777100] audit: type=1131 audit(1580379874.502:131): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@620 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1820.373930] audit: type=1130 audit(1580380072.107:132): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1830.614655] audit: type=1131 audit(1580380082.348:133): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2391.931958] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=114179 end=114180) time 131 us, min 2146, max 2159, scanline start 2145, end 2163
[ 2564.041831] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=124505 end=124506) time 91 us, min 2146, max 2159, scanline start 2144, end 2160
[ 2595.678200] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=126403 end=126404) time 129 us, min 2146, max 2159, scanline start 2138, end 2160
[ 2908.202761] perf: interrupt took too long (2925 > 2500), lowering kernel.perf_event_max_sample_rate to 68100
[ 2915.552376] xhci_hcd 0000:3e:00.0: Refused to change power state, currently in D3
[ 2915.628191] xhci_hcd 0000:3e:00.0: Refused to change power state, currently in D3
[ 2915.628246] xhci_hcd 0000:3e:00.0: Controller not ready at resume -19
[ 2915.628252] xhci_hcd 0000:3e:00.0: PCI post-resume error -19!
[ 2915.628269] xhci_hcd 0000:3e:00.0: HC died; cleaning up
[ 2915.628321] xhci_hcd 0000:3e:00.0: remove, state 4
[ 2915.628331] usb usb4: USB disconnect, device number 1
[ 2915.629033] usb 3-1: USB disconnect, device number 2
[ 2915.630267] xhci_hcd 0000:3e:00.0: USB bus 4 deregistered
[ 2915.630282] xhci_hcd 0000:3e:00.0: remove, state 4
[ 2915.630303] usb usb3: USB disconnect, device number 1
[ 2915.631072] xhci_hcd 0000:3e:00.0: Host halt failed, -19
[ 2915.631078] xhci_hcd 0000:3e:00.0: Host not accessible, reset failed.
[ 2915.631540] xhci_hcd 0000:3e:00.0: USB bus 3 deregistered
[ 2915.649881] pci_bus 0000:07: Allocating resources
[ 2915.649928] pcieport 0000:07:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3e] add_size 200000 add_align 100000
[ 2915.649967] pcieport 0000:07:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[ 2915.649973] pcieport 0000:07:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 2915.649987] pcieport 0000:07:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[ 2915.650005] pcieport 0000:07:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 2915.849112] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPCB.HEC.CHRG], AE_NOT_FOUND (20190816/psargs-330)
[ 2915.849156] ACPI Error: Aborting method \PNOT due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
[ 2915.849580] ACPI Error: Aborting method \_SB.AC._PSR due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
[ 2915.850652] ACPI Error: AE_NOT_FOUND, Error reading AC Adapter state (20190816/ac-115)
[ 2920.600050] pcieport 0000:07:00.0: Refused to change power state, currently in D3
[ 2920.602444] pci_bus 0000:08: busn_res: [bus 08] is released
[ 2920.602573] pci_bus 0000:09: busn_res: [bus 09-3d] is released
[ 2920.602686] pci_bus 0000:3e: busn_res: [bus 3e] is released
[ 2920.604240] pci_bus 0000:07: busn_res: [bus 07-3e] is released
(Note, I'd unplugged the USB C monitor).
]]>1 17 12 0 0| 0 0 | 170k 305B|4.0 0 30|2004M 28.2G 156M 1806M| 0 0 | 0 15G| |avahi-daemon 9.6
70 21 9 0 0| 0 1664k| 124k 0 |7.0 0 15|1999M 28.2G 156M 1802M| 0 0 | 0 15G|chrome 0 764k|avahi-daemon 18
76 23 1 0 0| 0 0 | 159k 688B| 20 0 24|1997M 28.2G 156M 1799M| 0 0 | 0 15G| |avahi-daemon 22
78 22 0 0 0| 0 0 | 134k 737B| 11 0 25|2033M 28.2G 156M 1835M| 0 0 | 0 15G| |avahi-daemon 14 missed 2 ticks
78 12 10 0 0| 0 0 | 20k 0 |4.0 0 5.0|2034M 28.2G 156M 1836M| 0 0 | 0 15G| |avahi-daemon 5.6
69 13 18 0 0| 0 112k| 80k 328B|4.0 0 30|2032M 28.2G 156M 1831M| 0 0 | 0 15G|chrome 0 80k|avahi-daemon 14
54 11 35 0 0| 0 1264k| 94k 305B|2.0 0 15|2028M 28.2G 156M 1831M| 0 0 | 0 15G|chrome 0 40k|avahi-daemon 9.0
61 21 18 0 0| 72k 4008k| 104k 2398B|4.0 0 41|1496M 28.7G 156M 1725M| 0 0 | 0 15G|chrome 16M 0 |chrome 18
51 11 37 1 0| 128k 4272k| 109k 2936B|1.0 0 34|1138M 29.0G 156M 1527M| 0 0 | 0 15G| |avahi-daemon 11
41 10 49 0 0| 0 0 | 89k 0 |1.0 0 34|1244M 28.9G 156M 1631M| 0 0 | 0 15G| |avahi-daemon 12
32 5 63 0 0| 0 0 | 154k 0 |1.0 0 31|1212M 29.0G 156M 1599M| 0 0 | 0 15G| |avahi-daemon 10
30 4 67 0 0| 160k 0 | 90k 0 |1.0 0 39|1167M 29.0G 156M 1554M| 0 0 | 0 15G|rofi 60k 0 |avahi-daemon 11
21 2 76 0 0| 0 8192B| 116k 0 | 0 0 38|1167M 29.0G 156M 1554M| 0 0 | 0 15G| |avahi-daemon 4.0
15 1 85 0 0| 0 0 | 61k 0 | 0 0 31|1167M 29.0G 156M 1555M| 0 0 | 0 15G| |avahi-daemon 0.9
17 1 82 0 0| 0 176k| 89k 0 | 0 0 41|1169M 29.0G 156M 1555M| 0 0 | 0 15G| |avahi-daemon 1.4
15 1 84 0 0| 0 0 | 102k 0 | 0 0 31|1167M 29.0G 156M 1554M| 0 0 | 0 15G| |avahi-daemon 0.9
18 1 81 0 0| 0 0 | 102k 0 | 0 0 31|1167M 29.0G 156M 1554M| 0 0 | 0 15G| |avahi-daemon 4.9
18 2 79 2 0| 155M 8192B| 67k 0 |1.0 0 36|1135M 29.0G 156M 1592M| 0 0 | 0 15G|chromium 78M 0 |avahi-daemon 2.1
35 7 56 2 0| 73M 0 | 99k 0 |2.0 0 79|1186M 28.9G 156M 1629M| 0 0 | 0 15G|chromium 23M 92k|chromium 10
43 10 45 2 0| 54M 648k| 199k 11k|6.0 0 119|1333M 28.7G 156M 1761M| 0 0 | 0 15G|chromium 22M 0 |chromium 16
74 24 2 0 0| 144k 0 | 112k 2879B| 17 0 26|1335M 28.7G 156M 1757M| 0 0 | 0 15G|chromium 128k 8192B|avahi-daemon 25
79 21 0 0 0| 416k 96k| 221k 2710B| 13 0 34|1331M 28.7G 156M 1752M| 0 0 | 0 15G|chromium 1004k 0 |avahi-daemon 43 missed 2 ticks
81 19 0 0 0|2008k 1896k| 381k 3885B| 11 0 75|1335M 28.7G 156M 1753M| 0 0 | 0 15G|chromium 280k 0 |avahi-daemon 9.6 missed 3 ticks
when running:
dstat -cdnpmgs --top-bio --top-cpu
It seems to miss ticks during freezes.
]]>Still seeing freezes. 100% CPU, etc.
]]>[ 339.754703] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=20072 end=20073) time 123 us, min 2146, max 2159, scanline start 2145, end 2157
in dmesg.
]]>