Lenovo ThinkPad Docking Gen 2 not working second monitor

This query should no longer be used.. The change was made over a decade ago. I use the acpi_osi=linux kernel parameter.

Pardon but I didn’t touched anything and didn’t use any query… I just did what people told me to do on here.

the most likely cause is filesystem issues such as lack of free space.

I have 1TB of free space…

It is up to you to do the legwork needed to check differences between working and failing systems using journalctl and lsmod. I can only point out a couple details that need checking

How do I even do that if I don’t know what you’re talking about?

The “query” comes from the “BIOS” firmware. Your system is old enough that it would not be surprising to see it in the original BIOS. I had issues with a Dell monitor that has an internal dock – with updates and acpi_osi=linux it now works with F41.

That free space may not be the partition used by packagekitd. or the filesystem could be damaged.

How can I set this kernel parameter? I just add it to /etc/default/grub?

Does it work if you open a Gnome/X11 session instead of Gnome/Wayland?

Hey Ironhak,
The main thing that I saw was that in mint you are using the X11/Xorg server and in Fedora you are using Wayland compositor …

Try forcing the use of X11/Xorg server vs Wayland when you next try Fedora …

I also noticed that your second monitor is not always being detected, in one instance, a monitor was detected on DP-3 and DP-4… in another instance only DP-3 was detected and in another instance eDP-1 and DP-3… all the rest showing as empty … you might want to check the cable for the monitor that seams not to be working … or see if the issue follows the monitor by switch them between the ports … (just out of curiosity are you using any port adapters with your monitors … like HDMI to DP?)

  1. I added the kernel parameter acpi_osi=linux. Nothing changed.
  2. I installed xorg and tried running under it… nothing changed.

About the docking station

  • I have two monitors.
  • The docking station has 1 HDMI port and 2 DisplayPort.
  • One monitor is attached to the HDMI port, the other is attached to DisplayPort using a simple HDMI to DisplayPort adapter (never had issue with the adapter both on linux, windows, mac).
  • The one it’s working is the HDMI one.
  • I just discovered that if I detach the HDMI cable then the monitor attached trough DisplayPort will start working! But if I attach back the HDMI, then the HDMI will not work and only DisplayPort will work.

This is driving me mad.

A possible solution

So apparently the problem was not the docking station… The problem is having displayport and HDMI working simoultaneously.

I rapidly searched for this on google and found a Windows user that described a trick to make it work: change the refresh rate of one of the monitors.

So I went to display settings, I opened the settings for the monitor that did not work (the displayport one, which is being detected and I can even move the mouse into it, it’s just that the display is 100% black). I changed the refresh rate from 100hz to 60hz, and then boom! It works. When gnome asks me to keep changes or revert, I click revert and it continues to work at 100hz!

The problem now is that if I reboot or logout then this ““fix”” is lost and I need to perform it again.

Does anyone actually have an idea on why this happens and if there’s a way to fix this?

1 Like

It looks like there are many tools to set monitor properties in GNOME.
I searched for “config file for monitor refresh display gnome” and it came up with many hits. There are tools to help set the refresh rate, or maybe you can save the config file with the settings you need. I would open another thread with something like the title “monitor config by file in Gnome” if you need further help.

And welcome to the forums @ironhak! You stuck with it and solved your own problem! We are mere mortals in a huge ever changing world and I hope to see you back here as you have what it takes to run your own system :slight_smile:

https://www.reddit.com/r/linuxhardware/comments/mht7kn/workaround_for_multiple_monitors_with_different/

Hello @theprogram, thaks for the kind words… But the problem is not setting the refresh rate… I can do that on gnome settings themselves… The problem is that monitor would work only after that I change the refresh rate, then I can bring it back to the same value of before and it would still work.

Maybe, but I think that if you set the refresh rates to match on startup, both monitors might work.

If you really can only solve the problem by changing refresh rates, then a shell script that loads on boot could probably do that.

The reason I suggest a new thread is to call persons with certain technical knowledge who watch for ‘tags’ and keywords to attention, and so you can start by explaining what you found out.

If you really can only solve the problem by changing refresh rates, then a shell script that loads on boot could probably do that.

It’s not about changing, it’s a bout refreshing the refresh rate… No pun intended.

Computer start → both monitor at 100hz → one (DisplayPort) is completely black but on the backedn it work → I open disaplay settings → set the refresh rate of the DisplayPort monitor to some random value, like 50hz → now it work → “Keep changes or revert?” I press revert → both monitors work at 100hz.

I don’t know why I have to do this trick… On mint and ubuntu no problems.

Anyway, will open a new topic.

The other place to go for longer-term support which helps others is Bugzilla Using Bugzilla :: Fedora Docs

I don’t want to create extra work for you, but if test your issue in ‘sway’ windows manager (which is super light weight and easy to remove after) then you can tell if it is Gnome / KDE or a Fedora issue.

1 Like

AFAIK the T490 supports DisplayPort 1.2 only. An USB-C Dock limits the available bandwidth for DisplayPort to 50% ( 2 lanes used for DP) of DP1.2.
The other 2 lanes are used by the system for USB3 to the USB devices of the dock. Maximal supported configuration is 2x 1920x1200@ 60Hz.

Then why currently I’m on Linux Mint 22 running 2 monitors (one with HDMI attached to Docking, one with DisplayPOrt attached to docking) at 100hz?

could you post the exact type of the dock?

UPDATE: this can only work it USB3 is not configured between system and dock. => 4 lanes dedicated to DP to get full DP1.2 bandwidth.

Do the USB ports work with Mint? If yes, what’s the max. speed you can get from a connected USB device. I guess it’s USB2 speed only.

I am guessing that the cause is (as noted above) the default for the dock is that each video channel is designed for 2 DP channels at 60Hz. I think if you were to attach both monitors to the DP ports on the dock they would both work properly at boot (even if only at 60Hz).

This seems to be a problem with the dock (as it appears for many) in that the drivers for the docking station seem to not support both HDMI & DP by default. Changing the refresh rate of the DP then restoring it to the desired rate changes the config away from default.

The dock is a MST hub for DP.
The issue is a technical limitation to enable the system to deliver DP and USB3 to the dock.
Some docks or even host systems have a setting to block USB3 transfers. If this is the case, then USB2 is available only by using another pins of the USB-C port/plug.

USB2 has dedicated wires while USB3 share the same wires with DP.
This is a limitation of USB docks w/o thunderbolt support.
A thunderbolt dock configures a TB channel and passes USB3 and DP through this channel.

The exact model of the dock is Lenovo Thinkpad Docking Station Gen 2 Type 40AS.

Type 40AS
you should have removed the serial number from this picture, too!

1 Like

Then why on Linux Mint it works without issues??? Even on boot logo, grub and splash screen of mint and ubuntu they work. As soon as I select Fedora on grub the second monitor stop working.