Skip to content

Screenshare Capture failing on Pipewire & Wayland on Hyprland, version 2.20.1 #114

Description

@StaringLongingly

Steps to reproduce:

  1. run elecap -n on terminal
  2. Click remote screenshare into OBS
  3. Select a screen through the dialog
  4. Click on the preview
  5. Another dialog pops up, select a screen
  6. No feed.

Log:

$ elecap -n
APP READY
{
  _: [
    '/usr/lib/elecap/app.asar',
    'env ELECTRON_OZONE_PLATFORM_HINT=auto'
  ],
  n: true,
  node: true,
  w: 1280,
  width: 1280,
  h: 720,
  height: 720,
  monitor: 0,
  m: 0,
  u: 'https://vdo.ninja/electron?version=2.20.1',
  url: 'https://vdo.ninja/electron?version=2.20.1',
  t: null,
  title: null,
  p: false,
  pin: false,

~ 
✿ elecap -n
APP READY
{
  _: [
    '/usr/lib/elecap/app.asar',
    'env ELECTRON_OZONE_PLATFORM_HINT=auto'
  ],
  n: true,
  node: true,
  w: 1280,
  width: 1280,
  h: 720,
  height: 720,
  monitor: 0,
  m: 0,
  u: 'https://vdo.ninja/electron?version=2.20.1',
  url: 'https://vdo.ninja/electron?version=2.20.1',
  t: null,
  title: null,
  p: false,
  pin: false,
  a: true,
  hwa: true,
  x: -1,
  y: -1,
  minimized: false,
  min: false,
  fullscreen: false,
  f: false,
  unclickable: false,
  uc: false,
  js: null,
  savefolder: null,
  sf: null,
  mediafoundation: null,
  mf: null,
  disablemediafoundation: null,
  dmf: null,
  css: null,
  chroma: null,
  color: null,
  hidecursor: null,
  hc: null,
  '$0': '--gtk-version=3'
}
arg vdonVersion: { ver: false }
dom-ready
ready to show
browser-window-focus 1
did-finish-load
arg vdonVersion: { ver: false }
page-title-updated
arg vdonVersion: { ver: '28.0' }
dom-ready
did-finish-load
browser-window-focus 1
'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:425 pw_thread_loop_wait()
browser-window-focus 1
browser-window-focus 1
browser-window-focus 1
^CApplication 'before-quit' event triggered.
'before-quit': Preventing immediate quit to process windows.
'before-quit': Processing window ID 1.
'before-quit': 1.6-second app shutdown timer elapsed. Forcing quit.
Application 'before-quit' event triggered.
'before-quit': Already in closing process (closing === 2).
^C⏎  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions