I had this exact same issue with OpenSUSE, and it was one of the unbearable issues that made me switch to Manjaro, and now I am observing the same thing on Manjaro too. That’s not very surprising, it just means that wherever the bug is, it’s in some piece of the system that is shared by both distributions, which again, is not surprising.
At random times, for no apparent reason, different applications randomly start to behave erratically, exhibiting any of the following symptoms:
rapid flickering of random regions of the screen. Usually a given rectangular region of the screen alternates between displaying the contents of the focused tab and the contents of another random inactive tab of the same application (but it’s not the entire contents of the tab, it’s a random rectangular region of it). I’m not sure whether the fact that
then sometimes the affected application will stop responding to mouse and/or keyboard. I always doubt whether the application is actually not responding, or if it’s “invisibly” doing all it is supposed to do, but part of the screen is frozen and it looks like it’s doing nothing. What makes me doubt this is that most of the time, the close button on the corner of the window will succesfully close the affected application.
another thing that makes me wonder if it’s just part of the screen not refreshing, as opposed as applications really not responding, is that when the affected application is playing audio (e.g. Chrome playing a video), the audio usually keeps playing. Again, for example, I may be playing a video in Chrome, and part of the image freezes or jumps pathetically, but the audio keeps playing. Although, now that I think about it, I was unable to pause the video by clicking on the pause button in one occasion. So, I don’t know, it seems a mix of unresponsiveness to input, and parts of the screen randomly freezing or “jumping”.
This happens especially often in Chrome, to the point that for a while I thought this was a Chrome bug, but just now I have seen the exact same thing happen in other programs.
What are the next diagnosing steps? I want to get to the bottom of this and turn this into a bug report to the right bug tracker.
first do this:
open this file: kate /etc/environment
and add there this line: QT_LOGGING_RULES='*=false'
save it… it will disable kwin/qt logs, so that they are more readable…
did you try different kernels? if no, install the 6.0.2 from system settings/kernel, reboot and boot with it and see if it helped…
if not provide logs: journalctl -b0 -p4 --no-pager
but provide them after the flickering happened
I have now installed 6.0.2 and am running it. I will report back if the issue persists, or if a reasonably long time goes by without observing it anymore. I have also edited /etc/environment as you said.
Meanwhile, there were a bunch of warnings in the output when installing the new kernel.
Is any of them worth worrying about?
Below is the complete output.
The following packages will be installed:
linux60
Starting
resolving dependencies...
looking for conflicting packages...
Packages (1) linux60-6.0.2-2
Total Download Size: 181.73 MiB
Total Installed Size: 185.92 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
linux60-6.0.2-2-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing linux60...
Optional dependencies for linux60
wireless-regdb: to set the correct wireless channels of your country [installed]
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'default'
-> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64.img
==> Starting build: 6.0.2-2-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.0-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'fallback'
-> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64-fallback.img -S autodetect
==> Starting build: 6.0.2-2-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.0-x86_64-fallback.img
==> Image generation successful
(4/5) Refreshing PackageKit...
(5/5) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.0-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.0-x86_64.img
Found initrd fallback image: /boot/initramfs-6.0-x86_64-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
Done ...
The bug is still present after the kernel upgrade.
Below is the output of journalctl -b0 -p4 --no-pager.
I ran now this just after observing issues, but I had also observed issues several minutes ago.
I don’t know whether the timestamps are in GMT or in my local timezone which is currently GMT+1.
Either way the last message is from more than 24 hours ago.
Oct 26 22:24:00 lenovo-teo-m kernel: [Firmware Bug]: TSC ADJUST: CPU0: -2502588901 force to 0
Oct 26 22:24:00 lenovo-teo-m kernel: [Firmware Bug]: TSC ADJUST differs within socket(s), fixing all errors
Oct 26 22:24:00 lenovo-teo-m kernel: #2 #3 #4
Oct 26 22:24:00 lenovo-teo-m kernel: MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details.
Oct 26 22:24:00 lenovo-teo-m kernel: #5 #6 #7
Oct 26 22:24:00 lenovo-teo-m kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Oct 26 22:24:00 lenovo-teo-m kernel: hpet_acpi_add: no address or irqs in _CRS
Oct 26 22:24:00 lenovo-teo-m kernel: integrity: Problem loading X.509 certificate -65
Oct 26 22:24:00 lenovo-teo-m kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
Oct 26 22:24:00 lenovo-teo-m kernel: nvme nvme0: missing or invalid SUBNQN field.
Oct 26 22:24:01 lenovo-teo-m kernel: iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-Qu-c0-jf-b0-72.ucode failed with error -2
Oct 26 22:24:01 lenovo-teo-m kernel: iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
Oct 26 22:24:01 lenovo-teo-m kernel: thermal thermal_zone6: failed to read out thermal zone (-61)
Oct 26 22:24:02 lenovo-teo-m systemd[457]: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Oct 26 22:24:04 lenovo-teo-m kernel: kauditd_printk_skb: 27 callbacks suppressed
Oct 26 22:24:04 lenovo-teo-m systemd-xdg-autostart-generator[547]: /home/teo/.config/autostart/telegramdesktop.desktop:13: Unknown key name 'Actions' in section 'Desktop Entry', ignoring.
Oct 26 22:24:04 lenovo-teo-m systemd-xdg-autostart-generator[547]: /home/teo/.config/autostart/telegramdesktop.desktop:14: Unknown key name 'SingleMainWindow' in section 'Desktop Entry', ignoring.
Oct 26 22:24:04 lenovo-teo-m systemd-xdg-autostart-generator[547]: /home/teo/.config/autostart/telegramdesktop.desktop:18: Unknown section 'Desktop Action Quit'. Ignoring.
Oct 26 22:24:05 lenovo-teo-m systemd-xdg-autostart-generator[578]: /home/teo/.config/autostart/telegramdesktop.desktop:13: Unknown key name 'Actions' in section 'Desktop Entry', ignoring.
Oct 26 22:24:05 lenovo-teo-m systemd-xdg-autostart-generator[578]: /home/teo/.config/autostart/telegramdesktop.desktop:14: Unknown key name 'SingleMainWindow' in section 'Desktop Entry', ignoring.
Oct 26 22:24:05 lenovo-teo-m systemd-xdg-autostart-generator[578]: /home/teo/.config/autostart/telegramdesktop.desktop:18: Unknown section 'Desktop Action Quit'. Ignoring.
Oct 26 22:24:05 lenovo-teo-m NetworkManager[420]: <warn> [1666815845.4626] device (wlp0s20f3): no secrets: No agents were available for this request.
Oct 26 22:24:05 lenovo-teo-m NetworkManager[420]: <warn> [1666815845.4629] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 26 22:24:05 lenovo-teo-m pipewire-media-session[752]: mod.rt: Can't find xdg-portal: (null)
Oct 26 22:24:05 lenovo-teo-m pipewire-media-session[752]: mod.rt: found session bus but no portal
Oct 26 22:24:05 lenovo-teo-m pipewire[741]: mod.rt: Can't find xdg-portal: (null)
Oct 26 22:24:05 lenovo-teo-m pipewire[741]: mod.rt: found session bus but no portal
Oct 26 22:24:07 lenovo-teo-m pulseaudio[911]: stat('/etc/pulse/default.pa.d'): No such file or directory
Oct 26 22:24:08 lenovo-teo-m kernel: irq 9: nobody cared (try booting with the "irqpoll" option)
Oct 26 22:24:08 lenovo-teo-m kernel: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.0.2-2-MANJARO #1 3201429db279b991ed623dff5d7b05e56f9c1c48
Oct 26 22:24:08 lenovo-teo-m kernel: Hardware name: LENOVO 81WE/LNVNB161216, BIOS EMCN14WW 05/11/2020
Oct 26 22:24:08 lenovo-teo-m kernel: Call Trace:
Oct 26 22:24:08 lenovo-teo-m kernel: <IRQ>
Oct 26 22:24:08 lenovo-teo-m kernel: dump_stack_lvl+0x48/0x60
Oct 26 22:24:08 lenovo-teo-m kernel: __report_bad_irq+0x35/0xaa
Oct 26 22:24:08 lenovo-teo-m kernel: note_interrupt.cold+0xa/0x65
Oct 26 22:24:08 lenovo-teo-m kernel: handle_irq_event+0x75/0x80
Oct 26 22:24:08 lenovo-teo-m kernel: handle_fasteoi_irq+0x8e/0x1f0
Oct 26 22:24:08 lenovo-teo-m kernel: __common_interrupt+0x43/0xa0
Oct 26 22:24:08 lenovo-teo-m kernel: common_interrupt+0x81/0xa0
Oct 26 22:24:08 lenovo-teo-m kernel: </IRQ>
Oct 26 22:24:08 lenovo-teo-m kernel: <TASK>
Oct 26 22:24:08 lenovo-teo-m kernel: asm_common_interrupt+0x26/0x40
Oct 26 22:24:08 lenovo-teo-m kernel: RIP: 0010:cpuidle_enter_state+0xe2/0x420
Oct 26 22:24:08 lenovo-teo-m kernel: Code: 00 00 31 ff e8 5f ed 7c ff 45 84 ff 74 16 9c 58 0f 1f 40 00 f6 c4 02 0f 85 25 03 00 00 31 ff e8 04 ac 83 ff fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 49 63 d6 48 8d 04 52 48 8d 04 82 49 8d
Oct 26 22:24:08 lenovo-teo-m kernel: RSP: 0018:ffffb23dc011fe90 EFLAGS: 00000246
Oct 26 22:24:08 lenovo-teo-m kernel: RAX: ffff8bbdd2c72d40 RBX: ffff8bbdd2c7e200 RCX: 0000000000000000
Oct 26 22:24:08 lenovo-teo-m kernel: RDX: 0000000000000001 RSI: fffffffd84bab52d RDI: 0000000000000000
Oct 26 22:24:08 lenovo-teo-m kernel: RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000055785785
Oct 26 22:24:08 lenovo-teo-m kernel: R10: 000000000000000a R11: 0000000000000008 R12: ffffffffa6d46320
Oct 26 22:24:08 lenovo-teo-m kernel: R13: 000000021bf71fc7 R14: 0000000000000001 R15: 0000000000000000
Oct 26 22:24:08 lenovo-teo-m kernel: cpuidle_enter+0x2d/0x40
Oct 26 22:24:08 lenovo-teo-m kernel: do_idle+0x1ed/0x270
Oct 26 22:24:08 lenovo-teo-m kernel: cpu_startup_entry+0x1d/0x20
Oct 26 22:24:08 lenovo-teo-m kernel: start_secondary+0x115/0x140
Oct 26 22:24:08 lenovo-teo-m kernel: secondary_startup_64_no_verify+0xe5/0xeb
Oct 26 22:24:08 lenovo-teo-m kernel: </TASK>
Oct 26 22:24:08 lenovo-teo-m kernel: handlers:
Oct 26 22:24:08 lenovo-teo-m kernel: [<00000000b9c43c5e>] acpi_irq
Oct 26 22:24:08 lenovo-teo-m kernel: Disabling IRQ #9
Oct 26 22:24:12 lenovo-teo-m kernel: kauditd_printk_skb: 11 callbacks suppressed
Oct 27 09:08:55 lenovo-teo-m NetworkManager[420]: <warn> [1666854535.9503] device (wlp0s20f3): link timed out.
Oct 27 09:08:56 lenovo-teo-m NetworkManager[420]: <warn> [1666854536.0190] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 27 17:56:35 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 27 17:56:35 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 27 17:56:35 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 27 17:56:35 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 27 20:15:08 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 27 20:15:08 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 27 20:15:08 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 27 20:15:08 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 28 06:10:46 lenovo-teo-m NetworkManager[420]: <warn> [1666930246.0535] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 28 06:11:38 lenovo-teo-m NetworkManager[420]: <warn> [1666930298.0118] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 28 07:24:51 lenovo-teo-m NetworkManager[420]: <warn> [1666934691.0012] device (enp0s20f0u9): Activation: failed for connection 'Wired connection 1'
Oct 28 21:14:38 lenovo-teo-m systemd[541]: app-\x2fusr\x2fbin\x2fqdbus-c1c7ec7597c3487e92efe915c006ca89.scope: Failed to add PIDs to scope's control group: No such process
Oct 28 21:14:38 lenovo-teo-m systemd[541]: app-\x2fusr\x2fbin\x2fqdbus-c1c7ec7597c3487e92efe915c006ca89.scope: Failed with result 'resources'.
Oct 28 21:14:38 lenovo-teo-m systemd[541]: Failed to start /usr/bin/qdbus.
Oct 28 21:18:05 lenovo-teo-m systemd[541]: app-\x2fusr\x2fbin\x2fqdbus-153d183b12d94d3583b6c149c676be9f.scope: Failed to add PIDs to scope's control group: No such process
Oct 28 21:18:05 lenovo-teo-m systemd[541]: app-\x2fusr\x2fbin\x2fqdbus-153d183b12d94d3583b6c149c676be9f.scope: Failed with result 'resources'.
Oct 28 21:18:05 lenovo-teo-m systemd[541]: Failed to start /usr/bin/qdbus.
Oct 29 00:45:23 lenovo-teo-m NetworkManager[420]: <warn> [1666997123.9506] device (wlp0s20f3): link timed out.
Oct 29 00:45:23 lenovo-teo-m NetworkManager[420]: <warn> [1666997123.9995] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 29 04:25:35 lenovo-teo-m NetworkManager[420]: <warn> [1667010335.9870] device (enp0s20f0u9): Activation: failed for connection 'Wired connection 1'
Oct 29 12:00:21 lenovo-teo-m systemd[541]: app-\x2fusr\x2fbin\x2fqdbus-53a93cb7141c4388b69a8696bdff2e8c.scope: Failed to add PIDs to scope's control group: No such process
Oct 29 12:00:21 lenovo-teo-m systemd[541]: app-\x2fusr\x2fbin\x2fqdbus-53a93cb7141c4388b69a8696bdff2e8c.scope: Failed with result 'resources'.
Oct 29 12:00:21 lenovo-teo-m systemd[541]: Failed to start /usr/bin/qdbus.
Oct 29 15:30:51 lenovo-teo-m pamac-manager[120340]: gdk_window_set_cursor: assertion 'GDK_IS_WINDOW (window)' failed
Oct 29 15:30:51 lenovo-teo-m pamac-manager[120340]: gdk_window_set_cursor: assertion 'GDK_IS_WINDOW (window)' failed
Oct 29 17:23:25 lenovo-teo-m kernel: kauditd_printk_skb: 10 callbacks suppressed
Oct 29 19:14:52 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 29 19:14:52 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 29 19:14:52 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 29 19:14:52 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 29 19:14:55 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 29 21:47:13 lenovo-teo-m NetworkManager[420]: <warn> [1667072833.0657] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 30 01:26:20 lenovo-teo-m NetworkManager[420]: <warn> [1667085980.9793] device (enp0s20f0u9): Activation: failed for connection 'Wired connection 1'
Oct 30 17:48:02 lenovo-teo-m NetworkManager[420]: <warn> [1667148482.0707] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 30 17:48:49 lenovo-teo-m NetworkManager[420]: <warn> [1667148529.0311] device (wlp0s20f3): Activation: failed for connection 'Sixty-Seven 5G'
Oct 31 16:51:18 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:51:18 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:51:18 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:51:18 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:51:22 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:59:50 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:59:50 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:59:50 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 16:59:50 lenovo-teo-m filezilla[28672]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Oct 31 19:58:56 lenovo-teo-m systemd[1]: archlinux-keyring-wkd-sync.service: Failed with result 'exit-code'.
you have these following with the kernel call trace logs…
it looks that these are common on lenovo, and without any fix…
lets try some kernel parameters: kate /etc/default/grub
and in this line: GRUB_CMDLINE_LINUX_DEFAULT inside the quotes add this parameter: ahci.mobile_lpm_policy=1
dont remove any parameters from there, just add it to the existing ones;
save the file, update grub: sudo update-grub
reboot and test
Is that a general suggestion, or do you actually think that that can fix the issues? Do you believe these could be bugs in Xorg that are not present in Wayland?
(and as a general question, is Wayland already anywhere near something stable that can be relied upon for everyday use by a normal person using a computer to do actual work other than testing or contributing to Wayland?)
I don’t think wayland is a magic wand - it is a process of elimination - no more no less.
I do actual work every day - using Plasma with Wayland - contract work for a client and my system is as stable as I need it and I need it stable. I run several VirtualBox VMs developing and testing .NET 4 Web API server and webclient.