[Ubuntu-x-swat] [Bug 1581560] Re: system crash when attaching external display

2016-06-27 Thread Rob Latham
The 'bios-outdated-1.13' tag confuses me.

It's true that I am running  (dmidecode says...) Vendor: LENOVO Version:
N14ET29W (1.07 )

but there is no mention of display fixes in the release notes that
accompany n14ur12w (1.13).

I can update my bios but wanted to understand if the tag addition was
for fixing a known issue or was something I should try to see if it
helps.

As a reminder, Ubuntu-15.10 handled this display fine with the same bios
version.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1581560

Title:
  system crash when attaching external display

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1581560/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1581560] Re: system crash when attaching external display

2016-06-21 Thread Rob Latham
I tried an upstream kernel ( 4.4.12-040412-generic #201606011712 ).
Attaching after suspend/resume no longer results in a crash.

The screen frequently fails to restore on the first try.  dmesg has
these lines in that case:

[drm:intel_mst_disable_dp [i915]] *ERROR* failed to update payload -22
[drm] GPU HANG: ecode 8:-1:0x, reason: Kicking stuck wait on blitter 
ring, action: continue
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO 
underrun

But, in an improvement from the Ubuntu kernel, I can unplug and try
again with success.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1581560

Title:
  system crash when attaching external display

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1581560/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1581560] Re: system crash when attaching external display

2016-05-24 Thread Rob Latham
Sometimes, my laptop does not freeze.  Just now I was able to see the
external display upon my second attempt, and found 8 backtraces in
dmesg:

