Install GPU Driver Manually for NVIDIA GPUs on Ubuntu

If Ubuntu didn't find any drivers automatically, you can try installing drivers manually. Follow the steps below for NVIDIA GPUs:

  1. Add the official PPA for NVIDIA drivers:
bash 复制代码
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
  1. Install the recommended NVIDIA driver:
bash 复制代码
sudo apt install nvidia-driver-XXX

For this step, check with the latest driver version shown for your GPU by "ubuntu-drivers devices", the replace the "XXX" with the driver version you find.

  1. Reboot your system:
bash 复制代码
sudo reboot

When you reboot your system, there will be a window asking you to input the password you set before rebooting. When the system reboot successfully, check with"nvidia-smi".

4.Check BIOS Settings (For laptops)

If you're using a laptop, it's possible that your system is set to use the integrated graphics (like Intel) by default. You can:

  • Reboot your computer and enter the BIOS/UEFI setup.
  • Look for settings like "Hybrid Graphics," "Discrete Graphics," or "Switchable Graphics."
  • Change the setting to Discrete Graphics to force the use of your dedicated GPU.
  1. Force Re-detection of Hardware

You can try forcing Ubuntu to re-detect your hardware by running:

bash 复制代码
sudo update-pciids

This will update your PCI IDs, potentially helping Ubuntu recognize your GPU.

Once you've gone through these steps, check again if the drivers are being detected with:

bash 复制代码
ubuntu-drivers devices
相关推荐
想带你从多云到转晴3 小时前
MySQL重点梳理
数据库·mysql
胖头鱼的鱼缸(尹海文)3 小时前
胖头鱼的技术专栏-465 数据库能力上移还是下沉:库变弱了,应用就变重了(20260828)
数据库
2601_962181963 小时前
Redis Redis介绍、安装 - Redis客户端
数据库·redis·postman
2601_962062944 小时前
Spring Boot入门——Spring Boot项目的创建
java·数据库·spring boot
冰暮流星4 小时前
mysql之外键约束
数据库·mysql
茶栀(*´I`*)4 小时前
数据库零基础入门指南:从基本概念到 SQL 实战
数据库·sql
ERD Online4 小时前
Cursor 连上 MCP:读一张 ER 图,提交一版建议
数据库·后端·开源·cursor·mcp
foolishlee4 小时前
openGauss postmaster退出流程
数据库
叫我:松哥5 小时前
基于flask仿小米商城管理系统,使用flask开的一个商场网站
数据库·后端·python·flask
子非鱼a5 小时前
【WEB】[BJDCTF2020]Easy MD5
数据库