You are not logged in.

#1 2024-02-07 20:51:23

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

[SOLVED] Screen flickering / distorted after boot

I have a Lenovo Z16 with an integrated AMD graphics card:

~> lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Root Complex [1022:14b5] (rev 01)
	Subsystem: Lenovo Family 17h-19h PCIe Root Complex [17aa:22f2]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU [1022:14b6]
	Subsystem: Lenovo Family 17h-19h IOMMU [17aa:22f2]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14b8]
	Subsystem: Lenovo Family 17h-19h PCIe GPP Bridge [17aa:22f2]
	Kernel driver in use: pcieport
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
	Subsystem: Lenovo Family 17h-19h PCIe GPP Bridge [17aa:22f2]
	Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
	Subsystem: Lenovo Family 17h-19h PCIe GPP Bridge [17aa:22f2]
	Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge [1022:14ba]
	Subsystem: Lenovo Family 17h-19h PCIe GPP Bridge [17aa:22f2]
	Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14cd]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:1453]
	Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:04.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14cd]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:1453]
	Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge [1022:14b9] (rev 10)
	Subsystem: Lenovo Family 17h-19h Internal PCIe GPP Bridge [17aa:22f2]
	Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge [1022:14b9] (rev 10)
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
	Subsystem: Lenovo Family 17h-19h Internal PCIe GPP Bridge [17aa:22f2]
	Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
	Subsystem: Lenovo FCH SMBus Controller [17aa:22f2]
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
	Subsystem: Lenovo FCH LPC Bridge [17aa:22f2]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 0 [1022:1679]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 1 [1022:167a]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 2 [1022:167b]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 3 [1022:167c]
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 4 [1022:167d]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 5 [1022:167e]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 6 [1022:167f]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 7 [1022:1680]
01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev c3)
	Kernel driver in use: pcieport
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
	Kernel driver in use: pcieport
03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c3)
	Subsystem: Lenovo Navi 24 [Radeon RX 6400/6500 XT/6500M] [17aa:22f3]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
04:00.0 Network controller [0280]: Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter [17cb:1103] (rev 01)
	Subsystem: Lenovo QCNFA765 Wireless Network Adapter [17aa:9309]
	Kernel driver in use: ath11k_pci
	Kernel modules: ath11k_pci
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
	Subsystem: Lenovo RTS525A PCI Express Card Reader [17aa:22f2]
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci
06:00.0 Non-Volatile memory controller [0108]: KIOXIA Corporation NVMe SSD Controller XG7 [1e0f:000d]
	Subsystem: KIOXIA Corporation NVMe SSD Controller XG7 [1e0f:0001]
	Kernel driver in use: nvme
	Kernel modules: nvme
67:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev 11)
	Subsystem: Lenovo Rembrandt [Radeon 680M] [17aa:22f2]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
67:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
	Subsystem: Lenovo Rembrandt Radeon High Definition Audio Controller [17aa:22f2]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
67:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
	Subsystem: Lenovo Family 19h PSP/CCP [17aa:22f2]
	Kernel driver in use: ccp
	Kernel modules: ccp
67:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #3 [1022:161d]
	Subsystem: Lenovo Rembrandt USB4 XHCI controller [17aa:22f2]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
67:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #4 [1022:161e]
	Subsystem: Lenovo Rembrandt USB4 XHCI controller [17aa:22f2]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
67:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 60)
	Subsystem: Lenovo ACP/ACP3X/ACP6x Audio Coprocessor [17aa:22f2]
	Kernel driver in use: snd_pci_acp6x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
67:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
	Subsystem: Lenovo Family 17h/19h HD Audio Controller [17aa:22f2]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
68:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #8 [1022:161f]
	Subsystem: Lenovo Rembrandt USB4 XHCI controller [17aa:22f2]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
68:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #5 [1022:15d6]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller [1022:15d6]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
68:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #6 [1022:15d7]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller [1022:15d7]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
68:00.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller #1 [1022:162e]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller [1022:162e]
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
68:00.6 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller #2 [1022:162f]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller [1022:162f]
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
~>

I am using the amdgpu driver with early KMS:

~> cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=(amdgpu)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=()

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
HOOKS=(base systemd plymouth autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
COMPRESSION="cat"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

# MODULES_DECOMPRESS
# Decompress kernel modules during initramfs creation.
# Enable to speedup boot process, disable to save RAM
# during early userspace. Switch (yes/no).
#MODULES_DECOMPRESS="yes"
~>

When the system boots to graphical mode, I use gdm as a login manager, which works fine.
But after I log into a Gnome Wayland session, I get a flickering and distorted screen [1].
It's even worse when I have auto start programs enabled (teams-for-linux and evolution) active, which I disabled for the video.
As you can see, the issue goes away, when I switch to a TTY and back.
It also goes away, when I put the laptop into standby and then wake it again.
Here's dmesg and journalctl -b from the boot, taken directly after the video's end.

This issue has been occurring since one of the last three or so kernel updates.
From the overall behavior I suspect this to be a driver rather than a possible hardware issue, since the laptop is less than half a year old.

What may be the cause of this and how can I fix it?

[1] https://nextcloud.richard-neumann.de/s/4zmopRDESnFziHb

Last edited by schard (2024-03-04 17:50:12)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#2 2024-02-07 21:22:41

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

Does it happen if you restart gnome (and possibly GDM)

This issue has been occurring since one of the last three or so kernel updates.
From the overall behavior I suspect this to be a driver rather than a possible hardware issue

Tested the LTS kernel? Could it also have been a mesa update?

Does it happen w/ an external display attached?
https://bbs.archlinux.org/viewtopic.php?id=292459 (he's flapping the lid to get rid of it)
You've different GPUs but both are lenovo systems…
In his situation the multi-user.target seems to be affected, tough - yours looks more like a signal error or texture corruption under load.

Try the PM stuff from https://bbs.archlinux.org/viewtopic.php … 1#p2148571 -  "amdgpu.dcdebugmask=0x10" is PSR and it doesn't look like that.
Also, for good measure, get rid of the simpledrm device, add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel … mmand_line

Offline

#3 2024-02-08 09:00:07

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] Screen flickering / distorted after boot

seth wrote:

Does it happen if you restart gnome (and possibly GDM)

I'd have to try that. Do you mean by restarting the gdm.service unit? What do you mean by "restart gnome"? Re-logging-in?

seth wrote:

This issue has been occurring since one of the last three or so kernel updates.
From the overall behavior I suspect this to be a driver rather than a possible hardware issue

Tested the LTS kernel? Could it also have been a mesa update?

Not yet. Will do this evening or tomorrow when I'll be working from home again.

seth wrote:

Does it happen w/ an external display attached?

It actually did. But funny enough, today I was stuck in the train on my way to work and thus started working from there, but when I turned on the laptop, the issue did not occur.
Maybe it only works in trains. :-D
Jokes aside, I'll try to reproduce whether it still occurs with an external screen.
I'm currently using one, but of course today this Heisenbug does not occur.

seth wrote:

https://bbs.archlinux.org/viewtopic.php?id=292459 (he's flapping the lid to get rid of it)

Flapping the Lid also (sometimes) resolved this issue. Maybe this is related to the standby solution, since this will put the machine in standby and back?!

seth wrote:

Try the PM stuff from https://bbs.archlinux.org/viewtopic.php … 1#p2148571 -  "amdgpu.dcdebugmask=0x10" is PSR and it doesn't look like that.
Also, for good measure, get rid of the simpledrm device, add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel … mmand_line

Will try and come back to you. Thanks


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#4 2024-02-08 09:33:39

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

Do you mean by restarting the gdm.service unit? What do you mean by "restart gnome"? Re-logging-in?

Isolate the multi-user.target, the start the graphical target.
The question being whether this is a boot condition or the wayland compositor starts with this condition.

It actually did.

Probably not the same issue then and also not linked to the eDP - more "power" than a "signal" issue.

Maybe it only works in trains. big_smile

Does it hinge on the dock?

Maybe this is related to the standby solution

Yes, that's what made me wonder whether it's linke to the other thread, but that one could just be radio interference (and by "flapping" I meant "like a bird", single suspend usually doen't help him, there're bursts in the journal where the lid closes and opens ~10 times in a row.

Offline

#5 2024-02-09 07:41:33

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] Screen flickering / distorted after boot

Small update:

seth wrote:

Does it happen if you restart gnome (and possibly GDM)

No. I restarted gdm via a terminal (gnome-terminal) during a flickering session.
After re-logging, the issue was gone.

seth wrote:

Does it hinge on the dock?

There is no dock.
When I use the laptop in the office, I just have an external monitor via USB-C plugged in, that also serves as power supply (very handy) and this USB-C hub.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#6 2024-02-09 07:58:45

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

There is no dock.

Ok, "does it hinge on that office contraption" - ie. does it reliably not happen when not attaching the device to the USB-C output / Hub?

Offline

#7 2024-02-09 08:14:51

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] Screen flickering / distorted after boot

It does happen regardless of whether an external monitor, power supply or USB-C hub ist connected or not. I.e. it happens with this stuff connected and also when not.
E.g. I'm currently working from home and just have the original power supply connected. Nothing else. And it happened again today (which is why I directly tried to restart the gnome session as you suggested).

Last edited by schard (2024-02-09 08:16:02)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#8 2024-02-09 08:39:25

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

So it only works in trains sad

Though

After re-logging, the issue was gone.

boot => multi-user.target => coffee => systemctl start grpahical.target => profit?
Do you have amdgpu in the initramfs?

