[ 183.898612] [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training [ 183.898698] [drm:intel_dp_start_link_train [i915]] *ERROR* [CONNECTOR:71:eDP-1] Link Training failed at link rate = 270000, lane count = 2 https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_17/fi-skl-6700hq/igt@kms_cursor_crc@cursor-64x64-dpms.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_17/fi-skl-6700hq/igt@kms_atomic_transition@1x-modeset-transitions-nonblocking.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_22/fi-skl-6700hq/igt@kms_flip@modeset-vs-vblank-race.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_22/fi-skl-6700hq/igt@kms_cursor_legacy@long-nonblocking-modeset-vs-cursor-atomic.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_22/fi-skl-6700hq/igt@kms_cursor_crc@cursor-64x64-rapid-movement.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_22/fi-skl-6700hq/igt@kms_cursor_crc@cursor-128x128-dpms.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_22/fi-skl-6700hq/igt@kms_rmfb@rmfb-ioctl.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_22/fi-skl-6700hq/igt@kms_flip@flip-vs-dpms-interruptible.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_22/fi-skl-6700hq/igt@pm_rpm@fences.html
Still reproducible.
Created attachment 141573 [details] dmesg, drm.debug=0xe I'm seeing this on 00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device [103c:81a0] [12446.213836] f29h.local kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training [12446.213959] f29h.local kernel: [drm:intel_dp_start_link_train [i915]] [CONNECTOR:79:DP-1] Link Training failed at link rate = 162000, lane count = 4 [12446.214211] f29h.local kernel: [drm:intel_dp_modeset_retry_work_fn [i915]] [CONNECTOR:79:DP-1] 4.19.0-0.rc3.git2.1.fc30.x86_64 which is git 54eda9df17f3. So far it's only happening on wake from S3, possibly the connected external display itself hasn't come out of power save at the initial link training? Subsequent link training appears to be OK. On the primary display at about this time (hard to say), there is a flicker at GDM (GNOME login). I can't tell if it's related.
(In reply to Chris Murphy from comment #3) > Created attachment 141573 [details] > dmesg, drm.debug=0xe > > I'm seeing this on > > 00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD > Graphics 520] [8086:1916] (rev 07) (prog-if 00 [VGA controller]) > Subsystem: Hewlett-Packard Company Device [103c:81a0] > > > [12446.213836] f29h.local kernel: [drm:intel_dp_start_link_train [i915]] > *ERROR* failed to enable link training > [12446.213959] f29h.local kernel: [drm:intel_dp_start_link_train [i915]] > [CONNECTOR:79:DP-1] Link Training failed at link rate = 162000, lane count = > 4 > [12446.214211] f29h.local kernel: [drm:intel_dp_modeset_retry_work_fn > [i915]] [CONNECTOR:79:DP-1] > > > 4.19.0-0.rc3.git2.1.fc30.x86_64 which is git 54eda9df17f3. > > > So far it's only happening on wake from S3, possibly the connected external > display itself hasn't come out of power save at the initial link training? > Subsequent link training appears to be OK. > > On the primary display at about this time (hard to say), there is a flicker > at GDM (GNOME login). I can't tell if it's related. Thanks for this detailed report Chris, I am pulling in Manasi who has been developing this feature. She should be able to tell us for sure if your sensible explanation is sound, and how we could fix this. However, I would recommend writing a new bug report, given that not all link training failures stem from the same root cause. Since our failing tests are not S3-related, you likely experience a separate issue that is best handled in a separate bug. In any case, how much impact this issue has for you? This is important for us to prioritise bugs.
Looking at the logs, this link failure is happening because of the aux timeouts before the link training. Meaning that the AUX power domain is not on at that point. What test case are you running to put trigger S3 state and waking it up from S3? Would be interesting to try this with i915.disable_power_well=0 set for the kernel parameters or manually setting this in i915_params.c and rebuilding the kernel. Let me know if that fixes it. Manasi
Did you get a chance to try out what I had suggesting in my earlier comment? Do you still see this issue on drm-tip? Manasi
A CI Bug Log filter associated to this bug has been updated: {- fi-skl-6700hq fi-skl-6700hq: All tests - *ERROR* failed to enable link training -} {+ fi-skl-6700hq fi-skl-6700hq fi-icl-y: All tests - *ERROR* failed to enable link training +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_vblank@pipe-b-ts-continuation-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_flip@flip-vs-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_vblank@pipe-a-ts-continuation-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@gem_workarounds@suspend-resume-context.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@gem_softpin@noreloc-s3.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@pm_rpm@system-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@i915_suspend@forcewake.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@pm_rpm@system-suspend-execbuf.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_vblank@pipe-c-ts-continuation-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@i915_suspend@debugfs-reader.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@i915_suspend@sysfs-reader.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_204/fi-icl-y/igt@gem_workarounds@suspend-resume.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@pm_rpm@system-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@gem_workarounds@suspend-resume-fd.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_frontbuffer_tracking@fbc-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@gem_softpin@noreloc-s3.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@gem_workarounds@suspend-resume.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@i915_suspend@sysfs-reader.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_vblank@pipe-c-ts-continuation-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@i915_suspend@fence-restore-untiled.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_flip@flip-vs-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@pm_rpm@system-suspend-modeset.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@kms_vblank@pipe-b-ts-continuation-suspend.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_205/fi-icl-y/igt@i915_suspend@forcewake.html
What is the ICL HW setup here where we see the "Failed to enable link training" bug? Could you tell me the details of which ports are connected and possibly attach a picture of connected ports on the RVP so that I can try and reproduce this on the RVP here. Manasi
(In reply to Manasi from comment #8) > What is the ICL HW setup here where we see the "Failed to enable link > training" bug? > Could you tell me the details of which ports are connected and possibly > attach a picture of connected ports on the RVP so that I can try and > reproduce this on the RVP here. > > Manasi eDP connected to motherboard, no external displays are connected.
on ICL-Y this is just broken VBT?
This is definitely broken VBT since, even though there are no external displays connected it is trying to link train on DP-1 using AUX B and then it gets failures on AUX and then fails to enable link training. @Clint was I believe experiencing the same issue on his board, could you try updating the BIOS and/or firmware? Manasi
This was fixed on ICL already, removed ICL.
A CI Bug Log filter associated to this bug has been updated: {- fi-skl-6700hq fi-skl-6700hq fi-icl-y: All tests - *ERROR* failed to enable link training -} {+ fi-skl-6700hq fi-skl-6700hq: All tests - *ERROR* failed to enable link training +} No new failures caught with the new filter
A CI Bug Log filter associated to this bug has been updated: {- fi-skl-6700hq fi-skl-6700hq: All tests - *ERROR* failed to enable link training -} {+ fi-skl-6700hq: All tests - dmesg-warn / dmesg-fail - *ERROR* failed to enable link training +} No new failures caught with the new filter
(In reply to CI Bug Log from comment #14) > A CI Bug Log filter associated to this bug has been updated: > > {- fi-skl-6700hq fi-skl-6700hq: All tests - *ERROR* failed to enable link > training -} > {+ fi-skl-6700hq: All tests - dmesg-warn / dmesg-fail - *ERROR* failed to > enable link training +} > > No new failures caught with the new filter Dropped the fi-skl-6770hq, because it is handled by https://bugs.freedesktop.org/show_bug.cgi?id=108833.
As for the fi-skl-6700hq, it has not been running in CI for a while (drmtip_224). Adding CI infra in order to investigate why the machine is dead.
Dropping to medium since it is only seen on one machine.
A CI Bug Log filter associated to this bug has been updated: {- fi-skl-6700hq: All tests - dmesg-warn / dmesg-fail - *ERROR* failed to enable link training -} {+ fi-skl-6770hq fi-skl-6700hq: All tests - dmesg-warn / dmesg-fail - *ERROR* failed to enable link training +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7306/fi-skl-6770hq/igt@gem_exec_suspend@basic-s0.html * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7306/fi-skl-6770hq/igt@gem_exec_suspend@basic-s3.html * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7306/fi-skl-6770hq/igt@gem_exec_suspend@basic-s4-devices.html * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7306/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-dpms.html * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7306/fi-skl-6770hq/igt@kms_flip@basic-plain-flip.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_atomic_transition@2x-modeset-transitions-nonblocking-fencing.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_color@pipe-a-ctm-0-75.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_cursor_crc@pipe-b-cursor-64x64-sliding.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_atomic_transition@plane-primary-toggle-with-vblank-wait.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_flip@2x-modeset-vs-vblank-race.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-b.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_402/fi-skl-6770hq/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
-- 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/106.
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.