LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-19-2017, 09:31 AM   #1
MirceaKitsune
Member
 
Registered: May 2009
Posts: 84

Rep: Reputation: 1
Exclamation System randomly freezes or crashes to the login screen, glitches until rebooted


This is a collection of mirrored bug reports, describing a major issue I've been dealing with for the past 3 months. If anyone has any thoughts or ideas on this, please let me know ASAP! Thank you.

https://bugzilla.opensuse.org/show_bug.cgi?id=1028575
https://bugs.kde.org/show_bug.cgi?id=380008
https://bugs.freedesktop.org/show_bug.cgi?id=100306

Approximately once every 1 to 3 days of uptime, the system experiences a sudden and inexplicable crash: The image completely freezes in place, although unlike similar crashes in the past I can keep moving the mouse pointer around. A few seconds afterward, I find myself in a black console... and a few seconds after that, I'm back at the login screen. If I attempt to log back in however, the image either freezes again or desktop effects are no longer working without any error message as to why. Not even forcefully restarting X11 (control + alt + backspace twice) fixes the remaining glitches, and the only way to truly recover the system is to also reboot.

The crashes are completely random, but always caused by a desktop event... however it is not exclusive to desktop effects! The freeze will occur even with compositing completely disabled, although slightly more rarely. It seems to occur either when some desktop effects are playing (like the desktop switching cube animation) but it's usually when I select a new window or a panel pops up (alt-tab switching to another window can alone trigger this).

I use the free video drivers and default system packages, all latest versions of openSUSE Tumbleweed. My card is a Radeon R7 370, GCN 1.0 on RadeonSI.
 
Old 05-20-2017, 02:10 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Hi:

There are a few things that I can think of that might help. Notice I said "might".

Try installing another DE. I'm a fan of XFCE.

Maybe give Gnome, LXDE, or Mate a spin and see if that helps.

Sometimes installing a higher version of the kernel can make things go away too.

See if the dmesg log provides any clues and look at how to add or change any of the acpi flags to the kernel line and see if that helps any.

https://linux.die.net/man/1/acpitool

Look at using some debugging tools.
https://linoxide.com/linux-how-to/us...g-tools-linux/

Hope something get's rid of that bug for you.
 
Old 05-21-2017, 01:50 AM   #3
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,615
Blog Entries: 1

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Thumbs up

Given the attention your problem is getting from @suse.com people in the openSUSE bug I believe the chances of better help here to be rather slim.

How exactly did you try completely disabling compositing? When I do so I do it globally via a file in /etc/X11/xorg.conf.d/:
Code:
Section "Extensions"
        Option          "Composite" "Disable"
EndSection
Maybe doing it globally instead of having Plasma doing it would make a difference?

Have you tried using the already installed IceWM session to see if crashing continues there? I didn't notice it mentioned reading any of your 3 bugs.

Another option in case you've not tried it yet is uninstalling the xf86-video-amdgpu & xf86-video-ati Xorg drivers. This would cause Xorg to fall back to using the integral modeset driver.

Tuesday kernel-default-4.11.0 hit the mirrors, and 4.11.1 was said to be due very shortly. http://download.opensuse.org/reposit...able/standard/ has 4.11.2.

It might be worth mentioning this in the [opensuse-kde] and/or [opensuse-factory] mailing list. ISTR random crashes mentioned there in recent months or weeks, though I think most have to do with nouveau use. ISTR also SDDM being a problem for Plasma users solved by switching to KDM, KDM3, GDM or LightDM. Also try xorg-driver-ati@lists.x.org .

You might want to go back through zypper history and see what correspondence you find between lulls in crashing and xf86-video-amdgpu and kernel-firmware package updates.

HTH
 
Old 05-21-2017, 06:19 AM   #4
MirceaKitsune
Member
 
Registered: May 2009
Posts: 84

