Thinkpad X1 docking station not working with 25.11

configuration.nix here. The displays are shown in the display settings dialog, and they can be moved around and re-arranged, but they are not driven. One shows the monitor-generated no input message. Judging from the number of unanswered questions in this forum about Thinkpad docking stations, I wonder if NixOS support for them is broken.

You don’t seem to have thunderbolt enabled https://search.nixos.org/options?channel=unstable&query=services.hardware.bolt.enable

Thanks; I added services.hardware.bolt.enable = true; but no difference.

What is dmesg telling you? Did you find generall issues with that docking station and linux online?

I can’t report dmesg because I installed another distro. It behaves the same, so it seems to be a more general problem. The other distro (Fedora 43) will drive an external screen if it’s plugged into the connector on the laptop. I would like to re-install Windows 11 just to see if that fixes it, when I get the chance.

There are various reports of problems with Thinkpad docking stations but nothing unambiguously the same as my problem.

Yes you can, all distros have access to dmesg, it just gives you the kernel messages. On some distros it’s hidden behind sbin. Try sudo dmesg.

Of course doing so and showing us those logs might just send people chasing red herrings, since the software doesn’t match exactly.

Back on NixOS. Here’s the dmesg output. Here is the GNOME display settings dialog:

If I plug a display directly into the laptop HDMI, it is detected and used. But with the above configuration, with the displays plugged into the docking station, they are detected but not used. One of the displays shows its own No input message and the other displays nothing and is on standby. From experience, I know that it comes off standby when it detects and input.

You seem to be using nouveau to render stuff, and it’s complaining:

[    5.320057] nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
[    5.338345] nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes

AIUI that means monitor metadata isn’t read correctly, which means the driver probably can’t figure out how to render anything. No idea why, I don’t know anything about the docking stations, but that looks like your problem.

I’d personally try to force gnome to use the intel card (though using the nvidia card may be intentional for multi-monitor setups), and use the official nvidia driver instead of nouveau.

1 Like