flathub / com.skype.Client

https://flathub.org/apps/details/com.skype.Client
15 stars 34 forks source link

Cannot screen share on Wayland #142

Open vchernin opened 3 years ago

vchernin commented 3 years ago

Skype currently cannot screen share on Wayland in the Deb or in the Flatpak.

This is as Skype does not show the share screen button on Wayland, despite Electron supporting Wayland screen sharing.

Skype not showing the screen share button on Wayland is entirely arbitrary, given one can succesfully screen share from the Skype web app in Chromium (ignoring minor Chromium WebRTC PipeWire bugs).

So if Skype were to remove this restriction, and ship with a semi recent version of Electron, screen sharing would likely work on wayland. Working Electron screen sharing apps include Jitsi Meet and Slack (note we can use the runtime's pipewire 0.3 starting from electron 13).

When Skype enables the share screen button on Wayland a change to the manifest will be needed. We should build in PipeWire support similar to what was done for Slack Flatpak.

The combination of Skype making the button visible, the Flatpak building with PipeWire, and passing --enable-features=WebRTCPipeWireCapturer should make screen sharing work for Skype on Wayland. Note the need to pass the command line option should be resolved in Chromium eventually.

chrisjimallen commented 2 years ago

Happy anniversary Skype issue

snaggen commented 2 years ago

This is coming in skype, and is available in the preview according to https://answers.microsoft.com/en-us/skype/forum/all/linux-users-enable-new-calling-experience/fa12eb5b-1702-4b95-8e68-68d97ad184e4

I have not had time to actually test this, but it sounds promising.

APanteleychuk commented 1 year ago

They have removed Beta options in the new Skype version ((( The problem with Wayland is actual.

Fiamat commented 1 year ago

That's right. The issue remains unresolved. This is ridiculous. 2nd anniversary due to stupid unnecessary if in Skype...

GermanZun commented 1 year ago

waiting for this too

sandikata commented 1 year ago

What a fas are Micro... Well, at all i do not share screens on skype or even using skype in general, but at workplace we are using skype as communication solution..

jaymin7359 commented 1 year ago

Temporary solution as below.

1.run in terminal - echo $XDG_SESSION_TYPE - Output will be x11 or something 2.sudo nano /etc/gdm3/custom.conf and then uncomment WaylandEnable=false and then save 3.Power off and restart the system

PatiHox commented 1 year ago

Temporary solution as below.

1.run in terminal - echo $XDG_SESSION_TYPE - Output will be x11 or something 2.sudo nano /etc/gdm3/custom.conf and then uncomment WaylandEnable=false and then save 3.Power off and restart the system

This solution actually disables the wayland and switches the system to x11. It does technically work, yet you sacrifice wayland altogether. So be wary!

jacek-lewandowski commented 1 year ago

I wonder if it could be achieved with an OBS Studio virtual camera...

theblackhole commented 1 year ago

I wonder if it could be achieved with an OBS Studio virtual camera...

It does, I did use it before finding this opened issue. But it's 720p max, 1080p won't work. So that could be a valid workaround.

Another workaround is to use Skype Web atm because screen sharing works fine with it (Well, in my case it works either by sharing all the screens, or a single window/tab but not a single screen. But that's ok, better than nothing).

mtariqsajid commented 1 year ago

i am not able to screen share in skype ubuntu: 22.04.3 LTS skype: 8.107.0.215 snap

vasimak commented 11 months ago

When this issue will be resolved. It is over 2 years now and wayland is coming as default in kde 6 and many distros will not support anymore xorg

TomaszGasior commented 10 months ago

@mtariqsajid This is not correct place to post Snap related issue. The repository here is where Flatpak (not Snap) package for Skype is maintained.

@vasimak Did you try KDE's Xwayland video bridge software?

vasimak commented 9 months ago

@mtariqsajid This is not correct place to post Snap related issue. The repository here is where Flatpak (not Snap) package for Skype is maintained.

@vasimak Did you try KDE's Xwayland video bridge software?

No i couldnt. I install it but i couldnt make it to work

ablonewolf commented 7 months ago

On KDE 6 in Wayland, screen sharing for Skype hasn't arrived yet. On Fedora 40, the XOrg will be ditched completely in favor of KDE 6. I wonder when this issue will be resolved.

vasimak commented 7 months ago

I just removed skype app and i am using chrome based browser(in firefox screen share doesnt work for some reason) so i can screen share in wayland. Its not the greatest solution but it works

tobehn commented 7 months ago

I just removed skype app and i am using chrome based browser(in firefox screen share doesnt work for some reason) so i can screen share in wayland. Its not the greatest solution but it works

This is definitely not a solution.

In the very top of this issue it is suggested to

The combination of Skype making the button visible, the Flatpak building with PipeWire, and passing --enable-features=WebRTCPipeWireCapturer should make screen sharing work for Skype on Wayland.

Who could do this and who is the person in charge at Skype to probably help with it?

nicahokie commented 7 months ago

I just removed skype app and i am using chrome based browser(in firefox screen share doesnt work for some reason) so i can screen share in wayland. Its not the greatest solution but it works

Furthermore you can also have the browser save it as a shortcut (Similar to PWA but for non-PWA sites) to make it feel more like an App.

gabrielroot commented 3 months ago

I had this same problem and solved it by just graphically choosing the X11 at the S.O. login screen.

jivanpal commented 3 months ago

I had this same problem and solved it by just graphically choosing the X11 at the S.O. login screen.

@gabrielroot As mentioned by other commenters, this is merely a workaround to share screen, not actually a solution to the problem of it not working under Wayland. Many users need/want to use Wayland rather than X11 for numerous reasons.

pkejval commented 3 months ago

Add screen sharing on wayland, please! It used to work in preview version one or two years before.