You are not logged in.

#1 2016-04-30 02:44:14

lighthearted
Member
Registered: 2016-04-07
Posts: 9

Computer freezes after switching on external monitor

I have a Lenovo Thinkpad L460 with Intel graphics. Output of

lspci | grep VGA

is

00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 07)

I have installed xf86-video-intel. The output of

xrandr

is

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1920x1080     60.02*+
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.89  
   1280x800      59.81  
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       60.00  
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

If I turn the VGA output, which is listed as "DP2", off, and then back on, e.g., via

xrandr --output DP2 --mode 1920x1080

X freezes and I can't do anything, not even escape to another tty, so I have to manually power off my computer. The same thing if I start with VGA disconnected, and then connect it. The same thing happens with DP output and HDMI output.

My Xorg.0.log can be found here: http://pastebin.com/fHW34BrK. Nothing else was written to it after I executed the above command to turn on VGA; the VGA display will work for a second, and then X will freeze, but no error message will be reported to the log file. I have tried the various fixes listed here: https://wiki.archlinux.org/index.php/intel_graphics, under "X freeze/crash with intel driver" and "Skylake Support", and none of them work.

EDIT: A new piece of information: I went to BIOS and went to the "Display" section and set it so that my laptop uses VGA output on boot, rather than my laptop screen. Now, everything works fine if my monitor is connected at boot time. However, if my monitor is not connected at boot time, but connected later, then I have the same problem: switching it on freezes the computer.

Last edited by lighthearted (2016-05-11 13:23:12)

Offline

#2 2016-05-18 14:02:04

alaintno
Member
Registered: 2016-04-25
Posts: 2

Re: Computer freezes after switching on external monitor

Hello,

I'm getting the exact same issue on an HP EliteBook G3 850.

Same crappy GC :

00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 07)

I've tried the same steps as you, with no more luck.

Which information shall I provide to help finding out where this issue come from ?

uname -r
4.5.4-1-ARCH

Thanks.

Offline

#3 2016-05-19 20:32:14

direx
Member
Registered: 2016-05-19
Posts: 3

Re: Computer freezes after switching on external monitor

Hi,

first of all: I am in the same boat. I also have a Thinkpad L460 and the Intel graphics under Linux is total crap. I am also getting freezes and lockups with external monitors (especially with the Lenovo Ultra Dock).

There is one thing I have noticed though: With Kernel 4.6 everything has become a bit better. So give it a try (4.6. is in testing right now).

@lighthearted: Just a hint for you: Update your L460 BIOS. It has newer Skylake microcode so you don't need the "initrd=\intel_ucode" thing any more wink

Offline

#4 2016-05-20 06:33:38

alaintno
Member
Registered: 2016-04-25
Posts: 2

Re: Computer freezes after switching on external monitor

Hi,

Thanks direx, I confirm that the kernel 4.6.0-1-ARCH fix that issue.

Offline

#5 2016-05-20 12:21:37

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Computer freezes after switching on external monitor

direx wrote:

@lighthearted: Just a hint for you: Update your L460 BIOS. It has newer Skylake microcode so you don't need the "initrd=\intel_ucode" thing any more wink

Updating BIOS/UEFI firmware is mostly a good idea, removing the intel_ucode part is not .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2016-05-20 21:12:12

stefan_vgapass
Member
Registered: 2014-03-17
Posts: 6

Re: Computer freezes after switching on external monitor

I've had this issue when using a kernel <4.6

At the moment, using "linux-mainline" from AUR and booting without the "intel_pstate=no_hwp" kernel parameter ( needed for kernel <4.6) solves this issue completely.

This is until kernel 4.6.1 gets passed Testing.

 OS: Arch Linux 
 Kernel: x86_64 Linux 4.6.0-mainline
 Uptime: 3d 4h 2m
 Shell: zsh 5.2
 Resolution: 3926x1440
 DE: Gnome 
 WM: GNOME Shell
 CPU: Intel Core i7-6500U CPU @ 3.1GHz
...
lspci | grep VGA         
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 07)
...
pacman -Q|grep intel
libva-intel-driver 1.7.0-1
xf86-video-intel 1:2.99.917+645+g88733a7-1

Caveat: booting with "linux-mainline" breaks virtualbox.
Virtualbox's dkms driver builder can't build against 4.6.0, I haven't worked out why.

Offline

#7 2018-07-15 12:29:26

mvasi90
Member
Registered: 2017-02-02
Posts: 41

Re: Computer freezes after switching on external monitor

I have the same issue with the kernel:

4.17.5-1-ARCH

I'm using a MSI Apache Pro GE72 6QD laptop. I have an external monitor connected to HDMI port. xrandr output:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
eDP-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080     60.00*+  59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   ...
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00*+  50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.90  
   ...

When I'm powering off the laptop screen with xrandr, the entire system freezes after pressing TAB key on xterm:

xrandr --output eDP-1-1 --off

Xorg:

[user@SYSTEM ~]$ Xorg -version

X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux SYSTEM 4.17.5-1-ARCH #1 SMP PREEMPT Sun Jul 8 17:27:31 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/disco-root rw cryptdevice=UUID=XXX-XXX-XXX-XXX...:cryptolvm idle=nomwait nouveau.modeset=0 pci=nomsi nvidia-drm.modeset=1 quiet
Build Date: 18 June 2018  03:12:37PM
 
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.

PostData: I'm using i3-wm

Last edited by mvasi90 (2018-07-15 13:13:05)

Offline

#8 2018-07-15 23:29:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,429

Re: Computer freezes after switching on external monitor

While I'm willing to believe you to have similar symptoms it has been 2 years and a lot of the landscape has changed thus you are unlikely to have the same cause, please make your own thread about this.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.

Online

Board footer

Powered by FluxBB