GTX 1050Ti working perfectly on Dell XPS 9570

After countless hours of trying to resolve issues with screen flickering and a host of other graphics issues, I finally managed to get the graphics working correctly with the GTX 1050Ti.

Ubuntu 18.04 ships with the default kernel of 4.15. Whether you use the Nvidia or Nouveau drivers with this kernel you'll encouter issues with the graphics. The trick is to install the latest stable Kernel of 4.17.12 as follows:

Install Ukuu

sudo add-apt-repository ppa:teejee2008/ppa

sudo apt-get update

sudo apt-get install ukuu

Ukuu is a neat little tool for installing various kernel versions.

Install the Kernel 4.17.12 by clicking on this version and then clicking on install.

Reboot your PC

Finally, install the latest Nvidia graphics drivers:

Open "Software & updates"

Click on the "Additional drivers" tab

Install the Nvidia drivers as seen in the image below:

nvidia

Reboot your PC

And voila! graphics are stable, and you're able to use ethernet through your USB type C port again :)