背景

显示时序问题解决以后,系统重新测试:

SDDM Wayland

这一次启动稳定。

由此证明之前 SDDM Wayland 的高故障率其实是:

SDDM Wayland
→
触发更多显示重新初始化
→
500 ms PPS 问题更容易暴露

而不是 Wayland 本身存在根本故障。


一、原始 SDDM 状态

系统默认:

[General]
DisplayServer=x11

旧 HiDPI 配置:

[General]
GreeterEnvironment=QT_FONT_DPI=168,XCURSOR_THEME=breeze_cursors,XCURSOR_SIZE=42

并存在:

[X11]
ServerArguments=-dpi 168

二、Wayland 配置

建立:

/etc/sddm.conf.d/99-wayland.conf

内容:

[General]
DisplayServer=wayland
GreeterEnvironment=XCURSOR_THEME=breeze_cursors,XCURSOR_SIZE=24,QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Theme]
CursorTheme=breeze_cursors
CursorSize=24

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1

三、为什么移除 QT_FONT_DPI

在 X11 环境中常见:

QT_FONT_DPI=168

但 Wayland 下缩放由 compositor/KWin 自己处理。

如果同时使用:

KWin scale
+
QT_FONT_DPI

可能产生“双重缩放”。

因此 Wayland SDDM 中只保留:

KWin output scale

四、统一 SDDM 和 Plasma 缩放

Plasma:

Scale = 1.75
CursorSize = 24

随后将 SDDM 对当前显示器的 KWin output 配置也调整为:

Scale = 1.75
CursorSize = 24

于是:

SDDM
=
Plasma

视觉尺寸保持一致。


五、保留 XWayland

删除旧:

xf86-video-intel

并不意味着应该删除:

XWayland

二者完全不是一回事。

xf86-video-intel

旧 Xorg Intel DDX

XWayland:

让传统 X11 程序运行在 Wayland 桌面上的兼容层

因此 XWayland 应继续保留。

Leave a Reply

Your email address will not be published. Required fields are marked *