显卡无法安装

CPU/显卡/打印机/USB设备等硬件问题
回复
honglixie35
帖子: 5
注册时间: 2024-04-13 13:23
系统: ubuntu

显卡无法安装

#1

帖子 honglixie35 » 2024-12-01 14:58

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Dec 1 14:52:20 2024
installer version: 340.108

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
-> License accepted.
-> Installing NVIDIA driver version 340.108.
-> There appears to already be a driver installed on your system (version: 340.108). As part of installing this driver (version: 340.108), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation)
-> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.

Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:

The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab.


(Answer: Continue installation)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility libraries? (Answer: No)
-> Parsing log file:
-> done.
-> Validating previous installation:
-> done.
-> Uninstalling NVIDIA Accelerated Graphics Driver for Linux-x86_64 (1.0-340108 (340.108)):
-> DKMS module detected; removing...
-> done.
-> Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for Linux-x86_64 (340.108) is complete.
-> Skipping installation of the libvdpau wrapper library.
-> Searching for conflicting X files:
-> done.
-> Searching for conflicting OpenGL files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (340.108):
executing: '/usr/sbin/ldconfig'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 340.108 -k 6.8.0-41-generic`: Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.8.0-41-generic module KERNEL_UNAME=6.8.0-41-generic; make -C uvm module KERNEL_UNAME=6.8.0-41-generic KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.108/build/uvm...(bad exit status: 2)
ERROR (dkms apport): binary package for nvidia: 340.108 not found
Error! Bad return status for module build on kernel: 6.8.0-41-generic (x86_64)
Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information.
-> error.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.




显卡无法安装
头像
qy117121
论坛版主
帖子: 50586
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 显卡无法安装

#2

帖子 qy117121 » 2024-12-01 18:13

你的系统版本 显卡型号?为什么要安装这么老的版本?
这么老的版本当然不可能支持6.8的内核
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 [email protected]
honglixie35
帖子: 5
注册时间: 2024-04-13 13:23
系统: ubuntu

Re: 显卡无法安装

#3

帖子 honglixie35 » 2024-12-06 18:23

显卡FX 1800
系统ubuntu24.04
回复