Page 6 of 6 FirstFirst ... 456
Results 51 to 59 of 59

Thread: System randomly freezes or crashes to the login screen, glitches until rebooted

  1. #51
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Best start a bug report (and post back the link here);

    openSUSE:Submitting bug reports - openSUSE
    I have 3 bug reports about this crash, all of them full of logs and information. I'm struggling for half an year to convince any developer to bother with the smallest suggestion or comment on the problem, which has yet to happen except briefly on the openSUSE tracker. I'm maintaining forum threads in addition solely to spread the word to as many people as possible, in hopes that anyone who can do something finally sees it and steps up.

    https://bugzilla.opensuse.org/show_bug.cgi?id=1028575
    https://bugs.freedesktop.org/show_bug.cgi?id=100306
    https://bugs.kde.org/show_bug.cgi?id=380008
    openSUSE Tumbleweed x64, KDE Framework 5

  2. #52
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    Today I discovered that even when not toggling desktop effects at runtime, the freeze can still be mined into the system. I got a crash after 1 day of uptime, no toggling of desktop compositing required.

    I find it remarkable how the cause of the crash appears to have immediately changed after me making the comment above yesterday; I tested my theory that desktop effects are the root for 2 months, yet the moment I publish my observations the behavior changes in less than a day. This further makes me concerned that someone might be deliberately programming this crash using vulnerabilities in system components, solely for how strange this coincidence is. I'm still waiting for the developers to help investigate this further whatever the case, as I cannot find any explanation at this point.
    openSUSE Tumbleweed x64, KDE Framework 5

  3. #53
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    To rule out the possibility of a hardware issue, I ran two Memtest86 5.01 sessions from a Clonezilla bootable CD. The first was in the day for 5 hours, the second was during the night for over 10 hours: The program only registered 3 passes in total, but it did not find any errors. I'll attach a picture just in case any useful information is printed there.

    openSUSE Tumbleweed x64, KDE Framework 5

  4. #54
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    This is perhaps the most important piece of information I managed to gather on the problem thus far. If you have a technical understanding of this data, please take a look at the log and let us know what it says!

    I was able to run a SSH session on my computer from another machine. In it I left the command "dmesg -w" running. I toggled desktop effects last night to provoke a crash today, which happened as expected and allowed me to conduct the test. This is basically what dmesg is seeing in realtime as the system is crashing.

    I can't make sense of the information, but it definitely looks descriptive. Although the computer seemed completely frozen locally, the output continued flowing on the other machine printing new information every few seconds. I had to wait in order to catch some of the red lines in the console.

    https://pastebin.com/raw/TdPWJ9pe
    openSUSE Tumbleweed x64, KDE Framework 5

  5. #55
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    I briefly discussed the above log (output of "dmesg -w") on IRC with someone who seemed to have an understanding of the issue. They pointed out something important which I thought to highlight:

    The problem appears to start from 'radeon_vm_bo_invalidate' and is most likely a GPU locking bug. Looking at the stack trace I can see it, alongside explicit mentions of spin lock / CPU soft lockup / stall on CPU. I've also noticed a potentially important message, which although marked as a warning seems to point to a line of source code from the radeon driver:

    Code:
    [58857.640890] WARNING: CPU: 3 PID: 2549 at ../drivers/gpu/drm/radeon/radeon_object.c:84 radeon_ttm_bo_destroy+0xec/0xf0 [radeon]
    openSUSE Tumbleweed x64, KDE Framework 5

  6. #56
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    Full output of "dmesg -w", recorded by running "dmesg -w > filename.txt". The previous one was incomplete as it was subject to console line limitations, cutting off the moment when the crash actually occurs. I left the command running in a different runlevel; This time the crash didn't shut down the monitor after switching to it (Control + Alt + F1) so I was able to cleanly shut down dmesg then issue a normal reboot. I waited there for about 5 minutes before doing so, to give dmesg time to record as much information as possible. The crash appears to start at the following lines:

    Code:
    [112873.658950] radeon 0000:03:00.0: ring 4 stalled for more than 10024msec
    [112873.658953] radeon 0000:03:00.0: GPU lockup (current fence id 0x000000000072f6bd last fence id 0x000000000072f6c1 on ring 4)
    https://pastebin.com/raw/FvL5skkH
    openSUSE Tumbleweed x64, KDE Framework 5

  7. #57
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    I randomly decided to google parts of my dmesg output. I was surprised to discover that someone else has reported a very similar issue, which looks like it might have the same root as mine!

    https://bugs.freedesktop.org/show_bug.cgi?id=101325

    The dmesg output their provided almost perfectly matches my last log, and they also have a RadeonSI card which further narrows down the problem. The main difference is that they experience this with Unreal Engine 4 Editor, whereas for me the trigger is the Plasma desktop.

    That report seems to contain a fair amount of logs, so hopefully bringing it and this together can help produce a solution at long last.
    openSUSE Tumbleweed x64, KDE Framework 5

  8. #58
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    I have important new information. After yet more weeks of testing, I seem to have found both of the common triggers for this issue. The crash happens a few hours after either of the following actions is preformed:

    1 - Desktop effects are toggled at runtime. Pressing Alt + Shift + F12 twice to turn compositing off then back on will mine the system with this crash.

    2 - I insert my USB stick or external drive into an USB port, mount it and access it in Dolphin, then unmount and remove it. A few hours after I've inserted / removed my drive, the freeze occurs. I suspect this has to do with the device notifier popping up in the system tray, asking what action to preform on the device or telling me the device is safe to unplug.

    I'm not sure if the themes I'm using might have any relevancy. Considering this is a graphics problem, I figured I'd share this info as well so others can test them if they wish. I'm using the Plasma / KWin theme Freeze with the default Breeze icons / cursor / widget style:

    https://www.opendesktop.org/p/998653/
    https://www.opendesktop.org/p/1002663/

    Further more, I suspect I now know what the culprit component is. It's very likely that the problem lies within Mesa itself, and was introduced in the switch between 13.0 and 17.0.

    This was confirmed by the bug report I linked previously, which I strongly believe is related to the issue I'm experiencing here: Another person there was able to verify that their crash happens with Mesa 17 but not 13. Looking at the dates, I realize that I started experiencing this problem precisely when openSUSE Tumbleweed upgraded from Mesa 13.0 to 17.0: Mesa 17 landed in early March 2017, it was a few days later that the issues began, which I then reported the following week (08 March 2017). See my comment in the other bug for more info on this:

    https://bugs.freedesktop.org/show_bug.cgi?id=101325#c22

    I also seem to confirm that the issue only affects RadeonSI cards but not R600: My laptop has a Mobility Radeon HD 5470 card (R600) whereas my desktop has a Radeon R7 370 card (RadeonSI). I've been away for two weeks and have been using my laptop exclusively during this time, which has the exact same OS and configuration as my desktop. I was able to preform every task I do on my desktop from my laptop, including the triggers I described above... I have never experienced this freeze with the laptop.
    openSUSE Tumbleweed x64, KDE Framework 5

  9. #59
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    789

    Default Re: System randomly freezes or crashes to the login screen, glitches until rebooted

    I'm sorry for having taken so long to get back to this issue: I needed to be sure that what I'm mentioning is correct, which at this point took months of verification to be certain the issue is gone for good.

    The problem has finally went away; It has not happened once during 3 months, in which I was able to achieve well over a week of uptime! It disappeared after I've preformed the following 3 changes on my system:


    • Modifying my system GTK theme.
    • Disabling KMix at startup.
    • Uninstalling IBus.


    I'm convinced the culprit here was IBus... more specifically its system tray icon. That icon has caused odd glitches in the past, such as making random menus pop up or crashing. It was likely also causing a graphical glitch that introduced this infinite GPU loop. As such the ingredients you should need are:


    • A GCN 1.0 RadeonSI AMD card, running on the "radeon" driver.
    • A KDE (Plasma 5) Linux OS.
    • The IBus input system, with the option to show the system tray icon.


    If others can reproduce this, please comment on the issue and let us know! If the problem does not return, I will mostly just be watching this bug from now on; I don't plan on spending days to do more odd tests... especially after receiving nearly no support from the FreeDesktop crew for almost an year, despite giving them a ton of data and how major this issue was.
    openSUSE Tumbleweed x64, KDE Framework 5

Page 6 of 6 FirstFirst ... 456

Tags for this Thread

Posting Permissions

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