Bug 98554 - [i915][BDW] Black screen and frozen machine on VT switches
Summary: [i915][BDW] Black screen and frozen machine on VT switches
Status: CLOSED DUPLICATE of bug 95165
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-02 18:52 UTC by Daniel Hahler
Modified: 2016-12-21 08:19 UTC (History)
1 user (show)

See Also:
i915 platform: BDW
i915 features: display/atomic


Attachments
xrandr --verbose (14.48 KB, text/plain)
2016-11-02 18:52 UTC, Daniel Hahler
no flags Details

Description Daniel Hahler 2016-11-02 18:52:14 UTC
Created attachment 127702 [details]
xrandr --verbose

I see a black screen and a frozen machine rather often, especially in the
context of (un)plugging an external screen and VT switches.

This one happened when switching from VT2 with an X server to VT1, where a
(non-X) login prompt should have appeared.
The external screen was not detected anymore: its power had been turned off (and on again); it showed up in "xrandr -q", but was not receiving a signal anymore, and "xrandr -s 0" did not help.
I wanted to see if it would work on another VT (console and Xorg), but then the screen turned black, and I had to press the power button 8 seconds to turn the laptop off.
Then the screen turned fully black - it appeared to have some dark/blackish backlight still before.


Linux 4.8.6-1-ARCH x86_64
Arch Linux
Lenovo X250
Connected through ThinkPad Pro Dock
xf86-video-intel 1:2.99.917+722+g714052f-1

