selkies-project / selkies-gstreamer

Open-Source Low-Latency Accelerated Linux WebRTC HTML5 Remote Desktop Streaming Platform for Self-Hosting, Containers, Kubernetes, or Cloud/HPC
https://selkies-project.github.io/selkies-gstreamer/
Mozilla Public License 2.0
381 stars 49 forks source link

Screen tearing in all encoders sometimes #71

Closed ehfd closed 8 months ago

ehfd commented 1 year ago

Reproducible both with nvh264enc and x264enc. Possibly issues with GStreamer configurations or the X11 capturer.

Happens every few dozen minutes or hours.

For now, changing the bitrate then changing it back fixes it. Disabling the compositor also might help.

Screenshots will come up.

ehfd commented 1 year ago

image

ehfd commented 1 year ago

x264enc: 0:01:03.809454590 29935 0x5594ca7e56a0 WARN x264enc gstx264enc.c:1273:gst_x264_enc_log_callback:<x264enc> VBV underflow (frame 2698, -36563 bits)

vamman commented 1 year ago

I have been seeing some significant screen tearing here in 3D. Not seeing it nearly as much on the desktop. It looks like a classic vsync issue but I'm not convinced it is.

ehfd commented 8 months ago

No longer happens as frequently, although #78 is back.