Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: Is there a way to get out of a frozen desktop?

  1. #11
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    346

    Default AW: Is there a way to get out of a frozen desktop?

    I started using openSUSE 42.1 LEAP with the Beta version and had only a few minor problems. But suddenly, after the final release version was in the repos, i got those desktop freezes: desktop would hang and no keyboard available except for Ctrl-Alt-Backspace (twice) or CTRL-Alt Fx.

    The problem occurred on a machine with NVIDIA graphics as well as on a machine with Intel graphics. I tried disabling the compositor, but that did not help. In ".xsession-errors-:0" i found lots of errors which had something like "BadWindow" in it. Finally i found out:

    When i use "org.kde.breeze" as window decoration every thing works fine. But when i choose "plastic" as window dekoration i am back to the problems mentioned above.

    It might be purely coincidental but to me it helps.

    Best regard

    susejunky

  2. #12

    Default Re: Is there a way to get out of a frozen desktop?

    Quote Originally Posted by 6520302 View Post
    That worked perfectly. I opened a spreadsheet, made a change, saved it, and closed it. With only the file folder open on the desktop, the desktop was frozen.

    Ctrl-Alt-[backspace] twice offered me a login screen and here I am.

    Still wondering about libOffice causing this freeze that was not happening before this weekend.
    This *might* actually be:
    https://bugzilla.opensuse.org/show_bug.cgi?id=924764

    The question is: Is only the desktop frozen? Can you work normally with other applications that are still open?
    Does this also happen when you open LibreOffice normally from the menu, or only when open a document with LO?

    Do you get such an error dialog? The desktop should unfreeze if you click on OK in this case.

  3. #13

    Default Re: Is there a way to get out of a frozen desktop?

    Quote Originally Posted by Fraser_Bell View Post
    BTW:

    If you want to turn the r, e, & i options back on, just post back here and I will help you with that.

    But it would not hurt for you to investigate the reasons why the devs have decided it is best to have those turned off by default.

    If you do want that help, it depends on your current settings, so then post the output of
    Code:
    cat /proc/sys/kernel/sysrq
    Because C-A-BS is working for me I don't think I should play with setting that important folks have deemed not for my use.
    That said, the current setting is 184

  4. #14

    Default Re: Is there a way to get out of a frozen desktop?

    Quote Originally Posted by wolfi323 View Post
    This *might* actually be:
    https://bugzilla.opensuse.org/show_bug.cgi?id=924764

    The question is: Is only the desktop frozen? Can you work normally with other applications that are still open?
    Does this also happen when you open LibreOffice normally from the menu, or only when open a document with LO?

    Do you get such an error dialog? The desktop should unfreeze if you click on OK in this case.
    I'll need some time to better understand the bug report, thanks.

    By frozen desktop I mean that nothing works except that I can move the mouse pointer. With previous desktop problems I could get a response from alt-F2 & ctl-alt. In the current problem those keystrokes do not work. I have not found anywhere on the screen where I could get a response to mouse clicks, I've tried the corners. Thankfully C-A-BS works when done 2x quickly.

    I do not get an error dialog.

    In journalctl I found this:

    Code:
    Dec 07 21:06:26 linux-shpr kernel: dolphin[22894]: segfault at b4 ip 00007efc6728c518 sp 00007ffddef076b8 error 4 in 
    libQt5Core.so.5.5.0[7efc67151000+4c8000
    Dec 07 21:06:32 linux-shpr kernel: traps: dolphin[22948] general protection ip:7fdd47f90518 sp:7ffc7aff9058 error:0 in 
    libQt5Core.so.5.5.0[7fdd47e55000+4c80
    
    Dec 08 22:33:59 linux-shpr kernel: kactivitymanage[1900]: segfault at 7f4a81645d10 ip 00007f4a8188c69a sp 00007ffc17bab7a8 error 4 in libQt5Sql.so.5.5.0[7f4a81877000+3f000]
    You previously mentioned somewhere about removing .local\share\kactivitymanagerd and after posting this I will search for that info and see if that fixes my crashes.

    I see there is a new fglrx, I'm currently using the xf86-video-ati (is that same as nouveau??) for my Radeon HD7570. I was using an earlier fglrx and removed it. For awhile things were very stable. Is it reasonable to try fglrx again?

    Normally I open the spreadsheets by clicking on a Desktop folder view called Documents and accessing the files within. I did try opening the file using 'LibreOffice Calc' from the Application Menu and had similar problems. That was earlier and I will check this again to make sure my memory is correct.
    Last edited by 6520302; 09-Dec-2015 at 12:05. Reason: omission due to finger slip

  5. #15

    Default Re: Is there a way to get out of a frozen desktop?

    Quote Originally Posted by 6520302 View Post
    By frozen desktop I mean that nothing works except that I can move the mouse pointer.
    That means that your system is not completely frozen. But can you still work with other open applications?

    With previous desktop problems I could get a response from alt-F2 & ctl-alt. In the current problem those keystrokes do not work. I have not found anywhere on the screen where I could get a response to mouse clicks, I've tried the corners. Thankfully C-A-BS works when done 2x quickly.
    Sounds like kwin (the window manager) is crashing then. DrKonqi (the crash reporter) freezes it then by attaching a debugger, which also prevents the screen from being updated.
    As a test, try pressing Ctrl+Alt+F1, login in text mode and run:
    Code:
    killall -KILL kwin_x11
    Then switch back with Ctrl+Alt+F7.

    Is the system useable again then? The window decorations will be missing though, you can get them back by restarting kwin, e.g. press Alt+F2 and enter "kwin_x11".

    In journalctl I found this:
    This is definitely unrelated.
    The kactivitymanagerd crash is a known problem that might be fixed in 5.17.
    But it doesn't cause your desktop to freeze.

    You previously mentioned somewhere about removing .local\share\kactivitymanagerd and after posting this I will search for that info and see if that fixes my crashes.
    This might fix kactivitymanager and/or dolphin crashing, but won't help with your desktop.

    I'm currently using the xf86-video-ati (is that same as nouveau??)
    No, this is not the same as nouveau.
    nouveau is for nvidia cards *only*.

    xf86-video-ati contains the open source radeon driver for ATI/AMD cards.

    For awhile things were very stable. Is it reasonable to try fglrx again?
    If it is a graphics driver problem, it might be worth a try, yes.
    If indeed kwin is crashing, it might very well be a graphics driver problem.

    But first try to disable compositing/desktop effects an see if that helps. You can do so either by Shift+Alt+F12 (that's only temporarily), or in "Configure Desktop"->Display and Monitor->Compositing.

    Normally I open the spreadsheets by clicking on a Desktop folder view called Documents and accessing the files within.
    This could cause the desktop to freeze like in the mentioned bug report. But you should get an error dialog saying "KDEInit could not launch '/usr/lib64/libexec/kf5/kioexec" when you close LibreOffice, and the desktop should unfreeze when you click on "OK".

    I did try opening the file using 'LibreOffice Calc' from the Application Menu and had similar problems.
    Then it's probably a different issue. Although an incorrect menu entry could also cause such a freeze as per the bug report.
    But again, you should get some error dialog then, and clicking on "OK" should make everything work normally again.

  6. #16

    Default Re: Is there a way to get out of a frozen desktop?

    Additional info: I just tried LibreOffice Calc starting from the KDE Applications menu. I opened an existing spreadsheet, made a single edit, saved, closed the spreadsheet and then I was locked up as before. Below are responses to your last post. I will get back with more results.

    Quote Originally Posted by wolfi323 View Post
    That means that your system is not completely frozen. But can you still work with other open applications?
    Nothing that is open responds to keystrokes or mouse clicks. Nor can I open new apps.

    Sounds like kwin (the window manager) is crashing then. DrKonqi (the crash reporter) freezes it then by attaching a debugger, which also prevents the screen from being updated.
    OK, here is a short snippet from my most recent crash, don't know if this is useful or not:
    Code:
    Dec 09 11:44:25 linux-shpr org.kde.kglobalaccel[14893]: The X11 connection broke (error 1). Did the X11 server die?
    Dec 09 11:44:25 linux-shpr kernel: kactivitymanage[14959]: segfault at 7f3df5134d10 ip 00007f3df537b69a sp 00007ffce14e6a08 error 4 in libQt5Sql.so.5.5.0[7f
    Dec 09 11:44:25 linux-shpr bluetoothd[1020]: Endpoint unregistered: sender=:1.176 path=/MediaEndpoint/A2DPSource
    Dec 09 11:44:25 linux-shpr bluetoothd[1020]: Endpoint unregistered: sender=:1.176 path=/MediaEndpoint/A2DPSink
    Dec 09 11:44:25 linux-shpr polkitd[1104]: Unregistered Authentication Agent for unix-session:17 (system bus name :1.172, object path /org/kde/PolicyKit1/Aut
    Dec 09 11:44:25 linux-shpr sddm[1164]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
    Dec 09 11:44:25 linux-shpr sddm[1164]: Socket server stopped.
    Dec 09 11:44:25 linux-shpr sddm[1164]: Removing display ":0" ...
    Dec 09 11:44:25 linux-shpr sddm[1164]: Adding new display on vt 7 ...
    Dec 09 11:44:25 linux-shpr sddm[1164]: Display server starting...
    Dec 09 11:44:25 linux-shpr sddm[1164]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{24f38c45-6c37-42df-947c-0ae029a88924} -background none -noreset -d
    Dec 09 11:44:26 linux-shpr ca.desrt.dconf[14893]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on a
    Dec 09 11:44:26 linux-shpr org.gtk.Private.MTPVolumeMonitor[14893]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message:
    Dec 09 11:44:26 linux-shpr org.gtk.Private.GPhoto2VolumeMonitor[14893]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving mess
    Dec 09 11:44:26 linux-shpr org.freedesktop.Tracker1[14893]: Received signal:15->'Terminated'
    Thank you for the kwin code, I'll try that next and reply with results.

    But first try to disable compositing/desktop effects an see if that helps.
    Ok, done and will check the results.


    This could cause the desktop to freeze like in the mentioned bug report. But you should get an error dialog
    There is no dialog. I have seen that type of dialog in the past but not for this situation.

  7. #17

    Default Re: Is there a way to get out of a frozen desktop?

    Thank you for the kwin kill commands.

    Quote Originally Posted by wolfi323 View Post
    Sounds like kwin (the window manager) is crashing then. DrKonqi (the crash reporter) freezes it then by attaching a debugger, which also prevents the screen from being updated.
    As a test, try pressing Ctrl+Alt+F1, login in text mode and run:
    Code:
    killall -KILL kwin_x11
    Then switch back with Ctrl+Alt+F7.

    Is the system useable again then? The window decorations will be missing though, you can get them back by restarting kwin, e.g. press Alt+F2 and enter "kwin_x11".
    This worked (disabling compositing had no noticeable effect). So where do I go from here?

  8. #18

    Default Re: Is there a way to get out of a frozen desktop?

    Quote Originally Posted by 6520302 View Post
    This worked (disabling compositing had no noticeable effect). So where do I go from here?
    This means, that it is indeed kwin crashing.

    Have you tried whether you can reproduce this on a fresh user account already? Would rule out a problem with the user settings.

    To investigate the crash further, open a konsole, kill kwin_x11, and run it again with "gdb kwin_x11" (type "run" to start it).
    Then reproduce the crash, and type "bt" into the gdb "window".

    If you run into the same freeze you might have to disable the crash reporter first though (I'm not sure), by running "export KDE_DEBUG=1" before "gdb kwin_x11".

    Or see here: https://community.kde.org/KWin/Debugging

    I find it a bit strange that this would only occur with LibreOffice though.
    Is that so?
    If yes, you might also try to uninstall LibreOffice's desktop integration packages (libreoffice-kde4, libreoffice-gnome, libreoffice-gtk3) as a test. Especially the last one is known to cause problems.

    And as susejunky indicated, the crashes might be caused by the window decoration. Which one are you using? If it's Plastik, try to switch to Breeze instead.
    Although personally I have no problem with Plastik either...
    Last edited by wolfi323; 09-Dec-2015 at 14:01.

  9. #19

    Default Re: Is there a way to get out of a frozen desktop?

    Quote Originally Posted by wolfi323 View Post
    I find it a bit strange that this would only occur with LibreOffice though.
    Is that so?
    If yes, you might also try to uninstall LibreOffice's desktop integration packages (libreoffice-kde4, libreoffice-gnome, libreoffice-gtk3) as a test. Especially the last one is known to cause problems.

    And as susejunky indicated, the crashes might be caused by the window decoration. Which one are you using? If it's Plastik, try to switch to Breeze instead.
    Although personally I have no problem with Plastik either...
    I never changed the window decoration and in fact had to look for it to understand what you were referring to. Anyway, it's set to kde.org.breeze.

    I have not tried a new user, I'll check that. And thanks for the debugging instructions, I'll try them.

    I have been focusing my attention on LibreOffice Calc (rarely use the rest of the suite) because that is what I was using when I discovered this. And I have been very careful to have minimum apps open so that I don't lose data. I'll have to check to see if I can find other apps that cause this. I don't seem to have this problem w/ Firefox & Tbird.

  10. #20

    Default Re: Is there a way to get out of a frozen desktop?

    Quote Originally Posted by wolfi323 View Post
    This means, that it is indeed kwin crashing.

    Have you tried whether you can reproduce this on a fresh user account already? Would rule out a problem with the user settings.

    To investigate the crash further, open a konsole, kill kwin_x11, and run it again with "gdb kwin_x11" (type "run" to start it).
    Then reproduce the crash, and type "bt" into the gdb "window".

    If you run into the same freeze you might have to disable the crash reporter first though (I'm not sure), by running "export KDE_DEBUG=1" before "gdb kwin_x11".

    Or see here: https://community.kde.org/KWin/Debugging
    I created a new user and that user crashes when using libreOffice Calc. It's a bit different, crashing more quickly and merely opening and closing the app can cause the crash, whereas with my existing user sometimes I may have to perform a save operation more than once before it crashes.

    In the process of killing kwin from tty2, sometimes I cannot get alt-f2 to open krunner, but I can run krunner in kconsole. This is different from what I first reported where I was able to use alt-f2. At this time I have no consistency in whether or not alt-f2 works or not.

    I followed your instructions for gdb but the freeze will not allow me to dump the stack. I did the export KDE_DEBUG=1 after killing kwin and before starting gdb. Also, I don't have any debugging symbols. Should I install those?

    I have tried all of your suggestions so far except for installing fglrx. Do you have any other thoughts?

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •