External monitor not working, continuously connecting-disconnecting

Hi all. Running KDE 6.2.3 on fedora 40. Lenovo thinkpad E16 gen 2 AMD. GPU AMD ATI Radeon 680M (integrated graphics).
When connecting ext monitor it worked initially. When i changed the resolution and changed moni to be primary it started to disconnect-connect continuously without anything showing on the screen. My laptop screen is black at that point. I tried cycling power & unplugging.
It works fine on my debian-box.
kscreen-console gives “qt.qpa.wayland:Creating a fake screen in order for Qt not to crash” repeatedly
kscreen-doctor doesn’t do anything
ext moni works before i’m logged in
journal-ctl -f : พ.ย. 15 13:58:34 fedora plasmashell[5327]: kde.plasmashell: requesting unexistin - Pastebin.com

Can you switch to the X11 session?

~/.config/kwinoutputconfig.json contains outputsettings, could try removing the screen or even wiping it

Seconding the above - just want to add that I had been dealing with some issue in System Settings → Display & Monitor where any edit I made to a display would make it a replica of “new output” or something like that. I forget what I actually did to fix it, but check the “Replica” section of the setting. I had identical symptoms.

What kind of monitor is it? It is by any chance a Samsung Odyssey Neo G5 or G9?

Thanks everybody for replying.

It’s actually an Asus VG27AQ.
I cannot not switch to X11, except in Gnome. In Gnome-X11 it works. But changes in settings don’t “stick” when going back to Plasma.

I “solved” it in the following way;

When Kwin starts repeatedly crashing (is what I think is happening), the ext moni comes on again for a fraction of a second.
By disconnecting i “prepared” following commands respectively and then connected again and pressed enter at that instant;
kscreen-doctor -o
kscreen-doctor output.2.mode.31 (mode 31 referring to a mode with a lower resolution)
So, it seems that I initially tried to set a resolution which was too high (for graphics card, monitor, or something else, i don’t know. probably not for the monitor). And lowering the resolution in this somewhat hacky way gives me control again.

Maybe I should file a bug report suggesting that KDE solves this situation in a more elegant way. Since it didn’t automatically revert to previous settings and kept reloading a problematic setting every time i reconnected the ext moni.