LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-16-2016, 01:50 AM   #1
guskenny83
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Rep: Reputation: Disabled
Lenovo thinkpad 13 freezing when rotating or mirroring second screen


Hi,

I recently installed linux mint 18 64-bit on my new Lenovo Thinkpad 13 laptop and it works perfectly straight out of the box, except i am having trouble when connecting a second screen to it.

I first experienced the problem when i connected a second screen, the screen worked fine as a normal second screen, but when i wanted to rotate it 90 degrees clockwise so i could read some papers; it would rotate, but then the whole system would freeze up while it was displaying the "Does the display look okay?" dialogue, and the countdown timer would not count down (and after 30 seconds it didnt revert to the original settings). The only thing i could do was hold the power button down to force it to shut down and then restart.

Then when the computer booted up again, the second screen was working, except not rotated. The same thing happened if i tried to rotate it again.

A similar thing happened when i was trying to teach a class the next day. I connected the laptop to the classroom projector via the HDMI port and it worked fine as a second screen, but when i went to try and mirror my main screen, it either froze up on the "Does the display look okay?" dialogue, or it would appear to work and let me click "Keep this configuration" but then freeze up a couple of seconds after that - different times it did different things, but it would never work as it was supposed to..

after playing around with it some more, the problem seems to occur whenever i try to mirror the screen or rotate it on any screen/projector attached to the HDMI port..

Does anyone have any idea what could be the problem? I recently upgraded from my old Lenovo x131e running Mint 17, and never had any problems like this with the old computer/installation..

Any help would be appreciated, and let me know if you need any more information. Thanks
 
Old 08-19-2016, 07:30 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
What type of graphics card(s)?
What drivers are in use?
Can you SSH into laptop when it's frozen?
Is there anything in Xorg log relevant to freeze?
Is there anything in dmesg relevant to freeze?
 
Old 08-23-2016, 06:58 PM   #3
guskenny83
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi, thanks for your reply, sorry it took me so long to get back to you.

Quote:
Originally Posted by Emerson View Post
What type of graphics card(s)?
It is just the onboard graphics card for the laptop, the output of lspci is:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)

Quote:
Originally Posted by Emerson View Post
What drivers are in use?
the output of lshw -c video is:

*-display
description: VGA compatible controller
product: HD Graphics 520
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915_bpo latency=0
resources: irq:277 memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:e000(size=64)

the output of modinfo i915 is:

filename: /lib/modules/4.4.0-21-generic/kernel/drivers/gpu/drm/i915/i915.ko
license: GPL and additional rights
description: Intel Graphics
author: Intel Corporation
author: Tungsten Graphics, Inc.
firmware: i915/bxt_dmc_ver1.bin
firmware: i915/skl_dmc_ver1.bin
firmware: i915/skl_guc_ver4.bin
srcversion: 78404067F96356B324ADC22


Quote:
Originally Posted by Emerson View Post
Can you SSH into laptop when it's frozen?
I haven't tried to do that sorry, how can i do that?

Quote:
Originally Posted by Emerson View Post
Is there anything in Xorg log relevant to freeze?
im not sure what i am looking for, this is from ~/.xsession_errors:

(cinnamon:1742): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x555f3e0fcdf0 StScrollView.popup-sub-menu] which is not in the stage.
failed to create drawable
Cjs-Message: JS LOG: Invalid network device type, is 14
Cjs-Message: JS LOG: network applet: Found connection for active
Window manager warning: Log level 16: STACK_OP_RAISE_ABOVE: window 0x1e0000b not in stack
Window manager warning: Log level 16: STACK_OP_RAISE_ABOVE: window 0x1e00036 not in stack

(blueberry-tray.py:1761): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

and this is from /var/log/Xorg.0.log:

[ 7.941] (II) intel(0): EDID vendor "LGD", prod id 1164
[ 7.941] (II) intel(0): Printing DDC gathered Modelines:
[ 7.941] (II) intel(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)
[ 8.390] (II) intel(0): resizing framebuffer to 3840x1080
[ 8.404] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI1 using pipe 1, position (1920, 0), rotation normal, reflection none


Quote:
Originally Posted by Emerson View Post
Is there anything in dmesg relevant to freeze?
again, im not sure what i am looking for, but this is the only thing that seems like an error:

[ 7.049277] acpi_call: Cannot get handle: Error: AE_NOT_FOUND
[ 7.060237] acpi_call: Cannot get handle: Error: AE_NOT_FOUND

not sure if it is relevant or not

i hope that gives you some more information. let me know if you need anything else

thanks again for your reply
 
Old 08-23-2016, 11:34 PM   #4
guskenny83
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi, thanks for your reply, sorry it took me so long to get back to you. I thought i'd posted it but when i went back to check it a couple of days later i realised i hadn't!

Quote:
Originally Posted by Emerson View Post
What type of graphics card(s)?
It is just the onboard graphics card for the laptop, the output of lspci is:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)

Quote:
Originally Posted by Emerson View Post
What drivers are in use?
the output of lshw -c video is:

*-display
description: VGA compatible controller
product: HD Graphics 520
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915_bpo latency=0
resources: irq:277 memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:e000(size=64)

the output of modinfo i915 is:

