安装NVIDIA GEFORCE 1050 TI后无法进入GUI界面
Hey there, let's tackle this NVIDIA GTX 1050 Ti black screen issue on Ubuntu 16.04.3 LTS step by step. Since you can access GRUB, that's our starting point—let's dive in!
Step 1: Boot into Ubuntu Recovery Mode
- Restart your system and wait for the GRUB menu to appear. If it doesn't show up automatically, hold down the
Shiftkey during boot. - Select the entry labeled Advanced options for Ubuntu, then pick the recovery mode option (usually the one with
(recovery mode)at the end). - When the recovery menu loads, select network to enable internet access—we'll need this later to reinstall drivers.
- Next, choose root to drop into a root shell prompt. You'll need to enter your user password here.
Step 2: Uninstall Faulty NVIDIA Drivers
Once you're in the root shell, run these commands to completely remove any existing NVIDIA driver files:
- First, mount your filesystem in read-write mode (recovery mode defaults to read-only):
mount -o remount,rw / - Then purge all NVIDIA-related packages:
apt-get purge nvidia* - Also remove any leftover configuration files that might be causing conflicts:
rm /etc/X11/xorg.conf - Finally, update your package lists to ensure we pull the latest driver versions:
apt-get update
Step 3: Install Compatible NVIDIA Drivers
For Ubuntu 16.04.3 LTS and the GTX 1050 Ti (a Pascal-based GPU), the nvidia-390 driver is a stable, fully compatible choice. Install it with:
apt-get install nvidia-390
Wait for the installation to finish, then rebuild the initial ramdisk to ensure the driver loads correctly on boot:
update-initramfs -u
Step 4: Reboot and Verify
- Exit the root shell by typing
exit, then select resume from the recovery menu to reboot your system. - After rebooting, your GUI should load normally. To confirm the driver is working, open a terminal (Ctrl+Alt+T) and run:
nvidia-smi
You should see a status output showing your GTX 1050 Ti and the installed driver version.
Troubleshooting If the Issue Persists
- If you still get a black screen, repeat Step 1 to get back to the root shell, then install the open-source Nouveau driver as a fallback:
Reboot and see if that works—this will at least get your GUI back, so you can try installing a different NVIDIA driver version (like nvidia-384) later.apt-get install xserver-xorg-video-nouveau - Double-check your BIOS settings: Make sure the primary display is set to PCIe (your NVIDIA card) instead of integrated graphics, and disable any secure boot options that might block driver loading.
内容的提问来源于stack exchange,提问作者Sam Copeland
相关产品推荐
相关产品推荐