Nov 02 17:40:36 … kernel: wlan0: associated
Nov 02 17:47:26 … kernel: [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* failed to enable link training
Nov 02 17:47:26 … kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to start channel equalization
…
Nov 02 17:48:25 … kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Nov 02 17:49:15 … kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
Nov 02 17:57:52 … kernel: usb 3-3: USB disconnect, device number 5
…
Nov 02 18:01:25 … kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Nov 02 18:01:26 … kernel: wlan0: deauthenticating from 04:18:d6:d6:4c:10 by local choice (Reason: 3=DEAUTH_LEAVING)

Nov 02 18:05:41 … kernel: general protection fault: 0000 [#1] PREEMPT SMP
Nov 02 18:05:41 … kernel: Modules linked in: md4 nls_utf8 cifs dns_resolver fscache ctr ccm fuse ipt_MASQUERADE nf_nat_masquerade_ipv4 xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack br_netfilter bridge stp llc dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c crc32c_generic loop uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media joydev mousedev bnep btusb btrtl btbcm btintel bluetooth iTCO_wdt iTCO_vendor_support nls_iso8859_1 nls_cp437 vfat fat arc4 mei_wdt intel_rapl iwlmvm snd_hda_codec_hdmi snd_hda_codec_realtek x86_pkg_temp_thermal mac80211 intel_powerclamp coretemp kvm_intel snd_hda_codec_generic kvm irqbypass intel_cstate intel_rapl_perf input_leds psmouse intel_pch_thermal
Nov 02 18:05:41 … kernel:  pcspkr i2c_i801 i2c_smbus iwlwifi cfg80211 rtsx_pci_ms memstick lpc_ich e1000e snd_hda_intel shpchp mei_me ptp pps_core mei snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer thermal wmi thinkpad_acpi nvram snd soundcore led_class rfkill ac battery fjes evdev tpm_tis tpm_tis_core mac_hid tpm sch_fq_codel vboxnetflt(O) vboxnetadp(O) pci_stub vboxpci(O) vboxdrv(O) acpi_call(O) ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache algif_skcipher af_alg dm_crypt dm_mod sd_mod rtsx_pci_sdmmc serio_raw mmc_core atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci xhci_pci ehci_pci xhci_hcd libata ehci_hcd scsi_mod usbcore rtsx_pci usb_common i8042 serio i915 video button intel_gtt i2c_algo_bit 
Nov 02 18:05:41 … kernel: CPU: 2 PID: 2482 Comm: Xorg Tainted: G           O    4.8.6-1-ARCH #1
Nov 02 18:05:41 … kernel: Hardware name: LENOVO 20CMCTO1WW/20CMCTO1WW, BIOS N10ET44W (1.23 ) 07/13/2016
Nov 02 18:05:41 … kernel: task: ffff88041f3ad580 task.stack: ffff88041ece8000
Nov 02 18:05:41 … kernel: RIP: 0010:[<ffffffff810c8338>]  [<ffffffff810c8338>] queued_spin_lock_slowpath+0x108/0x1a0
Nov 02 18:05:41 … kernel: RSP: 0018:ffff88041eceb8e8  EFLAGS: 00010206
Nov 02 18:05:41 … kernel: RAX: 07070707070891d7 RBX: ffff88043b3aba58 RCX: ffff88044dc98ac0
Nov 02 18:05:41 … kernel: RDX: 00000000000019d9 RSI: 0000000067697262 RDI: ffff88043b3aba5c
Nov 02 18:05:41 … kernel: RBP: ffff88041eceb8e8 R08: 00000000000c0000 R09: 0000000000000000
Nov 02 18:05:41 … kernel: R10: 0000000000000780 R11: 0000000000000898 R12: ffff88043b3aba58
Nov 02 18:05:41 … kernel: R13: ffff88043b3aba60 R14: ffff88043b3aba5c R15: ffff88043ac5e000
Nov 02 18:05:41 … kernel: FS:  00007febcda2f940(0000) GS:ffff88044dc80000(0000) knlGS:0000000000000000
Nov 02 18:05:41 … kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 02 18:05:41 … kernel: CR2: 00000000017549e8 CR3: 000000041ec91000 CR4: 00000000003426e0
Nov 02 18:05:41 … kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Nov 02 18:05:41 … kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Nov 02 18:05:41 … kernel: Stack:
Nov 02 18:05:41 … kernel:  ffff88041eceb8f8 ffffffff815f78f7 ffff88041eceb928 ffffffff815f5238
Nov 02 18:05:41 … kernel:  ffff88034113ddc0 ffff88043b3aba58 ffff88043b3ad000 ffff8801047a9800
Nov 02 18:05:41 … kernel:  ffff88041eceb958 ffffffffa006a6d5 ffff88024f380800 ffff88043b3ab800
Nov 02 18:05:41 … kernel: Call Trace:
Nov 02 18:05:41 … kernel:  [<ffffffff815f78f7>] _raw_spin_lock+0x27/0x30
Nov 02 18:05:41 … kernel:  [<ffffffff815f5238>] __ww_mutex_lock+0x68/0x90
Nov 02 18:05:41 … kernel:  [<ffffffffa006a6d5>] drm_modeset_lock+0x35/0xe0 [drm]
Nov 02 18:05:41 … kernel:  [<ffffffffa006b3a2>] drm_atomic_get_connector_state+0x32/0x180 [drm]
Nov 02 18:05:41 … kernel:  [<ffffffffa00d690e>] __drm_atomic_helper_set_config+0x29e/0x360 [drm_kms_helper]
Nov 02 18:05:41 … kernel:  [<ffffffffa00d934e>] restore_fbdev_mode+0x13e/0x270 [drm_kms_helper]
Nov 02 18:05:41 … kernel:  [<ffffffffa00da8b4>] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
Nov 02 18:05:41 … kernel:  [<ffffffffa00da92d>] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Nov 02 18:05:41 … kernel:  [<ffffffffa01bce2a>] intel_fbdev_set_par+0x1a/0x60 [i915]
Nov 02 18:05:41 … kernel:  [<ffffffff81381ae5>] ? fb_set_var+0x2f5/0x460
Nov 02 18:05:41 … kernel:  [<ffffffff81381a26>] fb_set_var+0x236/0x460
Nov 02 18:05:41 … kernel:  [<ffffffff810c7366>] ? cpuacct_charge+0x86/0xa0
Nov 02 18:05:41 … kernel:  [<ffffffff810b1fa5>] ? update_curr+0xe5/0x190
Nov 02 18:05:41 … kernel:  [<ffffffff810af45c>] ? set_next_entity+0x4c/0x940
Nov 02 18:05:41 … kernel:  [<ffffffff810b41d4>] ? put_prev_entity+0xb4/0x8c0
Nov 02 18:05:41 … kernel:  [<ffffffff813783cf>] fbcon_blank+0x30f/0x350
Nov 02 18:05:41 … kernel:  [<ffffffff813fdbd2>] do_unblank_screen+0xc2/0x190
Nov 02 18:05:41 … kernel:  [<ffffffff813f3a99>] complete_change_console+0x59/0xe0
Nov 02 18:05:41 … kernel:  [<ffffffff813f4229>] vt_ioctl+0x709/0x12a0
Nov 02 18:05:41 … kernel:  [<ffffffff813e8b45>] tty_ioctl+0x365/0xc70
Nov 02 18:05:41 … kernel:  [<ffffffff811b441a>] ? handle_mm_fault+0xa4a/0x14a0
Nov 02 18:05:41 … kernel:  [<ffffffff8121c433>] do_vfs_ioctl+0xa3/0x5f0
Nov 02 18:05:41 … kernel:  [<ffffffff812276a7>] ? __fget+0x77/0xb0
Nov 02 18:05:41 … kernel:  [<ffffffff8121c9f9>] SyS_ioctl+0x79/0x90
Nov 02 18:05:41 … kernel:  [<ffffffff815f7cf2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
Nov 02 18:05:41 … kernel: Code: 02 89 c2 45 31 c9 c1 e2 10 85 d2 74 41 c1 ea 12 83 e0 03 83 ea 01 48 c1 e0 04 48 63 d2 48 05 c0 8a 01 00 48 03 04 d5 40 c3 8f 81 <48> 89 08 8b 41 08 85 c0 75 09 f3 90 8b 41 08 85 c0 74 f7 4c 8b
Nov 02 18:05:41 … kernel: RIP  [<ffffffff810c8338>] queued_spin_lock_slowpath+0x108/0x1a0
Nov 02 18:05:41 … kernel:  RSP <ffff88041eceb8e8>
Nov 02 18:05:41 … kernel: ---[ end trace b7306f9d2678a20c ]---
Nov 02 18:05:41 … kernel: note: Xorg[2482] exited with preempt_count 1

There were more messages in the dmesg log, up until 18:08:57, when I've powered it off:

Nov 02 18:05:49 … ifplugd(eth0)[1580]: Link beat lost.
Nov 02 18:05:53 … NetworkManager[1592]: <info>  [1478106353.2038] device (eth0): state change: activated -> unavailable (reason 'carrier-changed') [100 20 40]
Nov 02 18:05:53 … NetworkManager[1592]: <info>  [1478106353.2364] dhcp4 (eth0): canceled DHCP transaction, DHCP client pid 28675
Nov 02 18:05:53 … NetworkManager[1592]: <info>  [1478106353.2364] dhcp4 (eth0): state changed bound -> done


Other "intel" messages from that boot:

Nov 01 20:23:13 … kernel: Linux version 4.8.6-1-ARCH (builduser@tobias) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016
Nov 01 20:23:13 … kernel: Command line: initrd=\initramfs-linux.img cryptdevice=UUID=b8b01574-99af-4824-8a1d-2c866774d9c3:lvm root=/dev/mapper/MyStorage-rootlv resume=/dev/mapper/MyStorage-rootlv resume_offset=45139968 ro fbcon=scrollback:1024k
Nov 01 20:23:14 … kernel: intel_idle: MWAIT substates: 0x11142120
Nov 01 20:23:14 … kernel: intel_idle: v0.4.1 model 0x3D
Nov 01 20:23:14 … kernel: intel_idle: lapic_timer_reliable_states 0xffffffff
Nov 01 20:23:14 … kernel: intel_pstate: Intel P-state driver initializing
Nov 01 20:23:14 … kernel: fb: switching to inteldrmfb from EFI VGA
Nov 01 20:23:14 … kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to update link training
Nov 01 20:23:14 … kernel: fbcon: inteldrmfb (fb0) is primary device
Nov 01 20:23:14 … kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Nov 01 20:23:16 … kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops vgt_balloon_space [i915])
Nov 01 20:23:16 … systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
Nov 01 20:23:16 … systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:intel_backlight.
Nov 01 20:23:16 … kernel: intel_rapl: Found RAPL domain package
Nov 01 20:23:16 … kernel: intel_rapl: Found RAPL domain core
Nov 01 20:23:16 … kernel: intel_rapl: Found RAPL domain uncore
Nov 01 20:23:16 … kernel: intel_rapl: Found RAPL domain dram
Nov 01 21:24:40 … kernel: [drm:intel_display_resume [i915]] *ERROR* Restoring old state failed with -22
Nov 01 23:55:28 … kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=323716 end=323717) time 46 us, min 1073, max 1079, scanline start 1088, end 1080



Xorg conf:

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option      "DRI" "2"
EndSection
Comment 1 Jani Saarinen 2016-12-09 10:07:35 UTC
Can you test with latest kernel (drm-tip)?
Comment 2 Maarten Lankhorst 2016-12-12 13:07:20 UTC
I spot DP-MST, so this is likely a dupe of 96781.

*** This bug has been marked as a duplicate of bug 96781 ***
Comment 3 Maarten Lankhorst 2016-12-12 13:16:29 UTC
Hm the oops I meant related to dp-mst is not the same one as the linked bug, but should probably have the same root cause as 95165.

*** This bug has been marked as a duplicate of bug 95165 ***
Comment 4 Jani Saarinen 2016-12-14 11:33:35 UTC
Danien (reporter), agree resolving duplicate?
If so, please close.
Comment 5 Jani Saarinen 2016-12-21 08:19:11 UTC
Closing


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.