Bug 1222164

Summary: Slowroll update removed ability to set KDE Plasma Display Resolution
Product: [openSUSE] openSUSE Tumbleweed Reporter: epp
Component: KDE Workspace (Plasma)Assignee: Bernhard Wiedemann <bwiedemann>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: bbilocura, epp, fabian
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot showing KDE Display Resolution window after upgrade

Description epp 2024-03-29 15:45:20 UTC
Created attachment 873934 [details]
Screenshot showing KDE Display Resolution window after upgrade

An update to Slowroll today, is not allowing the KDE Display Resolution to be changed. Attached screenshot shows the error.

The only packages (viewed via YaST) with KWindow in their names, are for KDE 6. It shows kf6-kwindowsystem as being installed. Plasma in Slowroll is still on KDE 5.27.10.
Comment 2 Fabian Vogt 2024-03-29 17:44:11 UTC
Is kscreen5 installed?
Comment 3 epp 2024-03-29 19:01:51 UTC
(In reply to Fabian Vogt from comment #2)
> Is kscreen5 installed?

Yes. From zypper:

Information for package kscreen5:
---------------------------------
Repository     : base-oss
Name           : kscreen5
Version        : 5.27.10-1.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 737.8 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : kscreen5-5.27.10-1.2.src
Upstream URL   : http://www.kde.org
Summary        : Screen management software by KDE
Description    : 
    KScreen handles screen management for both X11 and Wayland sessions, including rotation,
    size, refresh rate, and scaling.
Comment 4 Fabian Vogt 2024-03-29 19:10:34 UTC
Then libkscreen2-plugin should also be installed, is it?
Please also run "kscreen-doctor -i".
Comment 5 epp 2024-03-29 19:23:13 UTC
(In reply to Fabian Vogt from comment #4)
> Then libkscreen2-plugin should also be installed, is it?
> Please also run "kscreen-doctor -i".

libscreen2-plugin shows it is not installed:

Information for package libkscreen2-plugin:
-------------------------------------------
Repository     : update
Name           : libkscreen2-plugin
Version        : 5.27.11-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 653.7 KiB
Installed      : No
Status         : not installed
Source package : libkscreen2-5.27.11-1.1.src
Upstream URL   : http://www.kde.org
Summary        : KDE's screen management library
Description    : 
    Plugins for dynamic display management in KDE


"kscreen-doctor -i" results in two different responses, with and without sudo:

~> sudo kscreen-doctor -i
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.

Aborted


~> kscreen-doctor -i
Environment: 
  * KSCREEN_BACKEND           : [not set]
  * KSCREEN_BACKEND_INPROCESS : [not set]
  * KSCREEN_LOGGING           : [not set]
Logging to                : [logging disabled]
Preferred KScreen backend : KSC_KWayland.so
Available KScreen backends:
  * KSC_Fake.so: /usr/lib64/qt6/plugins/kf6/kscreen/KSC_Fake.so
  * KSC_KWayland.so: /usr/lib64/qt6/plugins/kf6/kscreen/KSC_KWayland.so
  * KSC_QScreen.so: /usr/lib64/qt6/plugins/kf6/kscreen/KSC_QScreen.so
  * KSC_XRandR.so: /usr/lib64/qt6/plugins/kf6/kscreen/KSC_XRandR.so
Comment 6 Fabian Vogt 2024-03-29 19:53:54 UTC
That explains it, apparently Slowroll has some Plasma 6 specific packages in the repo now, which replace necessary Plasma 5 packages.

Please run "zypper in libkscreen2-plugin -libkscreen6-plugin" to fix this specific case.

Reassigning to bmwiedemann to make sure that the incompatible Plasma 6 packages get removed again or the switch to Plasma 6 performed.
Comment 7 epp 2024-03-29 20:02:49 UTC
(In reply to Fabian Vogt from comment #6)
> That explains it, apparently Slowroll has some Plasma 6 specific packages in
> the repo now, which replace necessary Plasma 5 packages.
> 
> Please run "zypper in libkscreen2-plugin -libkscreen6-plugin" to fix this
> specific case.
> 
> Reassigning to bmwiedemann to make sure that the incompatible Plasma 6
> packages get removed again or the switch to Plasma 6 performed.

~> sudo zypper in libkscreen2-plugin -libscreen6-plugin 
Loading repository data...
Reading installed packages...
'-libscreen6-plugin' not found in package names. Trying capabilities.
No provider of '-libscreen6-plugin' found.
Resolving package dependencies...

Problem: the installed libkscreen6-plugin-6.0.2-1.1.2.1.x86_64 obsoletes 'libkscreen2-plugin < 6.0.2' provided by the to be installed libkscreen2-plugin-5.27.11-1.1.x86_64
 Solution 1: deinstallation of libkscreen6-plugin-6.0.2-1.1.2.1.x86_64
 Solution 2: do not install libkscreen2-plugin-5.27.11-1.1.x86_64

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
Comment 8 epp 2024-03-29 20:04:16 UTC
Disregard Comment #7, I didn't see the typo until after I posted it. My apologies.


~> sudo zypper in libkscreen2-plugin -libkscreen6-plugin
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  libkscreen2-plugin

The following package is going to be REMOVED:
  libkscreen6-plugin

1 new package to install, 1 to remove.
Overall download size: 190.9 KiB. Already cached: 0 B. After the operation, additional 113.7 KiB
will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: libkscreen2-plugin-5.27.11-1.1.x86_64 (update)                  (1/1), 190.9 KiB    
Retrieving: libkscreen2-plugin-5.27.11-1.1.x86_64.rpm ......................[done (600.4 KiB/s)]

Checking for file conflicts: .............................................................[done]
(1/2) Removing libkscreen6-plugin-6.0.2-1.1.2.1.x86_64 ...................................[done]
(2/2) Installing: libkscreen2-plugin-5.27.11-1.1.x86_64 ..................................[done]
Running post-transaction scripts .........................................................[done]
Comment 9 epp 2024-03-29 20:35:43 UTC
After making the change in Comment #6, aside from upgrading packages, zypper dup now wants to revert the change (install libkscreen6-plugin and remove libscreen2-plugin), so I cancelled the upgrade.
Comment 10 Bernhard Wiedemann 2024-04-03 06:22:41 UTC
I dropped libkscreen6 
and temporarily added it to the never-update-exceptions
until the next version-bump in a few days.