Skip to content

[Bug] Screenshare takes a few minutes to load on hyprland #1012

Description

@Syrent

Discord Account

.syrent

Operating System

6.12.4-arch1-1

Linux Only ~ Desktop Environment

Hyprland on Wayland

Package Type

installed from aur

What happens when the bug or crash occurs?

vesktop was working fine until i updated some packages. the day after that my friends couldn't see my screenshare anymore. after some troubleshooting, i noticed if i start the screenshare in Prefer Clarity type the screenshare does load, but it takes about 5 minutes to appear. and if i start screenshare in Prefer Smoothness type it will load instantly but everything is black until i do things that changes the first frame. i tried various combinations of xdg-desktop-portal options, hyprland, wlr, both, etc. but none of them made a difference.

What is the expected behaviour?

i expect screenshare to work without the delay/blackscreen

How do you recreate this bug or crash?

  1. open discord
  2. join a voice chat (the voice server doesn't matter)
  3. start an screenshare
  4. select an screen (i have two screens, not sure if its related)

Debug Logs

APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
[32525:1218/024109.259206:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParamet
➜  ~ [proxychains] Dynamic chain  ...  127.0.0.1:1080  ...  140.82.113.5:443  ...  OK
[32485:1218/024120.641588:ERROR:egl_dmabuf.cc(609)] Failed to record frame: Error creat
ing EGLImage - EGL_BAD_MATCH
[32485:1218/024120.641631:ERROR:shared_screencast_stream.cc(951)] Dropping DMA-BUF modi
fier: 144115188488387331 and trying to renegotiate stream parameters
[32485:1218/024121.114144:ERROR:egl_dmabuf.cc(609)] Failed to record frame: Error creat
ing EGLImage - EGL_BAD_MATCH
[32485:1218/024121.114164:ERROR:shared_screencast_stream.cc(951)] Dropping DMA-BUF modi
fier: 144115188488370947 and trying to renegotiate stream parameters
[32485:1218/024121.670028:ERROR:egl_dmabuf.cc(609)] Failed to record frame: Error creat
ing EGLImage - EGL_BAD_MATCH
[32485:1218/024121.670060:ERROR:shared_screencast_stream.cc(951)] Dropping DMA-BUF modi
fier: 144115188488174339 and trying to renegotiate stream parameters
➜  ~ 'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:425 pw_thread_loop_wait()
[2024-12-18 02:41:23.533] [venmic] [info] [patchbay] (handle) found default metadata: 39
[2024-12-18 02:41:23.533] [venmic] [info] [patchbay] (meta_update) speaker name: "alsa_output.pci-0000_00_1f.3.analog-stereo"
[2024-12-18 02:41:23.534] [venmic] [info] [patchbay] (get) running venmic 6.1.0
[32525:1218/024128.917170:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[32485:1218/024131.022339:ERROR:egl_dmabuf.cc(609)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[32485:1218/024131.022380:ERROR:shared_screencast_stream.cc(951)] Dropping DMA-BUF modifier: 144115188488387331 and trying to renegotiate stream parameters
[32485:1218/024131.050151:ERROR:egl_dmabuf.cc(609)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[32485:1218/024131.050182:ERROR:shared_screencast_stream.cc(951)] Dropping DMA-BUF modifier: 144115188488370947 and trying to renegotiate stream parameters
[32485:1218/024131.118636:ERROR:egl_dmabuf.cc(609)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[32485:1218/024131.118706:ERROR:shared_screencast_stream.cc(951)] Dropping DMA-BUF modifier: 144115188488174339 and trying to renegotiate stream parameters
[32525:1218/024138.431127:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

Request Agreement

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    system issueissue caused by incompatibilities with the user's system e.g. nvidia + wayland comboupstreamrelated to a dependency, for example electronwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions