Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my 2 year old PC, Linux is crashing at random times. It just freezes the GUI. I already tried Ubuntu 16, Ubuntu 18, Xubuntu 16 & 18, Linuxmint 18 and Linuxmint 19. There are no errors in syslog during the crash time. The machine works perfectly in Windows 10. So I'm sure there are no hardware issues.
There are no custom compiled kernel modules. A very basic fresh installation of Ubuntu, Xubuntu or Linuxmint results in crash. The absence of errors in syslog makes it difficult to troubleshoot.
Already tried Linux kernel 4.15, 4.18 and 5.0. All have the same issue.
In order to get XWindows upgraded, Hardware Enablement (HWE) was enabled in Ubuntu. Still it crashed with the latest XWindows.
My understanding is a complete freeze of the machine can be only due to kernel or XWindows issues. But here I have tried different versions already.
System Information:
Installed Kernel:
Code:
root@d37:~# uname -a
Linux d37 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@d37:~#
lspci
Result of lspci
Code:
root@d37:~# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
root@d37:~#
lsusb
Code:
root@d37:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04ca:0061 Lite-On Technology Corp.
Bus 001 Device 003: ID 04f2:0760 Chicony Electronics Co., Ltd Acer KU-0760 Keyboard
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@d37:~#
Use CTRL-ALT-F1 to get a system console and see what's going on with the desktop environment. See if you can kill the XServer and then let it restart and see how it's working then. I'd perform limited actions from within the desktop, like not open a browser or certain UI apps that you always do, one at a time and see if one of them tends to cause this problem.
It is not possible to take virtual console. The keyboard won't work. It is not due to any specific software like browsers as I understand. It can happen anytime even when it is idle for some time.
Last edited by kladizkov.one; 11-25-2019 at 06:25 AM.
Reason: Mistake
You tried different OSes and their versions. But, did you attempt to try different desktop environment; I believe default is gnome (in Ubuntu 18), but you could try kde or cinnamon (or others)?
If you do not have preference on package manager, you should try Fedora or opensuse (or other RPM based distros); do not have to install; try them on live CD to see if any of them behaves better on your machine?
I have already tried xfce, cinnamon and gnome. But afaiu these environment doesn't freeze a PC.
This is unclear and please do not abbreviate. It appears as if you said you've tried various desktop environments and then said that they do not freeze your system.
Finally figured it out. The problem is either due to Google Chrome or Xorg hardware acceleration. I don't see any errors anywhere. Either I can go with disabling hardware acceleration in Google Chrome or I can disable GLX, DRI2, DRI3 extensions in Xorg. Disabling any of the two avoid the freezing issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.