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
相关推荐
DolphinDB12 小时前
集成 Prometheus 与 DolphinDB 规则引擎,构建敏捷监控解决方案
数据库
IvorySQL12 小时前
PostgreSQL 技术日报 (3月10日)|IIoT 性能瓶颈与内核优化新讨论
数据库·postgresql·开源
DBA小马哥16 小时前
时序数据库是什么?能源行业国产化替换的入门必看
数据库·时序数据库
爱可生开源社区18 小时前
某马来西亚游戏公司如何从 SQL Server 迁移至 OceanBase?
数据库
小瓦码J码20 小时前
PostgreSQL表名超长踩坑记
数据库·postgresql
yhyyht20 小时前
InfluxDB入门记录(三)flux-dsl
数据库·后端
IvorySQL2 天前
PostgreSQL 技术日报 (3月9日)|EXPLAIN ANALYZE 计时优化与复制语法讨论
数据库·postgresql·开源
stark张宇2 天前
MySQL 核心内幕:从索引原理、字段选型到日志机制与外键约束,一篇打通数据库任督二脉
数据库·mysql·架构
倔强的石头_2 天前
融合数据库架构实践:关系型、JSON与全文检索的“一库多能”深度解析
数据库
星辰员2 天前
KingbaseES数据库:ksql 命令行用户与权限全攻略,从创建到删除
数据库