All of lore.kernel.org
 help / color / mirror / Atom feed
* DP MST with GK107 and lenovo ultra dock
@ 2020-03-01 16:22 Jasmin
  2020-03-01 17:17 ` Ilia Mirkin
  0 siblings, 1 reply; 4+ messages in thread
From: Jasmin @ 2020-03-01 16:22 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 25544 bytes --]

Hi,

for quite some time now I would like to switch from the proprietary driver to nouveau, using a GK107 (Quadro) in a thinkpad.
Unfortunately the monitors connected to the lenovo "ultra dock" are not properly recognized when using nouveau.

The laptop contains a multiplexer: so in the bios it can be selected, whether the docking station's DP/HDMI/VGA-Ports are "directly" connected to the dedicated GK701 or to the integrated intel GPU.
I have selected the GK107, which is used as primary GPU (by the xserver): I use reverse prime to also display something on the laptop-screen, which stays connected to the intel-gpu.
This setup with all 4 screens works with the proprietary driver (but many other things are not properly working with it), but with noveau only 2 monitors are recognized: the reverse-prime-screen(intel), and "one other" monitor.
As far as I know the ultra dock uses DP MST for making it possible to simultaneously connect/drive 3 individual monitors: so for me it looks like DP MST is not working in this case, because only "one" monitor is found.

After looking into the source code I guess, the connectors are not properly recognized – perhaps because the dock's DP-uplink port is not recognized as MST-capable ("connector type" DP is needed here?), because some kernel log lines are not shown, that I would expect to show, if the code was going through its MST sections. Or it has something to do with the I2C-bus, that seems to be used by some docks (AUX I2C)? Nothing is found on the i2c-busses provided by nouveau.
The connector information seems to be read from a "DCB", and there are no I2C-Bits set... however: I am not into this topic, so I can only guess without further experiments.

Below there is the kernel log with some debugging enabled (especially the last line and DCB lines are possibly relevant)...
Thanks for any help.

Jasmin

Feb 28 23:07:10 laptop kernel: [    0.172771] Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.0-0.bpo.3-amd64 root=/dev/mapper/systemvg-systemlv ro nouveau.config=NvI2C=1 nouveau.debug=I2C=debug,DRM=debug nouveau.mst=1
Feb 28 23:07:10 laptop kernel: [   13.277531] nouveau: detected PR support, will not use DSM
Feb 28 23:07:10 laptop kernel: [   13.277572] nouveau 0000:01:00.0: enabling device (0000 -> 0003)
Feb 28 23:07:10 laptop kernel: [   13.278585] nouveau 0000:01:00.0: NVIDIA GK107 (0e7360a2)
Feb 28 23:07:10 laptop kernel: [   13.390704] nouveau 0000:01:00.0: bios: version 80.07.ac.00.20
Feb 28 23:07:10 laptop kernel: [   13.390713] nouveau 0000:01:00.0: i2c: ccb 00: type 05 drive 00 sense ff share ff auxch ff
Feb 28 23:07:10 laptop kernel: [   13.390825] nouveau 0000:01:00.0: i2c: ccb 01: type 05 drive 01 sense ff share ff auxch ff
Feb 28 23:07:10 laptop kernel: [   13.390877] nouveau 0000:01:00.0: i2c: ccb 02: type 05 drive 02 sense ff share ff auxch ff
Feb 28 23:07:10 laptop kernel: [   13.390924] nouveau 0000:01:00.0: i2c: ccb 03: type ff drive ff sense ff share ff auxch ff
Feb 28 23:07:10 laptop kernel: [   13.390926] nouveau 0000:01:00.0: i2c: ccb 04: type ff drive ff sense ff share ff auxch ff
Feb 28 23:07:10 laptop kernel: [   13.390927] nouveau 0000:01:00.0: i2c: ccb 05: type 05 drive 05 sense ff share ff auxch ff
Feb 28 23:07:10 laptop kernel: [   13.390971] nouveau 0000:01:00.0: i2c: ccb 06: type 05 drive 06 sense ff share 00 auxch ff
Feb 28 23:07:10 laptop kernel: [   13.391014] nouveau 0000:01:00.0: i2c: ccb 07: type 05 drive 07 sense ff share 01 auxch ff
Feb 28 23:07:10 laptop kernel: [   13.391058] nouveau 0000:01:00.0: i2c: ccb 08: type 05 drive 08 sense ff share 02 auxch ff
Feb 28 23:07:10 laptop kernel: [   13.391101] nouveau 0000:01:00.0: i2c: ccb 09: type 05 drive 09 sense ff share 03 auxch ff
Feb 28 23:07:10 laptop kernel: [   13.391145] nouveau 0000:01:00.0: i2c: ccb 0a: type 06 drive ff sense ff share 00 auxch 00
Feb 28 23:07:10 laptop kernel: [   13.391187] nouveau 0000:01:00.0: i2c: ccb 0b: type 06 drive ff sense ff share 01 auxch 01
Feb 28 23:07:10 laptop kernel: [   13.391230] nouveau 0000:01:00.0: i2c: ccb 0c: type 06 drive ff sense ff share 02 auxch 02
Feb 28 23:07:10 laptop kernel: [   13.391273] nouveau 0000:01:00.0: i2c: ccb 0d: type 06 drive ff sense ff share 03 auxch 03
Feb 28 23:07:10 laptop kernel: [   13.391318] nouveau 0000:01:00.0: i2c: ccb 0e: type ff drive ff sense ff share ff auxch ff
Feb 28 23:07:11 laptop kernel: [   13.712832] nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
Feb 28 23:07:11 laptop kernel: [   13.724777] nouveau 0000:01:00.0: i2c: bus 0002: probing monitoring devices
Feb 28 23:07:11 laptop kernel: [   13.724784] nouveau 0000:01:00.0: i2c: bus 0002: no devices found.
Feb 28 23:07:11 laptop kernel: [   13.746807] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
Feb 28 23:07:11 laptop kernel: [   13.746808] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
Feb 28 23:07:11 laptop kernel: [   13.746810] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
Feb 28 23:07:11 laptop kernel: [   13.746811] nouveau 0000:01:00.0: DRM: DCB version 4.0
Feb 28 23:07:11 laptop kernel: [   13.746812] nouveau 0000:01:00.0: DRM: DCB outp 00: 08800fc6 0f420010
Feb 28 23:07:11 laptop kernel: [   13.746813] nouveau 0000:01:00.0: DRM: DCB outp 01: 08000f82 00020010
Feb 28 23:07:11 laptop kernel: [   13.746813] nouveau 0000:01:00.0: DRM: DCB conn 00: 01000046
Feb 28 23:07:11 laptop kernel: [   13.748463] nouveau: DRM:00000000:0000a06f: init running...
Feb 28 23:07:11 laptop kernel: [   13.748502] nouveau: DRM:00000000:0000a06f: init children...
Feb 28 23:07:11 laptop kernel: [   13.748503] nouveau: DRM:00000000:0000a06f: init completed in 39us
Feb 28 23:07:11 laptop kernel: [   13.748610] nouveau: DRM:00000000:0000a06f: init running...
Feb 28 23:07:11 laptop kernel: [   13.748643] nouveau: DRM:00000000:0000a06f: init children...
Feb 28 23:07:11 laptop kernel: [   13.748644] nouveau: DRM:00000000:0000a06f: init completed in 34us
Feb 28 23:07:11 laptop kernel: [   13.752269] nouveau: DRM:0004a0b5:0000a0b5: init running...
Feb 28 23:07:11 laptop kernel: [   13.752270] nouveau: DRM:0004a0b5:0000a0b5: init children...
Feb 28 23:07:11 laptop kernel: [   13.752271] nouveau: DRM:0004a0b5:0000a0b5: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.752274] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
Feb 28 23:07:11 laptop kernel: [   13.752984] nouveau: DRM:00000000:00009170: init running...
Feb 28 23:07:11 laptop kernel: [   13.752985] nouveau: DRM:00000000:00009170: init children...
Feb 28 23:07:11 laptop kernel: [   13.752986] nouveau: DRM:00000000:00009170: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753039] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753040] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753041] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753046] nouveau: DRM:00000000:0000917d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753072] nouveau: DRM:00000000:0000917d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753073] nouveau: DRM:00000000:0000917d: init completed in 25us
Feb 28 23:07:11 laptop kernel: [   13.753098] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753099] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753100] nouveau: DRM:f0000000:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753111] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753112] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753112] nouveau: DRM:f0000001:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753121] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753122] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753123] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753144] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753145] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753145] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753175] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753175] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753176] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753180] nouveau: DRM:00000000:0000917c: init running...
Feb 28 23:07:11 laptop kernel: [   13.753201] nouveau: DRM:00000000:0000917c: init children...
Feb 28 23:07:11 laptop kernel: [   13.753202] nouveau: DRM:00000000:0000917c: init completed in 21us
Feb 28 23:07:11 laptop kernel: [   13.753217] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753218] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753219] nouveau: DRM:f0000000:0000003d: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753230] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753231] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753232] nouveau: DRM:f0000001:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753239] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753239] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753240] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753260] nouveau: DRM:00000000:0000917e: init running...
Feb 28 23:07:11 laptop kernel: [   13.753287] nouveau: DRM:00000000:0000917e: init children...
Feb 28 23:07:11 laptop kernel: [   13.753287] nouveau: DRM:00000000:0000917e: init completed in 26us
Feb 28 23:07:11 laptop kernel: [   13.753314] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753314] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753315] nouveau: DRM:f0000000:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753325] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753325] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753325] nouveau: DRM:f0000001:0000003d: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753329] nouveau: DRM:00000000:0000917b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753335] nouveau: DRM:00000000:0000917b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753335] nouveau: DRM:00000000:0000917b: init completed in 5us
Feb 28 23:07:11 laptop kernel: [   13.753340] nouveau: DRM:00000000:0000917a: init running...
Feb 28 23:07:11 laptop kernel: [   13.753346] nouveau: DRM:00000000:0000917a: init children...
Feb 28 23:07:11 laptop kernel: [   13.753346] nouveau: DRM:00000000:0000917a: init completed in 5us
Feb 28 23:07:11 laptop kernel: [   13.753351] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753351] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753352] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753383] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753384] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753385] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753417] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753418] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753418] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753444] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753444] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753445] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753463] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753463] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753464] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753466] nouveau: DRM:00000000:0000917c: init running...
Feb 28 23:07:11 laptop kernel: [   13.753478] nouveau: DRM:00000000:0000917c: init children...
Feb 28 23:07:11 laptop kernel: [   13.753479] nouveau: DRM:00000000:0000917c: init completed in 12us
Feb 28 23:07:11 laptop kernel: [   13.753491] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753491] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753491] nouveau: DRM:f0000000:0000003d: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753501] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753501] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753502] nouveau: DRM:f0000001:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753505] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753505] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753506] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753508] nouveau: DRM:00000000:0000917e: init running...
Feb 28 23:07:11 laptop kernel: [   13.753520] nouveau: DRM:00000000:0000917e: init children...
Feb 28 23:07:11 laptop kernel: [   13.753521] nouveau: DRM:00000000:0000917e: init completed in 12us
Feb 28 23:07:11 laptop kernel: [   13.753534] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753535] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753535] nouveau: DRM:f0000000:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753547] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753548] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753548] nouveau: DRM:f0000001:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753551] nouveau: DRM:00000000:0000917b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753556] nouveau: DRM:00000000:0000917b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753557] nouveau: DRM:00000000:0000917b: init completed in 6us
Feb 28 23:07:11 laptop kernel: [   13.753564] nouveau: DRM:00000000:0000917a: init running...
Feb 28 23:07:11 laptop kernel: [   13.753570] nouveau: DRM:00000000:0000917a: init children...
Feb 28 23:07:11 laptop kernel: [   13.753571] nouveau: DRM:00000000:0000917a: init completed in 6us
Feb 28 23:07:11 laptop kernel: [   13.753576] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753577] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753578] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753605] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753606] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753607] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753627] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753628] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753628] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753655] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753656] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753656] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753675] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753676] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753676] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753680] nouveau: DRM:00000000:0000917c: init running...
Feb 28 23:07:11 laptop kernel: [   13.753700] nouveau: DRM:00000000:0000917c: init children...
Feb 28 23:07:11 laptop kernel: [   13.753700] nouveau: DRM:00000000:0000917c: init completed in 20us
Feb 28 23:07:11 laptop kernel: [   13.753716] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753716] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753717] nouveau: DRM:f0000000:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753728] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753729] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753729] nouveau: DRM:f0000001:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753734] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753735] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753735] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753739] nouveau: DRM:00000000:0000917e: init running...
Feb 28 23:07:11 laptop kernel: [   13.753759] nouveau: DRM:00000000:0000917e: init children...
Feb 28 23:07:11 laptop kernel: [   13.753760] nouveau: DRM:00000000:0000917e: init completed in 21us
Feb 28 23:07:11 laptop kernel: [   13.753773] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753774] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753775] nouveau: DRM:f0000000:0000003d: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753787] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753787] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753788] nouveau: DRM:f0000001:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753790] nouveau: DRM:00000000:0000917b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753796] nouveau: DRM:00000000:0000917b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753796] nouveau: DRM:00000000:0000917b: init completed in 5us
Feb 28 23:07:11 laptop kernel: [   13.753802] nouveau: DRM:00000000:0000917a: init running...
Feb 28 23:07:11 laptop kernel: [   13.753807] nouveau: DRM:00000000:0000917a: init children...
Feb 28 23:07:11 laptop kernel: [   13.753808] nouveau: DRM:00000000:0000917a: init completed in 6us
Feb 28 23:07:11 laptop kernel: [   13.753813] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753814] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753815] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753842] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753842] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753843] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753864] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753864] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753865] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753891] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753891] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753892] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753910] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753910] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753910] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753913] nouveau: DRM:00000000:0000917c: init running...
Feb 28 23:07:11 laptop kernel: [   13.753925] nouveau: DRM:00000000:0000917c: init children...
Feb 28 23:07:11 laptop kernel: [   13.753925] nouveau: DRM:00000000:0000917c: init completed in 12us
Feb 28 23:07:11 laptop kernel: [   13.753937] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753938] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753938] nouveau: DRM:f0000000:0000003d: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753948] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753948] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753948] nouveau: DRM:f0000001:0000003d: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753952] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753952] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753953] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753955] nouveau: DRM:00000000:0000917e: init running...
Feb 28 23:07:11 laptop kernel: [   13.753967] nouveau: DRM:00000000:0000917e: init children...
Feb 28 23:07:11 laptop kernel: [   13.753967] nouveau: DRM:00000000:0000917e: init completed in 12us
Feb 28 23:07:11 laptop kernel: [   13.753979] nouveau: DRM:f0000000:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753979] nouveau: DRM:f0000000:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753979] nouveau: DRM:f0000000:0000003d: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.753989] nouveau: DRM:f0000001:0000003d: init running...
Feb 28 23:07:11 laptop kernel: [   13.753989] nouveau: DRM:f0000001:0000003d: init children...
Feb 28 23:07:11 laptop kernel: [   13.753990] nouveau: DRM:f0000001:0000003d: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.753992] nouveau: DRM:00000000:0000917b: init running...
Feb 28 23:07:11 laptop kernel: [   13.753997] nouveau: DRM:00000000:0000917b: init children...
Feb 28 23:07:11 laptop kernel: [   13.753998] nouveau: DRM:00000000:0000917b: init completed in 5us
Feb 28 23:07:11 laptop kernel: [   13.754002] nouveau: DRM:00000000:0000917a: init running...
Feb 28 23:07:11 laptop kernel: [   13.754008] nouveau: DRM:00000000:0000917a: init children...
Feb 28 23:07:11 laptop kernel: [   13.754008] nouveau: DRM:00000000:0000917a: init completed in 6us
Feb 28 23:07:11 laptop kernel: [   13.754014] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.754015] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.754016] nouveau: DRM:00000000:8000900b: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.754043] nouveau: DRM:00000000:8000900b: init running...
Feb 28 23:07:11 laptop kernel: [   13.754043] nouveau: DRM:00000000:8000900b: init children...
Feb 28 23:07:11 laptop kernel: [   13.754044] nouveau: DRM:00000000:8000900b: init completed in 1us
Feb 28 23:07:11 laptop kernel: [   13.754257] nouveau: DRM:00000000:ffffffff: init running...
Feb 28 23:07:11 laptop kernel: [   13.754258] nouveau: DRM:00000000:ffffffff: init children...
Feb 28 23:07:11 laptop kernel: [   13.754259] nouveau: DRM:00000000:ffffffff: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.783732] nouveau: DRM:0000902d:0000902d: init running...
Feb 28 23:07:11 laptop kernel: [   13.783741] nouveau: DRM:00000000:00000000: init running...
Feb 28 23:07:11 laptop kernel: [   13.783742] nouveau: DRM:00000000:00000000: init children...
Feb 28 23:07:11 laptop kernel: [   13.783743] nouveau: DRM:00000000:00000000: init completed in 0us
Feb 28 23:07:11 laptop kernel: [   13.783757] nouveau: DRM:0000902d:0000902d: init children...
Feb 28 23:07:11 laptop kernel: [   13.783758] nouveau: DRM:0000902d:0000902d: init completed in 17us
Feb 28 23:07:11 laptop kernel: [   13.783767] nouveau 0000:01:00.0: DRM: allocated 1280x1024 fb: 0xa0000, bo 00000000a0d9372b
Feb 28 23:07:12 laptop kernel: [   14.798752] nouveau 0000:01:00.0: fb1: nouveaudrmfb frame buffer device
Feb 28 23:07:12 laptop kernel: [   14.844150] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
Feb 28 23:07:13 laptop kernel: [   16.577319] nouveau: DRM:fb0000fe:0000003d: init running...
Feb 28 23:07:13 laptop kernel: [   16.577323] nouveau: DRM:fb0000fe:0000003d: init children...
Feb 28 23:07:13 laptop kernel: [   16.577325] nouveau: DRM:fb0000fe:0000003d: init completed in 1us
Feb 28 23:07:14 laptop kernel: [   16.588506] nouveau 0000:01:00.0: disp: 0x000063ab[0]: script needs connector type

[-- Attachment #1.2: Type: text/html, Size: 31586 bytes --]

[-- Attachment #2: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DP MST with GK107 and lenovo ultra dock
  2020-03-01 16:22 DP MST with GK107 and lenovo ultra dock Jasmin
@ 2020-03-01 17:17 ` Ilia Mirkin
       [not found]   ` <CAKb7UviVqPZKuZ-Mj94FSDV=3+FDjEzk0RfENacMmU-3Nd2GqQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ilia Mirkin @ 2020-03-01 17:17 UTC (permalink / raw)
  To: Jasmin; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi Jasmin,

On Sun, Mar 1, 2020 at 11:32 AM Jasmin <jasmin.pm@protonmail.com> wrote:
>
> Hi,
>
> for quite some time now I would like to switch from the proprietary driver to nouveau, using a GK107 (Quadro) in a thinkpad.
> Unfortunately the monitors connected to the lenovo "ultra dock" are not properly recognized when using nouveau.

DP-MST support was first added to nouveau for precisely these kinds of
setups. It does, generally, work, so that means there's something
extra-special about your setup.

>
> The laptop contains a multiplexer: so in the bios it can be selected, whether the docking station's DP/HDMI/VGA-Ports are "directly" connected to the dedicated GK701 or to the integrated intel GPU.
> I have selected the GK107, which is used as primary GPU (by the xserver): I use reverse prime to also display something on the laptop-screen, which stays connected to the intel-gpu.
> This setup with all 4 screens works with the proprietary driver (but many other things are not properly working with it), but with noveau only 2 monitors are recognized: the reverse-prime-screen(intel), and "one other" monitor.
> As far as I know the ultra dock uses DP MST for making it possible to simultaneously connect/drive 3 individual monitors: so for me it looks like DP MST is not working in this case, because only "one" monitor is found.
>
> After looking into the source code I guess, the connectors are not properly recognized – perhaps because the dock's DP-uplink port is not recognized as MST-capable ("connector type" DP is needed here?), because some kernel log lines are not shown, that I would expect to show, if the code was going through its MST sections. Or it has something to do with the I2C-bus, that seems to be used by some docks (AUX I2C)? Nothing is found on the i2c-busses provided by nouveau.
> The connector information seems to be read from a "DCB", and there are no I2C-Bits set... however: I am not into this topic, so I can only guess without further experiments.
>
> Below there is the kernel log with some debugging enabled (especially the last line and DCB lines are possibly relevant)...
> Thanks for any help.
>
> Jasmin
>
>
> Feb 28 23:07:10 laptop kernel: [    0.172771] Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.0-0.bpo.3-amd64 root=/dev/mapper/systemvg-systemlv ro nouveau.config=NvI2C=1 nouveau.debug=I2C=debug,DRM=debug nouveau.mst=1

I'm not sure what NvI2C does anymore, but you probably don't want it.
Also nouveau.mst isn't a think anymore (it might have been for a few
releases while we weren't sure about it working).

> Feb 28 23:07:10 laptop kernel: [   13.277531] nouveau: detected PR support, will not use DSM
> Feb 28 23:07:10 laptop kernel: [   13.277572] nouveau 0000:01:00.0: enabling device (0000 -> 0003)
> Feb 28 23:07:10 laptop kernel: [   13.278585] nouveau 0000:01:00.0: NVIDIA GK107 (0e7360a2)
> Feb 28 23:07:10 laptop kernel: [   13.390704] nouveau 0000:01:00.0: bios: version 80.07.ac.00.20
> Feb 28 23:07:10 laptop kernel: [   13.390713] nouveau 0000:01:00.0: i2c: ccb 00: type 05 drive 00 sense ff share ff auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.390825] nouveau 0000:01:00.0: i2c: ccb 01: type 05 drive 01 sense ff share ff auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.390877] nouveau 0000:01:00.0: i2c: ccb 02: type 05 drive 02 sense ff share ff auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.390924] nouveau 0000:01:00.0: i2c: ccb 03: type ff drive ff sense ff share ff auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.390926] nouveau 0000:01:00.0: i2c: ccb 04: type ff drive ff sense ff share ff auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.390927] nouveau 0000:01:00.0: i2c: ccb 05: type 05 drive 05 sense ff share ff auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.390971] nouveau 0000:01:00.0: i2c: ccb 06: type 05 drive 06 sense ff share 00 auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.391014] nouveau 0000:01:00.0: i2c: ccb 07: type 05 drive 07 sense ff share 01 auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.391058] nouveau 0000:01:00.0: i2c: ccb 08: type 05 drive 08 sense ff share 02 auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.391101] nouveau 0000:01:00.0: i2c: ccb 09: type 05 drive 09 sense ff share 03 auxch ff
> Feb 28 23:07:10 laptop kernel: [   13.391145] nouveau 0000:01:00.0: i2c: ccb 0a: type 06 drive ff sense ff share 00 auxch 00
> Feb 28 23:07:10 laptop kernel: [   13.391187] nouveau 0000:01:00.0: i2c: ccb 0b: type 06 drive ff sense ff share 01 auxch 01
> Feb 28 23:07:10 laptop kernel: [   13.391230] nouveau 0000:01:00.0: i2c: ccb 0c: type 06 drive ff sense ff share 02 auxch 02
> Feb 28 23:07:10 laptop kernel: [   13.391273] nouveau 0000:01:00.0: i2c: ccb 0d: type 06 drive ff sense ff share 03 auxch 03
> Feb 28 23:07:10 laptop kernel: [   13.391318] nouveau 0000:01:00.0: i2c: ccb 0e: type ff drive ff sense ff share ff auxch ff
> Feb 28 23:07:11 laptop kernel: [   13.712832] nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
> Feb 28 23:07:11 laptop kernel: [   13.724777] nouveau 0000:01:00.0: i2c: bus 0002: probing monitoring devices
> Feb 28 23:07:11 laptop kernel: [   13.724784] nouveau 0000:01:00.0: i2c: bus 0002: no devices found.
> Feb 28 23:07:11 laptop kernel: [   13.746807] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
> Feb 28 23:07:11 laptop kernel: [   13.746808] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
> Feb 28 23:07:11 laptop kernel: [   13.746810] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
> Feb 28 23:07:11 laptop kernel: [   13.746811] nouveau 0000:01:00.0: DRM: DCB version 4.0
> Feb 28 23:07:11 laptop kernel: [   13.746812] nouveau 0000:01:00.0: DRM: DCB outp 00: 08800fc6 0f420010
> Feb 28 23:07:11 laptop kernel: [   13.746813] nouveau 0000:01:00.0: DRM: DCB outp 01: 08000f82 00020010
> Feb 28 23:07:11 laptop kernel: [   13.746813] nouveau 0000:01:00.0: DRM: DCB conn 00: 01000046

This is the DP connector.

> Feb 28 23:07:11 laptop kernel: [   13.748463] nouveau: DRM:00000000:0000a06f: init running...
> Feb 28 23:07:11 laptop kernel: [   13.748502] nouveau: DRM:00000000:0000a06f: init children...
> Feb 28 23:07:11 laptop kernel: [   13.748503] nouveau: DRM:00000000:0000a06f: init completed in 39us
> Feb 28 23:07:11 laptop kernel: [   13.748610] nouveau: DRM:00000000:0000a06f: init running...
> Feb 28 23:07:11 laptop kernel: [   13.748643] nouveau: DRM:00000000:0000a06f: init children...
> Feb 28 23:07:11 laptop kernel: [   13.748644] nouveau: DRM:00000000:0000a06f: init completed in 34us
> Feb 28 23:07:11 laptop kernel: [   13.752269] nouveau: DRM:0004a0b5:0000a0b5: init running...
> Feb 28 23:07:11 laptop kernel: [   13.752270] nouveau: DRM:0004a0b5:0000a0b5: init children...
> Feb 28 23:07:11 laptop kernel: [   13.752271] nouveau: DRM:0004a0b5:0000a0b5: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.752274] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
> Feb 28 23:07:11 laptop kernel: [   13.752984] nouveau: DRM:00000000:00009170: init running...
> Feb 28 23:07:11 laptop kernel: [   13.752985] nouveau: DRM:00000000:00009170: init children...
> Feb 28 23:07:11 laptop kernel: [   13.752986] nouveau: DRM:00000000:00009170: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753039] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753040] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753041] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753046] nouveau: DRM:00000000:0000917d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753072] nouveau: DRM:00000000:0000917d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753073] nouveau: DRM:00000000:0000917d: init completed in 25us
> Feb 28 23:07:11 laptop kernel: [   13.753098] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753099] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753100] nouveau: DRM:f0000000:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753111] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753112] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753112] nouveau: DRM:f0000001:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753121] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753122] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753123] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753144] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753145] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753145] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753175] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753175] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753176] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753180] nouveau: DRM:00000000:0000917c: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753201] nouveau: DRM:00000000:0000917c: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753202] nouveau: DRM:00000000:0000917c: init completed in 21us
> Feb 28 23:07:11 laptop kernel: [   13.753217] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753218] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753219] nouveau: DRM:f0000000:0000003d: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753230] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753231] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753232] nouveau: DRM:f0000001:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753239] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753239] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753240] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753260] nouveau: DRM:00000000:0000917e: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753287] nouveau: DRM:00000000:0000917e: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753287] nouveau: DRM:00000000:0000917e: init completed in 26us
> Feb 28 23:07:11 laptop kernel: [   13.753314] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753314] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753315] nouveau: DRM:f0000000:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753325] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753325] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753325] nouveau: DRM:f0000001:0000003d: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753329] nouveau: DRM:00000000:0000917b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753335] nouveau: DRM:00000000:0000917b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753335] nouveau: DRM:00000000:0000917b: init completed in 5us
> Feb 28 23:07:11 laptop kernel: [   13.753340] nouveau: DRM:00000000:0000917a: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753346] nouveau: DRM:00000000:0000917a: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753346] nouveau: DRM:00000000:0000917a: init completed in 5us
> Feb 28 23:07:11 laptop kernel: [   13.753351] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753351] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753352] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753383] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753384] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753385] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753417] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753418] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753418] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753444] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753444] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753445] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753463] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753463] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753464] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753466] nouveau: DRM:00000000:0000917c: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753478] nouveau: DRM:00000000:0000917c: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753479] nouveau: DRM:00000000:0000917c: init completed in 12us
> Feb 28 23:07:11 laptop kernel: [   13.753491] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753491] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753491] nouveau: DRM:f0000000:0000003d: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753501] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753501] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753502] nouveau: DRM:f0000001:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753505] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753505] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753506] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753508] nouveau: DRM:00000000:0000917e: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753520] nouveau: DRM:00000000:0000917e: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753521] nouveau: DRM:00000000:0000917e: init completed in 12us
> Feb 28 23:07:11 laptop kernel: [   13.753534] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753535] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753535] nouveau: DRM:f0000000:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753547] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753548] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753548] nouveau: DRM:f0000001:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753551] nouveau: DRM:00000000:0000917b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753556] nouveau: DRM:00000000:0000917b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753557] nouveau: DRM:00000000:0000917b: init completed in 6us
> Feb 28 23:07:11 laptop kernel: [   13.753564] nouveau: DRM:00000000:0000917a: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753570] nouveau: DRM:00000000:0000917a: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753571] nouveau: DRM:00000000:0000917a: init completed in 6us
> Feb 28 23:07:11 laptop kernel: [   13.753576] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753577] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753578] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753605] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753606] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753607] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753627] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753628] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753628] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753655] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753656] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753656] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753675] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753676] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753676] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753680] nouveau: DRM:00000000:0000917c: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753700] nouveau: DRM:00000000:0000917c: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753700] nouveau: DRM:00000000:0000917c: init completed in 20us
> Feb 28 23:07:11 laptop kernel: [   13.753716] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753716] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753717] nouveau: DRM:f0000000:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753728] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753729] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753729] nouveau: DRM:f0000001:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753734] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753735] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753735] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753739] nouveau: DRM:00000000:0000917e: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753759] nouveau: DRM:00000000:0000917e: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753760] nouveau: DRM:00000000:0000917e: init completed in 21us
> Feb 28 23:07:11 laptop kernel: [   13.753773] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753774] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753775] nouveau: DRM:f0000000:0000003d: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753787] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753787] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753788] nouveau: DRM:f0000001:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753790] nouveau: DRM:00000000:0000917b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753796] nouveau: DRM:00000000:0000917b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753796] nouveau: DRM:00000000:0000917b: init completed in 5us
> Feb 28 23:07:11 laptop kernel: [   13.753802] nouveau: DRM:00000000:0000917a: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753807] nouveau: DRM:00000000:0000917a: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753808] nouveau: DRM:00000000:0000917a: init completed in 6us
> Feb 28 23:07:11 laptop kernel: [   13.753813] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753814] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753815] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753842] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753842] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753843] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753864] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753864] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753865] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753891] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753891] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753892] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753910] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753910] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753910] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753913] nouveau: DRM:00000000:0000917c: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753925] nouveau: DRM:00000000:0000917c: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753925] nouveau: DRM:00000000:0000917c: init completed in 12us
> Feb 28 23:07:11 laptop kernel: [   13.753937] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753938] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753938] nouveau: DRM:f0000000:0000003d: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753948] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753948] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753948] nouveau: DRM:f0000001:0000003d: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753952] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753952] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753953] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753955] nouveau: DRM:00000000:0000917e: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753967] nouveau: DRM:00000000:0000917e: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753967] nouveau: DRM:00000000:0000917e: init completed in 12us
> Feb 28 23:07:11 laptop kernel: [   13.753979] nouveau: DRM:f0000000:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753979] nouveau: DRM:f0000000:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753979] nouveau: DRM:f0000000:0000003d: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.753989] nouveau: DRM:f0000001:0000003d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753989] nouveau: DRM:f0000001:0000003d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753990] nouveau: DRM:f0000001:0000003d: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.753992] nouveau: DRM:00000000:0000917b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.753997] nouveau: DRM:00000000:0000917b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.753998] nouveau: DRM:00000000:0000917b: init completed in 5us
> Feb 28 23:07:11 laptop kernel: [   13.754002] nouveau: DRM:00000000:0000917a: init running...
> Feb 28 23:07:11 laptop kernel: [   13.754008] nouveau: DRM:00000000:0000917a: init children...
> Feb 28 23:07:11 laptop kernel: [   13.754008] nouveau: DRM:00000000:0000917a: init completed in 6us
> Feb 28 23:07:11 laptop kernel: [   13.754014] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.754015] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.754016] nouveau: DRM:00000000:8000900b: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.754043] nouveau: DRM:00000000:8000900b: init running...
> Feb 28 23:07:11 laptop kernel: [   13.754043] nouveau: DRM:00000000:8000900b: init children...
> Feb 28 23:07:11 laptop kernel: [   13.754044] nouveau: DRM:00000000:8000900b: init completed in 1us
> Feb 28 23:07:11 laptop kernel: [   13.754257] nouveau: DRM:00000000:ffffffff: init running...
> Feb 28 23:07:11 laptop kernel: [   13.754258] nouveau: DRM:00000000:ffffffff: init children...
> Feb 28 23:07:11 laptop kernel: [   13.754259] nouveau: DRM:00000000:ffffffff: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.783732] nouveau: DRM:0000902d:0000902d: init running...
> Feb 28 23:07:11 laptop kernel: [   13.783741] nouveau: DRM:00000000:00000000: init running...
> Feb 28 23:07:11 laptop kernel: [   13.783742] nouveau: DRM:00000000:00000000: init children...
> Feb 28 23:07:11 laptop kernel: [   13.783743] nouveau: DRM:00000000:00000000: init completed in 0us
> Feb 28 23:07:11 laptop kernel: [   13.783757] nouveau: DRM:0000902d:0000902d: init children...
> Feb 28 23:07:11 laptop kernel: [   13.783758] nouveau: DRM:0000902d:0000902d: init completed in 17us
> Feb 28 23:07:11 laptop kernel: [   13.783767] nouveau 0000:01:00.0: DRM: allocated 1280x1024 fb: 0xa0000, bo 00000000a0d9372b
> Feb 28 23:07:12 laptop kernel: [   14.798752] nouveau 0000:01:00.0: fb1: nouveaudrmfb frame buffer device
> Feb 28 23:07:12 laptop kernel: [   14.844150] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
> Feb 28 23:07:13 laptop kernel: [   16.577319] nouveau: DRM:fb0000fe:0000003d: init running...
> Feb 28 23:07:13 laptop kernel: [   16.577323] nouveau: DRM:fb0000fe:0000003d: init children...
> Feb 28 23:07:13 laptop kernel: [   16.577325] nouveau: DRM:fb0000fe:0000003d: init completed in 1us
> Feb 28 23:07:14 laptop kernel: [   16.588506] nouveau 0000:01:00.0: disp: 0x000063ab[0]: script needs connector type
>

I think it may be interesting to boot with

drm.debug=0x1e nouveau.debug=i2c=trace,aux=trace,disp=trace

Also, after everything boots up, can you look at what "grep .
/sys/class/drm/*-*/status" produces?

I suspect figuring this out will require some amount of back and
forth, and I'm not really the best person for display issues. Try
#nouveau on irc.freenode.net on a week day.

Cheers,

  -ilia
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DP MST with GK107 and lenovo ultra dock
       [not found]   ` <CAKb7UviVqPZKuZ-Mj94FSDV=3+FDjEzk0RfENacMmU-3Nd2GqQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-03-02  0:40     ` Jasmin
  2020-07-27 12:10       ` Jasmin
  0 siblings, 1 reply; 4+ messages in thread
From: Jasmin @ 2020-03-02  0:40 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi Ilia,

thanks for your reply.

> DP-MST support was first added to nouveau for precisely these kinds of
> setups. It does, generally, work, so that means there's something
> extra-special about your setup.

Yes... this is what it looks like.

Even the proprietary driver, which works after bootup, has its problems with the setup after multiple consecutive VT switches (e.g. after 8-12 times).
At some stage, the external displays do not switch on again. VT switches take > 30-60s in this case, and only the internal display (reverse PRIME) comes back/system is extremly slow then.
In this case, even a reboot does not help. The system needs to be powered off completely(!). Something "bad" stored in the video memory?
After turning it back on, everything is normal/stable again; even for several months uptime.

Perhaps this behavior of the dock in conjunction with the proprietary driver is somehow related to the displays not recognized at all when using nouveau...

> > Feb 28 23:07:11 laptop kernel: [ 13.746813] nouveau 0000:01:00.0: DRM: DCB conn 00: 01000046
>
> This is the DP connector.

The NVIDIA Doc mentions some bits for AUX I2C GPIO... which are not set here. But that is probably nothing unusual.

> I think it may be interesting to boot with
>
> drm.debug=0x1e nouveau.debug=i2c=trace,aux=trace,disp=trace

I have just made that trace:
https://pastebin.com/7GZLRY8F


Mar  1 21:30:59 laptop kernel: [   14.228427] nouveau 0000:01:00.0: disp: init running...
Mar  1 21:30:59 laptop kernel: [   14.228427] nouveau 0000:01:00.0: disp: one-time init running...
Mar  1 21:30:59 laptop kernel: [   14.228432] nouveau 0000:01:00.0: disp: outp 00:0006:0f48: type 06 loc 0 or 8 link 1 con 0 edid c bus 0 head f
Mar  1 21:30:59 laptop kernel: [   14.228435] nouveau 0000:01:00.0: disp: outp 00:0006:0f48: bios dp 40 13 00 00
Mar  1 21:30:59 laptop kernel: [   14.228437] nouveau 0000:01:00.0: disp: outp 01:0002:0f48: type 02 loc 0 or 8 link 1 con 0 edid 8 bus 0 head f
Mar  1 21:30:59 laptop kernel: [   14.228439] nouveau 0000:01:00.0: disp: conn ffffffff:00ff: type ff loc 0 hpd 00 dp 0 di 0 sr 0 lcdid 0
Mar  1 21:30:59 laptop kernel: [   14.228440] nouveau 0000:01:00.0: disp: conn ffffffff:00ff: type ff loc 0 hpd 00 dp 0 di 0 sr 0 lcdid 0
Mar  1 21:30:59 laptop kernel: [   14.228461] nouveau 0000:01:00.0: disp:   Head(s): 4 (0f)
Mar  1 21:30:59 laptop kernel: [   14.228462] nouveau 0000:01:00.0: disp: head-0: ctor
Mar  1 21:30:59 laptop kernel: [   14.228463] nouveau 0000:01:00.0: disp: head-1: ctor
Mar  1 21:30:59 laptop kernel: [   14.228463] nouveau 0000:01:00.0: disp: head-2: ctor
Mar  1 21:30:59 laptop kernel: [   14.228464] nouveau 0000:01:00.0: disp: head-3: ctor
Mar  1 21:30:59 laptop kernel: [   14.228468] nouveau 0000:01:00.0: disp:    DAC(s): 4 (02)
Mar  1 21:30:59 laptop kernel: [   14.228469] nouveau 0000:01:00.0: disp: DAC-1: ctor
Mar  1 21:30:59 laptop kernel: [   14.228473] nouveau 0000:01:00.0: disp:    SOR(s): 8 (0f)
Mar  1 21:30:59 laptop kernel: [   14.228473] nouveau 0000:01:00.0: disp: SOR-0: ctor
Mar  1 21:30:59 laptop kernel: [   14.228474] nouveau 0000:01:00.0: disp: SOR-1: ctor
Mar  1 21:30:59 laptop kernel: [   14.228474] nouveau 0000:01:00.0: disp: SOR-2: ctor
Mar  1 21:30:59 laptop kernel: [   14.228475] nouveau 0000:01:00.0: disp: SOR-3: ctor
Mar  1 21:30:59 laptop kernel: [   14.228522] nouveau 0000:01:00.0: disp: one-time init completed in 94us
Mar  1 21:30:59 laptop kernel: [   14.228526] nouveau 0000:01:00.0: disp: outp 00:0006:0f48: no heads (0 3 4)

