在搭载 NVIDIA 22.04.1 LTS 的戴尔笔记本电脑上使用 Wayland 在 Chrome 中共享整个屏幕时崩溃

在搭载 NVIDIA 22.04.1 LTS 的戴尔笔记本电脑上使用 Wayland 在 Chrome 中共享整个屏幕时崩溃

我无法在 wayland 上的 chrome(版本 105.0.5195.125(官方版本)(64 位))中运行屏幕共享。webrtc pipewire 标志已激活。

chrome://gpu 告诉我它使用 wayland,但 chrome 没有出现在 xlsclients 中。此外,我无法使用 xwininfo 选择 chrome 窗口。

这些是我在终端中运行 google-chrome 时出现的第一个错误:

[68336:68336:0926/085840.535938:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is egl, ANGLE is
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open i915: ...

如果我尝试在 google meet 中共享我的整个屏幕,我给予许可,查看我的整个屏幕的“缩略图”,选择它,单击共享,然后 chrome 会崩溃:

[70043:70992:0926/091522.621029:ERROR:egl_dmabuf.cc(569)] Failed to record frame: Error creating EGLImage - EGL_BAD_ALLOC
[70043:70992:0926/091522.621040:ERROR:shared_screencast_stream.cc(665)] Dropping DMA-BUF modifier: 72057594037927935 and trying to renegotiate stream parameters
[0926/091526.775489:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1] 70043 segmentation fault (core dumped) google-chrome

解决方法是使用 xorg 而不是 wayland。机器是配备 gtx 1050 的 DELL XPS 15 9560。专有驱动程序 515 已安装并运行良好。

感谢任何帮助和提示。

相关内容