USB-C HDMI (Baseus)

I have an Asus notebook with hybrid display vga (intel+nvidia, and I don’t care if I can’t use both cards) with that setup:

I want to use the notebook HDMI output with my main monitor (28" samsung which is a 4k monitor but I’m using with the resolution: 2560 x 1440) and the second monitor with this USB-C dock with HDMI output, which is a LG, 23" FullHD 1920x1080). I’m not using the notebook screen, but it works fine if I want.

The USB-C dock is that one: https://baseus.com.bd/product/baseus-metal-gleam-series-6-in-1-multifunctional-type-c-hub-docking-station-gray-cahub-cw0g/

I tried to follow the instructions here: DisplayLink - ArchWiki with some tips from others websites without luck.

In the end I got a black screen that I was able to solve with timeshift backup.

Currently I just use my 28" samsung connected on the notebook HDMI output.

dmesg after connected the USB-C Dock.

[ 1054.038950] usb 1-2: new high-speed USB device number 9 using xhci_hcd
[ 1054.179504] usb 1-2: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
[ 1054.179518] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1054.179523] usb 1-2: Product: USB 2.0 Hub
[ 1054.180728] hub 1-2:1.0: USB hub found
[ 1054.180784] hub 1-2:1.0: 4 ports detected
[ 1054.302368] usb 2-2: new SuperSpeed USB device number 4 using xhci_hcd
[ 1054.326422] usb 2-2: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.63
[ 1054.326437] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1054.326442] usb 2-2: Product: USB3.1 Hub
[ 1054.326446] usb 2-2: Manufacturer: GenesysLogic
[ 1054.329165] hub 2-2:1.0: USB hub found
[ 1054.329982] hub 2-2:1.0: 4 ports detected
[ 1054.458964] usb 1-2.2: new high-speed USB device number 10 using xhci_hcd
[ 1054.555454] usb 1-2.2: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.63
[ 1054.555468] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1054.555474] usb 1-2.2: Product: USB2.1 Hub
[ 1054.555479] usb 1-2.2: Manufacturer: GenesysLogic
[ 1054.557181] hub 1-2.2:1.0: USB hub found
[ 1054.557516] hub 1-2.2:1.0: 4 ports detected
[ 1054.632478] usb 2-2.2: new SuperSpeed USB device number 5 using xhci_hcd
[ 1054.650815] usb 2-2.2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[ 1054.650830] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1054.650836] usb 2-2.2: Product: USB 10/100/1000 LAN
[ 1054.650840] usb 2-2.2: Manufacturer: Realtek
[ 1054.650844] usb 2-2.2: SerialNumber: 000001
[ 1054.733394] usb 2-2.2: reset SuperSpeed USB device number 5 using xhci_hcd
[ 1054.775766] r8152 2-2.2:1.0: load rtl8153a-4 v2 02/07/20 successfully
[ 1054.803765] r8152 2-2.2:1.0 eth0: v1.12.12
[ 1055.818938] usb 1-2.1: new full-speed USB device number 11 using xhci_hcd
[ 1055.951037] usb 1-2.1: not running at top speed; connect to a high speed hub
[ 1055.989512] usb 1-2.1: New USB device found, idVendor=25a4, idProduct=9311, bcdDevice= 2.01
[ 1055.989526] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1055.989531] usb 1-2.1: Product: USB C Video Adaptor      
[ 1055.989536] usb 1-2.1: Manufacturer: USB C  
[ 1055.989540] usb 1-2.1: SerialNumber: 000000000001
[ 1056.067258] r8152 2-2.2:1.0 enp0s20f0u2u2: renamed from eth0
[ 1058.257044] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[ 1058.257076] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 1058.257084] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
[ 1058.257096] pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)

lsusb before and after connected the Dock

    ~  lsusb                                                                                                                                                                                                                                                                                                       ✔ 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 006: ID 13d3:5a07 IMC Networks VGA UVC WebCam
Bus 001 Device 004: ID 1ea7:0907 SHARKOON Technologies GmbH Keyboard
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    ~  lsusb                                                                                                                                                                                                                                                                                                       ✔ 
Bus 002 Device 009: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 008: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 006: ID 13d3:5a07 IMC Networks VGA UVC WebCam
Bus 001 Device 004: ID 1ea7:0907 SHARKOON Technologies GmbH Keyboard
Bus 001 Device 016: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 017: ID 25a4:9311 USB C   USB C Video Adaptor      
Bus 001 Device 015: ID 1a40:0801 Terminus Technology Inc. USB 2.0 Hub
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    ~                                                                                                                                                                                                                                                                                                             
   ~  xrandr --listproviders                                                                                                                                                                                                                                                                                      ✔ 
Providers: number : 2
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x256 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0
System:
  Kernel: 5.15.21-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
    root=UUID=d4948077-1761-4004-81d9-bc63efeb92f6 rw rootflags=subvol=@ quiet
    splash apparmor=1 security=apparmor
    resume=UUID=51e944f6-39af-4a27-81e1-c0e832af5ab6 udev.log_priority=3
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: X510URR v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: X510URR v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X510URR.307 date: 03/13/2018
Battery:
  ID-1: BAT0 charge: 26.6 Wh (100.0%) condition: 26.6/42.1 Wh (63.2%)
    volts: 11.5 min: 11.5 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: Not charging cycles: 35
