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
相关推荐
Eugene Jou6 分钟前
Dinky+Flink SQL达梦数据库实时同步到Doris简单实现
数据库·sql·flink
玄同7656 分钟前
SQLAlchemy 会话管理终极指南:close、commit、refresh、rollback 的正确打开方式
数据库·人工智能·python·sql·postgresql·自然语言处理·知识图谱
【赫兹威客】浩哥7 分钟前
【赫兹威客】完全分布式HBase测试教程
数据库·分布式·hbase
一晌小贪欢8 分钟前
Python ORM 深度解析:告别繁琐 SQL,让数据操作如丝般顺滑
开发语言·数据库·python·sql·python基础·python小白
九号铅笔芯9 分钟前
社区评论系统设计
java·数据库·sql
码农多耕地呗16 分钟前
mysql之深入理解b+树原理
数据库·b树·mysql
踢足球092917 分钟前
寒假打卡:2026-01-26
数据库
漂洋过海的鱼儿19 分钟前
Qt--元对象系统
开发语言·数据库·qt
沧澜sincerely22 分钟前
分组数据【GROUP BY 与 HAVING的使用】
数据库·sql·group by·having
知识分享小能手22 分钟前
Oracle 19c入门学习教程,从入门到精通,Oracle数据库控制 —— 事务与并发控制详解(14)
数据库·学习·oracle