Vencord / Vesktop

Vesktop is a custom Discord App aiming to give you better performance and improve linux support
GNU General Public License v3.0
3.49k stars 168 forks source link

[Bug] Steaming quality drops when someone joins the stream #714

Open AlephNought0 opened 2 months ago

AlephNought0 commented 2 months ago

Discord Account

No response

Operating System

NixOS

Linux Only ~ Desktop Environment

Hyprland

What happens when the bug or crash occurs?

It occurs when someone joins the stream

What is the expected behaviour?

Steam quality being proper

How do you recreate this bug or crash?

  1. Start steaming
  2. Check debug info
  3. Everything is fine
  4. Make someone join
  5. Quality drops

Debug Logs

[10729:0701/220238.474188:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220238.474215:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822913 and trying to renegotiate stream parameters
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
[2024-07-01 22:02:39.297] [venmic] [info] [patchbay] (get) running venmic 3.4.2
[2024-07-01 22:02:39.309] [venmic] [info] [patchbay] (handle) found default metadata: 39
[2024-07-01 22:02:39.309] [venmic] [info] [patchbay] (meta_update) speaker name: "alsa_output.pci-0000_08_00.6.analog-stereo"
(node:10729) UnhandledPromiseRejectionWarning: TypeError: Video was requested, but no video stream was provided
    at AsyncFunction.<anonymous> (VCDMain:24:2411)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[10729:0701/220243.750835:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220243.750867:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822913 and trying to renegotiate stream parameters
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
(node:10729) UnhandledPromiseRejectionWarning: TypeError: Video was requested, but no video stream was provided
    at AsyncFunction.<anonymous> (VCDMain:24:2411)
(node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[10729:0701/220251.432077:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220251.432133:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822913 and trying to renegotiate stream parameters
[10729:0701/220251.445018:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220251.445065:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822913 and trying to renegotiate stream parameters
[10729:0701/220251.445236:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220251.445247:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822913 and trying to renegotiate stream parameters
[10729:0701/220251.485838:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220251.485868:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822657 and trying to renegotiate stream parameters
[10729:0701/220251.518221:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220251.518248:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334806273 and trying to renegotiate stream parameters
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
[2024-07-01 22:02:55.204] [venmic] [info] [patchbay] (create_mic) created: 91
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
[10729:0701/220255.428606:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220255.428630:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822913 and trying to renegotiate stream parameters
[10729:0701/220255.496257:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220255.496303:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334822657 and trying to renegotiate stream parameters
[10729:0701/220255.529307:ERROR:egl
_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[10729:0701/220255.529342:ERROR:shared_screencast_stream.cc(912)] Dropping DMA-BUF modifier: 144115206334806273 and trying to renegotiate stream parameters

Request Agreement

AAGaming00 commented 2 months ago

discord bug lol (maybe?) tmk this happens on the stock discord client

AlephNought0 commented 2 months ago

discord bug lol (maybe?) tmk this happens on the stock discord client

Do you know what exactly causes it?

PolisanTheEasyNick commented 2 months ago

maybe tmk this happens on the stock discord client

It is reproducing even in discord web.

Do you know what exactly causes it?

Some bug on Discord which depends on viewer's client. You can read more at #528.