Bug 471945

Summary: Steam deck - Plasma mobile session locked after waking up and plugging in the dock.
Product: [Plasma] plasma-mobile Reporter: idoitprone <monkeyboyted>
Component: ShellAssignee: Plasma Mobile Bugs <plasma-mobile-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Docked locked screen logs.
dmesg 2
sudo journalctl -u ssdm

Description idoitprone 2023-07-04 13:46:50 UTC
Created attachment 160074 [details]
Docked locked screen logs.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1, Plugin in the dock with an external monitor
2. Set the external monitor as the primary monitor
3. Set the main screen monitor as off
4. Unplug the dock
5. Sleep the device
6. Turn on the device to the mobile lock screen
7. Plugin the dock

OBSERVED RESULT

The lock screen transfers to the external monitor. The main screen is disable as KDE remembers my old settings. However, the session is locked at the locked screen

EXPECTED RESULT
I believe I should be able to login normally without issue.


Workaround:

Plug in the external keyboard and unlock the session

sudo loginctl unlock-session 1


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux  kernel: 6.4.0-5.gce0878a-default (64-bit)
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
???

[ 4483.644601] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[ 4490.489615] input: TrackPoint Keyboard II as /devices/virtual/misc/uhid/0005:17EF:60E1.0007/input/input28
[ 4490.489936] lenovo 0005:17EF:60E1.0007: input,hidraw4: BLUETOOTH HID v0.47 Keyboard [TrackPoint Keyboard II] on 14:13:33:d6:18:62
[ 4508.786875] iommu ivhd0: AMD-Vi: Event logged [INVALID_DEVICE_REQUEST device=0000:00:00.0 pasid=0x00000 address=0xfffffffdf8000000 flags=0x0a00]
[ 4509.047686] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 4509.192340] usb 1-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice= 7.24
[ 4509.192349] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4509.192351] usb 1-1: Product: USB2.0 Hub             
[ 4509.192352] usb 1-1: Manufacturer: VIA Labs, Inc.         
[ 4509.192354] usb 1-1: SerialNumber: 000000000
[ 4509.235597] hub 1-1:1.0: USB hub found
[ 4509.235945] hub 1-1:1.0: 5 ports detected
[ 4509.330497] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 4509.627939] [drm] Failed to add display topology, DTM TA is not initialized.
[ 4510.395444] usb 2-1: New USB device found, idVendor=2109, idProduct=0817, bcdDevice= 7.24
[ 4510.395454] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4510.395457] usb 2-1: Product: USB3.0 Hub             
[ 4510.395458] usb 2-1: Manufacturer: VIA Labs, Inc.         
[ 4510.395459] usb 2-1: SerialNumber: 000000000
[ 4510.419601] hub 2-1:1.0: USB hub found
[ 4510.419709] hub 2-1:1.0: 4 ports detected
[ 4510.626175] show_signal_msg: 68 callbacks suppressed
[ 4510.626181] kscreenlocker_g[29554]: segfault at 27 ip 00007fa923a93ab6 sp 00007ffe53ec2a80 error 4 in libQt5Qml.so.5.15.8[7fa9238b3000+2f8000] likely on CPU 5 (core 2, socket 0)
[ 4510.626195] Code: 6c 24 40 48 8d 78 08 4c 89 fa 48 89 ce 48 89 4c 24 08 ff 50 20 48 89 04 24 48 85 c0 0f 84 3a 01 00 00 48 8b 04 24 48 8b 78 08 <f6> 47 20 0c 0f 85 b8 ad e2 ff 48 8b 47 48 48 85 c0 75 05 e8 02 88
[ 4510.981034] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd
[ 4511.140622] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c52e, bcdDevice=15.00
[ 4511.140631] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4511.140632] usb 1-1.1: Product: USB Receiver
[ 4511.140633] usb 1-1.1: Manufacturer: Logitech
[ 4511.224168] usb 2-1.4: new SuperSpeed USB device number 3 using xhci_hcd
[ 4511.228697] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C52E.0008/input/input29
[ 4511.284818] hid-generic 0003:046D:C52E.0008: input,hidraw4: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:04:00.3-1.1/input0
[ 4511.288992] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52E.0009/input/input30
[ 4511.289252] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52E.0009/input/input31
[ 4511.344598] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52E.0009/input/input32
[ 4511.344882] hid-generic 0003:046D:C52E.0009: input,hiddev97,hidraw5: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:04:00.3-1.1/input1
[ 4511.393085] usb 2-1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[ 4511.393097] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4511.393101] usb 2-1.4: Product: AX88179A
[ 4511.393105] usb 2-1.4: Manufacturer: ASIX
[ 4511.393107] usb 2-1.4: SerialNumber: 00000000000003
[ 4511.470416] irq 9: nobody cared (try booting with the "irqpoll" option)
[ 4511.470425] CPU: 0 PID: 27715 Comm: Isolated Web Co Not tainted 6.4.0-5.gce0878a-default #1 openSUSE Tumbleweed (
Comment 1 idoitprone 2023-07-04 13:54:30 UTC
I tested it again on a fresh boot. You can reproduce this issue by unplugging the external monitor while on the dock on a fresh boot. Perhaps, the lockscreen doesn't like changing screens.
Comment 2 idoitprone 2023-07-04 13:57:16 UTC
Created attachment 160075 [details]
dmesg 2

[   23.825189] cs35l41 spi-VLV1776:01: DSP1: Firmware version: 3
[   23.825195] cs35l41 spi-VLV1776:01: DSP1: cirrus/cs35l41-dsp1-spk-prot.wmfw: Fri 24 Jun 2022 14:55:56 GMT Daylight Time
[   23.939949] cs35l41 spi-VLV1776:01: DSP1: Firmware: 400a4 vendor: 0x2 v0.58.0, 2 algorithms
[   23.940219] cs35l41 spi-VLV1776:01: DSP1: 0: ID cd v29.78.0 XM@94 YM@e
[   23.940226] cs35l41 spi-VLV1776:01: DSP1: 1: ID f20b v0.1.0 XM@17c YM@0
[   23.940233] cs35l41 spi-VLV1776:01: DSP1: Protection: e:\workspace\workspace\tibranch_release_playback_6.76_2\ormis\staging\default_tunings\internal\CS35L53\Fixed_Attenuation_Mono_48000_29.78.0\full\Fixed_Attenuation_Mono_48000_
29.78.0_full.bin
[   25.666777] wlo1: authenticate with f0:72:ea:53:45:15
[   25.767317] [drm] Failed to add display topology, DTM TA is not initialized.
[   26.145334] wlo1: send auth to f0:72:ea:53:45:15 (try 1/3)
[   26.187313] wlo1: send auth to f0:72:ea:53:45:15 (try 2/3)
[   26.193738] wlo1: authenticated
[   26.200440] wlo1: associate with f0:72:ea:53:45:15 (try 1/3)
[   26.204105] wlo1: RX AssocResp from f0:72:ea:53:45:15 (capab=0x1011 status=0 aid=2)
[   26.204442] wlo1: associated
[   26.244401] warning: `QSampleCache::L' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[   26.293875] wlo1: Limiting TX power to 30 (30 - 0) dBm as advertised by f0:72:ea:53:45:15
[   26.293980] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[   55.718127] usb 1-1: USB disconnect, device number 2
[   55.718139] usb 1-1.1: USB disconnect, device number 3
[   55.740043] usb 2-1: USB disconnect, device number 2
[   55.740053] usb 2-1.4: USB disconnect, device number 3
[   55.740239] ax88179_178a 2-1.4:1.0 enp4s0f3u1u4: unregister 'ax88179_178a' usb-0000:04:00.3-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[   55.740285] ax88179_178a 2-1.4:1.0 enp4s0f3u1u4: Failed to read reg index 0x0002: -19
[   55.740290] ax88179_178a 2-1.4:1.0 enp4s0f3u1u4: Failed to write reg index 0x0002: -19
[   55.773802] ax88179_178a 2-1.4:1.0 enp4s0f3u1u4 (unregistered): Failed to write reg index 0x0002: -19
[   55.773812] ax88179_178a 2-1.4:1.0 enp4s0f3u1u4 (unregistered): Failed to write reg index 0x0001: -19
[   55.773816] ax88179_178a 2-1.4:1.0 enp4s0f3u1u4 (unregistered): Failed to write reg index 0x0002: -19
[   55.954395] [drm] Failed to add display topology, DTM TA is not initialized.
[   56.335302] usb 1-1.2: USB disconnect, device number 4
[   56.523633] show_signal_msg: 68 callbacks suppressed
[   56.523640] kscreenlocker_g[2246]: segfault at 50 ip 0000000000000050 sp 00007ffd3ffb07d8 error 14 in kscreenlocker_greet[56011e500000+c000] likely on CPU 2 (core 1, socket 0)
[   56.523662] Code: Unable to access opcode bytes at 0x26.
[   56.840683] hid-steam 0003:28DE:1142.0009: Steam wireless receiver disconnected
[   56.954018] hid-steam 0003:28DE:1142.000B: Steam wireless receiver disconnected
[   57.110627] hid-steam 0003:28DE:1142.000D: Steam wireless receiver disconnected
[   57.169515] cs35l41 spi-VLV1776:01: DSP1: Legacy support not available
Comment 3 idoitprone 2023-07-04 14:00:21 UTC
 1 | home_andresbs_plasma-mobile       | Plasma Mobile Apps (openSUSE_Tumbleweed)            | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/home:/andresbs:/plasma-mobile/openSUSE_Tumbleweed/
 2 | home_andresbs_plasma-mobile_extra | Additional Plasma Mobile apps (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/home:/andresbs:/plasma-mobile:/extra/openSUSE_Tumbleweed/
 3 | home_andresbs_plasma-mobile_gear  | KDE Plasma Mobile Gear (openSUSE_Tumbleweed)        | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/home:/andresbs:/plasma-mobile:/gear/openSUSE_Tumbleweed/
 4 | home_andresbs_pure-maps           | Pure Maps (openSUSE_Tumbleweed)                     | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/home:/andresbs:/pure-maps/openSUSE_Tumbleweed/
 5 | home_dmitry-s                     | home:dmitry-s (openSUSE_Tumbleweed)                 | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/home:/dmitry-s/openSUSE_Tumbleweed/
 6 | kernel-head                       | kernel-head                                         | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/Kernel:/HEAD/standard
 7 | packman                           | packman                                             | Yes     | (r ) Yes  | Yes     | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
 8 | repo-debug                        | openSUSE-Tumbleweed-Debug                           | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/debug/tumbleweed/repo/oss/
 9 | repo-non-oss                      | openSUSE-Tumbleweed-Non-Oss                         | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/non-oss/
10 | repo-oss                          | openSUSE-Tumbleweed-Oss                             | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/oss/
11 | repo-source                       | openSUSE-Tumbleweed-Source                          | No      | ----      | ----    | http://download.opensuse.org/source/tumbleweed/repo/oss/
12 | repo-update                       | openSUSE-Tumbleweed-Update                          | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/tumbleweed/
13 | snappy                            | snappy                                              | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed

I will wait a week to see whether this issue resolves itself. I believe there is a ton kde packages waiting for the next sync.
Comment 4 idoitprone 2023-07-04 14:21:46 UTC
Created attachment 160076 [details]
sudo journalctl -u ssdm

The logs are probably not useful because the kde mobile screenlocker is different.
Comment 5 idoitprone 2023-09-04 15:56:00 UTC

*** This bug has been marked as a duplicate of bug 474113 ***