Original Poster
Rep: Reputation: 1
The problem still happens with Kernel 4.11.0, and has been happening since at least 4.9.0... between all these Kernel updates, it has came and went. I disable compositing using the Alt + Shift + F12 shortcut, which turns off all desktop effects on the run... before then I also tried using OpenGL 2.1 instead of 3.0 as well as GLX over EGL rendering, no difference. The issue happened when I still used KDM, switching to SDDM made no difference. I have more info like this in the reports mentioned as well in case that's helpful, including a zypper log from around when the problem was last reintroduced.

As for changing DE, I don't plan on doing that sorry. KDE is the only DE I use and like, and setting up a new one would be difficult and time consuming. This is on my normal Desktop computer, which I use daily for my activities and have set up the way I need it for years.
 
Old 05-21-2017, 09:56 AM   #5
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,615
Blog Entries: 1

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Quote:
Originally Posted by MirceaKitsune View Post
between all these Kernel updates, it has came and went.
That's why I suggested you look in the logs for correlations between having no crashing for two weeks and certain packages getting updates, to find which versions were in use when there was no crashing. Once you know the versions and dates, you can look in changelogs for what happened in those that followed, then point it out in the most relevant bug report.

Quote:
I disable compositing using the Alt + Shift + F12 shortcut, which turns off all desktop effects on the run...
Exactly. That's why I suggested trying global disabling instead, to avoid the "on the run" shortcut mechanism KDE uses.

Quote:
As for changing DE, I don't plan on doing that sorry. KDE is the only DE I use and like, and setting up a new one would be difficult and time consuming. This is on my normal Desktop computer, which I use daily for my activities and have set up the way I need it for years.
The suggestion for IceWM is merely a troubleshooting step. It is installed automatically as part of the base openSUSE Xorg environment. Using it will not disturb any KDE settings. If you cannot reproduce the crashes using IceWM, then the problem is almost certainly rooted in QT or KDE.
 
Old 05-21-2017, 02:47 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Quote:
Originally Posted by MirceaKitsune View Post
The problem still happens with Kernel 4.11.0, and has been happening since at least 4.9.0... between all these Kernel updates, it has came and went. I disable compositing using the Alt + Shift + F12 shortcut, which turns off all desktop effects on the run... before then I also tried using OpenGL 2.1 instead of 3.0 as well as GLX over EGL rendering, no difference. The issue happened when I still used KDM, switching to SDDM made no difference. I have more info like this in the reports mentioned as well in case that's helpful, including a zypper log from around when the problem was last reintroduced.

As for changing DE, I don't plan on doing that sorry. KDE is the only DE I use and like, and setting up a new one would be difficult and time consuming. This is on my normal Desktop computer, which I use daily for my activities and have set up the way I need it for years.
Sorry to hear that the problem continues with the highest version of the kernel.
I thought it would of helped.
 
Old 05-29-2018, 10:44 AM   #7
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 497

Rep: Reputation: 163Reputation: 163
Looks like there's more info about this issue at 3D & games produce periodic GPU crashes (Radeon R7 370) but it still hasn't been resolved.
 
Old 05-29-2018, 01:23 PM   #8
MirceaKitsune
Member
 
Registered: May 2009
Posts: 84

Original Poster
Rep: Reputation: 1
Thanks for reminding me of this thread! I still have the issue unfortunately: I can't even open simple 3D programs without the risk of the system immediately freezing at this point. I've worked hard with the admins to test the issue, but we simply cannot record or pinpoint what is happening

At this moment the issue is at a point where it may have real life implications: I may be constrained to buy a new video card just to stop this, and if I do that I literally won't have money to eat for a month. As I make my living from animation and game development, it's either that or this issue can be solved. I know it has to be software related, but in some mind boggling way every way to see what's doing it gets covered up and no kernel or MESA parameters make it go away.
 
  


Reply

Tags
crash, driver, freeze, mesa, radeon


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System freezes at purple login screen after update from 10.04 ubuntu AshishJogeshwar Linux - Laptop and Netbook 1 09-20-2012 02:46 AM
System Freezes Randomly Woodsman Linux - Hardware 5 04-17-2011 09:37 AM
system freezes randomly scuffell Linux - Distributions 1 06-20-2006 06:45 PM
CD opens randomly, system freezes... Likosin Linux - Hardware 2 08-04-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration