Bug 1943261
| Summary: | Lenovo ThinkPad thunderbolt 3 screen stop to work with kernel 5.11.+ | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cyril Lopez <cylopez> | ||||
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 33 | CC: | acaringi, adscvr, airlied, alciregi, anowak, bskeggs, ebaron, ehabkost, fhrdina, hdegoede, jarodwilson, jeremy, jglisse, jneedle, jonathan, josef, jstrunk, kernel-maint, ksuszyns, lgoncalv, linville, masami256, maszulik, mchehab, ptalbert, sreber, steved, syedriko, thenzl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-03-30 09:19:57 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Cyril Lopez
2021-03-25 16:57:36 UTC
I supposed there is a link with : https://gitlab.freedesktop.org/drm/intel/-/issues/224 Possibly a duplicate of bug 1879442. I'm not completely sure it's really a duplicate because bug 1879442 comment 13 reports the problem as being fixed on 5.10.0-rc6-g62a57fc6978. I'm experiencing the same Problem with a Lenovo T590 Laptop and a Lenovo ThinkPad Thunderbolt 3 USB-C Dock with those kernels:
kernel-5.10.23-200.fc33.x86_64
kernel-5.11.8-200.fc33.x86_64
kernel-5.11.9-200.fc33.x86_64
kernel-5.11.10-200.fc33.x86_64
I'm getting a lot of those error messages when `journalctl -k`:
kernel: i915 0000:00:02.0: [drm] *ERROR* Link Training Unsuccessful
kernel: i915 0000:00:02.0: [drm] *ERROR* CPU pipe B FIFO underrun
kernel: [drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 0000000033fd61f9 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
kernel: [drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 0000000033fd61f9 port 2: DPCD read on addr 0x4b0 for 1 bytes NAKed
kernel: i915 0000:00:02.0: [drm] *ERROR* Link Training Unsuccessful
kernel: [drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 0000000033fd61f9 port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed
kernel: i915 0000:00:02.0: [drm] *ERROR* Link Training Unsuccessful
----
I've fixed it, after downgraded to kernel that worked for me on last Friday, that's "kernel-5.10.21-200.fc33.x86_64". External monitor **works**.
Now, I see only those errors:
kernel: [drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 0000000022dba6cd port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
kernel: [drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 0000000022dba6cd port 2: DPCD read on addr 0x4b0 for 1 bytes NAKed
So it seems that the 5.11 kernel has some DP-MST / Thunderbolt / Type-C dock issues with Intel GPUs. This is being discussed in more detail in bug 1879442 where one of the Intel devs is helping with debugging this. I've started a Fedora test-kernel build with the following cherry-picked on top of 5.11.10: 984982f3ef7b240cd24c2feb2762d81d9d8da3c2 ("drm/i915/ilk-glk: Fix link training on links with LTTPRs") (from drm-intel-next) 3b7bbb3619d2cc92f04ba10ad27d3b616aabf175 ("drm/i915/dp: Prevent setting the LTTPR LT mode if no LTTPRs are detected") (from 5.12) 264613b406eb0d74cd9ca582c717c5e2c5a975ea ("drm/i915: Disable LTTPR support when the DPCD rev < 1.4") (from drm-intel-next) Which should fix this. For everyone who is having issues with DP-MST / thunderbolt / Type-C docks with kernel 5.11, a test-kernel with these patches added is currently building here: https://koji.fedoraproject.org/koji/taskinfo?taskID=64839432 This should be done building in about 2 hours, please give this kernel a try. Here are some generic instructions for installing a kernel directly from koji (the Fedora buildsystem) : https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt Note since this is a test kernel-build it is not signed, so you need to disable secure-boot to test this. *** This bug has been marked as a duplicate of bug 1879442 *** The test kernel has finished building, so everyone who is seeing issues, please give it a go (see comment 4). I can confirm that this fixes the problem for me. Thanks! Been testing for 24 hours on Lenovo P1 Gen2, Lenovo ThinkPad Thunderbolt 3 Dock Gen2, Dell U2520D connected to the dock over USB type C and I'm no longer seeing my U2520D switching to 1920x1080 after waking up from standby. Thank you! $ lspci 00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 0d) 00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] (rev 02) 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0d) 00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model 00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10) 00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10) 00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10) 00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10) 00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10) 00:16.3 Serial controller: Intel Corporation Cannon Lake PCH Active Management Technology - SOL (rev 10) 00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0) 00:1b.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0) 00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0) 00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0) 00:1d.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #15 (rev f0) 00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10) 00:1f.0 ISA bridge: Intel Corporation Cannon Lake LPC Controller (rev 10) 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) 00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10) 00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10) 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10) 02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 04:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 06:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] (rev 06) 07:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06) 08:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06) 08:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06) 09:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge DD 2018] (rev 06) 2c:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] (rev 06) 52:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a) 53:00.0 SD Host controller: Genesys Logic, Inc Device 9755 $ |