@ jdawgnoonan wrote:
Based on my experience, and I have tried a lot of things, Linux does not work well with this docking station if you use more than one monitor, and it does not work very well even for one monitor. Lenovo has released multiple firmware updates for the docking station since I first had this issue, and none of them have improved the situation. Some of the firmware versions were even questionable in Windows. Currently, when using Linux, I bypass the docking station altogether for my displays, and that works fine (which proves that the issue is the docking station). I have used many different flavors of Linux and many versions of the kernel and none of those changes have made it work better.
I think it happens for both OSs, if you use a sufficiently higher resolution or refresh rate, you can see from multiple replies in this thread that 4k doesn't go to 60hz in multi-monitor setups (or to 1080p@144hz for that matter) when using .67
Of course, if you're using windows, mostly because of the driver, the displays fall back to 1080p@60hz but, if you try to set them to 144hz, you will instantly loose one monitor. (on firmware .67)
I'm working quite well with both at 144hz on firmware .66 on linux, i've even posted my xorg.conf, i think we can all agree that the issue originates on the dock, on how it is assingning bandwith, of course, Xorg is highly dependent on the nvidia driver to "autodetect" safe resolutions and refresh rates, but this can be overrided, also, depending on your Display manager (i use gdm) you'll have to set a default resolution and monitor configuration when the pc is docked and it's lid closed, after that, the desktop manager (i use cinnamon 4.6) has to rely on xrandr to detect displays and set resolutions and orientations, when you open the lid, (and you have it docked) the desktop manager should do the call to xrandr to accomodate for the change.
I'm thinking that wayland-based desktop managers (gnome > 3.32) and KDE plasma will be less reliable and, this is mostly because the nvidia driver, but there's not much that one can do there besides waiting for nvidia to fix most of the wayland issues the driver has. (even if the dock itself has issues)
i cannot use any wayland-based desktop manager for two big reasons:
1) i have legacy x apps that i need to run, and xwayland masks some legacy calls some of these apps need.
2) Steam and friends don't like it.
What does need fixing, from my perspective
On the dock:
- Bandwith assignment
- EDID conformance
- Thunderbold fixes (it seems that sometimes the dock times out while initializing, and, this could be something that happens with some laptops and not all)
- Proper detection of hardware class (this could help a lot if you use an eGPU and would like to boot from it)
On the nvidia driver:
- Wayland fixes
- Faster detection (this could be helped a lot with dock's EDID conformance)
On the linux kernel:
- A better timeout on DP (and this is debatable because it depends a lot on hardware implementation)
I'll be posting any other findings if a new firmware does indeed rollout, and with any new Nvidia linux driver version.