On Ubuntu 22.10 I have two HDMI monitors.
If I hook one up to the HDMI port and another to the USB-C port through a HDMI -> USB-C Adapter it works fine.
From this I think we can assume that it is not a cable or monitor issue.
I don't have another computer to try the dock on but this is the second dock I tried and the previous dock I used worked fine for dual monitors on another computer so I think it is an Ubuntu issue.
I want to plug both monitors into a USB-C dock and have both monitors work.
System statistics.
- Ubuntu 22.10
- X11
- Recent Lenovo Thinkpad
[~] uname -a
Linux chocrates-workstation 5.19.0-43-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Tue May 16 14:03:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
[~] lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 06cb:00f9 Synaptics, Inc.
Bus 003 Device 003: ID 04f2:b71c Chicony Electronics Co., Ltd Integrated RGB Camera
Bus 003 Device 008: ID 0bda:5418 Realtek Semiconductor Corp. BillBoard Device
Bus 003 Device 010: ID 0bda:1100 Realtek Semiconductor Corp. HID Device
Bus 003 Device 016: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 015: ID 046d:082c Logitech, Inc. HD Webcam C615
Bus 003 Device 014: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 013: ID 29ea:0102 Kinesis Corporation Advantage2 Keyboard
Bus 003 Device 012: ID 1532:0084 Razer USA, Ltd RZ01-0321 Gaming Mouse [DeathAdder V2]
Bus 003 Device 011: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 006: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 003 Device 004: ID 1050:0406 Yubico.com Yubikey 4/5 U2F+CCID
Bus 003 Device 002: ID 0b00:5423 INGENICO 4-Port USB 2.0 Hub
Bus 003 Device 007: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 003: ID 17e9:6011 DisplayLink Plugable UD-ULTC4K
Bus 002 Device 002: ID 0b00:0423 INGENICO 4-Port USB 3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[~] cat /lib/modprobe.d/nvidia-kms.conf
# This file was generated by nvidia-prime
# Set value to 1 to enable modesetting
options nvidia-drm modeset=1%
[~] nvidia-smi
Fri Jun 9 15:47:07 2023
+---------------------------------------------+
| NVIDIA-SMI 530.41.03 Driver Version: 530.41.03 CUDA Version: 12.1 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3080 L... Off| 00000000:01:00.0 On | N/A |
| N/A 52C P8 14W / N/A| 749MiB / 16384MiB | 5% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 2673 G /usr/lib/xorg/Xorg 253MiB |
| 0 N/A N/A 2975 G /usr/bin/gnome-shell 72MiB |
| 0 N/A N/A 3973 G gnome-control-center 14MiB |
| 0 N/A N/A 5488 G ...irefox/2710/usr/lib/firefox/firefox 397MiB |
| 0 N/A N/A 7606 G /usr/bin/nvidia-settings 3MiB |
| 0 N/A N/A 7683 G .../jvm/java-11-openjdk-amd64/bin/java 3MiB |
+---------------------------------------------+
And for good measure this is the dock https://www.amazon.com/gp/product/B0779K9DG2/ref=ppx_yo_dt_b_asin_title_o01_s01?ie=UTF8&psc=1