[Seek Help] 怎么装Nvidia RTX 4090驱动?
Tofloor
poster avatar
syqiven
deepin
2022-10-30 03:49
Author

更新:仔细研究了一下报错信息,安装linux-headers-amd64这个包之后官网驱动就可以成功安装了

如题,使用nvidia-detect提示显卡不支持

到官网下私有驱动运行,也报错装不了

/var/log/nvidia-installer.log下面一部分报错信息如下

Cleaning kernel module build directory.
   executing: 'cd ./kernel; /usr/bin/make -k -j24  NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.17.3-amd64-desktop/build" SYSOUT="/lib/modules/5.17.3-amd64-desktop/build" clean'...
   rm -f -r conftest
   make[1]: Entering directory '/usr/src/linux-headers-5.17.3-amd64-desktop'
   make[1]: Leaving directory '/usr/src/linux-headers-5.17.3-amd64-desktop'
-> Building kernel modules
   executing: 'cd ./kernel; /usr/bin/make -k -j24  NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.17.3-amd64-desktop/build" SYSOUT="/lib/modules/5.17.3-amd64-desktop/build" '...
   make[1]: Entering directory '/usr/src/linux-headers-5.17.3-amd64-desktop'
   
     ERROR: Kernel configuration is invalid.
            include/generated/autoconf.h or include/config/auto.conf are missing.
            Run 'make oldconfig && make prepare' on kernel src to fix it.
   
   make[1]: *** [Makefile:729: include/config/auto.conf] Error 1
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
   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
   cc1: fatal error: /lib/modules/5.17.3-amd64-desktop/build/include/linux/autoconf.h: No such file or directory
   compilation terminated.
Reply Favorite View the author
All Replies
HighAvaPerCon
deepin
2022-10-30 04:05
#1

壕,友乎?

Reply View the author
deepin
2022-10-30 05:32
#2

这个要等新的内核版本,现在能正常使用RTX3090就已经不错了。

Reply View the author
Misaka
deepin
2022-10-30 06:59
#3

尝试一下装5.18的内核?

Reply View the author
syqiven
deepin
2022-10-31 02:55
#4
Misaka

尝试一下装5.18的内核?

5.18也不行

在网上看到有ubuntu机器装了520的驱动就可以了

deepin的源里没有……

Reply View the author