From Fedora Project Wiki
(→‎Dependencies: Eliminate empty whitespace)
(→‎How To Test: Basic test plan)
Line 84: Line 84:


== How To Test ==
== How To Test ==
<!-- This does not need to be a full-fledged document. Describe the dimensions of tests that this change implementation is expected to pass when it is done.  If it needs to be tested with different hardware or software configurations, indicate them.  The more specific you can be, the better the community testing can be.
Once the SDDM and Plasma Wayland changes are made, Rawhide users can try this by using nightly KDE ISOs and using them normally to install and run a Rawhide KDE Plasma environment.
 
Remember that you are writing this how to for interested testers to use to check out your change implementation - documenting what you do for testing is OK, but it's much better to document what *I* can do to test your change.
 
A good "how to test" should answer these four questions:
 
0. What special hardware / data / etc. is needed (if any)?
1. How do I prepare my system to test this change? What packages
need to be installed, config files edited, etc.?
2. What specific actions do I perform to check that the change is
working like it's supposed to?
3. What are the expected results of those actions?
-->
 
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 


== User Experience ==
== User Experience ==

Revision as of 10:34, 17 January 2022


Wayland by Default for SDDM

Summary

Change the default display server mode for SDDM to use a Wayland-based greeter rather than an X11-based one.

Owner

  • Name: Neal Gompa, Rex Dieter, Jan Grulich
  • Email: ngompa13@gmail.com, rdieter@gmail.com, jgrulich@redhat.com
  • Product: KDE Spin, Kinoite
  • Responsible WG: KDE SIG

Current status

  • Targeted release: Fedora Linux 36
  • Last updated: 2022-01-17
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

With the work done upstream in SDDM to support using a Wayland based greeter and the introduction of SimpleDRM to fix the broken fallback when platform drivers are unavailable, it is now possible for the Fedora KDE variants (the regular spin and Kinoite) to move to Wayland for the login manager, which effectively completes the switch to Wayland for these variants.

Feedback

Benefit to Fedora

As originally detailed in the Change to switch Plasma to Wayland by default, Fedora is a leader in advancing the adoption of the Wayland protocol as part of the overall strategy to improve the Linux graphical software stack. We have been successful in helping drive Wayland forward in the Plasma Desktop, and we intend to do the same for SDDM.

Scope

  • Proposal owners:
    • Upgrade Package-x-generic-16.pngsddm to the latest snapshot and introduce mutually exclusive sddm-wayland-generic and sddm-x11 greeter configuration packages.
    • Modify Package-x-generic-16.pngplasma-workspace to switch SDDM to Wayland
      • Enable installation of the SDDM Wayland configuration snippet and ship as sddm-wayland-plasma that is mutually exclusive with the other sddm greeter configuration packages. This package will supplement Package-x-generic-16.pngsddm and plasma-workspace-wayland to be automatically installed together.
    • Modify @kde-desktop comps group for Fedora Linux 36 to include sddm-wayland-plasma for the media.


  • Other developers: N/A (not needed for this Change)
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives: N/A

Upgrade/compatibility impact

On upgrade to Fedora Linux 36, SDDM will be transparently switched from the X11 greeter to the Wayland one leveraging kwin. In order to override this, the user can do one of the following:

  • Drop in a configuration file in /etc/sddm.conf.d to set the display server back to X11
  • Swap back to X11 with the configuration package: dnf swap sddm-wayland-plasma sddm-x11


How To Test

Once the SDDM and Plasma Wayland changes are made, Rawhide users can try this by using nightly KDE ISOs and using them normally to install and run a Rawhide KDE Plasma environment.

User Experience

Ideally, there should be no noticeable impact on the user experience, though users may notice that things operate more smoothly and with slightly lower resources.

Dependencies

This change is dependent on the Change to replace fbdev with SimpleDRM. Without that Change, we will need to keep SDDM using X11 because otherwise the fallbacks are broken when drivers do not work.

Contingency Plan

  • Contingency mechanism: Update comps and Package-x-generic-16.pngplasma-workspace so that sddm-x11 is shipped instead.
  • Contingency deadline: beta freeze
  • Blocks release? Yes


Documentation

N/A (not a System Wide Change)

Release Notes

SDDM, the login manager for the Fedora variants using the KDE Plasma Desktop, now uses the Wayland display system.