Memory:
  RAM: total: 15.52 GiB used: 5.95 GiB (38.4%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xEA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 800 min/max: 400/4000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 bogomips: 32012
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon
    art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
    cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
    f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
    hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm
    lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae
    pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti
    pts rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2
    sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
    bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
  Device-2: NVIDIA GM108M [GeForce 930MX] vendor: ASUSTeK driver: nvidia
    v: 510.47.03 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
    chip-ID: 10de:134e class-ID: 0302
  Device-3: USB C USB C Video Adaptor type: USB driver: N/A bus-ID: 1-2.1:17
    chip-ID: 25a4:9311 class-ID: 1100 serial: <filter>
  Device-4: IMC Networks VGA UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-6:6 chip-ID: 13d3:5a07 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org 1.21.1.3 compositor: gnome-shell driver:
    loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0")
    s-diag: 777mm (30.6")
  Monitor-1: HDMI-1 res: 2560x1440 hz: 60 dpi: 103
    size: 632x360mm (24.9x14.2") diag: 727mm (28.6")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.21-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: yes
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel bus-ID: 02:00.0
    chip-ID: 8086:095a class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
    bus-ID: 2-2.2:9 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp0s20f0u2u2 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-8:8 chip-ID: 8087:0a2a class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 456.46 GiB used: 29.5 GiB (6.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT240BX500SSD1
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: R013 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WDS250G2B0B-00YS70 size: 232.89 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 30WD
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 108.4 GiB size: 108.4 GiB (100.00%) used: 21.7 GiB (20.0%)
    fs: btrfs dev: /dev/sdb3 maj-min: 8:19 label: N/A
    uuid: d4948077-1761-4004-81d9-bc63efeb92f6
  ID-2: /boot/efi raw-size: 400 MiB size: 399.2 MiB (99.80%)
    used: 568 KiB (0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 label: NO_LABEL
    uuid: 7AED-2BCE
  ID-3: /home raw-size: 108.4 GiB size: 108.4 GiB (100.00%)
    used: 7.8 GiB (7.2%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20 label: N/A
    uuid: be417a0c-ee4a-4dd8-8ab7-792a9aa50e27
  ID-4: /var/cache raw-size: 108.4 GiB size: 108.4 GiB (100.00%)
    used: 21.7 GiB (20.0%) fs: btrfs dev: /dev/sdb3 maj-min: 8:19 label: N/A
    uuid: d4948077-1761-4004-81d9-bc63efeb92f6
  ID-5: /var/log raw-size: 108.4 GiB size: 108.4 GiB (100.00%)
    used: 21.7 GiB (20.0%) fs: btrfs dev: /dev/sdb3 maj-min: 8:19 label: N/A
    uuid: d4948077-1761-4004-81d9-bc63efeb92f6
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 15.7 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: 51e944f6-39af-4a27-81e1-c0e832af5ab6
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 16 GiB fs: swap label: N/A
    uuid: 4f5da1e8-00c1-492d-99c8-29c3252be89f
  ID-2: /dev/sda2 maj-min: 8:2 size: 100 GiB fs: ext4 label: N/A
    uuid: f001bf6c-1a89-40aa-a28e-fa6baa5c3f2f
  ID-3: /dev/sda3 maj-min: 8:3 size: 107.08 GiB fs: ext4 label: N/A
    uuid: 41795c6a-6991-4468-adf4-474044a18588
  ID-4: /dev/sda4 maj-min: 8:4 size: 500 MiB fs: vfat label: N/A
    uuid: 8219-5AB3
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: Logitech Unifying Receiver type: Keyboard,Mouse
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c534 class-ID: 0301
  Hub-2: 1-2:15 info: Terminus USB 2.0 Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0801 class-ID: 0900
  Device-1: 1-2.1:17 info: USB C USB C Video Adaptor type: Billboard
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s chip-ID: 25a4:9311
    class-ID: 1100 serial: <filter>
  Hub-3: 1-2.2:16 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-3:4 info: SHARKOON Keyboard type: Keyboard,HID
    driver: semitek,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s power: 100mA
    chip-ID: 1ea7:0907 class-ID: 0300 serial: <filter>
  Device-2: 1-6:6 info: IMC Networks VGA UVC WebCam type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 13d3:5a07 class-ID: 0e02 serial: <filter>
  Device-3: 1-8:8 info: Intel Bluetooth wireless interface type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0a2a class-ID: e001
  Hub-4: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 2-2:8 info: Genesys Logic Hub ports: 4 rev: 3.2 speed: 5 Gb/s
    chip-ID: 05e3:0626 class-ID: 0900
  Device-1: 2-2.2:9 info: Realtek RTL8153 Gigabit Ethernet Adapter
    type: Network driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s
    power: 288mA chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Sensors:
  System Temperatures: cpu: 47.0 C pch: 45.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 3100
Info:
  Processes: 349 Uptime: 40m wakeups: 1 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.1.0 clang: 13.0.1 Packages: pacman: 1245 lib: 306
  flatpak: 0 Shell: Zsh v: 5.8 running-in: tabby inxi: 3.3.12
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
   1920x1080     59.98 +  59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
HDMI-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 632mm x 360mm
   3840x2160     30.00    29.97  
   2560x1440     59.95* 
   1920x1080     60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  

I recently did a full manjaro clean install, it’s running X11, I checked it.

I also have a desktop that I can use to install the distro and do every type of test that can potentially break my system just to prevent it to happens on my notebook.

Any help will be appreciated.