I have verified the fix in Jammy at Erich's request. A test of /usr/share/sddm/scripts/Xsetup shows the `#!/bin/sh` interpreter was having an issue with the bash-isms of the pasted script:
``` sudo ./Xsetup #> running NVIDIA Prime setup /sbin/prime-offload #> ./Xsetup: 15: Syntax error: word unexpected (expecting ")") ``` One can find the original bash script here: https://github.com/kfocus/kfocus-source/blob/JJ-2023-03/package- main/usr/lib/kfocus/bin/kfocus-sddm-setup The updated interpreter, `#!/bin/bash`, fixes the problem: ``` sudo ./Xsetup running NVIDIA Prime setup /sbin/prime-offload ===== [00006] BEGIN report [00220] Pre-adjust xrandr monitor output: Monitors: 4 0: +*HDMI-0 3840/600x2160/340+0+0 HDMI-0 1: +DP-1 3840/600x2160/340+3840+0 DP-1 2: +DP-3 3840/600x2160/340+7680+0 DP-3 3: +eDP-1-1 2560/344x1440/193+0+0 eDP-1-1 [00223] SetList created: eDP-1-1|2560|1440|11520|0 [00338] SetList applied [01345] Post-adjust xrandr monitor output: Monitors: 4 0: +*eDP-1-1 2560/344x1440/193+11520+0 eDP-1-1 1: +HDMI-0 3840/600x2160/340+0+0 HDMI-0 2: +DP-1 3840/600x2160/340+3840+0 DP-1 3: +DP-3 3840/600x2160/340+7680+0 DP-3 ===== ``` I also confirmed the fix with a functional test illustrated by the attached image. The too is before the update; notice how the inset at the TL is a mirror of the laptop screen. The bottom is after update, and the screens no longer overlap. ** Attachment added: "IMG_20230303_120617.jpg" https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/2009074/+attachment/5651449/+files/IMG_20230303_120617.jpg -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to sddm in Ubuntu. https://bugs.launchpad.net/bugs/2009074 Title: [SRU Regression] SDDM display inset patch crashes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/2009074/+subscriptions -- kubuntu-bugs mailing list kubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs