您尚未登录。

#1 2022-04-01 17:16:02

lliux
会员
注册时间: 2022-04-01
帖子: 32

更新系统后找不到nvidia驱动的问题

升级系统如下
[2022-04-01T00:28:24+0800] [ALPM] upgraded linux (5.16.16.arch1-1 -> 5.17.1.arch1-1)
[2022-04-01T00:28:26+0800] [ALPM] upgraded linux-headers (5.16.16.arch1-1 -> 5.17.1.arch1-1)
[2022-04-01T00:28:27+0800] [ALPM] upgraded nvidia (510.54-9 -> 510.54-11)

输入代码

 sudo nvidia-smi 

显示NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
未更新前可以显示完整的GPU信息
请问有什么解决办法吗?

离线

#2 2022-04-01 17:16:33

lliux
会员
注册时间: 2022-04-01
帖子: 32

Re: 更新系统后找不到nvidia驱动的问题

DD

离线

#3 2022-04-01 18:52:24

Oliver Wei
会员
注册时间: 2021-07-13
帖子: 118

Re: 更新系统后找不到nvidia驱动的问题

 glxinfo -B 

输出什么?

 lspci -k 

输出什么?
只有N卡还是N卡+核显?系统信息发一下。
能进桌面环境吗?
xorg日志发一下。
感觉还是mesa包的问题,驱动挂了应该进不了桌面吧,你的情况是能进桌面环境但是找不到驱动?

最近编辑记录 Oliver Wei (2022-04-01 18:54:47)

离线

#4 2022-04-01 21:45:23

FallingSky_42
会员
注册时间: 2022-02-19
帖子: 49

Re: 更新系统后找不到nvidia驱动的问题

$ inxi -G

看看输出。

离线

#5 2022-10-29 12:08:39

lliux
会员
注册时间: 2022-04-01
帖子: 32

Re: 更新系统后找不到nvidia驱动的问题

Oliver Wei 说:
 glxinfo -B 

输出什么?

 lspci -k 

输出什么?
只有N卡还是N卡+核显?系统信息发一下。
能进桌面环境吗?
xorg日志发一下。
感觉还是mesa包的问题,驱动挂了应该进不了桌面吧,你的情况是能进桌面环境但是找不到驱动?

可以进入桌面环境
glxinfo -B

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 530 (SKL GT2) (0x191b)
    Version: 22.2.1
    Accelerated: yes
    Video memory: 7839MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 530 (SKL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

lspci -k

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
        DeviceName: Intel Skylake HD Graphics ULT GT2
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device_pci_legacy
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #7 (rev f1)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation HM170 Chipset LPC/eSPI Controller (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
        DeviceName: NVIDIA N16P-GX
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX] (rev a1)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
08:00.0 Network controller: Intel Corporation Wireless 7265 (rev 61)
        DeviceName: Intel Dual BandWireless-AC 7265 802.11 ac 1x1 WiFi + BT 4.0 Combo Adapter
        Subsystem: Intel Corporation Dual Band Wireless-AC 7265
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        DeviceName: Realtek PCIe GBE Family Controller
        Subsystem: Hewlett-Packard Company Device 8257
        Kernel driver in use: r8169
        Kernel modules: r8169

离线

#6 2022-10-29 12:09:29

lliux
会员
注册时间: 2022-04-01
帖子: 32

Re: 更新系统后找不到nvidia驱动的问题

FallingSky_42 说:
$ inxi -G

看看输出。

inxi -G

Graphics:
  Device-1: Intel HD Graphics 530 driver: i915 v: kernel
  Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: N/A
  Device-3: Sunplus Innovation HP Wide Vision HD type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.4 driver: X:
    loaded: modesetting dri: iris gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 22.2.1

离线

#7 2022-10-29 14:10:07

无知者无畏
会员
注册时间: 2022-10-22
帖子: 1

Re: 更新系统后找不到nvidia驱动的问题

还没搞定么?今天遇到了同样的问题,发现原因是自己装的 linux-lts 而不是 linux, 所以对应的驱动是 nvidia-lts 而不是 nvidia ....

离线

#8 2022-10-29 15:43:18

Tee
会员
注册时间: 2016-09-10
帖子: 143
个人网站

Re: 更新系统后找不到nvidia驱动的问题

无知者无畏 说:

还没搞定么?今天遇到了同样的问题,发现原因是自己装的 linux-lts 而不是 linux, 所以对应的驱动是 nvidia-lts 而不是 nvidia ....

好像用 nvidia-dkms 也能应对所有非 linux 的内核。


啦哆咪 - 用Linux制作音乐
https://lado.me

离线

#9 2022-10-30 01:54:21

lliux
会员
注册时间: 2022-04-01
帖子: 32

Re: 更新系统后找不到nvidia驱动的问题

绷不住了,卸载了bbswitch就好了:(

离线

页脚