Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54471 - [linux][linux-lts] internal display of laptop not enumerated, blackscreen

Attached to Project: Arch Linux
Opened by Marcus Weinhold (marcusw) - Friday, 16 June 2017, 08:46 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 March 2018, 13:36 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Andreas Radke (AndyRTR)
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
After upgrading
linux from 4.11.4-1 to 4.11.5-1,
and
linux-lts from 4.9.31-1 to 4.9.32-1

the output of the internal display of my laptop (DP-1 on linux, eDP-1 on linux-lts) is no longer enumerated. The screen is black. Other than that, the machine boots normally, network etc works.

Contents of /sys/class/drm on 4.11.4-1:
card0 card0-DP-1 card0-HDMI-A-1 renderD128 version

on 4.11.5-1:
card0 card0-HDMI-A-1 renderD128 version

The same applies to linux-lts.
On 4.9.31-1-lts:
card0 card0-eDP-1 card0-HDMI-A-1 controlD64 renderD128 version

On 4.9.32-1-lts:
card0 card0-HDMI-A-1 controlD64 renderD128 version

The problem persists when uninstalling xf86-video-intel.
Using the fallback initramfs doesn't help either.

I'm happy to supply additional debug info, if required.

Additional info:
* hardware:
Asus Zenbook UX305U
CPU: Intel i5-6200U
GPU: Intel HD520
* package version(s):
linux 4.11.5-1
linux-lts 4.9.32-1
* config and/or log files etc.:
journalctl -b
lspci
lscpu
dmesg