[26529.773617] [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* failed
 to enable link training
[26529.776319] [drm:intel_dp_link_training_channel_equalization [i915]] *ERROR* 
failed to start channel equalization
[26529.778857] [drm:intel_mst_pre_enable_dp [i915]] *ERROR* failed to allocate v
cpi
[26529.845810] [ cut here ]
[26529.845837] WARNING: CPU: 3 PID: 1780 at 
/build/linux-FvcHlK/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12740 
intel_modeset_check_state+0x5b3/0x8a0 [i915]()
[26529.845838] encoder detached but still enabled on pipe A.
[26529.845839] Modules linked in: cpuid pci_stub vboxpci(OE) vboxnetadp(OE) 
vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm rfcomm bnep binfmt_misc 
uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core 
v4l2_common videodev media btusb btrtl btbcm btintel bluetooth intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm 
snd_hda_codec_hdmi irqbypass crct10dif_pclmul crc32_pclmul aesni_intel iwlmvm 
aes_x86_64 lrw gf128mul mac80211 glue_helper snd_seq_midi snd_seq_midi_event 
ablk_helper snd_rawmidi cryptd input_leds joydev snd_hda_codec_realtek iwlwifi 
serio_raw snd_hda_codec_generic thinkpad_acpi nvram cfg80211 snd_hda_intel 
intel_pch_thermal snd_hda_codec mei_me snd_hda_core mei lpc_ich snd_hwdep 
snd_pcm shpchp snd_seq snd_seq_device snd_timer snd soundcore
[26529.845870]  mac_hid parport_pc ppdev lp parport autofs4 ses enclosure uas 
usb_storage i915 i2c_algo_bit drm_kms_helper psmouse syscopyarea sysfillrect 
e1000e sysimgblt ahci fb_sys_fops libahci drm ptp pps_core wmi video fjes
[26529.845882] CPU: 3 PID: 1780 Comm: Xorg Tainted: GW  OE   
4.4.0-22-generic #40-Ubuntu
[26529.845884] Hardware name: LENOVO 20BS0031US/20BS0031US, BIOS N14ET29W (1.07 
) 05/08/2015
[26529.845885]  0286 88216a49 880034c97b08 
813e9c53
[26529.845887]  880034c97b50 c027ca50 880034c97b40 
81080fb2
[26529.845889]  8802443c4318 8800356b1000 8802443c4348 
8802443c4330
[26529.845890] Call Trace:
[26529.845895]  [] dump_stack+0x63/0x90
[26529.845898]  [] warn_slowpath_common+0x82/0xc0
[26529.845899]  [] warn_slowpath_fmt+0x5c/0x80
[26529.845916]  [] intel_modeset_check_state+0x5b3/0x8a0 
[i915]
[26529.845932]  [] intel_atomic_commit+0x4bb/0x6f0 [i915]
[26529.845947]  [] drm_atomic_commit+0x37/0x60 [drm]
[26529.845954]  [] drm_atomic_helper_set_config+0x76/0xb0 
[drm_kms_helper]
[26529.845964]  [] drm_mode_set_config_internal+0x62/0x100 
[drm]
[26529.845974]  [] drm_mode_setcrtc+0x3d2/0x4f0 [drm]
[26529.845981]  [] drm_ioctl+0x152/0x540 [drm]
[26529.845984]  [] ? __set_current_blocked+0x36/0x60
[26529.845992]  [] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[26529.845995]  [] do_vfs_ioctl+0x29f/0x490
[26529.845997]  [] ? fpu__restore_sig+0x4d/0x60
[26529.845999]  [] SyS_ioctl+0x79/0x90
[26529.846002]  [] entry_SYSCALL_64_fastpath+0x16/0x71
[26529.846004] ---[ end trace 1dc2836a34f42c84 ]---


[26530.067034] [ cut here ]
[26530.067056] WARNING: CPU: 3 PID: 1780 at 
/build/linux-FvcHlK/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:12732 
intel_modeset_check_state+0x563/0x8a0 [i915]()
[26530.067057] encoder's enabled state mismatch (expected 1, found 0)
[26530.067057] Modules linked in: cpuid pci_stub vboxpci(OE) vboxnetadp(OE) 
vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm rfcomm bnep binfmt_misc 
uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core 
v4l2_common videodev media btusb btrtl btbcm btintel bluetooth intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm 
snd_hda_codec_hdmi irqbypass crct10dif_pclmul crc32_pclmul aesni_intel iwlmvm 
aes_x86_64 lrw gf128mul mac80211 glue_helper snd_seq_midi snd_seq_midi_event 
ablk_helper snd_rawmidi cryptd input_leds joydev snd_hda_codec_realtek iwlwifi 
serio_raw snd_hda_codec_generic thinkpad_acpi nvram cfg80211 snd_hda_intel 
intel_pch_thermal snd_hda_codec mei_me snd_hda_core mei lpc_ich snd_hwdep 
snd_pcm shpchp snd_seq snd_seq_device snd_timer snd soundcore
[26530.067085]  mac_hid parport_pc ppdev lp parport autofs4 ses enclosure uas 
usb_storage i915 i2c_algo_bit drm_kms_helper psmouse syscopyarea sysfillrect 
e1000e sysimgblt ahci fb_sys_fops libahci drm ptp pps_core wmi video fjes
[26530.067096] CPU: 3 PID: 1780 Comm: Xorg Tainted: GW  OE   
4.4.0-22-generic #40-Ubuntu
[26530.067097] Hardware name: LENOVO 20BS0031US/20BS0031US, BIOS N14ET29W (1.07 
) 05/08/2015
[26530.067098]  0286 88216a49 880034c97b08 
813e9c53
[26530.067100]  880034c97b50 c027ca50 880034c97b40 
81080fb2
[26530.067101]  8802443c4318 880035505b00 8802443c4348 
8802443c4330
[26530.067103] Call Trace:
[26530.067107]  []

[Ubuntu-x-swat] [Bug 1581560] [NEW] system crash when attaching external display

2016-05-13 Thread Rob Latham
Public bug reported:

After upgrading to 16.04, my thinkpad x1 carbon (3rd edition) freezes
and reboots when I attach an external display.

Process: 
-  put laptop to sleep.
- come into work the next day
- open up laptop
- plug in external display
- observe bug

Expected behavior: I can attach the external display
Observed behavior: system shows black screen on both laptop and display and 
after a minute or two reboots.  Laptop drives external display fine after 
reboot.

I ssh to the laptop from another machine and monitored /var/log/syslog,
/var/log/Xorg.0.log, and ~/.xsession-errors.  All I see in those files
before the lockup is this, from Xorg.0.log:

[ 34289.447] (II) intel(0): Enabled output DP1-8
[ 34289.448] (II) intel(0): Enabled output DP1-1
[ 34289.460] (II) intel(0): resizing framebuffer to 2560x1440
[ 34289.482] (II) intel(0): switch to mode 2560x1440@60.0 on DP1-8 using pipe 0,
(0, 0), rotation normal, reflection none

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
.tmp.unity_support_test.0:
 
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Fri May 13 09:24:07 2016
DistUpgraded: 2016-04-21 20:51:13,846 ERROR got error from PostInstallScript 
./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process 
"./xorg_fix_proprietary.py" (No such file or directory) (8))
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 5.0.18, 4.2.0-30-generic, x86_64: installed
 virtualbox, 5.0.18, 4.4.0-21-generic, x86_64: installed
 virtualbox, 5.0.18, 4.4.0-22-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) 
(prog-if 00 [VGA controller])
   Subsystem: Lenovo Broadwell-U Integrated Graphics [17aa:2227]
InstallationDate: Installed on 2015-09-10 (245 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: LENOVO 20BS0031US
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-22-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: Upgraded to xenial on 2016-04-22 (21 days ago)
dmi.bios.date: 05/08/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: N14ET29W (1.07 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20BS0031US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: 
dmi:bvnLENOVO:bvrN14ET29W(1.07):bd05/08/2015:svnLENOVO:pn20BS0031US:pvrThinkPadX1Carbon3rd:rvnLENOVO:rn20BS0031US:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.name: 20BS0031US
dmi.product.version: ThinkPad X1 Carbon 3rd
dmi.sys.vendor: LENOVO
drirc:
 
version.compiz: compiz 1:0.9.12.2+16.04.20160415-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Fri May 13 09:04:56 2016
xserver.configfile: default
xserver.errors:
 
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id4669 
 vendor AUO
xserver.version: 2:1.18.3-1ubuntu2

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug compiz-0.9 ubuntu xenial

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1581560

Title:
  system crash when attaching external display

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1581560/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp