First try the Nvidia drivers supplied by the normal repositories.
If those don't work, try one at a time, in oder a ppa graphics repository:
graphics-drivers, x-swat, xorg-edgers
e.g.:
sudo apt-add-repository ppa:graphics-drivers/ppa
See
https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates
https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
Last resort would be the Nvidia site, possibly for the newest hardware.
Preparation
1)In your UEFI Settings (or BIOS):
a) check for any video hardware selection.
Choose "discrete" over "integrated" or "hybrid".
b) Turn off secure boot, to avoid problems with unsigned
kernel modules (post 14.04).
Nvidia drivers will need a recompile, but the default install will have all the necessary parts.
Ensure you are up-to-date with the default repositories:
In a terminal, type
sudo apt-get update
or
update-manager
From Dash, select "Software Updater" (start typing the name, and the selections will be available).
Now from Dash run
Software & Updates
or from a terminal type
update-manager
or from the "Software Updater", click on the Settings button at the lower left corner.
Under the "Ubuntu Software" tab:
ensure the "Proprietary drivers for devices (restricted)" is checked (It is by default).
Select the "Additional Drivers" tab
Select the latest Nvidia driver which is "(proprietary, tested)" (probably the first one listed) and click on the "apply changes" button.
The driver setup takes several minutes, but it does have a progress bar.
After the changes have been applied, the Nvidia button selected will be the active one.
Login again to restart X, and you should be running the Nvidia driver. From Dash run
Nvidia Settings
to confirm.
No drivers at all in additional tabs... Take a look at your UEFI settings (formerly known as BIOS) and see if you can select which video hardware is active. Select "discrete" as opposed to "intergrated" or "hybrid". Try running
ubuntu-drivers devices
to see the standard repository versions. Take a look at other 1050ti postings here and in the forum like https://ubuntuforums.org/showthread.php?t=2353796 (Note OldFred's reply to the original post, cautioning against using the ...run method of installation.).