Description: Audio process is lost after performing a hotplug event on the MST dongle in DP. Configuration: ====================================== Hardware ====================================== platform : SKL Canyon motherboard id : NUC6i7KYB form factor : Desktop cpu family : Core i7 cpu family id : 6 cpu information : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz gpu card : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller]) memory ram : 31.31 GB max memory ram : 32 GB cpu thread : 8 cpu core : 4 cpu model : 94 cpu stepping : 3 socket : Other signature : Type 0, Family 6, Model 94, Stepping 3 hard drive : 223GiB (240GB) current cd clock frequency : 450000 kHz maximum cd clock frequency : 675000 kHz displays connected : DP-5 ====================================== Graphic drivers ====================================== modesetting : modesetting_drv.so xorg-xserver : 1.19.3 libdrm : 2.4.81 Aborted (core dumped) cairo : 1.14.8 xserver : X.Org X Server 1.19.99.1 intel-gpu-tools (tag) : intel-gpu-tools-1.18-211-g00ce341b intel-gpu-tools (commit) : 00ce341b Steps to reproduce: 1. Connect a DP monitor, less than 4k audio capable to your MST dongle 2. Boot up and login with your credentials in to UI 3. Open a terminal and start playing an audio file $ aplay <file> 4. During playback unplug DP cable from MST hub 5. Plug back DP cable Expected results: The audio should pause during unplug/plug event without closing audio thread Actual Result: Audio process is lost , closing terminal. Attaching dmesg
Created attachment 131737 [details] Audio Log
Hi Elio, I tried to reproduce this issue in my side but failed, I connected 2*DP monitors(DELL) to MST Hub and do hot-plug for each one when DP audio is played, both DP audio can be resumed after hot-plug event without issues. Here is my test ENV: ====================================== Hardware ====================================== platform : SKL NUC Pcode : NUC6i7KYK-IDD MST Hub : StarTech Part # : MSTMDP123DP ====================================== Software ====================================== linux OS : Ububtu 16.04 LTS Kernel version : 4.12.0-rc4+ BTW, I'm also confusing about "closing terminal" you mentioned above, if the terminal is closed, then audio process exit is expected. thanks
Created attachment 131829 [details] dmesg
[DP] [BDW] Auido process is lost after hotplug event through MST dongle I am testing with monitor Asus 1080 and MST Dongle "Sinix". When I unplug DP from the out of the dongle, I lose audio and video signal, but if i unplug direct DP connection, platform to MST, everything works fine This is my configuration -------------------------------------------------- ====================================== 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 display resolution : 1600x900 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 : 337500 kHz maximum cd clock frequency : 540000 kHz displays connected : DP-2 ====================================== 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 ====================================== Kernel ====================================== commit: 187376e -------------------------------------- Steps to reproduce: -------------------------------------- 1. Connect a DP monitor, less than 4k audio capable to your MST dongle 2. Boot up and login with your credentials in to UI 3. Open a terminal and start playing an audio file $ aplay <file> 4. During playback unplug DP cable from MST hub 5. Plug back DP cable ------------------------------------------ Expected results: ------------------------------------------ The audio should pause during unplug/plug event without closing audio thread --------------------------------------------- Actual Result: --------------------------------------------- Audio and video is lost. -------------------------------------------------- Attaching dmesg
I forgot to mention that this problem is happening on SKL only with 4k resolution at the end, monitor 1080p are working fine as you mention before
This issue is happening in BDW too: This is my configuration -------------------------------------------------- ====================================== 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 display resolution : 1600x900 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 : 337500 kHz maximum cd clock frequency : 540000 kHz displays connected : DP-2 ====================================== 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 ====================================== Kernel ====================================== commit: 187376e
Hi Elio, I can reproduce this issue, as you mentioned that both audio and video signal are lost after the hot-plug event. I think we need to fix the Graphic issue first, then we are able to find out if the audio issue exists. Thanks~
(In reply to Ricardo Madrigal from comment #7) > This issue is happening in BDW too: > This is my configuration > -------------------------------------------------- > ====================================== > 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 > display resolution : 1600x900 > 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 : 337500 kHz > maximum cd clock frequency : 540000 kHz > displays connected : DP-2 > > ====================================== > 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 > > > ====================================== > Kernel > ====================================== > commit: 187376e Can you please respond to Keqiao's comment about video being lost too? Does the display come back after plugging the display?
Ricardo, Since you've closed https://bugs.freedesktop.org/show_bug.cgi?id=101461, the display should come up after plugging it back in this case too. Can you please retest?
(In reply to Dhinakaran Pandiyan from comment #10) > Ricardo, > > Since you've closed https://bugs.freedesktop.org/show_bug.cgi?id=101461, the > display should come up after plugging it back in this case too. Can you > please retest? Hello Dhinakaran, I tested it again and was able to easily reproduce it on SKL with MST hub connected directly to DP, in the output side I only connected ONE DP display and nothing else. Then I disconnected the DP cable and when I connected it again the login screen appears in display, no sound reproducing. Then I logged in and the terminal was closed as described in comment #1. ====================================== Software ====================================== kernel version : 4.14.0-rc2-drm-tip-ww39-commit-f4bd0d1+ architecture : x86_64 os version : Ubuntu 17.04 os codename : zesty kernel driver : i915 bios revision : 5.6 bios release date : 09/29/2016 ====================================== Graphic drivers ====================================== mesa : 17.0.3 modesetting : modesetting_drv.so xorg-xserver : 1.19.3 libdrm : 2.4.81 cairo : 1.14.8 xserver : X.Org X Server 1.19.99.1 intel-gpu-tools (tag) : intel-gpu-tools-1.18-211-g00ce341b intel-gpu-tools (commit) : 00ce341b ====================================== Hardware ====================================== platform : SKL Canyon motherboard id : NUC6i7KYB form factor : Desktop cpu family : Core i7 cpu family id : 6 cpu information : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz gpu card : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller]) memory ram : 31.31 GB max memory ram : 32 GB display resolution : 1600x900 cpu thread : 8 cpu core : 4 cpu model : 94 cpu stepping : 3 socket : Other signature : Type 0, Family 6, Model 94, Stepping 3 hard drive : 223GiB (240GB) current cd clock frequency : 450000 kHz maximum cd clock frequency : 675000 kHz displays connected : DP-5 ====================================== Firmware ====================================== dmc fw loaded : yes dmc version : 1.26 guc fw loaded : NONE guc version wanted : 0.0 guc version found : 0.0 ====================================== kernel parameters ====================================== quiet splash fastboot drm.debug=0xe
First of all. Sorry about spam. This is mass update for our bugs. Sorry if you feel this annoying but with this trying to understand if bug still valid or not. If bug investigation still in progress, please ignore this and I apologize! If you think this is not anymore valid, please comment to the bug that can be closed. If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
(In reply to keqiao from comment #8) > Hi Elio, > > I can reproduce this issue, as you mentioned that both audio and video > signal are lost after the hot-plug event. I think we need to fix the Graphic > issue first, then we are able to find out if the audio issue exists. > > Thanks~ Hi, I tried to reproduce this issue again on BDW. As it seems, after I unplug and plug the DP cable from the MST dongle, the BDW makes a logout, returning to the login window when I connect the cable again, and all windows are closed. $ uname -a Linux gfx-desktop 4.16.0 #2 SMP Tue Apr 3 16:41:31 CDT 2018 x86_64 x86_64 x86_64 GNU/Linux I'm using the latest stable on kernel.org
Created attachment 138603 [details] dmesg-audio-unplug
Created attachment 138607 [details] kern-log-audio-unplug
(In reply to keqiao from comment #8) > Hi Elio, > > I can reproduce this issue, as you mentioned that both audio and video > signal are lost after the hot-plug event. I think we need to fix the Graphic > issue first, then we are able to find out if the audio issue exists. > > Thanks~ Hello, this is still behaving the same in SKL with 4.16. Once the video and sound are lost the only way to bring it back is plugging the HDMI output to a second display.
(In reply to Elio from comment #1) > Audio process is lost after performing a hotplug event on the MST dongle in > DP. > Audio process is lost , closing terminal. What exactly is the bug here? Specifically, what is the *kernel* bug here?
Closing, please re-open if still occurs.
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.