[other] deepin怎么才能装上gtx275显卡驱动
Tofloor
poster avatar
jackfu
deepin
2023-09-25 04:52
Author

deepin 社区版20.9 内核版本5.15.77-amd64-desktop 装不上gtx275显卡驱动

驱动是官网下载的,台式机,显卡是比较老,但官网有linux版本驱动

按照这个教程一步步来的,安装DKMS那一步选yes装不上,但是不装这个,启动后进不了桌面会死机

按着论坛的教程试了很多安装方法,都装不上驱动感觉好难啊

想用这系统的话,第一步驱动装不上等于直接劝退啊👼 大神们,帮忙解决一下啊

https://www.bilibili.com/video/BV1zb4y1S77A/?spm_id_from=333.337.search-card.all.click&vd_source=650a08f8d0e7933d0c9f5737cb794a71

Screenshot_20230924_203227_com.huawei.photos_edit_883474421864666.jpgScreenshot_20230924_203230_com.huawei.photos_edit_883456231181857.jpg

Screenshot_20230924_203223_com.huawei.photos_edit_883485926891227.jpg

nvidia-installer.log:内容:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Sep 24 19:57:21 2023
installer version: 340.108

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

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
-> License accepted.
-> Installing NVIDIA driver version 340.108.
-> 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: Yes)
-> 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 5.15.77-amd64-desktop:
Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.15.77-amd64-desktop module KERNEL_UNAME=5.15.77-amd64-desktop; make -C uvm module KERNEL_UNAME=5.15.77-amd64-desktop KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.108/build/uvm............(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.77-amd64-desktop (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.

make.log 内容:

DKMS make.log for nvidia-340.108 for kernel 5.15.77-amd64-desktop (x86_64)
Sun Sep 24 19:57:41 CST 2023
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-headers-5.15.77-amd64-desktop'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo >&2;
echo >&2 " ERROR: Kernel configuration is invalid.";
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it.";
echo >&2 ;
/bin/false)
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Uos 8.3.0.6-1+dde) 8.3.0
You are using: cc (Uos 8.3.0.3-3+rebuild) 8.3.0
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/340.108/build
single-build=
need-builtin=1 need-modorder=1

.........后面还有一大堆

Reply Favorite View the author
All Replies
云的眼泪
deepin
2023-09-25 04:58
#1

使用5.10内核试

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2023-09-25 05:09
#2

试试这个,我电脑上的显卡驱动是这么安装的(折腾驱动有风险,折腾坏不能怪我~)

https://theshare.lanzoue.com/iwx2519rxmle

Reply View the author
Ziggy
deepin
2023-09-25 05:19
#3

配置的时候跳过dkms

一般用不上

Reply View the author
jackfu
deepin
2023-09-25 06:30
#4
云的眼泪

使用5.10内核试

在哪找5.10版?

Reply View the author
jackfu
deepin
2023-09-25 06:31
#5
Ziggy

配置的时候跳过dkms

一般用不上

不装这个的话进不了桌面会死机。

Reply View the author
Ziggy
deepin
2023-09-25 08:47
#6
jackfu

不装这个的话进不了桌面会死机。

跟dkms没关系,检查是不是自己没屏蔽nouveau

而且这卡已经太老了,304的驱动能不能兼容这么新的内核都不好说

Reply View the author
jackfu
deepin
2023-09-25 11:00
#7
Ziggy

跟dkms没关系,检查是不是自己没屏蔽nouveau

而且这卡已经太老了,304的驱动能不能兼容这么新的内核都不好说

肯定屏蔽过了,要说显卡太老那就没辙了,反正网上的教程我一个一个都试过,都装不上,改天我换个显卡试试。

Reply View the author
dgmenghuan
deepin
2023-09-25 16:32
#8

tail

Reply View the author
shunketsu
deepin
2023-09-28 21:37
#9
It has been deleted!
shunketsu
deepin
2023-09-28 21:44
#10

5.15内核需要打补丁(见下面的帖子),V20.9系统上成功安装,但是V23安装失败。

https://bbs.deepin.org/post/244636

Reply View the author