linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.55k stars 741 forks source link

HDMI (USB-C Dock to HDMI) doesn't work anymore #11364

Open starbrights opened 1 year ago

starbrights commented 1 year ago
 * Cinnamon 5.6.5
 * Linux happy 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
 * Mint21.1
 * HP Folio G1
 * 64 bit
 * Attach ~/.xsession-errors, or /var/log/syslog

Issue

HP Folio G1 just have 2 USB-C Ports. So to get HDMI conntected you need an Adapter, in my case a HP Traveller Dock. While in previous version it runs, I don't see that attached HDMI monitor gets any signal. It was working with before (with Min21 and before HP Bios-Update), but I don't know what is reason. To exclude Hardware issues - it is still running with Windows.

Steps to reproduce

Plug in USB-C Dock, Plugin HDMI cable to Monitor - nothing will happens. No signal at monitor, not even a notice in dmesg about attaching it.

Expected behaviour

Monitor should see be recognised by Mint.

Other information

Configuration info, if applicable

user@happy:~$ inxi -Fxxxrz System: Kernel: 5.15.0-56-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Cinnamon 5.6.5 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy Machine: Type: Laptop System: HP product: HP EliteBook Folio G1 v: N/A serial: Chassis: type: 10 serial: Mobo: HP model: 8170 v: KBC Version 29.73 serial: UEFI: HP v: N91 Ver. 01.58 date: 09/15/2022 Battery: ID-1: BAT0 charge: 14.7 Wh (46.5%) condition: 31.6/38.2 Wh (82.7%) volts: 8.1 min: 7.7 model: Hewlett-Packard Primary type: Li-ion serial: status: Charging cycles: 372 CPU: Info: dual core model: Intel Core m5-6Y54 bits: 64 type: MT MCP smt: enabled arch: Skylake rev: 3 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB Speed (MHz): avg: 500 min/max: 400/2700 cores: 1: 500 2: 500 3: 500 4: 500 bogomips: 11999 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel HD Graphics 515 vendor: Hewlett-Packard driver: i915 v: kernel ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:191e class-ID: 0300 Device-2: Chicony HP HD Camera type: USB driver: uvcvideo bus-ID: 1-1:2 chip-ID: 04f2:b560 class-ID: 0e02 Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") Monitor-1: eDP-1 model: AU Optronics res: 1920x1080 hz: 60 dpi: 177 size: 276x155mm (10.9x6.1") diag: 317mm (12.5") modes: 1920x1080 OpenGL: renderer: Mesa Intel HD Graphics 515 (SKL GT2) v: 4.6 Mesa 22.0.5 direct render: Yes Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403 Device-2: DisplayLink HP USB Dock type: USB driver: cdc_ncm,snd-usb-audio bus-ID: 4-1.2:3 chip-ID: 17e9:4352 class-ID: 0a00 serial: Sound Server-1: ALSA v: k5.15.0-56-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes Network: Device-1: Intel Wireless 8260 driver: iwlwifi v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 6d:00.0 chip-ID: 8086:24f3 class-ID: 0280 IF: wlp109s0 state: up mac: IF-ID-1: enx001fb52b2c10 state: down mac: Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-5:3 chip-ID: 8087:0a2b class-ID: e001 Report: hciconfig ID: hci0 rfk-id: 0 state: up address: bt-v: 2.1 lmp-v: 4.2 sub-v: 100 hci-v: 4.2 rev: 100 Drives: Local Storage: total: 1.82 TiB used: 834.53 GiB (44.8%) ID-1: /dev/nvme0n1 vendor: PNY model: CS3030 2TB SSD size: 1.82 TiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: rev: CS303132 temp: 24.9 C scheme: GPT ID-2: /dev/sda type: USB vendor: Integrated Technology model: IT1165 USB Flash Disk size: 120.5 MiB type: SSD serial: rev: 0.00 scheme: MBR Partition: ID-1: / size: 48.9 GiB used: 28.49 GiB (58.3%) fs: ext4 dev: /dev/dm-0 mapped: nvme0n1p6_crypt ID-2: /boot size: 487.2 MiB used: 257 MiB (52.8%) fs: ext4 dev: /dev/nvme0n1p5 ID-3: /boot/efi size: 96 MiB used: 48.2 MiB (50.2%) fs: vfat dev: /dev/nvme0n1p1 Swap: ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile Sensors: System Temperatures: cpu: 37.0 C pch: 38.5 C mobo: 0.0 C Fan Speeds (RPM): N/A Repos: Packages: 2940 apt: 2930 flatpak: 10 No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/cappelikan-ppa-jammy.list 1: deb http://ppa.launchpad.net/cappelikan/ppa/ubuntu jammy main Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http://packages.linuxmint.com vera main upstream import backport 2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse 3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse 4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse 5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse No active apt repos in: /etc/apt/sources.list.d/slimbook-slimbook-focal.list Active apt repos in: /etc/apt/sources.list.d/vscode.list 1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main Info: Processes: 237 Uptime: 18m wakeups: 98 Memory: 7.65 GiB used: 2.85 GiB (37.3%) Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/9 Shell: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.13


This happens when USB C dock gets connected:

[ 1115.393769] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20210730/psobject-220) [ 1115.393791] ACPI Error: Aborting method _GPE._E16 due to previous error (AE_ALREADY_EXISTS) (20210730/psparse-529) [ 1115.393826] ACPI Error: Aborting method _GPE._E16 due to previous error (AE_ALREADY_EXISTS) (20210730/psparse-529) [ 1115.393877] ACPI Error: AE_ALREADY_EXISTS, while evaluating GPE method [_E16] (20210730/evgpe-511) [ 1115.532976] pci 0000:01:00.0: [8086:1578] type 01 class 0x060400 [ 1115.533056] pci 0000:01:00.0: enabling Extended Tags [ 1115.533414] pci 0000:01:00.0: supports D1 D2 [ 1115.533417] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 1115.533529] pci 0000:01:00.0: 16.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x4 link at 0000:00:1c.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) [ 1115.547273] pci 0000:02:00.0: [8086:1578] type 01 class 0x060400 [ 1115.547355] pci 0000:02:00.0: enabling Extended Tags [ 1115.547617] pci 0000:02:00.0: supports D1 D2 [ 1115.547620] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 1115.547836] pci 0000:02:01.0: [8086:1578] type 01 class 0x060400 [ 1115.547920] pci 0000:02:01.0: enabling Extended Tags [ 1115.550242] pci 0000:02:01.0: supports D1 D2 [ 1115.550245] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold [ 1115.550964] pci 0000:02:02.0: [8086:1578] type 01 class 0x060400 [ 1115.551071] pci 0000:02:02.0: enabling Extended Tags [ 1115.551306] pci 0000:02:02.0: supports D1 D2 [ 1115.551310] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold [ 1115.554918] pci 0000:02:04.0: [8086:1578] type 01 class 0x060400 [ 1115.555009] pci 0000:02:04.0: enabling Extended Tags [ 1115.555485] pci 0000:02:04.0: supports D1 D2 [ 1115.555489] pci 0000:02:04.0: PME# supported from D0 D1 D2 D3hot D3cold [ 1115.555806] pci 0000:01:00.0: PCI bridge to [bus 02-6b] [ 1115.555820] pci 0000:01:00.0: bridge window [mem 0xbc000000-0xea0fffff] [ 1115.555830] pci 0000:01:00.0: bridge window [mem 0x70000000-0xb9ffffff 64bit pref] [ 1115.555902] pci 0000:02:00.0: PCI bridge to [bus 03] [ 1115.555915] pci 0000:02:00.0: bridge window [mem 0xea000000-0xea0fffff] [ 1115.556018] pci 0000:02:01.0: PCI bridge to [bus 04-36] [ 1115.556029] pci 0000:02:01.0: bridge window [mem 0xbc000000-0xd3efffff] [ 1115.556036] pci 0000:02:01.0: bridge window [mem 0x70000000-0x8fffffff 64bit pref] [ 1115.556149] pci 0000:37:00.0: [8086:15b6] type 00 class 0x0c0330 [ 1115.556178] pci 0000:37:00.0: reg 0x10: [mem 0xd3f00000-0xd3f0ffff] [ 1115.556266] pci 0000:37:00.0: enabling Extended Tags [ 1115.556404] pci 0000:37:00.0: supports D1 D2 [ 1115.556406] pci 0000:37:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 1115.556513] pci 0000:37:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:02:02.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) [ 1115.556686] pci 0000:02:02.0: PCI bridge to [bus 37] [ 1115.556697] pci 0000:02:02.0: bridge window [mem 0xd3f00000-0xd3ffffff] [ 1115.556758] pci 0000:02:04.0: PCI bridge to [bus 38-6b] [ 1115.556769] pci 0000:02:04.0: bridge window [mem 0xd4000000-0xe9ffffff] [ 1115.556777] pci 0000:02:04.0: bridge window [mem 0x90000000-0xb9ffffff 64bit pref] [ 1115.556815] pci_bus 0000:02: Allocating resources [ 1115.556845] pci 0000:02:01.0: bridge window [io 0x1000-0x0fff] to [bus 04-36] add_size 1000 [ 1115.556850] pci 0000:02:02.0: bridge window [io 0x1000-0x0fff] to [bus 37] add_size 1000 [ 1115.556854] pci 0000:02:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 37] add_size 200000 add_align 100000 [ 1115.556858] pci 0000:02:04.0: bridge window [io 0x1000-0x0fff] to [bus 38-6b] add_size 1000 [ 1115.556862] pci 0000:01:00.0: bridge window [io 0x1000-0x0fff] to [bus 02-6b] add_size 4000 [ 1115.556867] pci 0000:01:00.0: BAR 13: no space for [io size 0x4000] [ 1115.556870] pci 0000:01:00.0: BAR 13: failed to assign [io size 0x4000] [ 1115.556873] pci 0000:01:00.0: BAR 13: no space for [io size 0x4000] [ 1115.556876] pci 0000:01:00.0: BAR 13: failed to assign [io size 0x4000] [ 1115.556883] pci 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [ 1115.556886] pci 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [ 1115.556889] pci 0000:02:01.0: BAR 13: no space for [io size 0x1000] [ 1115.556891] pci 0000:02:01.0: BAR 13: failed to assign [io size 0x1000] [ 1115.556894] pci 0000:02:02.0: BAR 13: no space for [io size 0x1000] [ 1115.556897] pci 0000:02:02.0: BAR 13: failed to assign [io size 0x1000] [ 1115.556899] pci 0000:02:04.0: BAR 13: no space for [io size 0x1000] [ 1115.556901] pci 0000:02:04.0: BAR 13: failed to assign [io size 0x1000] [ 1115.556905] pci 0000:02:04.0: BAR 13: no space for [io size 0x1000] [ 1115.556907] pci 0000:02:04.0: BAR 13: failed to assign [io size 0x1000] [ 1115.556912] pci 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [ 1115.556915] pci 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [ 1115.556918] pci 0000:02:02.0: BAR 13: no space for [io size 0x1000] [ 1115.556920] pci 0000:02:02.0: BAR 13: failed to assign [io size 0x1000] [ 1115.556923] pci 0000:02:01.0: BAR 13: no space for [io size 0x1000] [ 1115.556926] pci 0000:02:01.0: BAR 13: failed to assign [io size 0x1000] [ 1115.556929] pci 0000:02:00.0: PCI bridge to [bus 03] [ 1115.556940] pci 0000:02:00.0: bridge window [mem 0xea000000-0xea0fffff] [ 1115.556952] pci 0000:02:01.0: PCI bridge to [bus 04-36] [ 1115.556960] pci 0000:02:01.0: bridge window [mem 0xbc000000-0xd3efffff] [ 1115.556966] pci 0000:02:01.0: bridge window [mem 0x70000000-0x8fffffff 64bit pref] [ 1115.556975] pci 0000:02:02.0: PCI bridge to [bus 37] [ 1115.556983] pci 0000:02:02.0: bridge window [mem 0xd3f00000-0xd3ffffff] [ 1115.556995] pci 0000:02:04.0: PCI bridge to [bus 38-6b] [ 1115.557002] pci 0000:02:04.0: bridge window [mem 0xd4000000-0xe9ffffff] [ 1115.557008] pci 0000:02:04.0: bridge window [mem 0x90000000-0xb9ffffff 64bit pref] [ 1115.557016] pci 0000:01:00.0: PCI bridge to [bus 02-6b] [ 1115.557022] pci 0000:01:00.0: bridge window [mem 0xbc000000-0xea0fffff] [ 1115.557026] pci 0000:01:00.0: bridge window [mem 0x70000000-0xb9ffffff 64bit pref] [ 1115.558641] xhci_hcd 0000:37:00.0: xHCI Host Controller [ 1115.558647] xhci_hcd 0000:37:00.0: new USB bus registered, assigned bus number 3 [ 1115.559809] xhci_hcd 0000:37:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810 [ 1115.560188] xhci_hcd 0000:37:00.0: xHCI Host Controller [ 1115.560196] xhci_hcd 0000:37:00.0: new USB bus registered, assigned bus number 4 [ 1115.560202] xhci_hcd 0000:37:00.0: Host supports USB 3.1 Enhanced SuperSpeed [ 1115.560255] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15 [ 1115.560260] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1115.560263] usb usb3: Product: xHCI Host Controller [ 1115.560266] usb usb3: Manufacturer: Linux 5.15.0-56-generic xhci-hcd [ 1115.560269] usb usb3: SerialNumber: 0000:37:00.0 [ 1115.564426] hub 3-0:1.0: USB hub found [ 1115.564448] hub 3-0:1.0: 2 ports detected [ 1115.565596] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15 [ 1115.565602] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1115.565606] usb usb4: Product: xHCI Host Controller [ 1115.565609] usb usb4: Manufacturer: Linux 5.15.0-56-generic xhci-hcd [ 1115.565611] usb usb4: SerialNumber: 0000:37:00.0 [ 1115.565869] hub 4-0:1.0: USB hub found [ 1115.565883] hub 4-0:1.0: 2 ports detected [ 1115.899225] usb 3-1: new high-speed USB device number 2 using xhci_hcd [ 1116.063807] usb 3-1: New USB device found, idVendor=03f0, idProduct=0355, bcdDevice= 1.23 [ 1116.063847] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1116.063858] usb 3-1: Product: 4-Port USB 2.0 Hub [ 1116.063867] usb 3-1: Manufacturer: Generic [ 1116.066629] hub 3-1:1.0: USB hub found [ 1116.067840] hub 3-1:1.0: 4 ports detected [ 1116.179730] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd [ 1116.218431] usb 4-1: New USB device found, idVendor=03f0, idProduct=a11d, bcdDevice= 1.23 [ 1116.218454] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1116.218465] usb 4-1: Product: 4-Port USB 3.0 Hub [ 1116.218473] usb 4-1: Manufacturer: Generic [ 1116.228475] hub 4-1:1.0: USB hub found [ 1116.230394] hub 4-1:1.0: 4 ports detected [ 1116.367197] usb 3-1.1: new high-speed USB device number 3 using xhci_hcd [ 1116.470050] usb 3-1.1: New USB device found, idVendor=048d, idProduct=1165, bcdDevice= 1.00 [ 1116.470074] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1116.470085] usb 3-1.1: Product: USB Mass Storage Device [ 1116.470094] usb 3-1.1: Manufacturer: iTE Tech [ 1116.470101] usb 3-1.1: SerialNumber: 0000000000000984 [ 1116.521765] usb-storage 3-1.1:1.0: USB Mass Storage device detected [ 1116.522098] scsi host0: usb-storage 3-1.1:1.0 [ 1116.522371] usbcore: registered new interface driver usb-storage [ 1116.526649] usbcore: registered new interface driver uas [ 1116.551248] usb 4-1.2: new SuperSpeed USB device number 3 using xhci_hcd [ 1116.572990] usb 4-1.2: New USB device found, idVendor=17e9, idProduct=4352, bcdDevice=31.04 [ 1116.572996] usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1116.572999] usb 4-1.2: Product: HP USB Dock [ 1116.573002] usb 4-1.2: Manufacturer: DisplayLink [ 1116.573004] usb 4-1.2: SerialNumber: 0020045 [ 1116.630236] usbcore: registered new interface driver cdc_ether [ 1116.659722] usb 4-1.2: Warning! Unlikely big volume range (=511), cval->res is probably wrong. [ 1116.659726] usb 4-1.2: [13] FU [HP USB Audio Playback Volume] ch = 6, val = -8176/0/16 [ 1116.660011] usbcore: registered new interface driver snd-usb-audio [ 1116.685960] cdc_ncm 4-1.2:1.5: MAC-Address: 00:1f:b5:2b:2c:10 [ 1116.685976] cdc_ncm 4-1.2:1.5: setting rx_max = 16384 [ 1116.686315] cdc_ncm 4-1.2:1.5: setting tx_max = 16384 [ 1116.687929] cdc_ncm 4-1.2:1.5 eth0: register 'cdc_ncm' at usb-0000:37:00.0-1.2, CDC NCM, 00:1f:b5:2b:2c:10 [ 1116.692375] usbcore: registered new interface driver cdc_ncm [ 1116.704269] usbcore: registered new interface driver cdc_wdm [ 1116.713076] usbcore: registered new interface driver cdc_mbim [ 1116.816335] cdc_ncm 4-1.2:1.5 enx001fb52b2c10: renamed from eth0 [ 1117.528288] scsi 0:0:0:0: Direct-Access IT1165 USB Flash Disk 0.00 PQ: 0 ANSI: 4 [ 1117.529524] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 1117.530877] sd 0:0:0:0: [sda] 246784 512-byte logical blocks: (126 MB/121 MiB) [ 1117.531963] sd 0:0:0:0: [sda] Write Protect is on [ 1117.531981] sd 0:0:0:0: [sda] Mode Sense: 0b 00 80 00 [ 1117.532903] sd 0:0:0:0: [sda] No Caching mode page found [ 1117.532936] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 1117.544086] sda: sda1 [ 1117.556152] sd 0:0:0:0: [sda] Attached SCSI removable disk

starbrights commented 1 year ago

Could solve that by installing that driver: https://support.displaylink.com/knowledgebase/articles/1944022-how-to-install-displaylink-software-on-ubuntu-20-0

That was not needed before. Seems to be removed from Distro.

besendorf commented 1 year ago

I have the same issue. However installing the displaylink driver did not help. Also Im using DisplayPort instead of HDMI on the Dock. the Monitors are shown in the "Displays" Tool but the screen stays black

besendorf commented 1 year ago

After installing DisplayTools I see this error in the kernel log ERROR* Failure: pbn_per_slot==0 not allowed

besendorf commented 1 year ago

It seems to be a Kernel bug: https://bugs.archlinux.org/task/76934

stevevanhoyweghen commented 1 year ago

I have the same issue with an usb-c dock with two monitors connected with DisplayPort since kernel update from 5.15.0-58 to 5.19.0-28. Rolling back to 5.15.0-58 fixes the issue. I am on Mint 21.1. Thinkpad T14 Gen 1 AMD.