"4 Heads" looks not-so-bad... but, at least when trying to configure it (e.g. with arandr/xrandr), there is only "one" display available on that port, which does not work.
I hope this is not a xorg.conf configuration-issue?
At least ddcutil shows "no display detected".

> Also, after everything boots up, can you look at what "grep .
> /sys/class/drm/-/status" produces?

Here is the output:

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

> I suspect figuring this out will require some amount of back and
> forth, and I'm not really the best person for display issues. Try
> #nouveau on irc.freenode.net on a week day.

OK... if the trace does not obviously (more or less ^^) show what the cause is, I will try that.

Best
Jasmin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DP MST with GK107 and lenovo ultra dock
  2020-03-02  0:40     ` Jasmin
@ 2020-07-27 12:10       ` Jasmin
  0 siblings, 0 replies; 4+ messages in thread
From: Jasmin @ 2020-07-27 12:10 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi,

meanwhile I figured out why displayport MST did not work with nouveau on GK107 with Lenovo W540 and Lenovo Ultra Dock.

Nouveau does not try to establish MST, if the connector type is recognized as eDP (embedded displayport), which does not support MST.

The connector type is recognized by reading DCB connector table from the VBIOS.
http://download.nvidia.com/open-gpu-doc/DCB/
In this case, the DCB connector table header seemed to contain "version 0" (zero in the version field), so it was not used and nouveau tried to determine the connectors automatically, which wrongly resulted in eDP instead of DP.

