Bug 493357 - Display configuration does not get saved correctly; incorrect configuration is restored after xrandr loads the correct one
Summary: Display configuration does not get saved correctly; incorrect configuration i...
Status: RESOLVED DUPLICATE of bug 466149
Alias: None
Product: KScreen
Classification: Plasma
Component: common (other bugs)
Version First Reported In: 6.1.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-19 13:00 UTC by Bodo Eggert
Modified: 2024-10-15 11:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screen layout KDE vs. expected (75.39 KB, image/png)
2024-09-19 13:00 UTC, Bodo Eggert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bodo Eggert 2024-09-19 13:00:24 UTC
Created attachment 173872 [details]
screen layout KDE vs. expected

SUMMARY

I need xrandr to add a mode to my monitor (broken DDC data).
xrandr sets the display layout correctly
KDE pushes the main monitor to (previous_x;0).

```
#!/bin/bash
modeline_1680="1680x1050_60.00  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync"
# modeline_1680="`cvt 1680 1050 60|sed -e '1d;s/^Modeline //;s/"//g'`"

xrandr --newmode $modeline_1680
xrandr --addmode DVI-I-0 1680x1050_60.00

XRANDR=(xrandr --output DisplayPort-2 --mode 1920x1080 --pos 3600x0 --rotate left\
       --output DVI-I-0 --primary --mode 1680x1050_60.00 --pos 1920x620 --rotate normal\
       --output DVI-D-1 --mode 1920x1200 --pos 0x620 --rotate normal)

${XRANDR[@]}
```

Attached screenshots show expected result vs. observed result

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20240716
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7 CPU 860 @ 2.80GHz
Memory: 23,4 GiB of RAM
Graphics Processor: AMD Radeon R9 200 / HD 7900 Series
Manufacturer: Dell Inc.
Product Name: Precision T1500
System Version: 00
Comment 1 Nate Graham 2024-09-19 18:51:22 UTC

*** This bug has been marked as a duplicate of bug 466149 ***
Comment 2 Bodo Eggert 2024-10-15 11:21:54 UTC
I could find the cause. I did change the script in .config/autostart-scripts but the scripts in old-autostart-scripts were executed.

Also the desktop link pointing to autostart-scripts was altered to old-autostart-scripts (initially and later despite me changing it back after I discovered this).