I ask the same question a couple of weeks ago but the question was closed because it was related to Ubuntu 17.10 which is under development.
However, I have the same (and worse) issues for the LTS 16.04 and for the new Ubuntu 17.04 or 17.10. Therefore I am asking this question again and because other people also report similar behaviour I wanted to discuss this issue in details.
First you can find the NEW POST and below the INITIAL POST. Please note that the NEW POST mostly refer to the INITIAL POST and that there has be four EDITS on the INITIAL POST.
EDIT 1: providing a part of the system and temperatur sensor logs EDIT 2: name confusion between Gnome and Unity EDIT 3: Installation of Centos 7 which still shows screen flickering but no shutdowns. EDIT 4: Installation of Centos 6 after an uncarefully made update under Centos 7 triggered random shutdowns again.
The following posts contain similar behavior as I am experiencing, often a Lenovo or a Dell computer are involved:
Flickering screen with Intel graphics on Ubuntu 17.04 --> for me the same if I am using and external screen or the laptop
weird screen flickering issue in ubuntu 17.04 GNOME --> I tried everything which is mentioned here
There are many people who having the similar problems. I wanted to include links to their posts but I am lacking reputation in order to do that, sorry for that.
- Lenovo Thinkpad T410
- Intel® Core™ i5 CPU M 540 @ 2.53GHz × 4
- Intel® Ironlake Mobile 64Bit
Same as reported before (see below) but issues went worse:
- Now random shutdowns when especially using shell every couple of minutes
- When using other programs less, but screen flickering often experienced when typing
- Shell (especially when connected via ssh to a server) is frozen in after a couples of minutes
- flickering looks like that: https://www.youtube.com/watch?v=TqAljJ0U5Pc
The attempts to fix the problem
Note that this time I did not install any additional driver or manipulated the software or tried to following instructions for other posts. I just set up the system and tested it. In the INITIAL POST it is described what I tried to do to fix the problems before, but nothing worked out so far (it just went worse). Also installing the latest version of Intel driver did not help. The screen flickering appeared after using the computer half an hour, first random shutdown after 2 hours.
INITIAL POST (an overview details below):
- installing latest Intel driver for Linux
- reinstalling Ubuntu 17.04, updating to 17.10, reinstalling 16.04 (apparently nothing worked out!)
- checking if this is a heat related problem, but the senors does not show any overheating
- following instructions from other posts describing similar problems
- switching from Unity to Gnome
Screen flickering or shutdown does not appear e.g. when I am typing inside the Chrome Browser or writing an email!
NEW POST (relating to Ubuntu Unity LTS 16.04)
- Ubuntu LTS 16.04 64 Bit
- unity 7.4.0
INITIAL POST (relating to Ubuntu Unity 17.04/17.10)
TIME STAMP: 16:00
I am experiencing some graphic failure, screen flickering and random shutdowns from Ubuntu 17.10 on my Lenovo Computer (although System settings-->Details show 17.04!). I appreciate very much your help!
- Ubuntu 17.10 64 Bit (Zesty Zapus)
- unity 7.5.0
- Screen is starting flickering randomly: anytime I press a key, 1 flicker.
- This goes on for several times and then the screen turns black only showing one red blinking line on the left side. After about 30s doing that the laptop shuts down.
- The shutdown happens randomly but correlates with screen flickering, the more flicker we had before the often the laptop shuts down a flicker happens usually when typing into the shell usual keys are: backspace, enter, up/down key, first key pressed if typing something into the shell
- I also experienced it when typing into the search bar of
Drivers for the graphics not listed inSystem Settings--> Software & Updates --> Additional Drivers` does not recognize any installed graphic drivers
- Behavior is similar to the issues reported by Aqil Hex and many more (not allowed to post more links here -- sorry!)
How I tried to solve it:
- Updated and reinstalled Ubuntu and other graphic related packages many times.
- Installing the latest drivers from Intel Graphics for Linux web page v2.0.5.
This is the current configuration:
System: Host: serenity Kernel: 4.10.0-22-generic x86_64 (64 bit) Desktop: Gnome 3.24.2 Distro: Ubuntu Artful Aardvark (development branch) Machine: Device: laptop System: LENOVO product: 2537E82 v: ThinkPad T410 Mobo: LENOVO model: 2537E82 BIOS: LENOVO v: 6IET85WW (1.45 ) date: 02/14/2013 CPU: Dual core Intel Core i5 M 540 (-HT-MCP-) speed/max: 1199/2534 MHz Graphics: Card: Intel Core Processor Integrated Graphics Controller Display Server: X.Org 1.19.3 drivers: modesetting (unloaded: fbdev,vesa) Resolution: firstname.lastname@example.org GLX Renderer: Mesa DRI Intel Ironlake Mobile GLX Version: 2.1 Mesa 17.1.2 Network: Card-1: Intel 82577LM Gigabit Network Connection driver: e1000e Card-2: Intel Centrino Advanced-N 6200 driver: iwlwifi Drives: HDD Total Size: 128.0GB (62.0% used) Info: Processes: 232 Uptime: 3:40 Memory: 2760.0/5761.8MB Client: Shell (bash) inxi: 2.3.11 Verified my installation following this steps from AMD Linux Community. glxinfo | grep direct direct rendering: Yes
I want to follow the configuration for Ubuntu 17.10 posted on this page and that from the offical documentation page: https://help.ubuntu.com/community/BinaryDriverHowto/AMD but currently I am not sure if I should do that (I do not want to make it worse)... I also have the problem that fglx and ati are not used for Ubuntu 17.10.
My laptop is connected to a screen Acer 19" Screen (resolution: 1366x768) and I am using an USB keyboard. However, if am using the laptop alone I am experiencing the same issues but less often.
TIME STAMP: 18:00
After heynnma mentioned that I could have a heat-related problem I tried to install a monitoring software and followed the SensorInstallHowto installation manual on the Ubuntu page.
I do not think that my Problem is heat related, since the fan stays nice and quiet and the laptop does not physically show heat. There have been no critical temp warning in my syslog, I only found something like this:
Jun 16 17:22:17 serenity sensors: acpitz-virtual-0 Jun 16 17:22:17 serenity sensors: Adapter: Virtual device Jun 16 17:22:17 serenity sensors: temp1: +48.0°C (crit = +100.0°C) Jun 16 17:22:17 serenity sensors: thinkpad-isa-0000 Jun 16 17:22:17 serenity sensors: Adapter: ISA adapter Jun 16 17:22:17 serenity sensors: fan1: 3906 RPM Jun 16 17:22:17 serenity sensors: temp1: N/A Jun 16 17:22:17 serenity sensors: temp2: +0.0°C etc ... Jun 16 17:22:17 serenity sensors: temp8: +0.0°C
sudo sensors-detect and choosing YES to all YES/no questions. The system crashed again. Here are the mos suspious lines of my syslog (I uploaded more of it to my Dropbox ready to download --> syslog on Dropbox
Jun 16 17:19:42 serenity gnome-terminal-: Allocating size to GtkBox 0x5570bdd0fb60 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? Jun 16 17:19:43 serenity gnome-terminal-: message repeated 11 times: [ Allocating size to GtkBox 0x5570bdd0fb60 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?] Jun 16 17:20:14 serenity kernel: [22014.721331] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00Jun 16 17:22:17 serenity rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="577" x-info="http://www.rsyslog.com"] start Jun 16 17:22:17 serenity rsyslogd: rsyslogd's groupid changed to 108 Jun 16 17:22:17 serenity rsyslogd: rsyslogd's userid changed to 104 Jun 16 17:22:17 serenity rsyslogd-2039: Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ] Jun 16 17:22:17 serenity rsyslogd-2007: action 'action 11' suspended, next retry is Fri Jun 16 17:22:47 2017 [v8.16.0 try ... The shutdown happened exactly when I hit the ENTER key with: /etc/init.d/kmod start
Could anyone please take a look on it and maybe see whats wrong with my system? Thanks a lot!
There was a confusion between Unity and Gnome! The software manager also did not work properly and after trying to install updates again and restarting the computer many times, my system was finally showing GNOME as desktop environment. However, I had the same issues and behaviour as reported before.
I got rid of Ubuntu and installed Centos 7 because I heard that Centos kernels are not so heavy than the Ubuntu ones. So Ubuntu's kernel are so-to-say-full with all kind of stuff which might not be compatible with my hardware where Centos might not have them included. It worked and I still have flickering all the time but no shutdowns.
I still used Centos 7 but after doing an update of the system uncarfully (I wanted to install gcc libraries and updated the kernel). I crashed the system again. I had the same issues: flickering and random shutdowns (with very little time between them!).
I noticed that with that update I also installed another kernel on my computer which might trigger the shutdowns (but I am not sure!). I could not redo the update and had to set up the system again.
My solution to the problem was to go even further back and I installed Centos 6 and will not do any fancy updates any more but I still looking for a solution and want to understand what happening to my computer and how I can prevent it.