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
相关推荐
深盾科技_Virbox32 分钟前
加密狗授权能力选型:从授权模型到全生命周期管理
java·网络·数据库
峥无40 分钟前
深入理解MySQL事务与MVCC机制
数据库·mysql
行思理1 小时前
MongoDB 大数据备份,新手教程
数据库·mongodb
城数派2 小时前
1950-2026年中国0.1°逐月平均气温栅格数据集
数据库·信息可视化
livemetee2 小时前
【关于redis高性能,高可用处理】
数据库·redis·缓存
-To be number.wan2 小时前
数据库系统 | 数据库安全与完整性
数据库·学习
Omics Pro3 小时前
首个针对生物医药LLM智能体的全流程过程级评测框架
数据库·人工智能·windows·redis·量子计算
要开心吖ZSH4 小时前
MVCC 进阶:快照读 vs 当前读、幻读与 Next-Key Lock
java·数据库·sql·mysql·mvcc
水木流年追梦4 小时前
agent面试必备31- AI Agent 核心进阶:工具路由(Tool Routing)
数据库·人工智能·oracle·面试·职场和发展·embedding
xcLeigh4 小时前
KES运维自动化与脚本体系实战
运维·数据库·自动化·脚本·数据迁移·kes