Flickering issues SDDM on first boot

Hello, I recently started having screen flickering after a system update. My system is a Zephyrus G14 GA402XI, it has an Nvidia GPU (driver version 570.86.16) and AMD 780M integrated Graphics. I’m running Fedora 41. The update contained Plasma(version 6.3.2) network manager and the kernel 6.13.5-200.fc41.x86_64. I didn’t have this issue prior to this update and I have already tried to get it fixed on various discussion forums, like Fedora Reddit and Discord Asus Linux. The issue isn’t reproducible on my other laptops running the same setup just different hardware.

Troubleshooting steps:

  1. Boot to the older kernel before the update, didn’t work
  2. Search around for a similar bug, found some that amd.dcdebug=0x10 kernel commandline fixed but I am already using that flag to fix issues with the igpu
  3. Boot to Nvidia only mode via a mux switch, no issues there, no flickering occurs, it only happens on Hybrid or iGPU mode
  4. Looked through dmesg and journalctl:

Mar 03 16:27:41 zephyrus sddm-helper-start-wayland[2028]: “QSGContext::initialize: depth buffer support missing,
expect rendering errors\nQSGContext::initialize: stencil buffer support missing, expect rendering errors\n”
Mar 03 16:28:08 zephyrus sddm-helper-start-wayland[4718]: “QSGContext::initialize: depth buffer support missing,
expect rendering errors\nQSGContext::initialize: stencil buffer support missing, expect rendering errors\n”

I get those errors on my other laptop, but that one doesn’t flicker so I don’t know if they are related.

Kernel commandline:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=“$(sed ‘s, release .*$,g’ /etc/system-release)”
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=“console”
GRUB_CMDLINE_LINUX=“rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rd.luks.uuid=luks-string-of-numbers rhgb quiet amdgpu.sg_display=0 amdgpu.dcdebugmask=0x10 rd.driver.blacklist=nouveau modprobe.blac
klist=nouveau preempt=full lockdown=confidentiality”
GRUB_DISABLE_RECOVERY=“true”
GRUB_ENABLE_BLSCFG=true

I assume the flickering is occurring on the extension monitor not the laptop screen. I had similar issue and reduced the screen resolution.
Eg: Reduce recommended resolution 1910:1080 (16:9) to 1680:1050 (16:10) with a refresh rate of 60Hz. I still haven’t worked out if it’s a external screen issue or the laptop AMD but at least it’s stopped the flicker, hope this helps.

Hello, First sorry for the late reply, it was nighttime here. Thank you for the idea, it did make it happen less, but it didn’t fully solve it. Just for a clarification it is the laptop monitor that does that. Now I did start experimenting with kernel parameters and have stumbled across a post on free desktop gitlab, it’s AMD DRM issue 3827, “Lenovo T14 Gen 5 AMD 780M 2.8k panel screen artifact/flicker when using display at 120Hz” (didn’t allow me to post a link)

I tried various combinations but ultimately when I set amdgpu.dcdebugmask=0x200 and removed the amdgpu.sg_display=0 flag. The issue seems to be gone, but I will need much more testing than I did currently. (Rebooted the laptop like 5 times). But again huge thank you, you are the first person that actually replied to me. Will keep this page updated if I did manage to solve it. It could potentially help someone.

So after some extensive testing, me removing the sg display from kernel command line fixed the issue

Hey tks heaps, removing sg as suggested has resolved my issue.

1 Like