https://bugs.kde.org/show_bug.cgi?id=466187

--- Comment #2 from [email protected] ---
(In reply to Nate Graham from comment #1)
> The output of `kscreen-doctor-o` is the same in the before and after; both
> say that HDMI-A-1 is the primary.
> 
> Is this the way it actually is, or was that a copy-paste error?

My impression is that 1 is the highest and 3 the lowest priority, since DP-2
starts with prio 1 (as well as showing my panels and being at the top of the
priority list in the system settings) and DP-1 with prio 2. After switching to
some tty and back, DP-2 and DP-1 swap their priorities and my panels change the
screen accordingly. HDMI-A-1 always stays at prio 3.



I also just reproduced this on 5.27.1. Truncated outputs of "kscreen-doctor -o"
for more clarity:
Before:
Output: 1 HDMI-A-1 enabled connected priority 3 HDMI Modes: ...
Output: 2 DP-1 enabled connected priority 2 DisplayPort Modes: ...
Output: 3 DP-2 enabled connected priority 1 DisplayPort Modes: ...

After:
Output: 1 HDMI-A-1 enabled connected priority 3 HDMI Modes: ...
Output: 2 DP-1 enabled connected priority 1 DisplayPort Modes: ...
Output: 3 DP-2 enabled connected priority 2 DisplayPort Modes: ...



"kscreen-console monitor" also shows the change:

Priorities changed: QMap((1, KScreen::Output(1, "HDMI-A-1", connected enabled
priority 3, pos: QPoint(0,380), res: QSize(1680, 1050), modeId: "0", scale:
0.75, clone: no, rotation: KScreen::Output::None, followPreferredMode:
false))(2, KScreen::Output(2, "DP-1", connected enabled priority 1, pos:
QPoint(6080,360), res: QSize(2560, 1440), modeId: "0", scale: 1, clone: no,
rotation: KScreen::Output::None, followPreferredMode: false))(3,
KScreen::Output(3, "DP-2", connected enabled priority 2, pos: QPoint(2240,0),
res: QSize(3840, 2160), modeId: "0", scale: 1, clone: no, rotation:
KScreen::Output::None, followPreferredMode: false)))
Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"



I also gathered these snippets from journalctl and annotated them:

###### changing priorities to my config (decending in priority: DP-2 DP-1
HDMI-A-1) via systemsettings
Feb 23 10:23:15 PC-Linux systemd[809]: Started System Settings - System
Settings.
Feb 23 10:23:21 PC-Linux plasmashell[1003]: qt.qpa.wayland: Wayland does not
support QWindow::requestActivate()
Feb 23 10:23:21 PC-Linux plasmashell[1003]: qt.qpa.wayland: Wayland does not
support QWindow::requestActivate()
Feb 23 10:23:21 PC-Linux plasmashell[1003]: qt.qpa.wayland: Wayland does not
support QWindow::requestActivate()
Feb 23 10:23:21 PC-Linux plasmashell[1003]: Checking screens: available:
(QScreen(0x56522dec1f10, name="DP-2"), QScreen(0x56522dec2210, name="DP-1"),
QScreen(0x56522dec2f20, name="HDMI-A-1")) redundant: QHash() fake: QSet() all:
(QScreen(0x56522dec2f20, name="HDMI-A-1"), QScreen(0x56522dec2210,
name="DP-1"), QScreen(0x56522dec1f10, name="DP-2"))
Feb 23 10:23:21 PC-Linux kcminit[2938]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 23 10:23:21 PC-Linux kcminit[2949]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 23 10:23:21 PC-Linux kcminit[2939]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 23 10:23:21 PC-Linux kcminit[2953]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
###### switching to tty3
Feb 23 10:27:22 PC-Linux kwin_wayland[895]: kwin_wayland_drm: Atomic commit
failed! Invalid argument
Feb 23 10:27:22 PC-Linux kwin_wayland[895]: kwin_wayland_drm: Presentation
failed! Invalid argument
Feb 23 10:27:23 PC-Linux kwin_wayland[895]: kwin_core: Applying KScreen config
failed!
Feb 23 10:27:23 PC-Linux kwin_wayland[895]: kwin_wayland_drm: Atomic commit
failed! Permission denied
Feb 23 10:27:23 PC-Linux kwin_wayland[895]: kwin_wayland_drm: Presentation
failed! Permission denied
Feb 23 10:27:23 PC-Linux plasmashell[1003]: qt.qpa.wayland: Wayland does not
support QWindow::requestActivate()
Feb 23 10:27:23 PC-Linux plasmashell[1003]: qt.qpa.wayland: Wayland does not
support QWindow::requestActivate()
Feb 23 10:27:23 PC-Linux plasmashell[1003]: qt.qpa.wayland: Wayland does not
support QWindow::requestActivate()
Feb 23 10:27:23 PC-Linux plasmashell[1003]: Checking screens: available:
(QScreen(0x56522dec2210, name="DP-1"), QScreen(0x56522dec1f10, name="DP-2"),
QScreen(0x56522dec2f20, name="HDMI-A-1")) redundant: QHash() fake: QSet() all:
(QScreen(0x56522dec2f20, name="HDMI-A-1"), QScreen(0x56522dec2210,
name="DP-1"), QScreen(0x56522dec1f10, name="DP-2"))
Feb 23 10:27:23 PC-Linux kwin_wayland[895]: kwin_core: Applying KScreen config
failed!
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "alsa_input.usb-MICE_MICROPHONE_USB_MICROPHONE_201308-00.mono-fallback"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "alsa_input.usb-MICE_MICROPHONE_USB_MICROPHONE_201308-00.mono-fallback"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SINK@"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SOURCE@"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SINK@"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SOURCE@"
Feb 23 10:27:23 PC-Linux kcminit[3157]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 23 10:27:23 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "auto_null.monitor"
Feb 23 10:27:23 PC-Linux kcminit[3165]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 23 10:27:23 PC-Linux kcminit[3173]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 23 10:27:23 PC-Linux kcminit[3158]: Initializing 
"/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 23 10:27:23 PC-Linux kwin_wayland[895]: kwin_core: Applying KScreen config
failed!
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_input.usb-MICE_MICROPHONE_USB_MICROPHONE_201308-00.mono-fallback"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_input.usb-MICE_MICROPHONE_USB_MICROPHONE_201308-00.mono-fallback"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "auto_null"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "auto_null.monitor"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "auto_null.monitor"
Feb 23 10:27:23 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "auto_null.monitor"
Feb 23 10:27:23 PC-Linux kwin_wayland[895]: kwin_core: Applying KScreen config
failed!
###### I waited ~30 seconds before switching back to tty1, during that time the
log is full of "kwin_wayland[895]: kwin_core: Applying KScreen config failed!"
~15x per second
Feb 23 10:28:10 PC-Linux kwin_wayland[895]: kwin_core: Applying KScreen config
failed!
Feb 23 10:28:10 PC-Linux kwin_wayland[895]: kwin_wayland_drm: Failed to create
gamma blob! Invalid argument
Feb 23 10:28:10 PC-Linux kwin_wayland[895]: kwin_wayland_drm: Failed to create
gamma blob! Invalid argument
Feb 23 10:28:10 PC-Linux kwin_wayland[895]: kwin_wayland_drm: Failed to create
gamma blob! Invalid argument
Feb 23 10:28:11 PC-Linux wireplumber[821]: GetManagedObjects() failed:
org.freedesktop.DBus.Error.NameHasNoOwner
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "auto_null"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "auto_null"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "auto_null.monitor"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "auto_null.monitor"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "@DEFAULT_SINK@"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "@DEFAULT_SOURCE@"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SINK@"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SOURCE@"
Feb 23 10:28:11 PC-Linux wireplumber[821]:
<WpPortalPermissionStorePlugin:0x5593314bcf80> Failed to call Lookup:
GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "@DEFAULT_SINK@"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name "@DEFAULT_SOURCE@"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SINK@"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name "@DEFAULT_SOURCE@"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name
"alsa_input.usb-Aukey-PC-LM1E_Camera_Aukey-PC-LM1E_Camera-02.analog-stereo"
Feb 23 10:28:11 PC-Linux kdeconnectd[1163]: org.kde.pulseaudio: No object for
name
"alsa_input.usb-Aukey-PC-LM1E_Camera_Aukey-PC-LM1E_Camera-02.analog-stereo"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-stereo"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_input.usb-Aukey-PC-LM1E_Camera_Aukey-PC-LM1E_Camera-02.analog-stereo"
Feb 23 10:28:11 PC-Linux plasmashell[1003]: org.kde.plasma.pulseaudio: No
object for name
"alsa_input.usb-Aukey-PC-LM1E_Camera_Aukey-PC-LM1E_Camera-02.analog-stereo"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to