您尚未登录。

#1 2024-07-01 23:05:19

captainzx93
会员
注册时间: 2024-05-23
帖子: 2

更新Nvidia驱动后Wayland无法启动

今天开机后,可以正常进入 SDDM 登录界面,但输入密码并登录桌面系统时黑屏,只在主屏幕左上角显示一个 “_” (我是双显示器)。
此时 ctrl+alt+Fn 无法进入 tty 界面,只好强制关机重启。

重启后在 SDDM 登录界面左下角将 Wayland 切换为 X11 后,可以登录桌面环境,但显示效果有点奇怪。

大概是因为昨天更新了 Nvidia 驱动,以下是更新日志的片段:

[2024-06-30T10:54:58+0800] [ALPM] upgraded nvidia-utils (550.90.07-3 -> 555.58-2)
[2024-06-30T10:54:59+0800] [ALPM-SCRIPTLET] If you run into trouble with CUDA not being available, run nvidia-modprobe first.
[2024-06-30T10:54:59+0800] [ALPM-SCRIPTLET] If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
[2024-06-30T10:54:59+0800] [ALPM] upgraded lib32-nvidia-utils (550.90.07-1 -> 555.58-1)
[2024-06-30T10:54:59+0800] [ALPM] upgraded libavif (1.0.4-3 -> 1.0.4-4)
[2024-06-30T10:54:59+0800] [ALPM] upgraded libpipewire (1:1.0.7-2 -> 1:1.2.0-2)
[2024-06-30T10:54:59+0800] [ALPM] upgraded libqalculate (5.2.0-1 -> 5.2.0.1-1)
[2024-06-30T10:54:59+0800] [ALPM] upgraded libwireplumber (0.5.3-1 -> 0.5.5-1)
[2024-06-30T10:54:59+0800] [ALPM] upgraded libxnvctrl (550.78-1 -> 555.58-1)
[2024-06-30T10:55:00+0800] [ALPM] upgraded linux (6.9.6.arch1-1 -> 6.9.7.arch1-1)
[2024-06-30T10:55:00+0800] [ALPM] upgraded netpbm (10.86.41-1 -> 10.86.42-1)
[2024-06-30T10:55:00+0800] [ALPM] upgraded nvidia-open (550.90.07-4 -> 555.58-2)
[2024-06-30T10:55:00+0800] [ALPM] upgraded nvidia-settings (550.78-1 -> 555.58-1)
[2024-06-30T10:55:00+0800] [ALPM] upgraded opencl-nvidia (550.90.07-3 -> 555.58-2)

我尝试按照 参考链接Arch 下 Wayland 使用 Nvidia 私有驱动 的步骤重新做了配置。重启后选择以 wayland 方式登录,这时屏幕上连左上角的 "_" 都消失了,两块屏幕都显示没有输入信号。

以 X11 方式登录一直都没有问题,就是感觉窗口等各种元素都被放大了......

求大佬们帮忙指条明路!!

离线

#2 2024-07-03 23:11:03

yayi
会员
注册时间: 2015-03-23
帖子: 1

Re: 更新Nvidia驱动后Wayland无法启动

试试下面

echo  'MUTTER_DEBUG_KMS_THREAD_TYPE=user' >>/etc/environment 

然后重启

离线

#3 2024-07-04 20:38:01

captainzx93
会员
注册时间: 2024-05-23
帖子: 2

Re: 更新Nvidia驱动后Wayland无法启动

yayi 说:

试试下面

echo  'MUTTER_DEBUG_KMS_THREAD_TYPE=user' >>/etc/environment 

然后重启

试了一下,好像没有效果。不过还是谢谢了~

离线

页脚