Login screen glitch lightdm on newer than kernel 5.4

Hi when I use kernel 5.4 all is ok. But everything after that kernel I get very bad login glitching (see image).
After I log in everything is ok. Even after I use ctrl+alt+f1 and then go back. After I close lid and it goes to sleep and then it repairs itself on wake.
I tried tearfree option in xorg
/etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
        Identifier "Intel Graphics"
        Driver "intel"
        Option "TripleBuffer" "true"
        Option "TearFree" "true"
EndSection

It didn’t helped. Can someone please help me with other than “Just use 5.4”. I’m using lightdm, xfwm4 and xfce4 Thanks

inxi -G
Graphics: Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Device-2: Chicony Integrated Camera (1280x720@30) type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.10 driver: intel resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.3

added

Option “AccelMethod” “uxa”

but whole system is now laggy so that’s not solution

Hi, i am having the same kind of issue.
For now the best i found is :

  • log in ,
  • change the display frequency from 60.0 Hz to 59.9Hz :
    • hit windows key, then type “dipslay” then enter
    • guess where th refresh rate is and change it to 59.9 Hz
    • guess the apply button
    • some fiddling on advanced to automatically setup display

then logging is still dirty but it gets better afterwards.

i disabled the quiet option in boot : at first the text display is right but then it starts scrambling (not sure if using the proper verb here)

snippet of grub config :

GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor resume=UUID=dcebaed0-9203-49dd-9882-34ebcad8de21 udev.log_priority=3 i915.enable_psr=0"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
 <snip>

Good old archiwiki on intel graphics wiki (i tried so post a link but i could not) and search for 620 i tried it but no change

Here is the output for dmesg and journalctl -b logs | grep -C 3 i915

