I've been having issues getting the external monitor via the usb-c display interface working. I've tried running under kernel 5.4, 5.8 and 5.12.16 on Ubuntu 20.04, and also tried 5.13.1 after upgrading to 21.10. Also tried various combinations of proprietary nvidia drivers (460, 465) and Nouveau.
I've been consistently getting the same error in dmesg, which yields 0 results when searched
[ 782.791811] usb 1-1: USB disconnect, device number 4
[ 788.177600] usb 1-1: new full-speed USB device number 5 using xhci_hcd
[ 788.333603] usb 1-1: not running at top speed; connect to a high speed hub
[ 788.345601] usb 1-1: New USB device found, idVendor=9636, idProduct=9311, bcdDevice= 2.01
[ 788.345611] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 788.345615] usb 1-1: Product: USB C Video Adaptor
[ 788.345618] usb 1-1: Manufacturer: USB C
[ 788.345620] usb 1-1: SerialNumber: 000000000001
[ 793.000801] ucsi_acpi USBC000:00: unknown error 4104
[ 793.000814] ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)
The laptop in question is the new Rog Strix G17 and most definitely supports display via the usb-c, as it works fine if tested on Windows.
Any idea on how to fix this is welcome.