Steps to reproduce:
Upgrade linux to 4.11.5-1 and reboot
   journalctl-b (388.4 KiB)
   dmesg (319.8 KiB)
   lscpu (1.4 KiB)
   lspci (1.3 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 21 March 2018, 13:36 GMT
Reason for closing:  Upstream
Comment by Kostas Papakonstantinou (bitsikas) - Saturday, 17 June 2017, 13:18 GMT
I can confirm this is happening on linux-zen as well even on a fresh install

The issue is also present in 4.11.6/4.9.32from testing
Comment by Marcus Weinhold (marcusw) - Saturday, 17 June 2017, 17:08 GMT
As bitsikas pointed out here: https://bbs.archlinux.org/viewtopic.php?pid=1718705#p1718705
Enabling CSM [edit] in bios [end edit] resolves the issue.
Comment by Ludo (Lubiquity) - Wednesday, 28 June 2017, 20:18 GMT
I ran into the same issue with the same laptop.

Bypass 1 : using the bitsikas's solution.

Bypass 2 : switch back to the linux-4.11.3-1 package.

Bypass 3 : using an external monitor with the mini-HDMI display port.

I can provide logs, ask if needed.
Comment by Ludo (Lubiquity) - Friday, 30 June 2017, 12:34 GMT
I tested the new 4.11.7-1-ARCH, it's same.

See in the attached dmesg, with CSM enabled, the 48 stacks of the i915 module:
[ 2.083707] [drm] Initialized i915 1.6.0 20170123 for 0000:00:02.0 on minor 0
[ 2.086256] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 2.096039] acpi device:0f: registered as cooling_device5
[ 2.096196] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8
[ 2.096577] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 2.100052] intel_rapl: Found RAPL domain package
[ 2.100053] intel_rapl: Found RAPL domain core
[ 2.100054] intel_rapl: Found RAPL domain uncore
[ 2.100055] intel_rapl: Found RAPL domain dram
[ 2.104571] [drm] Cannot find any crtc or sizes - going 1024x768
[ 2.104862] fbcon: inteldrmfb (fb0) is primary device
[ 2.104937] ------------[ cut here ]------------
[ 2.104981] WARNING: CPU: 1 PID: 268 at drivers/gpu/drm/i915/intel_pm.c:3749 skl_compute_wm+0xbf5/0x1550 [i915]
[ 2.104982] WARN_ON(!intel_pstate->base.fb)
[ 2.104983] Modules linked in: intel_rapl acpi_cpufreq(-) x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_skl kvm_intel snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core kvm snd_compress snd_pcm_dmaengine iwlmvm(+) ac97_bus i915 mac80211 irqbypass crct10dif_pclmul snd_hda_intel crc32_pclmul crc32c_intel snd_hda_codec ghash_clmulni_intel iwlwifi pcbc snd_hda_core i2c_designware_platform asus_nb_wmi snd_hwdep asus_wmi uvcvideo iTCO_wdt iTCO_vendor_support sparse_keymap aesni_intel videobuf2_vmalloc i2c_designware_core drm_kms_helper videobuf2_memops snd_pcm videobuf2_v4l2 aes_x86_64 crypto_simd videobuf2_core cfg80211 drm glue_helper snd_timer cryptd videodev snd evdev intel_gtt media intel_cstate input_leds intel_rapl_perf soundcore mei_me syscopyarea
[ 2.105013] mac_hid pcspkr i2c_i801 shpchp mei idma64 sysfillrect sysimgblt i2c_hid fb_sys_fops int3406_thermal processor_thermal_device intel_lpss_pci intel_pch_thermal i2c_algo_bit intel_soc_dts_iosf thermal hid elan_i2c int3403_thermal hci_uart intel_lpss_acpi ac intel_lpss battery btqca video int3402_thermal int340x_thermal_zone acpi_als btusb tpm_crb wmi kfifo_buf asus_wireless industrialio btrtl int3400_thermal btbcm acpi_thermal_rel led_class btintel button acpi_pad tpm_tis tpm_tis_core tpm bluetooth rfkill sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache sd_mod serio_raw atkbd libps2 ahci libahci xhci_pci libata xhci_hcd scsi_mod usbcore usb_common i8042 serio
[ 2.105045] CPU: 1 PID: 268 Comm: kworker/u8:5 Not tainted 4.11.7-1-ARCH #1
[ 2.105046] Hardware name: ASUSTeK COMPUTER INC. UX305UA/UX305UA, BIOS UX305UA.201 10/12/2015
[ 2.105050] Workqueue: events_unbound async_run_entry_fn
[ 2.105051] Call Trace:
[ 2.105056] dump_stack+0x63/0x81
[ 2.105058] __warn+0xcb/0xf0
[ 2.105060] warn_slowpath_fmt+0x5a/0x80
[ 2.105094] skl_compute_wm+0xbf5/0x1550 [i915]
[ 2.105129] ? intel_crtc_duplicate_state+0x25/0x80 [i915]
[ 2.105163] intel_atomic_check+0x5ac/0x11a0 [i915]
[ 2.105170] ? drm_mode_object_unreference+0x15/0x20 [drm]
[ 2.105177] drm_atomic_check_only+0x39e/0x580 [drm]
[ 2.105182] drm_atomic_commit+0x18/0x50 [drm]
[ 2.105186] restore_fbdev_mode+0x222/0x280 [drm_kms_helper]
[ 2.105189] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x80 [drm_kms_helper]
[ 2.105191] drm_fb_helper_set_par+0x2d/0x60 [drm_kms_helper]
[ 2.105225] intel_fbdev_set_par+0x18/0x70 [i915]
[ 2.105228] fbcon_init+0x484/0x650
[ 2.105231] visual_init+0xd6/0x130
[ 2.105233] do_bind_con_driver+0x1fc/0x420
[ 2.105235] do_take_over_console+0x82/0x1b0
[ 2.105236] do_fbcon_takeover+0x5c/0xb0
[ 2.105237] fbcon_event_notify+0x587/0x780
[ 2.105240] notifier_call_chain+0x4a/0x70
[ 2.105241] blocking_notifier_call_chain+0x43/0x60
[ 2.105244] fb_notifier_call_chain+0x1b/0x20
[ 2.105245] register_framebuffer+0x24d/0x360
[ 2.105248] ? vga_switcheroo_client_fb_set+0x5b/0x70
[ 2.105252] drm_fb_helper_initial_config+0x230/0x3e0 [drm_kms_helper]
[ 2.105286] intel_fbdev_initial_config+0x18/0x30 [i915]
[ 2.105288] async_run_entry_fn+0x37/0x150
[ 2.105290] process_one_work+0x1e0/0x490
[ 2.105292] worker_thread+0x48/0x4e0
[ 2.105294] kthread+0x125/0x140
[ 2.105296] ? process_one_work+0x490/0x490
[ 2.105297] ? kthread_create_on_node+0x70/0x70
[ 2.105300] ret_from_fork+0x2c/0x40
[ 2.105302] ---[ end trace d3ca21b6836620f6 ]---
Comment by Andreas Radke (AndyRTR) - Thursday, 10 August 2017, 20:22 GMT
Upstream bug. Probably a regression. Please report it to the kernel devs.

Loading...