Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
Project 'drm/intel' was moved to 'drm/i915/kernel'. Please update any links and bookmarks that may still have the old path.
"*ERROR* Failed to probe lspcon" when HDMI isn't plugged before boot
Thanks Hugh Chao for the info. Seeing the logs where the LSP-Con works, LSP-Con chip being used is from Parade Tech. Can you please confirm whether you are seeing this issue in MCA LSP-Con chips as-well?
Thanks Hugh Chao for the info. Seeing the logs where the LSP-Con works,
LSP-Con chip being used is from Parade Tech. Can you please confirm whether
you are seeing this issue in MCA LSP-Con chips as-well?
Is LSPCON chip swappable? The platform in question is already on the market so I am not sure it's feasible to test different LSPCON chips.
I tried replicating issue locally on kabylake gen9 platform, however couldn't succeed. No lspcon probe issue is observed.
Configuration provided by you and mine is: <Swati>
connector 83: type DP-1, status: connected
DP branch device present: yes
Type: HDMI
ID: 175IB0
HW: 1.2
SW: 8.41
Max TMDS clock: 600000 kHz
Max bpc: 12 <Kai-Heng Feng>
connector 109: type DP-3, status: connected
DP branch device present: yes
Type: HDMI
ID: 175IB0
HW: 1.0
SW: 7.35
Max TMDS clock: 600000 kHz
Max bpc: 12
Here the difference is in HW and SW f/w. I will recommend you to please update to the latest sw f/w and test again.
Since Linux F/W Flash Tool is not ready yet to update the f/w, you can update f/w by booting with windows first and using their AuxUpdate tool.
In the logs of the failed case we can see "Native AUX CH down" and after that probe issue comes.
May be in the latest s/w f/w issue would have been resolved from the parade, if this needs a h/w update (which hopefully shouldn't be the case) then nothing can be done.
So, first update the s/w f/w, test and share your observation; only then we can take further steps.
Same issue happens after the LSPCON FW update.
Seems like the HW and SW info also get cleared out:
connector 111: type DP-3, status: connected
name:
physical dimensions: 510x290mm
subpixel order: Unknown
CEA rev: 3
DPCD rev: 12
audio support: yes
DP branch device present: yes
Type: HDMI
ID:
HW: 0.0
SW: 0.0
Max TMDS clock: 600000 kHz
Max bpc: 12
Same message:
[ 2.267472] [drm:lspcon_init [i915]] ERROR Failed to probe lspcon
[ 2.267499] [drm:intel_ddi_init [i915]] ERROR LSPCON init failed on port D
Attachment 143785, "Dmesg from drm-tip 2019-03-26": dmesg
Created attachment 143785 [details]
Dmesg from drm-tip 2019-03-26
Same message:
[ 2.267472] [drm:lspcon_init [i915]] ERROR Failed to probe lspcon
[ 2.267499] [drm:intel_ddi_init [i915]] ERROR LSPCON init failed on
port D
Created attachment 143785 [details]
Dmesg from drm-tip 2019-03-26
Same message:
[ 2.267472] [drm:lspcon_init [i915]] ERROR Failed to probe lspcon
[ 2.267499] [drm:intel_ddi_init [i915]] ERROR LSPCON init failed on
port D
HP is still working on it, I'll feedback if I got any news
Hi Hugh,
Can you please elaborate what HP guys did to the system? What kind of
changes they made?
Hi Swati,
The new FW which provided by HP is not working either. But our QA leader judged that video failed after booting by hot-plug is not a blocking issue, so we lower the priority of this issue. Thanks.
I also tested Windows 10. HDMI still works when the cable wasn't plugged
before boot.
Hi Kai-Heng Feng,
If we go by theory, there is no 1:1 mapping of Windows and Linux driver architecture. Design for lsp-con is different in both. In Windows, you are able to probe lsp-con because during hotplug windows drivers reinitialize all the connectors whereas in linux, connectors are initialized only once. It means during boot time, if lspcon is not probbed..we won't be able to probe it during hotplug.
Since I am not having the same setup, I can't reproduce the issue. Give me some time so that I can arrange for the setup and get back to you.
HP is still working on it, I'll feedback if I got any news
Hi Hugh,
Can you please elaborate what HP guys did to the system? What kind of
changes they made?
Hi Swati,
The new FW which provided by HP is not working either. But our QA leader
judged that video failed after booting by hot-plug is not a blocking issue,
so we lower the priority of this issue. Thanks.
I also tested Windows 10. HDMI still works when the cable wasn't plugged
before boot.
Hi Kai-Heng Feng,
If we go by theory, there is no 1:1 mapping of Windows and Linux driver
architecture. Design for lsp-con is different in both. In Windows, you are
able to probe lsp-con because during hotplug windows drivers reinitialize
all the connectors whereas in linux, connectors are initialized only once.
It means during boot time, if lspcon is not probbed..we won't be able to
probe it during hotplug.
I understand Linux and Windows driver are quite different.
My point was, whether lspcon firmware has a bug or not is moot - software alone can make it work, or at least workaround it.
>
> Since I am not having the same setup, I can't reproduce the issue. Give me
> some time so that I can arrange for the setup and get back to you.
I can't reproduce on a Gigabyte nuc like machine with Parade LSPCON.
OUI 00-1c-f8 dev-ID 175IB0 HW-rev 1.0 SW-rev 7.32
So probably either a firmware difference or the chip is wired up differently on the boards causing it to not respond for you until HPD gets asserted. We should probably change the lspcon code to behave more dynamically and not insist on being able to probe the chip at driver load time.
I can't reproduce on a Gigabyte nuc like machine with Parade LSPCON.
OUI 00-1c-f8 dev-ID 175IB0 HW-rev 1.0 SW-rev 7.32
AFAIK this bug doesn't happen on other desktop systems.
>
> So probably either a firmware difference or the chip is wired up differently
> on the boards causing it to not respond for you until HPD gets asserted. We
> should probably change the lspcon code to behave more dynamically and not
> insist on being able to probe the chip at driver load time.
Ok, please just let me know when there's a patch to test.
In the motherboard down mode, LSPCON is supposed to be powered on with the power supply from the board, and hence, it was supposed to be powered-on during the driver probe time. So if it's not getting powered on during probe, this seems like a board design error, and not a SW issue. (This is probably expecting LSPCON to work in dongle mode, which we do not support in driver). That also explains why we are not able to reproduce this issue with other parade based devices.
In order to work around this issue, we can add LSPCON probing in the hot-plug sequence, but that might come up with its own hotplug stability issues, like if the I2C over Aux bus is not stable yet, that might delay the hotplug handling path by adding some retries.
Also, this is only possible when the display master IRQ is getting the HPD interrupt, but it's getting missed due to unavailability on the connector on port. But as the IRQ signal is also coming via LSPCON, which is not powered-on until hotplug, there is also a possibility of missing the hotplug all-together, in which case, moving the probe is not going to help at all.
In the motherboard down mode, LSPCON is supposed to be powered on with the
power supply from the board, and hence, it was supposed to be powered-on
during the driver probe time. So if it's not getting powered on during
probe, this seems like a board design error, and not a SW issue. (This is
probably expecting LSPCON to work in dongle mode, which we do not support in
driver). That also explains why we are not able to reproduce this issue with
other parade based devices.
Ok we'll let vendor know about this.
>
> In order to work around this issue, we can add LSPCON probing in the
> hot-plug sequence, but that might come up with its own hotplug stability
> issues, like if the I2C over Aux bus is not stable yet, that might delay the
> hotplug handling path by adding some retries.
We can use a DMI based quirk so other platforms won't be penalized.
>
> Also, this is only possible when the display master IRQ is getting the HPD
> interrupt, but it's getting missed due to unavailability on the connector on
> port. But as the IRQ signal is also coming via LSPCON, which is not
> powered-on until hotplug, there is also a possibility of missing the hotplug
> all-together, in which case, moving the probe is not going to help at all.
This doesn't explain why Windows doesn't have this issue, it can reliably detect hot plugging event everytime.
I have a new Dell Precision 7540 that came with OEM Ubuntu LTS and I have the same errors in Ubuntu LTS and Arch stable and I also tried Kubuntu 19.10. So on all kernels and all Distro's I guess. I have both Intel and AMD Graphics and I am using the modesetting i915 driver as default. I also have the mesa hardware acceleration driver installed and xf86-video-amdgpu installed.
Operating System: Arch Linux
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 5.3.7-arch1-1-ARCH
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
I have a new Dell Precision 7540 that came with OEM Ubuntu LTS and I have
the same errors in Ubuntu LTS and Arch stable and I also tried Kubuntu
19.10. So on all kernels and all Distro's I guess. I have both Intel and AMD
Graphics and I am using the modesetting i915 driver as default. I also have
the mesa hardware acceleration driver installed and xf86-video-amdgpu
installed.
Operating System: Arch Linux
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 5.3.7-arch1-1-ARCH
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
@Swati Sharma in comment 37 I have now the latest firmware installed today as a matter of fact and all latest stable Arch Linux packages on KDE Plasma. I still have the same errors.I have linux-firmware 20191022.2b016af-3
Operating System: Arch Linux
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Kernel Version: 5.3.11-arch1-1
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
[josh@archkde ~]$ dmesg --level=err,warn
[ 0.468600] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[ 0.508039] #7 (closed)#8 (closed)#9 (closed)#10 (closed)#11 (closed)
[ 0.675435] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 1.409892] nvme nvme0: missing or invalid SUBNQN field.
[ 2.059893] [drm:lspcon_init [i915]] ERROR Failed to probe lspcon
[ 2.059922] [drm:intel_ddi_init [i915]] ERROR LSPCON init failed on port D
[ 2.093580] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ 2.480212] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 2.482907] i8042: Warning: Keylock active
[ 2.495290] usb: port power management may be unreliable
[ 2.719009] acpi_call: loading out-of-tree module taints kernel.
[ 3.071411] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 3.071468] wmi_bus wmi_bus-PNP0C14:03: WQBC data block query control method not found
[ 3.071470] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 3.096930] acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 3.151066] acpi PNP0C14:05: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 3.338228] ATPX version 1, functions 0x00000033
[ 3.350774] CRAT table not found
[ 3.597350] i801_smbus 0000:00:1f.4: Accelerometer lis3lv02d is present on SMBus but its address is unknown, skipping registration
[ 3.702897] kvm: disabled by bios
[ 3.837421] sd 2:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[ 3.847658] kvm: disabled by bios
[ 3.967573] kvm: disabled by bios
[ 4.064601] kvm: disabled by bios
[ 4.096816] i2c_hid i2c-DELL0926:00: i2c-DELL0926:00 supply vdd not found, using dummy regulator
[ 4.096824] i2c_hid i2c-DELL0926:00: i2c-DELL0926:00 supply vddl not found, using dummy regulator
[ 4.179187] kvm: disabled by bios
[ 4.286115] kvm: disabled by bios
[ 4.311021] thermal thermal_zone10: failed to read out thermal zone (-61)
[ 4.420065] kvm: disabled by bios
[ 4.521085] iwlwifi 0000:6e:00.0: FW already configured (0) - re-configuring
[ 4.538087] iwlwifi 0000:6e:00.0: BIOS contains WGDS but no WRDS
[ 4.553037] kvm: disabled by bios
[ 4.671331] kvm: disabled by bios
[ 4.747121] iwlwifi 0000:6e:00.0: FW already configured (0) - re-configuring
[ 4.761995] iwlwifi 0000:6e:00.0: BIOS contains WGDS but no WRDS
[ 4.832256] kvm: disabled by bios
[ 4.939154] kvm: disabled by bios
[ 4.948168] [drm:hwss_edp_wait_for_hpd_ready [amdgpu]] ERROR hwss_edp_wait_for_hpd_ready: wait timed out!
[ 5.057694] kvm: disabled by bios
[ 5.461537] [drm:hwss_edp_wait_for_hpd_ready [amdgpu]] ERROR hwss_edp_wait_for_hpd_ready: wait timed out!
[ 7.347171] kauditd_printk_skb: 13 callbacks suppressed
[ 12.792640] iwlwifi 0000:6e:00.0: FW already configured (0) - re-configuring
[ 12.801911] iwlwifi 0000:6e:00.0: BIOS contains WGDS but no WRDS
[ 15.715340] [drm:hwss_edp_wait_for_hpd_ready [amdgpu]] ERROR hwss_edp_wait_for_hpd_ready: wait timed out!
[ 16.215345] [drm:hwss_edp_wait_for_hpd_ready [amdgpu]] ERROR hwss_edp_wait_for_hpd_ready: wait timed out!
[ 17.862666] kauditd_printk_skb: 5 callbacks suppressed
Swati comment 37 if I could ask a question here please. So you your telling me that I should try and update the HDMI firmware on a laptop. I mean I thought this would be part of the BIOS updates would it not??? My Bios just got updated on Oct 16th so I should have the newest firmware Dell has to offer for my HDMI port. My laptop does have a full size HDMI but as far as if it is a being a MCA or Parade LSPCON I have no clue. I get this error every single boot though I do know that for a fact and have gotten it since I bought the laptop new 1 1/2 months ago. The laptop came with Ubuntu and like I have said I have updated the Bios twice since I have had it. I am on Arch Linux with all the latest stable Kernel packages Arch has to offer so it is a problem. Oh I don't and have never had anything HDMI. I know us the people of the Linux world have to deal with errors so I have just been using the PC but I really hate to see them so I wish we could get a fix.Thanks .
Hi Reporter,
I'm unable to reproduce the issue with Intel NUC.Please find the display info and H/W details of the platform.
Can you please verify the issue latest DRM_TIP and post the results ASAP for faster debug?