(Linux) Screensharing loads infinitely on user trying to watch

(#2939) Bug Open: Needs triage desktop video

Reproduction steps

  1. Be on Linux machine with vaapi encode support
  2. Screenshare on Linux machine with h.264 prefer hardware encoding
  3. Try and watch the screenshare
  4. Endless loop of the user trying to watch the screenshare

Observed behaviour

Screensharing is not working with vaapi

Build information

Canary Desktop 2026.602.15537, Web 2026.602.31150, Linux 7.0.10-2-cachyos (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-GB

Platform

Linux

Evidence

2/6/26 1:23 pm Fluxer Canary-2026.602.15537-linux-x86_64.AppImage [3172758:0602/132337.166337:ERROR:third_party/webrtc/media/engine/simulcast_encoder_adapter.cc:201] [SEA] StreamContext ctor parent is null 2/6/26 1:24 pm Fluxer Canary-2026.602.15537-linux-x86_64.AppImage [3172758:0602/132407.164692:ERROR:third_party/webrtc/pc/rtp_sender.cc:561] Failed to set parameters since getParameters() has never been called on this sender (INVALID_STATE) 2/6/26 1:24 pm Fluxer Canary-2026.602.15537-linux-x86_64.AppImage [3172758:0602/132407.224279:ERROR:third_party/webrtc/media/engine/simulcast_encoder_adapter.cc:201] [SEA] StreamContext ctor parent is null 2/6/26 1:24 pm Fluxer Canary-2026.602.15537-linux-x86_64.AppImage [3172758:0602/132413.487549:ERROR:third_party/webrtc/p2p/base/stun_port.cc:123] Binding request timed out from 100.85.115.x:40396 (tailscale0)

Details

Expected behaviour Screenshare should work with vaapi encoding

Merged posts

These posts were merged into this one. Their comments are now part of the conversation below, marked with where they came from.

Report details

Reproduction steps

  1. Install the latest canary desktop client on linux
  2. Stream in a VC to at least one other participant
  3. Have a participant try to watch your stream

Observed behaviour

With the default stream settings - H.264 and "automatic" encoder path, others fail to watch your screenshare. On fluxer.app it immediately fails with error code -2202, and on my selfhosted instance it loads indefinitely (although audio can be heard when this happens). I also tried specifying either hardware or software for the encoder path, but it causes the same issue. When switching to VP9 (which will use software decoding due to my GPU not supporting otherwise), everything works flawlessly. GPU: AMD RX 6600

Build information

Canary Desktop 2026.1008.190209, Web 2026.1008.190209, Linux 7.2.9-1-cachyos (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-US

Platform

Linux

7 comments

Sign in with Fluxer to comment and vote.
Comment by Msuix
Msuix 5 votes
Can reproduce as well - using native rpm in my case. h264 streaming appears as a black screen to others (only audio comes through). Fedora 43, KDE Plasma/Wayland, Radeon 9070XT
➜  ~ vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.3.6 for AMD Radeon RX 9070 XT (radeonsi, gfx1201, LLVM 21.1.8, DRM 3.64, 7.1.8-100.fc43.x86_64)
vainfo: Supported profile and entrypoints
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointEncSlice
      VAProfileNone                   : VAEntrypointVideoProc
Stable Desktop 2026.1018.223338, Web 2026.1018.223338, Linux 7.1.8-100.fc43.x86_64 (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-US
Comment by probablyjassin
probablyjassin 1 vote edited Merged from #3720 2 replies
Slight correction: When changing the encoding from h264 to VP9, it seems to work fine so far
Comment by _
_ 2 votes Merged from #3720 1 reply
Just to get some additional details, can you check whether OpenH264 is installed on your system? I'm not sure if that would also be presented as in use within the Fluxer client.
Comment by probablyjassin
probablyjassin 1 vote Merged from #3720
these are all the ways I could find to check whether I do (pretty sure I have it?):
❯ pacman -Q openh264 firefox-openh264
openh264 2.6.0-2.1
error: package 'firefox-openh264' was not found
~
❯
❯ gst-inspect-1.0 h264parse
Factory Details:
  Rank                     primary + 1 (257)
  Long-name                H.264 parser
  Klass                    Codec/Parser/Converter/Video
  Description              Parses H.264 streams
  Author                   Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
  Documentation            https://gstreamer.freedesktop.org/documentation/videoparsersbad/h264parse.html

Plugin Details:
  Name                     videoparsersbad
  Description              videoparsers
  Filename                 /usr/lib/gstreamer-1.0/libgstvideoparsersbad.so
  Version                  1.28.7
  License                  LGPL
  Source module            gst-plugins-bad
  Documentation            https://gstreamer.freedesktop.org/documentation/videoparsersbad/
  Source release date      2026-09-07
  Binary package           Arch Linux GStreamer 1.28.7-3.2
  Origin URL               https://www.archlinux.org/

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseParse
                         +----GstH264Parse

Element Flags:
  - REQUIRE_INDEXABLE

Pad Templates:
  SINK template: 'sink'

~
❯ gst-inspect-1.0 avdec_h264
Factory Details:
  Rank                     primary (256)
  Long-name                libav H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 decoder
  Klass                    Codec/Decoder/Video
  Description              libav h264 decoder
  Author                   Wim Taymans <wim.taymans@gmail.com>, Ronald Bultje <rbultje@ronald.bitfreak.net>, Edward Hervey <bilboed@bilboed.com>
  Documentation            https://gstreamer.freedesktop.org/documentation/libav/avdec_h264.html

Plugin Details:
  Name                     libav
  Description              All libav codecs and formats (system install)
  Filename                 /usr/lib/gstreamer-1.0/libgstlibav.so
  Version                  1.28.7
  License                  LGPL
  Source module            gst-libav
  Documentation            https://gstreamer.freedesktop.org/documentation/libav/
  Source release date      2026-09-07
  Binary package           Arch Linux GStreamer 1.28.7-3.2
  Origin URL               https://www.archlinux.org/

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstVideoDecoder
                         +----GstFFMpegVidDec
                               +----avdec_h264

Element Flags:

Pad Templates:

~
❯
Comment by Numbes
Numbes 1 vote edited Merged from #3720 1 reply
I also have an rx 6600 and cant stream with h264, just checked and this has been an issue for 5 months lol, seems like an amd only issue
Comment by _
_ 1 vote Merged from #3720
I will say that with H.264 (and GPU acceleration enabled), other call participants have reported that if I just let the screen share run for a bit, it'll start off as a blank screen and then start displaying properly after a bit if I let it keep running, and that experience has been rather consistent.