I have a ThinkPad T15g Gen 1 fresh from the factory with Nvidia GeForce RTX 2080 as its graphics processor. With Ubuntu 20.04 everything works out of the box but the HDMI port: the external monitor behaves as if it had no input at all, whereas in Windows the HDMI port works as expected.
Here is the solution for the Nvidia GT 620M card. I'd be very grateful if someone knows the solution for the Nvidia GeForce RTX 2080 because it is quite confusing to get the right drivers! Thanks!