我在 nvidia.cn/drivers/lookup 里输入GeForce→GeForce RTX 50 Series (Notebooks)→NVIDIA GeForce RTX 5060 Laptop GPU→linux 64-bit→Chinese (Simplified)找到了Linux x64 (AMD64/EM64T) Display Driver,驱动版本580.126.18。但在我安装驱动时,进度条跑完后出现报错:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built
against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used
to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel
module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device installed in this system is
supported by this NVIDIA Linux graphics driver release.
Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file
'/var/log/nvidia-installer.log' for more information.
这是/var/log/nvidia-installer.log位于最末端的报错:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device installed in this system is supported by this NVIDIA Linux graphics driver release.
Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
-> Kernel module load error: Exec format error
-> Kernel messages:
[ 6.890483] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.890485] Bluetooth: BNEP filters: protocol multicast
[ 6.890489] Bluetooth: BNEP socket layer initialized
[ 7.747151] Bluetooth: hci0: RTL: fw version 0x040d7225
[ 7.923075] Bluetooth: hci0: AOSP extensions version v1.00
[ 7.923086] Bluetooth: hci0: AOSP quality report is supported
[ 7.923407] Bluetooth: MGMT ver 1.23
[ 7.937284] NET: Registered PF_ALG protocol family
[ 8.764811] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control off
[ 21.314100] amdgpu 0000:05:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 34.509804] nvme nvme0: using unchecked data buffer
[ 36.572243] Bluetooth: RFCOMM TTY layer initialized
[ 36.572315] Bluetooth: RFCOMM socket layer initialized
[ 36.572337] Bluetooth: RFCOMM ver 1.11
[ 37.379380] wlp4s0: authenticate with 7c:39:85:77:0c:60 (local address=f4:4e:b4:cd:cf:9f)
[ 37.379385] wlp4s0: send auth to 7c:39:85:77:0c:60 (try 1/3)
[ 37.381356] wlp4s0: authenticated
[ 37.383695] wlp4s0: associate with 7c:39:85:77:0c:60 (try 1/3)
[ 37.389158] wlp4s0: RX AssocResp from 7c:39:85:77:0c:60 (capab=0x1531 status=0 aid=5)
[ 37.494040] wlp4s0: associated
[ 155.800455] warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[ 180.926635] VFIO - User Level meta-driver version: 0.3
[ 181.199597] nvidia: version magic '6.18.9-arch1-2 SMP preempt mod_unload ' should be '6.12.74-1-lts SMP preempt mod_unload '
[ 1447.812078] VFIO - User Level meta-driver version: 0.3
[ 1447.906002] nvidia: version magic '6.18.9-arch1-2 SMP preempt mod_unload ' should be '6.12.74-1-lts SMP preempt mod_unload '
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.
请问我该如何解决报错?昨晚在夜里找了半天解决方案但还是无济于事,求求各位大佬orz