But the VBIOS itself did _not_ contain this "version 0". Instead, this was a result produced by nouveau itself when parsing the DCB beforehand:
nouveau_bios.c:dcb_fake_connectors(struct nvbios *bios)

>        /* heuristic: if we ever get a non-zero connector field, assume
>         * that all the indices are valid and we don't need fake them.
>         *

At least if the laptop's dedicated nvidia GPU is configured (in UEFI) to supply the docking station with displayport-signals (advanced mode), the connector field for both DCB-entries is "zero" – an it is valid/correct, because there is no other connector than this "zero" one.

So the heuristical determination of valid connector data fails in this case, and it "disables" the dcb-connector table inadequately by writing version 0 into the db connector table header.

So I managed to fix this by inserting the following at the beginning of dcb_fake_connectors:

+        // has 2 DCB entries with connector index zero (correct)
+        if(nv_match_device(bios->dev, 0x0ff6, 0x17aa, 0x221a))
+                return;

IMHO it makes sense to introduce a module parameter: "alwaysTrustDCBConntab", which could be set to "true" for such cases.

Best
Jasmin
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-27 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-01 16:22 DP MST with GK107 and lenovo ultra dock Jasmin
2020-03-01 17:17 ` Ilia Mirkin
     [not found]   ` <CAKb7UviVqPZKuZ-Mj94FSDV=3+FDjEzk0RfENacMmU-3Nd2GqQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-03-02  0:40     ` Jasmin
2020-07-27 12:10       ` Jasmin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.