Summary: | [DP] Segfault and other crashes on Intel(R) HD Graphics 5500 (Dell E7450) while switching between external displays and integreated | ||
---|---|---|---|
Product: | DRI | Reporter: | Slawomir Gonet <slawek> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | major | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | BDW | i915 features: | display/DP, display/DP MST, display/eDP |
Attachments: |
Description
Slawomir Gonet
2016-03-31 07:37:27 UTC
Created attachment 122643 [details]
X.0.log.old with segfault
Case 1 reproduced on kernel 4.4.6. * Happened while I had SSH connection active * System was responsible (by SSH) * After dockin, state exactly as described in 1 * Tryied to run DISPLAY=:0 xrandr - command hangs up with no output (but ^C works) Created attachment 122644 [details]
System log from last boot: sudo journalctl -xb -1
Mar 31 09:41:37 odyssey myxrandr2-start[2040]: dock detected
Mar 31 09:41:37 odyssey myxrandr2[8472]: called. using ports: DP1-1 DP1-2
means that it will call:
xrandr --output DP1-1 --auto
xrandr --output DP1-2 --auto --left-of DP1-1 --primary
xrandr --output eDP1 --off
xrandr --output DP-1 --off
xrandr --output DP1-3 --off
xrandr --output DP2 --off
xrandr --output HDMI1 --off
xrandr --output HDMI2 --off
xrandr --output VIRTUAL1 --off
xrandr output while in dock: Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767 eDP1 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 48.00 1400x1050 59.98 1600x900 60.00 1280x1024 60.02 1280x960 60.00 1368x768 60.00 1280x720 60.00 1024x768 60.00 1024x576 60.00 960x540 60.00 800x600 60.32 56.25 864x486 60.00 640x480 59.94 720x405 60.00 640x360 60.00 DP1 disconnected (normal left inverted right x axis y axis) DP1-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1280x960 60.00 1152x864 75.00 1280x720 60.00 1152x720 59.97 1024x768 75.08 60.00 832x624 74.55 800x600 75.00 60.32 640x480 75.00 60.00 720x400 70.08 DP1-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 60.00 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1280x960 60.00 1152x864 75.00 1280x720 60.00 50.00 59.94 1152x720 59.97 1024x768 75.08 60.00 832x624 74.55 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 DP1-3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) bump? Created attachment 123361 [details]
for case 1: All screens black after connecting into docking station
Linux odyssey 4.5.2 #6 SMP Tue Apr 26 12:45:00 CEST 2016 x86_64 Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz GenuineIntel GNU/Linux
Brand new Gentoo installation, problem still persists.
Created attachment 123362 [details]
Kernel config (Linux odyssey 4.5.2 #6 SMP Tue Apr 26 12:45:00 CEST 2016 x86_64 Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz GenuineIntel GNU/Linux)
DP MST has been getting better all the time, but it's not perfect yet. Please try v4.6-rc6, drm-intel-nightly branch of http://cgit.freedesktop.org/drm-intel, and/or https://patchwork.freedesktop.org/patch/84111/ on top. Please run with drm.debug=14 module parameter set when attaching dmesgs. Will try, thank you! I am testing git-sources 4.6-rc6 now (without patches): $ eix git-sources -c [I] sys-kernel/git-sources (4.6_rc6(4.6_rc6)@05/05/2016): The very latest -git version of the Linux kernel And after plugging back into dock station few minutes ago I've got image on only one display. In dmesg: [30395.435686] [drm:intel_mst_disable_dp] *ERROR* failed to update payload -22 [30397.855938] [drm:intel_mst_disable_dp] *ERROR* failed to update payload -22 [30602.873944] [drm:intel_mst_disable_dp] *ERROR* failed to update payload -22 [30605.136058] [drm:intel_mst_disable_dp] *ERROR* failed to update payload -22 [30647.465280] [drm:intel_mst_disable_dp] *ERROR* failed to update payload -22 xrandr: $ xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 48.00 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) DP1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1280x960 60.00 1152x864 75.00 1280x720 60.00 1152x720 59.97 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 640x480 75.00 59.94 720x400 70.08 DP1-2 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 60.00 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1280x960 60.00 1152x864 75.00 1280x720 60.00 50.00 59.94 1152x720 59.97 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 DP1-3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) And when try to use xrandr: otwieracz@odyssey ~ $ xrandr --output DP1-1 --auto --primary # Here is OK otwieracz@odyssey ~ $ xrandr --output DP1-2 --auto --left-of DP1-1 xrandr: Configure crtc 0 failed # And now *right* screen goes off for few seconds, then comes back again and I see this error message with crtc. After upgrade to Linux odyssey 4.6.0 #1 SMP Mon May 16 09:22:36 CEST 2016 x86_64 Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz GenuineIntel GNU/Linux at least currently every docking attempt ended like that - I am not able to put video onto left screen (DP1-2). Seems that after restarting X.org I am able to continue using DP1-2. After few more tests it looks like every single docking attempt on 4.6.0 ends up with inability to use DP1-2. When on DP1-1, $ xrandr --output DP1-2 --auto returns "xrandr: Configure crtc 0 failed" However, with command: xrandr --output DP1-1 --off; sleep 2; xrandr --output DP1-2 --auto I am able to switch to DP1-2. But then I am no longer able to use DP1-1: $ xrandr --output DP1-1 --off; sleep 2; xrandr --output DP1-2 --auto; xrandr --output DP1-1 --auto xrandr: Configure crtc 0 failed One more update: I've just discovered that I am able to get screen on both monitors with: xrandr --output DP1-1 --auto --primary --crtc 1 xrandr --output DP1-2 --auto --left-of DP1-1 --crtc 2 So manually specifying CRTCs workarounds the issue. Hello Slawomir, Is this bug still valid? Still reproducible? Have you changed any configuration on HW and SW? Thank you. Hello, I just tried to reproduce the problem with following configuration: BDW NUC, using two MST dongle emulating docking station and 2 external monitors,connected via DP with external Display (Asus) 1920 x 1080. Attaching a Dell display vi DP (1920x 1080). Adding the configuration used to test ====================================== Software ====================================== kernel version : 4.12.0-rc3-drm-tip-ww22-commit-187376e+ architecture : x86_64 os version : Ubuntu 17.04 os codename : zesty kernel driver : i915 bios revision : 5.6 bios release date : 05/11/2017 ====================================== Graphic drivers ====================================== mesa : 17.0.3 modesetting : modesetting_drv.so xorg-xserver : 1.19.3 libdrm : 2.4.76 libva : 1.7.3-2 vaapi (intel-driver) : 1.7.3 cairo : 1.14.8-1 intel-gpu-tools : 1.17-1 ====================================== Hardware ====================================== platform : BDW motherboard id : NUC5i7RYB form factor : Desktop cpu family : Core i7 cpu family id : 6 cpu information : Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz gpu card : Intel Corporation Iris Graphics 6100 (rev 09) (prog-if 00 [VGA controller]) memory ram : 15.58 GB max memory ram : 16 GB cpu thread : 4 cpu core : 2 cpu model : 61 cpu stepping : 4 socket : Socket BGA1168 signature : Type 0, Family 6, Model 61, Stepping 4 hard drive : 111GiB (120GB) current cd clock frequency : 540000 kHz maximum cd clock frequency : 540000 kHz Works for me. |
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.