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
相关推荐
豆豆5 分钟前
2026年如何选择适合自己的网站管理系统?
数据库·cms·wordpress·建站系统·网站管理系统·建站软件·织梦
吴声子夜歌29 分钟前
SQL经典实例——检索记录
数据库·sql
黄焖鸡能干四碗29 分钟前
软件系统概要设计说明书模版(Word)
大数据·运维·数据库·架构·需求分析
dust_and_stars38 分钟前
为什么ubuntu24 snap install code-server 不需要--classic?
网络·数据库
BomanGe241 分钟前
NSK W1406FA系列长行程高速精密丝杠技术指南
运维·服务器·数据库·经验分享·规格说明书
之歆1 小时前
MongoDB 深度解析:从原理到实践的完整指南
数据库·mongodb
一 乐1 小时前
幼儿园管理系统|基于springboot + vue幼儿园管理系统(源码+数据库+文档)
java·数据库·vue.js·spring boot·论文·毕设·幼儿园管理系统
tiancaijiben1 小时前
阿里云日志服务SLS全流程对接与深度使用指南
网络·数据库
云计算磊哥@1 小时前
运维开发宝典028-MySQL04数据库热备
数据库·adb·运维开发
五阿哥永琪1 小时前
正则表达式
数据库·mysql·正则表达式