[Bug 1119621] New: kernel 4.19 + i915 gives black screen/intermittent display
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621 Bug ID: 1119621 Summary: kernel 4.19 + i915 gives black screen/intermittent display Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: masterpatricko@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- All 4.19 kernels I have tested (up-to-date Tumbleweed) have given only a flashing/intermittent display after bootloader on my laptop. After GRUB instead of the splash screen, I see the manufacturer image from the UEFI again and then the display spends most of its time off. Sometimes hitting keys (or just randomly, perhaps something to do with screen refresh) brings the display back for a moment and reveals system has actually booted and is operational, just with no display. Problem exists both on tty/console and in X (KDE), starting from the splash screen and continuing till reboot/shutdown. Booting and running kernels from 4.18 series work fine, completely stable, with no changes in configuration. "Recovery mode" also gives a steady tty display. No errors in Xorg.log or dmesg that I can spot.
lsmod | grep i915 i915 2064384 15 i2c_algo_bit 16384 1 i915 drm_kms_helper 196608 1 i915 drm 471040 16 drm_kms_helper,i915 video 45056 1 i915
sudo /usr/sbin/lshw -c video -c cpu *-cpu description: CPU product: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz vendor: Intel Corp. physical id: 1b bus info: cpu@0 version: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz serial: To Be Filled By O.E.M. slot: U3E1 size: 1378MHz capacity: 4005MHz width: 64 bits clock: 100MHz capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni
Not sure which packages are relevant. libvulkan_intel-18.1.7-208.1.x86_64 libdrm_intel1-2.4.96-1.1.x86_64 ucode-intel-20180807a-1.1.x86_64 intel-gpu-tools-1.23-2.1.x86_64 libdrm_intel1-32bit-2.4.96-1.1.x86_64 xf86-video-intel-2.99.917+git8674.25c9a2fcc-1.1.x86_64 intel-vaapi-driver-2.2.0-1.1.x86_64 xf86-video-intel-32bit-2.99.917+git8674.25c9a2fcc-1.1.x86_64 xorg-x11-driver-video-7.6_1-17.2.x86_64 libdrm2-2.4.96-1.1.x86_64 kernel-default-4.19.7-1.5.x86_64 (not working) kernel-default-4.18.15-1.2.x86_64 (working) kernel-default-4.19.5-1.5.x86_64 (not working) kernel-firmware-20181026-1.1.noarch pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d cpufreq configuration: cores=4 enabledcores=4 threads=8 *-display description: VGA compatible controller product: UHD Graphics 620 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 latency=0 resources: irq:127 memory:de000000-deffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c1
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c2
--- Comment #2 from Tejas Guruswamy
You may be able to workaround this by removing the unofficially deprecated xf86-video-intel driver. I have no such problem with modesetting on Kaby Lake:
I uninstalled xf86-video-intel{,-32bit}, then remade the initrd, but still the same result. 4.18 kernels work, and 4.19 kernels do not.
inxi -bxx System: Host: hobbes Kernel: 4.18.15-1-default x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: KDE Plasma 5.14.4 tk: Qt 5.11.2 wm: kwin_x11 dm: SDDM Distro: openSUSE Tumbleweed 20181213 Machine: Type: Laptop System: PC Specialist product: N7x0WU v: N/A serial: <root required> Chassis: No Enclosure type: 10 serial: <root required> Mobo: CLEVO model: N7x0WU serial: <root required> UEFI: American Megatrends v: 5.12 date: 11/28/2017 Battery: ID-1: BAT0 charge: 40.5 Wh condition: 41.2/43.8 Wh (94%) volts: 16.8/14.6 model: Notebook BAT serial: 0001 status: Charging CPU: Quad Core: Intel Core i7-8550U type: MT MCP arch: Kaby Lake speed: 800 MHz min/max: 400/4000 MHz Graphics: Device-1: Intel UHD Graphics 620 vendor: CLEVO/KAPOK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917 Display: x11 server: X.Org 1.20.3 driver: modesetting unloaded: fbdev,vesa alternate: intel compositor: kwin_x11 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.1.7 compat-v: 3.0 direct render: Yes Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: CLEVO/KAPOK driver: r8169 v: 2.3LK-NAPI port: e000 bus ID: 01:00.1 chip ID: 10ec:8168 Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: e000 bus ID: 02:00.0 chip ID: 8086:2526 Drives: Local Storage: total: 232.89 GiB used: 183.40 GiB (78.7%) Info: Processes: 265 Uptime: N/A Memory: 7.67 GiB used: 1.73 GiB (22.5%) Init: systemd v: 239 runlevel: 5 target: runlevel5.target Compilers: gcc: 8.2.1 alt: 8 clang: 6.0.1 Shell: bash v: 4.4.23 running in: yakuake inxi: 3.0.28
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c4
Tejas Guruswamy
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c5
Bill Wayson
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c6
David Rosky
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c7
--- Comment #7 from Tejas Guruswamy
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c8
--- Comment #8 from David Rosky
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c9
--- Comment #9 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c10
--- Comment #10 from Tejas Guruswamy
Can anyone try to open a bug report on the upstream bugzilla.freedesktop.org? Feel free to put me (tiwai@suse.de) to Cc, so that I can follow / help. Thanks.
Reported as https://bugs.freedesktop.org/show_bug.cgi?id=109215 and added you as cc, thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c11
--- Comment #11 from David Rosky
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c13
sep hoogzaad
inxi -bxx System: Host: linux-6axq Kernel: 4.19.11-1-default x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Xfce 4.12.4 tk: Gtk 2.24.32 wm: xfwm4 dm: LightDM Distro: openSUSE Tumbleweed 20181224 Machine: Type: Desktop System: GOOGLE product: Lulu v: Pilot serial: <root required> Chassis: type: 3 serial: <root required> Mobo: N/A model: N/A serial: N/A BIOS: coreboot v: N/A date: 03/28/2016 Battery: ID-1: BAT0 charge: 49.2 Wh condition: 70.0/67.0 Wh (104%) volts: 11.8/11.4 model: SMP-LIS DELL MJ serial: 0340 status: Discharging CPU: Dual Core: Intel Core i3-5005U type: MT MCP arch: Broadwell speed: 798 MHz min/max: 500/2000 MHz Graphics: Device-1: Intel HD Graphics 5500 driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:1616 Display: x11 server: X.Org 1.20.3 driver: intel unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2) v: 4.5 Mesa 18.3.1 compat-v: 3.0 direct render: Yes Network: Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel port: 1840 bus ID: 01:00.0 chip ID: 8086:08b1 Drives: Local Storage: total: 111.79 GiB used: 9.58 GiB (8.6%) Info: Processes: 254 Uptime: 5h 33m Memory: 3.79 GiB used: 944.8 MiB (24.4%) Init: systemd v: 239 runlevel: 5 target: graphical.target Compilers: gcc: N/A Shell: bash v: 4.4.23 running in: xfce4-terminal inxi: 3.0.29
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
Steve Wickert
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c17
--- Comment #17 from Tejas Guruswamy
The boot logo carried from EFI is the intentional behavior, BTW. This is a new feature for "flicker-less" boot on the recent kernel, enabled via CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER option.
Ugh, mine is ugly! But ok, thanks, I guess that is a red herring then. (based on this hint I found "fbcon=nodefer" restores the old behaviour) (In reply to sep hoogzaad from comment #15)
This is with kernel version 5.0.0, r2. The problem was the same, like in the 4.20.3 kernel. With "i915.fastboot=1" booting correct. Without this kernel parameter: no screen, just some flickering.
"i915.fastboot=1" indeed fixes the black screen/flickering problem on 4.20 and 5.0rc, thank you for the suggestion. I will pass this info on to my upstream bug (https://bugs.freedesktop.org/show_bug.cgi?id=109215). Any advice on providing more useful logs would be appreciated. Still don't see any errors in the expected places. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c24
--- Comment #24 from Tejas Guruswamy
Thanks, this is a really helpful information!
I'm building a test kernel that reverts the suggested commit on top of the latest stable kernel now. It's being built in OBS home:tiwai:bsc1119621 repo, and will appear at: http://download.opensuse.org/repositories/home:/tiwai:/bsc1119621/standard/
Can people test it later and see whether it really covers all this reported cases, not only for Sep's machine?
I finally had a chance to test again. Summary is unfortunately kernel-default-4.20.5-1.1.ge544b4e.x86_64 from home:tiwai did not fix my problem. i915.fastboot=1 still works though. I have rechecked the following kernels: drm-tip (5.0-rc3) 5.0-rc5 4.20.6 4.20.5 from home:tiwai 4.18.15 For all kernels after 4.18.15, only if /sys/module/i915/parameters/fastboot=Y do I get a stable display. Note that fastboot=Y appears to be the default in 4.20.6 and drm-tip. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c25
--- Comment #25 from Takashi Iwai
I finally had a chance to test again. Summary is unfortunately kernel-default-4.20.5-1.1.ge544b4e.x86_64 from home:tiwai did not fix my problem. i915.fastboot=1 still works though.
Thanks for testing. That's what I was afraid of :-< So apparently we're looking at multiple issues.
Note that fastboot=Y appears to be the default in 4.20.6 and drm-tip.
Really? I couldn't find anything that changed the default in the kernel source. In theory we can flip fastboot=y as default. It's been disabled due to the regression seen on a Chromebook with some funky firmware. But it's no right "fix", and the option can be given easily via boot option, let's try to track the right cause for now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c26
--- Comment #26 from Tejas Guruswamy
(In reply to Tejas Guruswamy from comment #24)
I finally had a chance to test again. Summary is unfortunately kernel-default-4.20.5-1.1.ge544b4e.x86_64 from home:tiwai did not fix my problem. i915.fastboot=1 still works though.
Thanks for testing. That's what I was afraid of :-< So apparently we're looking at multiple issues.
Note that fastboot=Y appears to be the default in 4.20.6 and drm-tip.
Really? I couldn't find anything that changed the default in the kernel source.
Sorry, this may have just been a side effect of running drm-tip.
In theory we can flip fastboot=y as default. It's been disabled due to the regression seen on a Chromebook with some funky firmware. But it's no right "fix", and the option can be given easily via boot option, let's try to track the right cause for now.
Progress at last! I found the same, or at least very similar, issue filed at Arch (https://bugs.archlinux.org/task/60841) and it turns out intel_idle.max_cstate=4 fixes my issue more reliably than i915.fastboot=1. Not clear why cpu c-states are affecting the gpu but the root bug may in fact be this one: https://bugs.freedesktop.org/show_bug.cgi?id=103229 This issue has turned up on many Skylake systems with different possible causes but the same symptoms (flickering/black screen) and workaround (reduce max cstate from 9 to 4). https://bugs.freedesktop.org/buglist.cgi?quicksearch=SKL%20flicker%20underrun&list_id=667366 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621
http://bugzilla.opensuse.org/show_bug.cgi?id=1119621#c29
Tejas Guruswamy
So the issue is fixed by this commit: commit 21635d7311734d2d1b177f8a95e2f9386174b76d Author: Jani Nikula
Date: Fri Apr 5 10:52:20 2019 +0300 drm/i915/dp: revert back to max link rate and lane count on eDP
I assume?
If not, please reopen.
No, unfortunately this is a different bug. It started in 4.19 most likely because of a99790bf5c7f3d68d8b01e015d3212a98ee7bd57 : r8169: Reinstate ASPM Support and I can still reproduce on 5.1-rc5 with fastboot=0 and max_cstate=9. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com