Skip to contentSkip to conversation

New: GP107GLM [Quadro P1000 Mobile]: frequent failure to initialize displays on Thunderbolt dock

Bug 110993 [email protected] 1 participant 4 messages Jun 25, 2019 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110993

Bug ID: 110993
Summary: GP107GLM [Quadro P1000 Mobile]: frequent failure to
initialize displays on Thunderbolt dock
Product: xorg
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

When connecting to the Thunderbolt 3 Dock, the monitors attached to it more often remain black rather than showing a proper image. Sometimes the Laptop freezes entirely, other times just one of the two comes up, most of the time, they remain black and eventually enter standby.

I'm using a Lenovo P1 featuring a Quadro P1000 Mobile GPU. An integrated GPU is wired to the internal display as eDP-1. The Nvidia card exposes an HDMI port on the laptop. Plugging a monitor there directly usually works. Vie the docking station, I get another 3 ports controlled by the Nvidia GPU. These are either HDMI or DisplayPort. I have two monitors for experimentation, a Dell one and a Lenovo one.

I'm running a Linux 5.2-rc5 kernel and the nouveau driver compiled from a current checkout of the git repo of Ben Skeggs
(https://github.com/skeggsb/nouveau/tree/f91e915b6a12c281aed4401a869881f293b72d4e).
Most of the time, I'm running with the runpm_fixes of Karol Herbst (that is
the last five revisions from
https://github.com/karolherbst/nouveau/tree/runpm_fixes).

The output of grep . /sys/class/drm/card*-*/status after a start w/o the dock or any display attached is:

/sys/class/drm/card0-eDP-1/status:connected
/sys/class/drm/card1-DP-1/status:disconnected
/sys/class/drm/card1-DP-2/status:disconnected
/sys/class/drm/card1-HDMI-A-1/status:connected
/sys/class/drm/card1-eDP-2/status:disconnected

I'll provide further details of what I did together with the corresponding kernel logs with tracing enabled in follow-up comments and attachments.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-110993-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 110993] GP107GLM [Quadro P1000 Mobile]: frequent failure to initialize displays on Thunderbolt dock

https://bugs.freedesktop.org/show_bug.cgi?id=110993

--- Comment #1 from Markus Wanner <[email protected]> --- Created attachment 144633
--> https://bugs.freedesktop.org/attachment.cgi?id=144633&action=edit
test run 1 - annotated kern.log

Starting condition: dock already attached, but no monitors plugged into the dock or the laptop. Using nouveau without runpm_fixes.

The attached log is collected from /var/log/kern.log via ssh, so as to preserve most of the data even in case of a crash. I annotated it with actions performed and observations made at the following points in time:

Jun 21 10:32:37 calaton kernel: [   71.352739]: login
Jun 21 10:33:30 calaton kernel: [  124.428250]: plug in HDMI cable into laptop

directly

Observation after a couple of seconds: works, proper image shown on the Lenovo display. The grep command yields:

/sys/class/drm/card0-eDP-1/status:connected
/sys/class/drm/card1-DP-1/status:disconnected
/sys/class/drm/card1-DP-2/status:disconnected
/sys/class/drm/card1-HDMI-A-1/status:connected
/sys/class/drm/card1-eDP-2/status:disconnected

Jun 21 10:34:59 calaton kernel: [  213.433544]: pull out HDMI cable - all fine
Jun 21 10:35:45 calaton kernel: [  259.672821]: plug HDMI cable into dock - not
recognized, display lights up, but goes back into standby
Jun 21 10:36:57 calaton kernel: [  331.284818]: plug Dell (DP) into dock - not
recognized, display lights up, but goes back into standby
Jun 21 10:37:22 calaton kernel: [  356.470787]: pull HDMI cable out of dock -
no change, display lights up, but goes back into standby
Jun 21 10:38:42 calaton kernel: [  436.169622]: plug HDMI cable into laptop -
recognized
Jun 21 10:39:00 calaton kernel: [  453.731368]: unplug the Dock - no change,
Levovo on HDMI and internal display remain active.
Jun 21 10:40:10 calaton kernel: [  524.314909]: re-plug the Dock - Dell not
recognized
Jun 21 10:41:10 calaton kernel: [  584.005627]: pull HDMI cable from the laptop
Jun 21 10:41:31 calaton kernel: [  604.833610]: plug HDMI cable into dock -
neither Dell nor Lenovo recognized
Jun 21 10:42:32 calaton kernel: [  665.790854]: pull the Dock
Jun 21 10:42:47 calaton kernel: [  681.020228]: plug the Dock again
Jun 21 10:44:05 calaton kernel: [  759.618299]: crash, laptop fully

unresponsive to keyboard, mouse or network inputs

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 110993] GP107GLM [Quadro P1000 Mobile]: frequent failure to initialize displays on Thunderbolt dock

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=110993

--- Comment #2 from Markus Wanner <[email protected]> --- Created attachment 144634
--> https://bugs.freedesktop.org/attachment.cgi?id=144634&action=edit
test run 2 - annotated kern.log

For the second run, I re-enabled the runpm_fixes and tried to perform the exact same steps as during run 1 to check if that makes a difference. Same starting conditions otherwise: dock already attached, but no monitors plugged into the dock or the laptop.

Jun 21 10:49:13 calaton kernel: [  199.796511]: login
Jun 21 10:49:47 calaton kernel: [  234.186963]: plug HDMI into laptop directly,
works
Jun 21 10:50:00 calaton kernel: [  246.472930]: pull HDMI cable from laptop
Jun 21 10:51:34 calaton kernel: [  341.384332]: plug HDMI cable into dock - not
recognized, display lights up, but goes back into standby
Jun 21 10:52:20 calaton kernel: [  386.757948]: plug DP into dock - not
recognized, display lights up, but goes back into standby
Jun 21 10:52:57 calaton kernel: [  424.339095]: pull HDMI cable out of dock -
no change, display lights up, but goes back into standby
Jun 21 10:53:36 calaton kernel: [  462.525517]: plug HDMI cable into laptop -
recognized
Jun 21 10:53:51 calaton kernel: [  477.800605]: unplug the Dock - no change,
Levovo on HDMI and internal display remain active.
Jun 21 10:54:51 calaton kernel: [  537.523191]: re-plug the Dock - Dell not
recognized
Jun 21 10:55:16 calaton kernel: [  562.760425]: pull the HDMI cable
Jun 21 10:55:57 calaton kernel: [  604.330288]: plug HDMI cable into dock -
neither Dell nor Lenovo recognized
Jun 21 10:56:40 calaton kernel: [  647.138495]: pull the dock
Jun 21 10:56:55 calaton kernel: [  662.366295]: plug the Dock again
Jun 21 10:58:26 calaton kernel: [  752.986238]: pull the dock
Jun 21 10:58:41 calaton kernel: [  768.201244]: plug the Dock again
Jun 21 10:59:53 calaton kernel: [  840.353587]: pull the dock, pull the HDMI
from the dock
Jun 21 11:00:08 calaton kernel: [  855.417667]: plug the dock (with only the DP
display attached)
Jun 21 11:01:48 calaton kernel: [  955.154927]: pull the dock
Jun 21 11:02:03 calaton kernel: [  970.227148]: re-plug the dock (with only the
HDMI display attached)
Jun 21 11:03:14 calaton kernel: [ 1040.747229]: pull the dock, pull the HDMI
from the dock, re-attach DP to the dock
Jun 21 11:03:29 calaton kernel: [ 1055.830960]: attach HDMI to laptop -

recognized properly

/sys/class/drm/card0-eDP-1/status:connected
/sys/class/drm/card1-DP-1/status:disconnected
/sys/class/drm/card1-DP-2/status:disconnected
/sys/class/drm/card1-HDMI-A-1/status:connected
/sys/class/drm/card1-eDP-2/status:disconnected

Jun 21 11:05:00 calaton kernel: [ 1146.466630]: re-plug the dock (with HDMI
already attached, DP on dock)
Jun 21 11:06:28 calaton kernel: [ 1234.650085]: unplug the DP from the dock
Jun 21 11:07:00 calaton kernel: [ 1266.460845]: re-plug the DP to the dock
Jun 21 11:07:30 calaton kernel: [ 1297.127079]: unplug the dock from the laptop

Again, the attached log is annotated with actions and observations.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 110993] GP107GLM [Quadro P1000 Mobile]: frequent failure to initialize displays on Thunderbolt dock

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=110993

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #3 from Martin Peres <[email protected]> --- -- 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/xorg/driver/xf86-video-nouveau/issues/490.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau