Summary: | Intel Skylake HD520 Screen flickering | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Dominik Klementowski <dominik232> | ||||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||
Status: | RESOLVED MOVED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||
Severity: | normal | ||||||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||||||
Version: | XOrg git | ||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||
OS: | Linux (All) | ||||||||||
Whiteboard: | Triaged, ReadyForDev | ||||||||||
i915 platform: | SKL | i915 features: | display/Other | ||||||||
Attachments: |
|
Description
Dominik Klementowski
2019-03-11 00:55:51 UTC
There's clearly something fishy going on with your machine on account of those interrupt storms. You have no external displays connected right? The flickers could be underruns (not seeing those in the logs though), or they could be some kind of eDP signal integrity issues. First thing I would suggest is a BIOS update. Can you try that? Actually there's no any external screen connected, but sometimes I use external screens and works like a harm both with VGA and HDMI port. Here's my xrandr --query output Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm 1920x1080 60.05 + 60.01* 59.97 59.96 59.93 1680x1050 59.95 59.88 1400x1050 59.98 1600x900 59.99 59.94 59.95 59.82 1280x1024 60.02 1400x900 59.96 59.88 1280x960 60.00 1440x810 60.00 59.97 1368x768 59.88 59.85 1280x800 59.99 59.97 59.81 59.91 1280x720 60.00 59.99 59.86 59.74 1024x768 60.04 60.00 960x720 60.00 928x696 60.05 896x672 60.01 1024x576 59.95 59.96 59.90 59.82 960x600 59.93 60.00 960x540 59.96 59.99 59.63 59.82 800x600 60.00 60.32 56.25 840x525 60.01 59.88 864x486 59.92 59.57 700x525 59.98 800x450 59.95 59.82 640x512 60.02 700x450 59.96 59.88 640x480 60.00 59.94 720x405 59.51 58.99 684x384 59.88 59.85 640x400 59.88 59.98 640x360 59.86 59.83 59.84 59.32 512x384 60.00 512x288 60.00 59.92 480x270 59.63 59.82 400x300 60.32 56.34 432x243 59.92 59.57 320x240 60.05 360x202 59.51 59.13 320x180 59.84 59.32 HDMI-1 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) I think I made BIOS upgrade once, but it was like 2 years ago. I'll check if theres some update available and let you know. Ok, thanks to my ext-hdd windows I could quickly upgrade BIOS downloaded from acer.com and I upgraded Changelog: (not full info available) * Improve touchpad performance * Update CPU Microcode for Intel SGX security issue Unfortunately issue remains unchanged. Oh, I forgot - this kernel message: [ 2609.752539] [drm] HPD interrupt storm detected on connector DP-1: switching from hotplug detection to polling It was always here even when there wasn't any (visible?) flickering. And yes - it was always strange that it complains about DP-1 connector which is not even used. Ok, so today I've done some simple tests and now I think those DP-1 connector messages are not related to eDP-1 internal laptop screen flickering. First of all I tried to disable this VGA port by doing echo off > /sys/class/drm/card0-DP-1/status No change either with those messages and screen flickering, but when I connected ext display to it, it wasn't working until I wrote 'detect' to the same file. External screen connected to VGA output is normally detected, I can set it up using Plasma Desktop Settings, it works just fine. When it's connected there are no more logs about it in dmesg output. My internal screen still flickers, so I don't think this is related. It looks like running older kernel with i915.enable_rc6=0 does the trick. I tried Debian Stable on kernel v4.9 with XFCE and it flickers with rc6 enabled while it stops when I disable it. Unfortunately newer kernels does not respect this parameter anymore. I managed to compile Linux 4.9 on my Arch, but for some reason it cannot load Qt5 libraries, so my Desktop can't start. I was able to run Gnome and I was starring at glxgears (~4500fps) for 15 minutes straight. No flickering... So highly possible this is RC6 related :/ Have you verified the issue with drmtip? (https://cgit.freedesktop.org/drm-tip) Can you attach the dmesg from boot with drmtip kernel? Reporter, do you still have the issue with latest drmtip? Can you please confirm? I haven't been using this laptop for a while, but I haven't sell it yet. I replaced the harddrive so I need to install some distro and I will check this out. (In reply to Dominik Klementowski from comment #8) > I haven't been using this laptop for a while, but I haven't sell it yet. I > replaced the harddrive so I need to install some distro and I will check > this out. Any updates here? Dropping the priority to Medium until it's confirmed that issue persists with drmtip. I can only reproduce this issue if I extend this laptop RAM to 16GB (2x8GB DIMM). I installed some Ubuntu-based distro and I used this: https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2019-09-22/ fresh build of kernel. I confirm, those ocasional flickers and glitches still happen. (In reply to Dominik Klementowski from comment #10) > I can only reproduce this issue if I extend this laptop RAM to 16GB (2x8GB > DIMM). I installed some Ubuntu-based distro and I used this: > https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2019-09-22/ fresh > build of kernel. I confirm, those ocasional flickers and glitches still > happen. Issue is not reproducible when the machine has got 8GB RAM? Can you please attach the latest dmesg (from drmtip) from boot with kernel parameters drm.debug=0x1e log_buf_len=4M? Created attachment 145536 [details]
dmesg dump after tearing
So I booted up with additional kernel parameters. I run some WebGL benchmark to stress the GPU a little, then I was just watching a YouTube video. The log file I attached should contain some logs that were spit while those artifacts happened. Last glitches were visible like 10 seconds before I dumped those logs.
I'll try to reproduce the problem with 8GB of RAM to make me completely sure if it's not happening with less amount of memory, but that was my impression.
Created attachment 145597 [details]
Dmesg dump on SteamOS
Ok, now I tried to run various different things on that laptop. I run SteamOS and now it seems like the behavior is dependent on what is being rendered. The Steam full screen menu causes a lot of flickering - even few blinks per second. It's the same with both default kernel (which is 4.19) and manually compiled current drm-tip revision.
(In reply to Dominik Klementowski from comment #13) > Created attachment 145597 [details] > Dmesg dump on SteamOS > I couldn't find any issues from the logs, is the dmesg from drmtip kernel? Yes, I cloned and compiled https://github.com/freedesktop/drm-tip -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/242. |
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.