dmesg.log-[    0.000000] microcode: microcode updated early to revision 0xde, date = 2020-05-18
dmesg.log-[    0.000000] Linux version 5.9.16-1-MANJARO (builduser@LEGION) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020
dmesg.log:[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=14f3eb55-e840-47e7-975e-2892147f408a ro apparmor=1 security=apparmor resume=UUID=dcebaed0-9203-49dd-9882-34ebcad8de21 udev.log_priority=3 i915.enable_psr=0
dmesg.log-[    0.000000] KERNEL supported cpus:
dmesg.log-[    0.000000]   Intel GenuineIntel
dmesg.log-[    0.000000]   AMD AuthenticAMD
--
dmesg.log-[    0.063218] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
dmesg.log-[    0.063244] Built 1 zonelists, mobility grouping on.  Total pages: 4090462
dmesg.log-[    0.063245] Policy zone: Normal
dmesg.log:[    0.063247] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=14f3eb55-e840-47e7-975e-2892147f408a ro apparmor=1 security=apparmor resume=UUID=dcebaed0-9203-49dd-9882-34ebcad8de21 udev.log_priority=3 i915.enable_psr=0
dmesg.log-[    0.064729] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
dmesg.log-[    0.065390] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
dmesg.log-[    0.065501] mem auto-init: stack:byref_all(zero), heap alloc:on, heap free:off
--
dmesg.log-[    2.137774] usb 1-5: New USB device found, idVendor=8087, idProduct=0025, bcdDevice= 0.02
dmesg.log-[    2.137777] usb 1-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
dmesg.log-[    2.255667] Setting dangerous option enable_psr - tainting kernel
dmesg.log:[    2.256141] i915 0000:00:02.0: enabling device (0006 -> 0007)
dmesg.log-[    2.256938] checking generic (90000000 7f0000) vs hw (a0000000 1000000)
dmesg.log-[    2.256939] checking generic (90000000 7f0000) vs hw (90000000 10000000)
dmesg.log-[    2.256941] fb0: switching to inteldrmfb from EFI VGA
dmesg.log-[    2.257049] Console: switching to colour dummy device 80x25
dmesg.log:[    2.257094] i915 0000:00:02.0: vgaarb: deactivate vga console
dmesg.log-[    2.260206] usb 1-2.2: new high-speed USB device number 5 using xhci_hcd
dmesg.log:[    2.263088] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=mem
dmesg.log:[    2.264724] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
dmesg.log-[    2.356486] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
dmesg.log-[    2.403741] usb 1-2.2: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
dmesg.log-[    2.403744] usb 1-2.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
--
dmesg.log-[    2.553850] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
dmesg.log-[    2.553913] iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
dmesg.log-[    2.554157] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
dmesg.log:[    2.563426] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
dmesg.log-[    2.573380] iwlwifi 0000:05:00.0: base HW address: 7c:b2:7d:1e:fa:50
dmesg.log-[    2.596910] Generic FE-GE Realtek PHY r8169-400:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-400:00, irq=IGNORE)
dmesg.log-[    2.650456] loop: module loaded
--
dmesg.log-[    4.390623] usb 2-2.1: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
dmesg.log-[    4.440122] r8152 2-2.1:1.0: load rtl8153a-4 v2 02/07/20 successfully
dmesg.log-[    4.467222] r8152 2-2.1:1.0 eth0: v1.11.11
dmesg.log:[    4.469330] [drm] Initialized i915 1.6.0 20200715 for 0000:00:02.0 on minor 0
dmesg.log-[    4.471892] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
dmesg.log-[    4.472071] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
dmesg.log:[    4.472249] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
dmesg.log-[    4.483282] r8152 2-2.1:1.0 enp0s20f0u2u1: renamed from eth0
dmesg.log:[    4.509977] fbcon: i915drmfb (fb0) is primary device
dmesg.log-[    4.510024] Console: switching to colour frame buffer device 240x67
dmesg.log:[    4.510028] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
dmesg.log-[    4.580569] snd_hda_codec_conexant hdaudioC0D0: CX8070: BIOS auto-probing.
dmesg.log-[    4.582392] snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
dmesg.log-[    4.582394] snd_hda_codec_conexant hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
--
jctl-b.log--- Journal begins at Sat 2021-01-30 21:23:57 CET, ends at Tue 2021-02-16 20:30:58 CET. --
jctl-b.log-févr. 16 20:07:32 e490 kernel: microcode: microcode updated early to revision 0xde, date = 2020-05-18
jctl-b.log-févr. 16 20:07:32 e490 kernel: Linux version 5.9.16-1-MANJARO (builduser@LEGION) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020
jctl-b.log:févr. 16 20:07:32 e490 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=14f3eb55-e840-47e7-975e-2892147f408a ro apparmor=1 security=apparmor resume=UUID=dcebaed0-9203-49dd-9882-34ebcad8de21 udev.log_priority=3 i915.enable_psr=0
jctl-b.log-févr. 16 20:07:32 e490 kernel: KERNEL supported cpus:
jctl-b.log-févr. 16 20:07:32 e490 kernel:   Intel GenuineIntel
jctl-b.log-févr. 16 20:07:32 e490 kernel:   AMD AuthenticAMD
--
jctl-b.log-févr. 16 20:07:32 e490 kernel: pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
jctl-b.log-févr. 16 20:07:32 e490 kernel: Built 1 zonelists, mobility grouping on.  Total pages: 4090462
jctl-b.log-févr. 16 20:07:32 e490 kernel: Policy zone: Normal
jctl-b.log:févr. 16 20:07:32 e490 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=14f3eb55-e840-47e7-975e-2892147f408a ro apparmor=1 security=apparmor resume=UUID=dcebaed0-9203-49dd-9882-34ebcad8de21 udev.log_priority=3 i915.enable_psr=0
jctl-b.log-févr. 16 20:07:32 e490 kernel: Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
jctl-b.log-févr. 16 20:07:32 e490 kernel: Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
jctl-b.log-févr. 16 20:07:32 e490 kernel: mem auto-init: stack:byref_all(zero), heap alloc:on, heap free:off
--
jctl-b.log-févr. 16 20:07:32 e490 systemd[1]: Starting Accounts Service...
jctl-b.log-févr. 16 20:07:32 e490 snapd[407]: daemon.go:347: started snapd/2.48.2-1 (series 16; classic) manjaro/ (amd64) linux/5.9.16-1-MANJARO.
jctl-b.log-févr. 16 20:07:32 e490 kernel: Setting dangerous option enable_psr - tainting kernel
jctl-b.log:févr. 16 20:07:32 e490 kernel: i915 0000:00:02.0: enabling device (0006 -> 0007)
jctl-b.log-févr. 16 20:07:32 e490 kernel: checking generic (90000000 7f0000) vs hw (a0000000 1000000)
jctl-b.log-févr. 16 20:07:32 e490 kernel: checking generic (90000000 7f0000) vs hw (90000000 10000000)
jctl-b.log-févr. 16 20:07:32 e490 kernel: fb0: switching to inteldrmfb from EFI VGA
jctl-b.log-févr. 16 20:07:32 e490 kernel: Console: switching to colour dummy device 80x25
jctl-b.log:févr. 16 20:07:32 e490 kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
jctl-b.log-févr. 16 20:07:32 e490 kernel: usb 1-2.2: new high-speed USB device number 5 using xhci_hcd
jctl-b.log-févr. 16 20:07:32 e490 accounts-daemon[463]: started daemon version 0.6.55
jctl-b.log-févr. 16 20:07:32 e490 dbus-daemon[402]: [system] Successfully activated service 'org.freedesktop.Accounts'
jctl-b.log-févr. 16 20:07:32 e490 systemd[1]: Started Accounts Service.
jctl-b.log-févr. 16 20:07:32 e490 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=accounts-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
jctl-b.log:févr. 16 20:07:32 e490 kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=mem
jctl-b.log:févr. 16 20:07:32 e490 kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
jctl-b.log-févr. 16 20:07:33 e490 ModemManager[462]: <info>  ModemManager (version 1.14.10) starting in system bus...
jctl-b.log-févr. 16 20:07:33 e490 dbus-daemon[402]: [system] Successfully activated service 'org.freedesktop.ColorManager'
jctl-b.log-févr. 16 20:07:33 e490 systemd[1]: Started Manage, Install and Generate Color Profiles.
--
jctl-b.log-févr. 16 20:07:33 e490 kernel: iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
jctl-b.log-févr. 16 20:07:33 e490 kernel: iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
jctl-b.log-févr. 16 20:07:33 e490 kernel: iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
jctl-b.log:févr. 16 20:07:33 e490 kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
jctl-b.log-févr. 16 20:07:33 e490 NetworkManager[403]: <info>  [1613502453.2941] manager: startup complete
jctl-b.log-févr. 16 20:07:33 e490 NetworkManager[403]: <info>  [1613502453.2944] device (enp4s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
jctl-b.log-févr. 16 20:07:33 e490 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
--
jctl-b.log-févr. 16 20:07:35 e490 NetworkManager[403]: <info>  [1613502455.1929] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/6)
jctl-b.log-févr. 16 20:07:35 e490 mtp-probe[1055]: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.1"
jctl-b.log-févr. 16 20:07:35 e490 kernel: r8152 2-2.1:1.0 eth0: v1.11.11
jctl-b.log:févr. 16 20:07:35 e490 kernel: [drm] Initialized i915 1.6.0 20200715 for 0000:00:02.0 on minor 0
jctl-b.log-févr. 16 20:07:35 e490 kernel: ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
jctl-b.log-févr. 16 20:07:35 e490 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
jctl-b.log:févr. 16 20:07:35 e490 kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
jctl-b.log-févr. 16 20:07:35 e490 mtp-probe[1055]: bus: 2, device: 3 was not an MTP device
jctl-b.log-févr. 16 20:07:35 e490 kernel: r8152 2-2.1:1.0 enp0s20f0u2u1: renamed from eth0
jctl-b.log-févr. 16 20:07:35 e490 NetworkManager[403]: <info>  [1613502455.2267] device (eth0): interface index 5 renamed iface from 'eth0' to 'enp0s20f0u2u1'
jctl-b.log:févr. 16 20:07:35 e490 kernel: fbcon: i915drmfb (fb0) is primary device
jctl-b.log-févr. 16 20:07:35 e490 kernel: Console: switching to colour frame buffer device 240x67
jctl-b.log:févr. 16 20:07:35 e490 kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
jctl-b.log-févr. 16 20:07:35 e490 NetworkManager[403]: <info>  [1613502455.2363] device (enp0s20f0u2u1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
jctl-b.log-févr. 16 20:07:35 e490 NetworkManager[403]: <info>  [1613502455.2505] settings: (enp0s20f0u2u1): created default wired connection 'Wired connection 2'
jctl-b.log-févr. 16 20:07:35 e490 systemd[1]: Created slice system-systemd\x2dbacklight.slice.

after recording the screen and lookng ate journalctl -b the time correlation looks like the issue may occur around there :

févr. 16 21:11:36 e490 systemd[1]: Mounting /boot/efi...
févr. 16 21:11:36 e490 kernel: resource sanity check: requesting [mem 0xfed10000-0xfed15fff], which spans more than pnp 00:08 [mem 0xfed10000-0xfed13fff]
févr. 16 21:11:36 e490 kernel: caller snb_uncore_imc_init_box+0x82/0xd0 [intel_uncore] mapping multiple BARs
févr. 16 21:11:36 e490 kernel: RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer
févr. 16 21:11:36 e490 kernel: RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
févr. 16 21:11:36 e490 kernel: RAPL PMU: hw unit of domain package 2^-14 Joules
févr. 16 21:11:36 e490 kernel: RAPL PMU: hw unit of domain dram 2^-14 Joules
févr. 16 21:11:36 e490 kernel: RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
févr. 16 21:11:36 e490 kernel: RAPL PMU: hw unit of domain psys 2^-14 Joules
févr. 16 21:11:36 e490 kernel: Intel(R) Wireless WiFi driver for Linux
févr. 16 21:11:36 e490 kernel: cryptd: max_cpu_qlen set to 1000
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
févr. 16 21:11:36 e490 kernel: usb 1-5: New USB device found, idVendor=8087, idProduct=0025, bcdDevice= 0.02
févr. 16 21:11:36 e490 kernel: usb 1-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 0
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 1
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 2
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 3
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 4
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 6
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 8
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 9
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 10
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 11
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 15
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 16
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 18
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 19
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 20
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 21
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: WRT: Overriding region id 28
févr. 16 21:11:36 e490 kernel: iwlwifi 0000:05:00.0: loaded firmware version 46.4d093a30.0 9260-th-b0-jf-b0-46.ucode op_mode iwlmvm
févr. 16 21:11:36 e490 kernel: thinkpad_acpi: battery 1 registered (start 95, stop 100)
févr. 16 21:11:36 e490 kernel: battery: new extension: ThinkPad Battery Extension
févr. 16 21:11:36 e490 kernel: input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input5
févr. 16 21:11:36 e490 systemd[1]: Mounted /boot/efi.
févr. 16 21:11:36 e490 systemd[1]: Reached target Local File Systems.

It has to be something in Manjaro kernel after 5.4. When I use 5.4 all is ok. After that kernel it’s there. Even on last 5.10 and 5.11