Skip to content

[VENMIC] Inconveniences in Wayland on Screenshare. (I have solutions) #47

Description

@treviasxk

Discord Account

No response

Operating System

Arch Linux

Linux Only ~ Desktop Environment

KDE on Wayland

What happens when the bug or crash occurs?

Hello, I found some small bugs and the solution for them.

1 - Screenshare always shows the application and window selection screen twice to work.

Solution:
In ArchWiki (5.9.4) some versions of Electron need to add the following line command below, when adding this command, Equibope will ask for screen selection only once and then it will work.
--ozone-platform=wayland


2 - Problem with GPU memory buffer video in WebKit with Wayland, whenever sharing the screen, errors occur in the buffer, it is possible to see it by initializing Equibop through the terminal (and this error may probably be affecting performance)

image

Solution:
I found the solution here, if possible, leave this webkit flag disabled chrome://flags/#use-multi-plane-format-for-software-video, or make the commandline initialize with the program
--disable-gpu-memory-buffer-video-frames


You can avoid these problems by creating a config file for Electron, it will always start the application with the commands.
file .config/electron33-flags.conf:

--enable-features=UseOzonePlatform
--ozone-platform=wayland
--disable-gpu-memory-buffer-video-frames

but I ask that you add these command lines directly to the project, which will be better than creating this file.

What is the expected behaviour?

1 - that screenshare shows the selection only once.
2 - that the terminal does not show a buffer error.

How do you recreate this bug or crash?

1 - Start the program through the terminal.
2 - Share any screen.

Debug Logs

[37068:1104/122401.118691:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.118923:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.118998:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.119235:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.119320:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.153543:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.153652:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.153883:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.153937:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.154092:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.154134:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.188364:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.188441:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.188562:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.188600:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.188721:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.188760:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.221831:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.221932:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.222176:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.222235:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.222386:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.222428:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.257428:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.257546:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.257749:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.257805:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.258070:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.258134:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.294199:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.294331:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.294702:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.294805:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.295054:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.295140:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.329988:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.330089:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.330246:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.330287:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.330420:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.330466:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.362400:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.362481:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.362622:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.362671:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.362810:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.362841:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
^C[37068:1104/122401.397457:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.397642:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.397847:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.397934:ERROR:gpu_channel.cc(503)] Buffer Handle is null.
[37068:1104/122401.398363:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
[37068:1104/122401.398853:ERROR:gpu_channel.cc(503)] Buffer Handle is null.

Request Agreement

  • I have searched the existing issues and found no similar issue
  • I am using the latest Equibop and Equicord versions
  • This issue occurs on an official release (not just the AUR packages)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingelectron issuethis issue cant be fixed by usgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions