Bug 472189 - Entering password in SDDM and trying to login results in freeze
Summary: Entering password in SDDM and trying to login results in freeze
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.6
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-12 13:29 UTC by Lyubomir
Modified: 2024-03-13 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
journalctl (1.28 MB, text/plain)
2023-07-12 13:31 UTC, Lyubomir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lyubomir 2023-07-12 13:29:19 UTC
SUMMARY
Hitting enter after entering the password hides the cursor and the PC stops responding, SDDM screen output stays as it is, no loading screen shown. Switching to a different virtual console with Ctrl + Alt + F? doesn't work too. I saw in logs there was a Plasmashell crash, not sure if related. 


STEPS TO REPRODUCE
1. Turn on laptop
2. Enter password
3. Press enter

OBSERVED RESULT
Cursor hidden and that is the only change. Laptop stops reacting.

EXPECTED RESULT
Successfull login

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230707
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Acer
Product Name: Aspire A515-51G
System Version: V2.02
Comment 1 Lyubomir 2023-07-12 13:29:59 UTC
(gdb) bt full
#0  __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at pthread_sigmask.c:43
        local_newmask = {__val = {140376677647680, 32, 140728271301386, 140728271301536, 42, 140376635504224, 2, 1, 140728271301536,
            140376633874761, 0, 140376635520672, 140728271301536, 140376677651608, 140728271301792, 140376633874980}}
        result = 0
#1  0x00007fabfb64150d in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>)
    at ../sysdeps/unix/sysv/linux/sigprocmask.c:25
        result = <optimized out>
#2  0x00007fabfe01687b in KCrash::setCrashHandler(void (*)(int)) () from /lib64/libKF5Crash.so.5
No symbol table info available.
#3  0x00007fabfe018d33 in KCrash::defaultCrashHandler(int) () from /lib64/libKF5Crash.so.5
No symbol table info available.
#4  <signal handler called>
No locals.
#5  0x000055f77270a830 in ?? ()
No symbol table info available.
#6  0x00007fabfd10a962 in ffi_call_unix64 () at ../src/x86/unix64.S:104
No locals.
#7  0x00007fabfd1072df in ffi_call_int (cif=cif@entry=0x7ffdda9efba0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>,
    closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
        classes = {X86_64_INTEGER_CLASS, 32765, 4245707244, 32683}
        stack = <optimized out>
        argp = 0x7ffdda9ef9e0 ""
        arg_types = <optimized out>
        gprcount = 2
        ssecount = <optimized out>
        ngpr = 1
        nsse = 0
        i = <optimized out>
        avn = <optimized out>
        flags = <optimized out>
        reg_args = <optimized out>
#8  0x00007fabfd109f26 in ffi_call (cif=cif@entry=0x7ffdda9efba0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffdda9efc70)
--Type <RET> for more, q to quit, c to continue without paging--c
    at ../src/x86/ffi64.c:710
        arg_types = 0x7ffdda9efbc0
        i = <optimized out>
        nargs = 2
        max_reg_struct_size = <optimized out>
#9  0x00007fabfe296a23 in wl_closure_invoke (closure=closure@entry=0x7fabe80014b0, target=<optimized out>, target@entry=0x55f7726ae1f0,
    opcode=opcode@entry=1, data=<optimized out>, flags=1) at ../src/connection.c:1025
        count = <optimized out>
        cif = {abi = FFI_UNIX64, nargs = 2, arg_types = 0x7ffdda9efbc0, rtype = 0x7fabfd10b1a0 <ffi_type_void>, bytes = 0, flags = 0}
        ffi_types = {0x7fabfd10b2a0 <ffi_type_pointer>, 0x7fabfd10b2a0 <ffi_type_pointer>, 0x11, 0x55f772718080, 0x55f771d19050, 0xffffffffffffff08,
          0x55f771d19050, 0x55f772336a30, 0x7ffdda9efca0, 0x1e989dcc6aa37700, 0x1, 0x1e989dcc6aa37700, 0x7ffdda9efd01, 0x0, 0x0, 0x7ffdda9efc20,
          0x55f7725aae40, 0x1e989dcc6aa37700, 0x55f7725aae40, 0x0, 0x55f7725aae40, 0x7ffdda9efd80}
        ffi_args = {0x7ffdda9efb80, 0x7ffdda9efb88, 0x55f7725aae40, 0x7fabfbf152e8 <QObject::qt_metacast(char const*)+24>, 0x55f7725aae40,
          0x7fabfd1e0078 <QDBusContextPrivate::set(QObject*, QDBusContextPrivate*)+56>, 0x7ffdda9efd50, 0x7ffdda9efd50, 0x0,
          0x7fabfd1944c5 <QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int)+1413>, 0x55f77241db70,
          0x7fabf0003a00, 0x55f772602e50, 0x1721e5da0, 0x7ffdda9efd70, 0x55f7725aae40, 0x55f7710d4ee0 <QListData::shared_null>, 0x7ffdda9efd80,
          0x7fabf0008720, 0x7fabfcbac4f6 <QApplication::notify(QObject*, QEvent*)+134>, 0x55f771d01d50, 0x55f7710d4ee0 <QListData::shared_null>}
        implementation = <optimized out>
#10 0x00007fabfe297203 in dispatch_event (display=display@entry=0x55f771d06330, queue=0x55f771d06420) at ../src/wayland-client.c:1631
        closure = 0x7fabe80014b0
        proxy = 0x55f7726ae1f0
        opcode = 1
        proxy_destroyed = <optimized out>
#11 0x00007fabfe297494 in dispatch_queue (queue=0x55f771d06420, display=0x55f771d06330) at ../src/wayland-client.c:1777
        count = 0
        count = <optimized out>
        err = <optimized out>
#12 wl_display_dispatch_queue_pending (display=0x55f771d06330, queue=0x55f771d06420) at ../src/wayland-client.c:2019
        ret = <optimized out>
#13 0x00007fabfd726a12 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at qwaylanddisplay.cpp:255
No locals.
#14 0x00007fabfbf192b0 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
No symbol table info available.
#15 0x00007fabfcba519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
No symbol table info available.
#16 0x00007fabfbeed4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
No symbol table info available.
#17 0x00007fabfbef0af1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
No symbol table info available.
#18 0x00007fabfbf46c83 in ?? () from /lib64/libQt5Core.so.5
No symbol table info available.
#19 0x00007fabfa91a8d8 in g_main_dispatch (context=0x7fabf0000ee0) at ../glib/gmain.c:3460
        dispatch = 0x7fabfbf46c70
        prev_source = 0x0
        begin_time_nsec = 0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = 0x0
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0x55f771d197c0
        current = 0x55f772333d00
        i = 0
        current = <optimized out>
        i = <optimized out>
        __func__ = "g_main_dispatch"
        source = <optimized out>
        _g_boolean_var_163 = <optimized out>
        was_in_call = <optimized out>
        user_data = <optimized out>
        callback = <optimized out>
        cb_funcs = <optimized out>
        cb_data = <optimized out>
        need_destroy = <optimized out>
        dispatch = <optimized out>
        prev_source = <optimized out>
        begin_time_nsec = <optimized out>
        _g_boolean_var_164 = <optimized out>
#20 g_main_context_dispatch (context=context@entry=0x7fabf0000ee0) at ../glib/gmain.c:4200
No locals.
#21 0x00007fabfa91ace8 in g_main_context_iterate (context=context@entry=0x7fabf0000ee0, block=block@entry=1, dispatch=dispatch@entry=1,
    self=<optimized out>) at ../glib/gmain.c:4276
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 2
        fds = 0x55f772333fa0
        begin_time_nsec = 0
#22 0x00007fabfa91ad7c in g_main_context_iteration (context=0x7fabf0000ee0, may_block=1) at ../glib/gmain.c:4343
        retval = <optimized out>
#23 0x00007fabfbf46496 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
No symbol table info available.
#24 0x00007fabfbeebf8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
No symbol table info available.
#25 0x00007fabfbef4420 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
No symbol table info available.
#26 0x000055f77105ca91 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.6/shell/main.cpp:235
        format = {d = 0x55f771cfa350}
        qpaVariable = <optimized out>
        app = <incomplete type>
        aboutData = {d = std::unique_ptr<KAboutDataPrivate> = {get() = 0x55f7721e62f0}}
        replace = <optimized out>
        corona = <optimized out>
        service = <incomplete type>
Comment 2 Lyubomir 2023-07-12 13:31:30 UTC
Created attachment 160256 [details]
journalctl
Comment 3 Lyubomir 2023-07-12 13:32:00 UTC
Idk if the dump is related.
Comment 4 Nate Graham 2023-08-04 19:46:38 UTC
This looks bad:

Jul 11 15:24:05 localhost.localdomain kwin_wayland[2106]: No backend specified, automatically choosing drm
Jul 11 15:24:08 localhost.localdomain dbus-daemon[1413]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.30' (uid=1000 pid=2111 comm="/usr/libexec/baloo_file")
Jul 11 15:24:08 localhost.localdomain systemd[1]: Starting Disk Manager...
Jul 11 15:24:08 localhost.localdomain udisksd[2158]: udisks daemon version 2.9.4 starting
Jul 11 15:24:09 localhost.localdomain kwin_wayland[2106]: kwin_core: Failed to open /dev/dri/card0 device (Device or resource busy)
Jul 11 15:24:09 localhost.localdomain kwin_wayland[2106]: kwin_wayland_drm: failed to open drm device at "/dev/dri/card0"
Jul 11 15:24:09 localhost.localdomain kwin_wayland[2106]: kwin_wayland_drm: Failed to create any plane. Falling back to legacy mode on GPU  "/dev/dri/card1"

...

Jul 11 15:24:33 localhost.localdomain plasmashell[2242]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Comment 5 Zamundaaa 2024-02-12 15:09:57 UTC
Is this still happening?
The "Device or resource busy" error means that something is still holding on to the Intel GPU while KWin starts up, so KWin can't take control. It then falls back to the NVidia GPU, which can't drive your internal display though.
Outside of misconfiguration, I don't know what could cause that problem.
Comment 6 Bug Janitor Service 2024-02-27 03:46:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-03-13 03:47:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!