-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen share on Wayland does not work #533
Comments
What window manager or DE? Do you have the appropriate XDG Desktop Portal enabled? Are you using pipewire? |
Same issue, though infinite loading after selecting window/screen. DE KDE Plasma and XDG is KDE. Debian 12. It did work fine before, though for a month now hasn't worked. Not using xwayland video bridge either. Didn't bother making an issue, since I thought it was just me. With X11 it works. EDIT: Does anyone have any instructions where I can find the logs for this? I would be happy to post them. |
I am having the same issue. It used to work a few weeks ago but now it isn't, but after trying some times I can get it to work. |
I have isolated it to never working if you watch someone else's stream and start yours. For whatever reason, the flatpak versions don't work no matter what I've tried, the deb version does. Otherwise, starting the stream twice does the trick. Now the only issue I have, is the stream blasting my ears randomly for around 0.1 seconds that is clearly my own audio. |
same issue no matter if using AppImage or flatpak. void linux, hyprland, xdg-desktop-portal-hyprland, pipewire and wireplumber are running, discord website screen share works fine. didnt managed to get it work.(sorry if bad english) |
I am using GNOME4, XDG Desktop Portal enabled, permissions granted, and yes, I am using pipewire. upd: maybe this is a bug in new version of bundled Electron itself, because it stopped working after devs bumped Electron version to v28 (webcord v4.7+), but I can't test it because Webcord is the only one Electron application in my system. upd2: since newer official versions of Discord has the very same issue with «infinite loading», I assume it's upstream bug. a big request to those who care: please, report bug to Electron upstream, if it is still not fixed/not exists. |
[Setup: ArchLinux + Hyprland + Pipewire/Wireplumber + xdg-desktop-portal-hyprland] same issue here, but as a workaround for everyone that needs to: You can use OBS as a virtual camera while selecting your screen/window as a source, and instead of screen share on Webcord/Discord, just select the OBS camera. On launch OBS will automatically try to load the module and the button should appear, if not, load it yourself. (and keep in mind kernel modules will be unloaded on reboot so if you want to make it permanent ykwtd) |
Swapped my setup over to sway from i3 recently. Trying to only go with wayland native solutions. I also never had much success with discord or webcord screen sharing under X, but that's besides the point. Problem: When I click screen share nothing happens in the gui Launched Webcord via terminal and got back this error
Running this with environment variable ELECTRON_OZONE_PLATFORM_HINT=auto |
I think this issue is a duplicate of #513, there are mixed reports on how PipeWire screen share I suppose... |
I agree, do we have a version/build that we know works on wayland? My intuition tells me this might be fixable with permissions or an additional dependency (don't want to clog up the other thread) |
From what people have been reporting to me in general, screen share just works fine for some as long as they have proper portals configured properly (i.e. packages providing them installed, with proper (?) service for portals running in the background). Unless I will repro it, I doubt I can participate in any way at fixing it at all, or even pointing out for which Electron version or Chromium build it may work. |
Yup, finally got around to debugging this. It was an xdg-portal config error on my part (sorry) For Others: There's multiple environment variables. See these resources |
hey i been have problems with webcord and screen share in hyprland , it just gets frozen when i open screenshare. I am using arch linux , hyprland and pipewire and set all things as per hyprland wiki
|
Acknowledgements
I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.
This bug affects Discord website.
This issue is confirmed to be reproducible when WebCord is packaged
on at least all three latest supported Electron major releases.
This issue is reproducible in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).
There are no fixes done to
master
which resolves this issue.My issue describes one of the unstable and/or not fully implemented
features.
I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).
Operating System / Platform
🐧️ Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
29.0.0
Application version
4.8.0
Bug description
Button "Share screen" does nothing on Linux with Wayland.
Additional context
Notice: This issue was automatically generated by WebCord.
The text was updated successfully, but these errors were encountered: