Debian 11 Rock4C+ 上的 Nvidia 驱动程序

Debian 11 Rock4C+ 上的 Nvidia 驱动程序

我尝试在 Debian 系统上安装 Nvidia 驱动程序时遇到问题。我在 Radxa Rock4 计算机上使用 Debian 11“Bullseye”。由于与依赖项和配置相关的问题,我安装 Nvidia 驱动程序的努力遇到了障碍。我的 Rock4C+ 是新的,但其他东西像 Gimp 一样工作正常。

执行 sudo apt install nvidia-driver 后,我收到以下错误消息(其结尾):

Removing old nvidia-current-470.182.03 DKMS files...

------------------------------
Deleting module version: 470.182.03
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-470.182.03 DKMS files...
Building for 5.10.110-11-rockchip
Building initial module for 5.10.110-11-rockchip
Error! Bad return status for module build on kernel: 5.10.110-11-rockchip (aarch64)
Consult /var/lib/dkms/nvidia-current/470.182.03/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
Setting up libglew2.1:arm64 (2.1.0-4+b1) ...
Setting up blender-data (2.83.5+dfsg-5+deb11u1) ...
Setting up libopencv-videoio4.5:arm64 (4.5.1+dfsg-5) ...
Setting up libblosc1 (1.20.1+ds1-2) ...
Setting up libboost-locale1.74.0:arm64 (1.74.0-9) ...
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 470.182.03-1) | nvidia-kernel-470.182.03; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-470.182.03 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-470.182.03 is not configured yet.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Setting up libspnav0 (0.2.3-1+b2) ...
Setting up libopencolorio1v5 (1.1.1~dfsg0-7) ...
Setting up libopenvdb7.1 (7.1.0-2+b3) ...
Setting up libopenimageio2.2:arm64 (2.2.10.1+dfsg-1+deb11u1) ...
Setting up blender (2.83.5+dfsg-5+deb11u1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Errors were encountered while processing:
 nvidia-kernel-dkms
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)

我采取了几个步骤来解决这个问题,包括刷新软件包列表、运行sudo apt --fix-broken install、甚至尝试使用sudo apt install nvidia-driver=470.103.01-1~bpo11+1.然而,问题仍然存在。

以下是我的系统上当前安装的一些 Nvidia 相关软件包:

nvidia-driver nvidia-driver-libs nvidia-driver-bin nvidia-kernel-dkms

我还查看了 nvidia-kernel-dkms 安装的日志文件 ( /var/lib/dkms/nvidia-current/470.182.03/build/make.log),尽管我不确定如何准确解释其中包含的信息。

我的内核如下:

radxa@rock-4c-plus:~$ uname -r
5.10.110-11-rockchip

我非常感谢您在诊断和解决此问题方面的帮助。如果有人遇到类似的问题或可以提供有关后续步骤的指导,我将非常感谢您的支持。

相关内容