Issues with Thunderbolt dock and external monitors, need help

(Edit: I split off not related issues into another thread as per moderator request. For the rest, please find my hardware and system info in the second reply below. Thanks!)

I just installed Dragonized on a Dell XPS 15 laptop. I am mostly using it connected to a Thunderbolt dock (WD19), whcih has 2 external 4k monitors. When the laptop is connected to the dock, I only use the external monitors and the laptop lid is closed. I have several issues with this setup, which I hope someone can help me with...

Issue #1:
I am unable to use the 2 external monitors at their native resolution of 3840x2160. There is a lot of flicker and only one of the monitors actually turns on, the other is blank. I had to reduce the resolution of both external displays to 2560x1440, in order for them to be driven by the OS without problems. I think that the issue is one of bandwidth, but I know that my USB-C dock has 4 PCIe lanes and the exact same setup worked without flicker with native resolution under Windows. So hardware-wise it is possible to drive 2x 4k displays through the USB-C cable without it impacting wireless KB/mouse and/or wired Ethernet, which are also connected to the WD19 dock. When I check with lspci, I get that the link capability is

LnkCap: Port #3, Speed 8GT/s, Width x4,... LnkSta: Speed 2.5GT/s (downgraded), Width x4 (ok)

Is there a way to increase the PCIe throughput?

One more thing about this issue - I know it is not Gardua Linux specific. I have tried it with Ubuntu as well, with the same result. I just haven't asked for help before and now that I am happy with Gardua, I came to this forum for help.

Issue #2:
This is the major annoyance which prompted me to ask for help. When I logout of Plasma Desktop (when using only the external monitors) the displays turn black/off and the laptop display turns on. even though the laptop lid is closed! There is no recovery from that, I cannot switch back to the external screens. I have to open the laptop lid and reboot in order to switch to the external displays again. I am also stumped as to how to debug this issue... Any ideas how to fix this?

Thanks for all your help!

Read

and post your

inxi -Fxxxza

please.

Also split different problems (issue #4) in different posts.

and
:slight_smile:

1 Like

Sorry about that. Here is the relevant info:

inxi output
System:    Kernel: 5.10.10-115-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq 
           root=UUID=11307471-7a07-4854-9463-3e497bf967d4 rw [email protected] quiet splash rd.udev.log_priority=3 
           vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=f06c00ae-c5d0-42f8-b4c2-5cb66f6534ee 
           loglevel=3 
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux 
Machine:   Type: Laptop System: Dell product: XPS 15 7590 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 0T8KGX v: A00 serial: <filter> UEFI: Dell v: 1.9.1 date: 12/14/2020 
Battery:   ID-1: BAT0 charge: 87.4 Wh condition: 87.4/97.0 Wh (90%) volts: 12.6/11.4 model: SMP DELL GPM0365 type: Li-ion 
           serial: <filter> status: Full 
           Device-1: hid-0003:256F:C652.0008-battery model: 3Dconnexion Universal Receiver serial: N/A charge: N/A status: N/A 
CPU:       Info: 8-Core model: Intel Core i9-9980HK bits: 64 type: MT MCP arch: Kaby Lake note: check family: 6 
           model-id: 9E (158) stepping: D (13) microcode: DE L2 cache: 16 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 76869 
           Speed: 4437 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 4437 2: 4382 3: 4446 4: 4415 5: 4411 6: 4456 7: 4401 
           8: 4376 9: 4358 10: 4326 11: 4463 12: 4466 13: 4406 14: 4444 15: 4456 16: 4449 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           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: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds mitigation: TSX disabled 
           Type: tsx_async_abort mitigation: TSX disabled 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Hewlett-Packard driver: nvidia v: 460.32.03 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1f91 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-12:4 chip ID: 0c45:6723 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: modesetting,nvidia 
           alternate: fbdev,intel,nouveau,nv,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 5120x1440 s-dpi: 96 s-size: 1353x380mm (53.3x15.0") s-diag: 1405mm (55.3") 
           Monitor-1: DP-1-1 res: 2560x1440 hz: 60 dpi: 108 size: 600x340mm (23.6x13.4") diag: 690mm (27.2") 
           Monitor-2: DP-1-2 res: 2560x1440 hz: 60 dpi: 108 size: 600x340mm (23.6x13.4") diag: 690mm (27.2") 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.3 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:a348 
           Device-2: Focusrite-Novation Scarlett 2i2 Camera type: USB driver: snd-usb-audio,usb-storage bus ID: 3-2.1:3 
           chip ID: 1235:8210 serial: <filter> 
           Device-3: Realtek USB Audio type: USB driver: snd-usb-audio bus ID: 3-2.3.4:9 chip ID: 0bda:402e serial: <filter> 
           Device-4: Microsoft LifeCam Studio type: USB driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus ID: 3-2.3.3.1:11 
           chip ID: 045e:0772 
           Sound Server: ALSA v: k5.10.10-115-tkg-bmq 
Network:   Device-1: Intel Wi-Fi 6 AX200 vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 3000 bus ID: 3b:00.0 
           chip ID: 8086:2723 
           IF: wlp59s0 state: down mac: <filter> 
           Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus ID: 4-2.4:7 chip ID: 0bda:8153 
           serial: <filter> 
           IF: enp7s0u2u4 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.05 TiB used: 91.13 GiB (8.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KXG60ZNV1T02 NVMe 1024GB size: 953.87 GiB block size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 10604106 temp: 40.9 C 
           ID-2: /dev/sda maj-min: 8:0 type: USB model: Scarlett Welcome Disk size: 192 KiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: 0.10 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
           ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Samsung model: Flash Drive size: 119.5 GiB block size: 
           physical: 512 B logical: 512 B serial: <filter> rev: 1100 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) used: 560 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 
           maj-min: 259:1 
           ID-3: /home raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-4: /var/log raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-5: /var/tmp raw size: 919.47 GiB size: 919.47 GiB (100.00%) used: 91.13 GiB (9.9%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100) 
           ID-1: swap-1 type: partition size: 34.1 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 
           ID-2: swap-2 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0 
           ID-3: swap-3 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1 
           ID-4: swap-4 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2 
           ID-5: swap-5 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3 
           ID-6: swap-6 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram4 
           ID-7: swap-7 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram5 
           ID-8: swap-8 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram6 
           ID-9: swap-9 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram7 
           ID-10: swap-10 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram8 
           ID-11: swap-11 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram9 
           ID-12: swap-12 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram10 
           ID-13: swap-13 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram11 
           ID-14: swap-14 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram12 
           ID-15: swap-15 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram13 
           ID-16: swap-16 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram14 
           ID-17: swap-17 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram15 
Sensors:   System Temperatures: cpu: 60.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2403 fan-2: 2406 
Info:      Processes: 398 Uptime: 1h 32m wakeups: 9 Memory: 31 GiB used: 7.55 GiB (24.4%) Init: systemd v: 247 Compilers: 
           gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1575 lib: 359 Shell: fish v: 3.1.2 running in: alacritty inxi: 3.2.02 

... and ...

full output of lspci -vvv

This one is in PrivateBin:
lspci -vvv

I will google some more around the Internet on the Latte dock issue (#4) and start a new topic on that, if I do not find anything applicable. Thanks!


I fixed the long inxi output with ~~~
greetings SGS

No problem we start all as newbies :slight_smile:

1 Like

Could you please edit the OP to split issues 2-4 off to their own threads and then re-name this thread? Having a single "megathread" for personal support is not great for other people to read or refer to in the future.

1 Like