I have a HP ZBook 15 G4 with both Intel 630 and Nvidia Quadro M1200 Mobile GPU with Nvidida driver 430 running 18.04.3. At work I have a Thunderbolt dock (https://store.hp.com/in-en/default/hp-zbook-200w-thunderbolt-3-dock-p5q61aa.html) that I connect to access my two external displays and mouse & keyboard. This works fine if I do a cold boot of the machine but if I would put Ubuntu to sleep, disconnect the thunderbolt cable and wake the machine the next day and connect, only the keyboard and mouse works, not the screens. The get them back working, I have to reboot my machine and thus closing all my open programs and files.
I have tried various graphics drivers but not been able to get this working. My dock is running the latest firmware as well as the bios of my machine.
How can I solve this issue? Could I somehow do a "soft" reboot of the driver or something else when waking it up?