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

            Bug ID: 474681
           Summary: SDDM kwin_wayland ignores set screen resolution
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: tagwer...@innerjoin.org
  Target Milestone: ---

SUMMARY:

    SDDM presents a 1024/768 logon screen on KVM guests (when set to use
Wayland),
    ignoring any previously chosen screen size.

    After logon, Plasma uses the size set in System Settings > Display and
Monitor.

    Originally encountered in Fedora38:

        https://bugzilla.redhat.com/show_bug.cgi?id=2196435

    but can be reproduced in Neon Unstable

STEPS TO REPRODUCE:

    Switch SDDM to use Wayland by copying:

        [General]
        DisplayServer=wayland
        GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
        InputMethod=

        [Wayland]
        CompositorCommand=kwin_wayland --no-global-shortcuts --no-lockscreen
--inputmethod maliit-keyboard --locale1

    as given in
        https://bugzilla.redhat.com/show_bug.cgi?id=2196435#c1

    into
        /etc/sddm.conf

    Configure your chosen screen size, logout or reboot....

OBSERVED RESULTS:

    You get a 1024/768 size SDDM logon screen.

    (It does not seem to matter whether you are using QXL or Virtio video
    or whether you select an X11 or Wayland session.)

EXPECTED RESULTS:

    Depends.

    In a simple case with a single screen, setting the screen size in
    System Settings > Display and Monitor should set the size SDDM uses.

    Manually adding width and height to the CompositorCommand

       CompositorCommand=kwin_wayland --no-global-shortcuts --no-lockscreen
--inputmethod maliit-keyboard --locale1 --width 1440 --height 900

    should (probably?) act as a workround.

SOFTWARE/OS VERSIONS

    Neon Unstable
    Plasma: 5.27.80
    Frameworks: 5.240.0
    Qt: 6.6.0

ADDITIONAL INFORMATION

    With X11, you can set the preferred mode manually by creating a

        /etc/share/X11/xorg.conf.d/50-monitor.conf

    containing:

        Section "Monitor"
               Identifier   "Virtual-0"
               Option "PreferredMode" "1440x900"
        EndSection
        Section "Monitor"
               Identifier   "Virtual-1"
               Option "PreferredMode" "1440x900"
        EndSection

    If you are using QXL video, then SDDM picks up the "Virtual-0" config,
    if Virtio then the "Virtual-1" one (although this may be shown as "Red Hat,
    Inc. QEMU Monitor" under System Settings > Display and Monitor)

    Ref: https://bugs.kde.org/show_bug.cgi?id=420169#c8

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

Reply via email to