Bug 497459

Summary: screen config keeps on being creatively changed
Product: [Plasma] KScreen Reporter: dirkjan <kde>
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: nate, xaver.hugl
Priority: NOR Keywords: multiscreen
Version: 6.2.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the config dir.
more local config

Description dirkjan 2024-12-14 13:41:27 UTC
SUMMARY

on my desktop I have two identical screens and they always show properly when booting, but after waking up from auto-off-timeout, they quite often get set to weird settings.

STEPS TO REPRODUCE
1. have my hardware..
2. don't touch computer long enough to make the screens go to sleep (the computer itself doesn't sleep)
3. touch the mouse to wake up.

OBSERVED RESULT

The configuration I boot with is applied.

EXPECTED RESULT

It looks like a weird combination of all the properties at one time or other I changed get applied.
Like, one screen gets 110% but the other gets 125%. I've used the 125 one just once to test if that was good and I stuck to 110 for ages now.
Screen rotation gets applied randomly. Which is fun since one is 90⁰ rotated, the two screens either get 0 or 90 applied. Sometimes both 90, sometimes both 0. Sometimes correct and sometimes the exact reverse of what it should be.
The 'primary' almost always moves to the wrong monitor.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION

the screens are identical, when I press "identify" I get a really long Id on both, which is the same.
"BenQ GL2706PQT5H05861SL0"

I don't know how to get more details about the screens...
Comment 1 dirkjan 2024-12-14 19:47:56 UTC
Created attachment 176612 [details]
the config dir.

Adding my .local/share/kscreen dir.
Comment 2 Nate Graham 2024-12-16 20:27:39 UTC
Does it happen only on X11, only on Wayland, or in both?

How are the screens connected? What physical connectors? And to what ports on your system/GPU/dock/etc?
Comment 3 dirkjan 2024-12-16 22:38:16 UTC
This is wayland only. I don't run X.

The screens are connected with displayport. Both sides of the cable are displayport. Mini on graphics card, full size on monitor.

I also noticed that there actually is a 1 digit difference between the two screens (its a LONG string, I missed it the first times).

All the details are in the files I attached...
Comment 4 Zamundaaa 2024-12-18 00:24:56 UTC
Please attach your ~/.config/kwinoutputconfig.json and the output of drm_info before and after the issue happens, and also attach the EDID of your screens. You can get them with
> cat /sys/class/drm/card1-DP-1/edid > edid.bin
(card and connector name might need adjusting)
Comment 5 dirkjan 2024-12-18 09:36:37 UTC
Created attachment 176743 [details]
more local config

Added the info.
Request for drm_info is harder, I don't know where that comes from. It is not a command I have or pacman (archlinux) knows about.
Comment 6 Nate Graham 2024-12-18 15:17:33 UTC
I think you'll need to use AUR for that.
Comment 7 Zamundaaa 2024-12-18 16:52:11 UTC
Okay, no need to get more information, this is exactly the same as bug 488270 - same serial number, but different EDID hash

*** This bug has been marked as a duplicate of bug 488270 ***