[Internal testing communication] Deepin 25.2.2Kernel: Linux 7.3.0成功安装nvidia闭源驱动
Tofloor
poster avatar
LiuYongzhang
deepin
2026-10-31 14:15
Author

liu@liu-PC:~$ nvidia-smi
Sat Oct 31 14:08:50 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.196.07 Driver Version: 580.196.07 CUDA Version: 13.0 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 970 Off | 00000000:03:00.0 On | N/A |
| 0% 40C P2 50W / 163W | 178MiB / 4096MiB | 3% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 904 G /usr/lib/xorg/Xorg 78MiB |
| 0 N/A N/A 1895 G /usr/bin/kwin_x11 15MiB |
| 0 N/A N/A 2039 G ...nux-gnu/libexec/kglobalacceld 2MiB |
| 0 N/A N/A 2195 G /usr/bin/dde-shell 19MiB |
| 0 N/A N/A 3059 G /usr/bin/uos-ai-assistant 2MiB |
| 0 N/A N/A 3272 G /opt/QQ/qq 35MiB |
| 0 N/A N/A 3485 G /usr/bin/deepin-deepinid-client 4MiB |
| 0 N/A N/A 3619 G ...708989122997041 --log-level=2 3MiB |
+-----------------------------------------------------------------------------------------+
liu@liu-PC:~$ fastfetch --logo none
liu@liu-PC

OS: Deepin 25.2.2 (Community) x86_64
Kernel: Linux 7.3.0-amd64-desktop-rolling
Uptime: 2 mins
Packages: 1981 (dpkg), 25 (linglong)
Shell: bash 5.2.37
Display (24MP55): 1920x1080 in 23", 60 Hz [External]
Desktop Environment: Deepin
Window Manager: KWin (X11)
WM Theme: light/deepin
Theme: deepin [GTK2]
Icons: bloom [GTK2]
Cursor: bloom
Terminal: deepin-terminal 6.5.40
Terminal Font: Noto Sans Mono (11pt)
CPU: AMD FX(tm)-8350 (8) @ 4.00 GHz
GPU: NVIDIA GeForce GTX 970 [Discrete]
Memory: 3.50 GiB / 31.23 GiB (11%)
Swap: Disabled
Disk (/): 25.42 GiB / 223.24 GiB (11%) - btrfs
Local IP (enp9s0): 192.168.1.7/24
Locale: zh_CN.UTF-8

第一次安装报错

objtool: error while loading shared libraries: libopcodes-2.41-system.so: cannot open shared object file: No such file or directory

磐石也没有关闭。

sudo apt update
sudo apt install binutils binutils-dev dkms build-essential linux-headers-$(uname -r) -y

补全后关闭磐石重新启动电脑,再次安装成功

Reply Favorite View the author
All Replies
avatar
mozixun
Moderator
2026-10-31 23:27
#1

你是不是加了Better Deepin REPO?

Reply View the author
avatar
LiuYongzhang
deepin
2026-11-01 07:37
#2
mozixun:

你是不是加了Better Deepin REPO?

加了

#!/bin/bash

获取sudo提权

echo "- 请在下方输入您的管理员密码:"
sudo echo "提权完成" && clear

删除过时组件

sudo rm -f /etc/apt/trusted.gpg.d/better-deepin-repo.asc
sudo rm -f /etc/apt/sources.list.d/better-deepin-repo.list

安装必需组件

sudo apt update
sudo apt install wget gpg -y

加源的GPG密钥

sudo wget -O /etc/apt/trusted.gpg.d/better-deepin-repo.asc https://repo.odata.cc/deepin25/Release.key

加入源本体

sudo bash -c 'cat > /etc/apt/sources.list.d/better-deepin-repo.list << EOF
deb https://repo.odata.cc/deepin25/ Deepin_25 main
EOF'

更新软件源

sudo apt update

Reply View the author
avatar
mozixun
Moderator
2026-11-01 23:27
#3
LiuYongzhang:

加了

#!/bin/bash

获取sudo提权

echo "- 请在下方输入您的管理员密码:"
sudo echo "提权完成" && clear

删除过时组件

sudo rm -f /etc/apt/trusted.gpg.d/better-deepin-repo.asc
sudo rm -f /etc/apt/sources.list.d/better-deepin-repo.list

安装必需组件

sudo apt update
sudo apt install wget gpg -y

加源的GPG密钥

sudo wget -O /etc/apt/trusted.gpg.d/better-deepin-repo.asc https://repo.odata.cc/deepin25/Release.key

加入源本体

sudo bash -c 'cat > /etc/apt/sources.list.d/better-deepin-repo.list << EOF
deb https://repo.odata.cc/deepin25/ Deepin_25 main
EOF'

更新软件源

sudo apt update

那个不是磐石的问题,是增强源的问题,请你更新一下,更新后应该就没问题了,我专门针对这个问题发过公告

Reply View the author
avatar
LiuYongzhang
deepin
2026-11-02 08:55
#4
mozixun:

那个不是磐石的问题,是增强源的问题,请你更新一下,更新后应该就没问题了,我专门针对这个问题发过公告

收到like

Reply View the author
avatar
LiuYongzhang
deepin
2026-11-02 14:02
#5
mozixun:

那个不是磐石的问题,是增强源的问题,请你更新一下,更新后应该就没问题了,我专门针对这个问题发过公告

用的nvidia官网的驱动安装的必须关闭磐石
image.png

Reply View the author