顺便说一句,我使用的是 Arch,有 NVIDIA GeForce GTX 1660 Ti Mobile、带 SDDM 的 KDE、带内部屏幕的笔记本电脑和 2 个通过 USB-C 连接的外部设备。
一切正常。昨天我做了全面升级。今天图形启动失败,无法终止 Playmouth Boot Screen。
我玩了一下,发现当我在/etc/X11/xorg.conf中评论这一行时,图形将会启动:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 530.41.03
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
.....
Section "Device"
Identifier "Device0"
# Driver "nvidia" #when commented graphical boot works with 1 Monitor
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
.....
SubSection "Display"
Depth 24
EndSubSection
EndSection
所以我猜它与NVIDIA驱动程序有关
pacman -Q nvidia
nvidia 530.41.03-6 #different from mod. normal?
当我检查加载的模组时:
modinfo $(modprobe --resolve-alias nvidia)
filename: /lib/modules/6.2.13-arch1-1/extramodules/nvidia.ko.xz
firmware: nvidia/530.41.03/gsp_tu10x.bin
firmware: nvidia/530.41.03/gsp_ga10x.bin #different from above. normal?
alias: char-major-195-*
version: 530.41.03
supported: external
...
内核日志。我注意到某些签名无法加载,但不知道这是否是问题所在以及如何解决:dmesg | grep 英伟达
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=2efc41cd-9bc2-430d-ad4c-9119cfc5c554 rw loglevel=3 quiet nvidia-drm.modeset=1
[ 0.028531] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=2efc41cd-9bc2-430d-ad4c-9119cfc5c554 rw loglevel=3 quiet nvidia-drm.modeset=1
[ 3.136458] nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
[ 3.695298] nvidia: loading out-of-tree module taints kernel.
[ 3.695323] nvidia: module license 'NVIDIA' taints kernel.
[ 3.709474] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 3.902894] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[ 3.903724] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 3.903860] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 4.014272] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 4.108731] nvidia-uvm: Loaded the UVM driver, major device number 508.
[ 4.306861] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[ 4.360489] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 530.41.03 Thu Mar 16 19:23:04 UTC 2023
[ 4.364399] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 5.028945] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
问题是我的外部 usbc 屏幕需要 Nvidia 驱动程序。由于某些未知原因,它们不再工作,我不知道如何进行调试。我是 Linux 的新手。任何想法如何继续?
更新 当我尝试从登录 shell 启动引导屏幕时出现此错误:
kstart plasma-desktop
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
我试过: 重新安装:qt、nvidia 相关包、plasma
https://bbs.archlinux.org/viewtopic.php?pid=2097245#p2097245
删除(带备份)
解决了我的问题