Offline

#9 2024-02-09 10:56:01

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] Screen flickering / distorted after boot

seth wrote:

boot => multi-user.target => coffee => systemctl start grpahical.target => profit?

Works without flickering:
1) systemctl set-default multi-user.target
2) systemctl poweroff
3) wait
4) power on system
5) Enter LUKS passphrase
6) login as root
7) dump initcpio to sprunge
8) (on desktop PC) listen to my favourite song and post it on the forums
9) systemctl isolate graphical.target
10) log in
11) profit (no flickering)

seth wrote:

Do you have amdgpu in the initramfs?

http://sprunge.us/YwdRUn


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#10 2024-02-09 14:37:15

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

seth wrote:

Do you have amdgpu in the initramfs?

"Yes"

Nevertheless seems some race condition.
Can you disable one of the GPUs (in the UEFI)?
Also add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel … mmand_line to get that little sucker out of the equation.

Offline

#11 2024-02-13 12:12:58

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] Screen flickering / distorted after boot

seth wrote:

Can you disable one of the GPUs (in the UEFI)?

There is only one GPU in the system

seth wrote:

Also add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel … mmand_line to get that little sucker out of the equation.

No dice. The issue remains.

~> cat /proc/cmdline                                                              2024-02-13T13:10:55
root=UUID=9c1ed4e7-ba4b-4359-8544-98d1e2c29174 rd.luks.uuid=22c73e20-a13b-48b2-8728-55e5be5a8131 rw initrd=\amd-ucode.img initrd=\initramfs-linux.img random.trust_cpu=on quiet splash initcall_blacklist=simpledrm_platform_driver_init
~>         

Will try the other parameters to tweak the amdgpu driver and the LTS kernel.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#12 2024-02-13 14:04:34

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

There is only one GPU in the system

03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c3)
	Subsystem: Lenovo Navi 24 [Radeon RX 6400/6500 XT/6500M] [17aa:22f3]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
67:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev 11)
	Subsystem: Lenovo Rembrandt [Radeon 680M] [17aa:22f2]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
Feb 07 21:33:11 der-geraet gnome-shell[1602]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
Feb 07 21:33:11 der-geraet gnome-shell[1602]: Added device '/dev/dri/card2' (amdgpu) using atomic mode setting.

Offline

#13 2024-02-13 18:49:07

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Screen flickering / distorted after boot

I had the same problem rear its ugly head with my Acer Swift Edge (AMD graphics). Now at the time I was also messing around with the UEFI boot system - trying to eliminate grub. Anyway, I could not recover from the screen corruption so switched from Arch to a fresh installation of MX Linux AHS. All fine until a couple of days ago when the AHS kernel updated to 6.7 and the same problem occurred. Dumping AHS and switching back to the stable branch 6.1 kernel has fixed the issue.

I'll watch this thread with interest.

Offline

#14 2024-02-13 20:08:51

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

Can you post a journal of the system (for general HW comparsim, but ideally of an affected boot)?

Offline

#15 2024-02-13 21:43:51

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Screen flickering / distorted after boot

journalctl -b
lspci -nnk

Unfortunately I don't have an affected system at the moment.

I forgot to mention that moving the pointer also caused the screen corruption to change/jump/flicker etc.

Offline

#16 2024-02-13 23:12:54

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

Same "Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681]", no second GPU.

Wild idea:

module_blacklist=snd_hda_codec_hdmi

Offline

#17 2024-02-14 10:38:44

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Screen flickering / distorted after boot

blacklisting made no difference I'm afraid.

Offline

#18 2024-02-28 07:37:32

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] Screen flickering / distorted after boot

I just tried switching to a TTY before logging in at GDM after boot.
And guess what. If I do that, and remain there for a few seconds, I also can reliably prevent the issue.
I.e. if I do that, after logging in, everything works just fine.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#19 2024-02-28 08:40:10

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Screen flickering / distorted after boot

Fixed for me:

Login in - screen flickering
Turn off Xfce4 compositor - no flickering
Turn on compositor - still no flickering

Offline

#20 2024-02-28 15:44:19

seth
Member
Registered: 2012-09-03
Posts: 51,464

Re: [SOLVED] Screen flickering / distorted after boot

Do you even have to switch the VT or is it sufficient to hang out in GDM for a moment?
@vacant, what if you start xfce4 w/ the compositor disabled itfp?

Offline

#21 2024-02-28 16:12:20

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Screen flickering / distorted after boot

Compositor permanently disabled and I haven't seen the screen corruption since, with several boots per day.

Offline

#22 2024-03-04 15:29:11

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] Screen flickering / distorted after boot

This was presumably solved with kernel 6.7.7. Since kernel 6.7.8 all graphics issues are gone.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

Board footer

Powered by FluxBB