filename: /lib/modules/4.4.0-21-generic/kernel/drivers/gpu/drm/i915/i915.ko
license: GPL and additional rights
description: Intel Graphics
author: Intel Corporation
author: Tungsten Graphics, Inc.
firmware: i915/bxt_dmc_ver1.bin
firmware: i915/skl_dmc_ver1.bin
firmware: i915/skl_guc_ver4.bin
srcversion: 78404067F96356B324ADC22


Quote:
Originally Posted by Emerson View Post
Can you SSH into laptop when it's frozen?
I haven't tried to do that sorry, how can i do that?

Quote:
Originally Posted by Emerson View Post
Is there anything in Xorg log relevant to freeze?
im not sure what i am looking for, this is from ~/.xsession_errors:

(cinnamon:1742): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x555f3e0fcdf0 StScrollView.popup-sub-menu] which is not in the stage.
failed to create drawable
Cjs-Message: JS LOG: Invalid network device type, is 14
Cjs-Message: JS LOG: network applet: Found connection for active
Window manager warning: Log level 16: STACK_OP_RAISE_ABOVE: window 0x1e0000b not in stack
Window manager warning: Log level 16: STACK_OP_RAISE_ABOVE: window 0x1e00036 not in stack

(blueberry-tray.py:1761): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

and this is from /var/log/Xorg.0.log:

[ 7.941] (II) intel(0): EDID vendor "LGD", prod id 1164
[ 7.941] (II) intel(0): Printing DDC gathered Modelines:
[ 7.941] (II) intel(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)
[ 8.390] (II) intel(0): resizing framebuffer to 3840x1080
[ 8.404] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI1 using pipe 1, position (1920, 0), rotation normal, reflection none


Quote:
Originally Posted by Emerson View Post
Is there anything in dmesg relevant to freeze?
again, im not sure what i am looking for, but this is the only thing that seems like an error:

[ 7.049277] acpi_call: Cannot get handle: Error: AE_NOT_FOUND
[ 7.060237] acpi_call: Cannot get handle: Error: AE_NOT_FOUND

not sure if it is relevant or not

i hope that gives you some more information. let me know if you need anything else

thanks again for your reply
 
Old 08-24-2016, 11:45 AM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
Is there a setting in the BIOS/EFI setup for video RAM?
 
Old 08-24-2016, 06:49 PM   #6
guskenny83
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Is there a setting in the BIOS/EFI setup for video RAM?
not that i can see sorry.. here are some screenshots of the BIOS setup utility:

http://imgur.com/orC8j1o

http://imgur.com/EsuzofB

http://imgur.com/khTqcKQ

is there anything there that you can see that might help?
 
Old 08-24-2016, 07:08 PM   #7
guskenny83
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
It also happens when i use the FN-F7 function that switches between display modes, as soon as it gets to the mirror mode, it will freeze up and i have to hard reset..
 
Old 08-25-2016, 05:24 AM   #8
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
There is Intel driver version in Xorg log, make sure you use the latest. You may want to open a bug at https://bugs.freedesktop.org/
 
Old 08-25-2016, 07:56 AM   #9
guskenny83
LQ Newbie
 
Registered: Aug 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
in case it helps, the output of inxi -Fxz is:

System: Host: Gus-Laptop Kernel: 4.4.0-21-generic x86_64 (64 bit gcc: 5.3.1)
Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.1)
Distro: Linux Mint 18 Sarah
Machine: System: LENOVO product: 20GJ002NAU v: ThinkPad S2
Mobo: LENOVO model: 20GJ002NAU
Bios: LENOVO v: R0CET24W (1.12 ) date: 05/06/2016
CPU: Dual core Intel Core i5-6200U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9599
clock speeds: max: 2800 MHz 1: 499 MHz 2: 499 MHz 3: 499 MHz
4: 499 MHz
Graphics: Card: Intel HD Graphics 520 bus-ID: 00:02.0
Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.02hz
GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card Intel Sunrise Point-LP HD Audio
driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.4.0-21-generic
Network: Card-1: Intel Ethernet Connection I219-V
driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: enp0s31f6 state: down mac: <filter>
Card-2: Intel Wireless 8260 driver: iwlwifi bus-ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Drives: HDD Total Size: 256.1GB (12.8% used)
ID-1: /dev/sda model: SAMSUNG_MZNTY256 size: 256.1GB temp: 23C
Partition: ID-1: / size: 103G used: 24G (24%) fs: ext4 dev: /dev/sda5
ID-2: swap-1 size: 8.48GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 35.0C mobo: N/A
Fan Speeds (in rpm): cpu: 0
Info: Processes: 181 Uptime: 9 min Memory: 926.3/7881.0MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.421) inxi: 2.2.35
 
  


Reply


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
lenovo thinkpad t410 screen inverted syedk01 Linux - Laptop and Netbook 1 10-22-2012 11:05 PM
Linux for my old lenovo Thinkpad. sumit369 Linux - Laptop and Netbook 4 03-22-2012 01:48 PM
Lenovo Thinkpad Fedora 7 harpoon45 Linux - Wireless Networking 1 12-31-2007 08:11 PM
Thinkpad Lenovo T61 Nikosis Slackware 33 07-05-2007 06:11 AM
rotating the screen delos SUSE / openSUSE 1 12-11-2005 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration