Hi all, a quick feedback on my Lenovo X1 Extreme with Geforce 1050 card and 18.04.2 lts.
I installed the 418-driver from the ppa:graphics-drivers/ppa and nvidia-prime.
The laptop’s bios is set to “Hybrid” mode.
When I boot linux and login with GDM the nvidia card is active, but external screens cannot be configured (neither with x11 nor wayland).
A workaround is to launch the nvidia-settings tools, switch to intel (confirm the dialog box), switch to nvidia (confirm the dialog box), close the utility, log out and log back in. Only then I can use external screens (i.e. hdmi output or via thunderbolt dock connect other external screens).
Calling “prime-select” does not work on my machine - I switch always with the nvidia-settings tool.
When I switch to “intel” and log out, the nvidia card gets turned off and I have a remarkable battery life of >8h (6-8W consumption). With the “nvidia” profile, I have about 13-18W consumption (in normal desktop operation mode), so battery life is much shorter.
Btw, the same problem with failing to connect external screens happens on my older machine (Lenovo W520) and gdm with the nvidia-driver-390 drivers on ubuntu 19.04. To get external screens working, I have to use the nvidia-settings tool, go through the toggle steps and then log out and log back on. In 16.04 lts external screens worked right away after logging in.
I’ll try different login managers now… (kdm, lightdm, SDDM, …)