通过 DisplayLink 的 Manjaro Sway 显示器屏幕无法工作

通过 DisplayLink 的 Manjaro Sway 显示器屏幕无法工作

我正在尝试让 Lenovo DisplayLink 与 Manjaro Sway 配合使用,但到目前为止还无法让屏幕信号通过它。

我将 Linux 更新到内核 5.15
我安装了相应的 linux-headers 以正确安装 evdi
我安装了 displayconnect

当我跑步时

systemctl start displaylink.service

它崩溃了

当我重新登录 shell 并手动启动 sway 时,会出现以下错误:

00:00:00.032 [ERROR] [wlr] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.032 [ERROR] [wlr] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
MESA-LOADER: failed to open evdi: /usr/lib/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: evdi
kmsro: driver missing
MESA-LOADER: failed to open evdi: /usr/lib/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: evdi
kmsro: driver missing
00:00:00.067 [ERROR] [wlr] [render/egl.c:424] Failed to get DRM device: No such device
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /usr/lib/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
kmsro: driver missing
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /usr/lib/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
kmsro: driver missing
2022-09-16 14:02:33 - [swaybg-1.1.1/main.c:579] Missing a required Wayland interface

任何帮助将不胜感激

答案1

在我看来,evdi 模块包可能已损坏。如果您是从 Manjaro 存储库安装的,则可以尝试 AUR 版本和相应的 DisplayLink 软件包版本。只需检查您正在安装的 evdi 版本是否与内核兼容即可。如果它不能与主线内核一起工作,您可以尝试 LTS 版本。

作为最后的手段,你可以尝试使用其他 DE,例如 Gnome 和 Wayland,一般来说,在 Wayland 上它应该无需任何额外配置即可工作。在 X 上,需要一些额外的配置,具体取决于发行版。

相关内容