ogra1 / zoom-snap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Black screen when screen share on wayland

edurojasr opened this issue · comments

So I was doing some testing.

Zoom DEB package from oficial download page:

Works great on Wayland, I can share the screen and portions of the screen
Zoom-Client snap package:

XOrg session works great I can share the screen, all the desktop, portions of the screen.
Wayland session I only can share a portion of the screen, I remember last year I was able to share the whole screen or a portion in wayland.
Wayland session in AMD Ryzen 7 4750U PRO with Reinor iGPU I can’t share the screen in any way, just a black screen. I’m using Ubuntu 23.04.

image

edu@edu-t14s:~$ snap info zoom-client 
name:      zoom-client
summary:   ZOOM Cloud Meetings
publisher: Oliver Grawert (ogra)
store-url: https://snapcraft.io/zoom-client
contact:   ogra@ubuntu.com?subject=zoom-client
license:   unset
description: |
  Video conferencing with real-time messaging and content sharing
  
  https://zoom.us provides simplified video conferencing, whiteboard sharing
  and messaging across any device. This is an unofficial re-pack of the debian
  package provided by zoom.us
commands:
  - zoom-client
snap-id:      76rrD7USwCJrZgepbRk7UdFEWON3tVKX
tracking:     latest/stable
refresh-date: today at 16:51 CST
channels:
  latest/stable:    5.15.2.4260 2023-07-07 (208) 383MB -
  latest/candidate: 5.15.2.4260 2023-07-07 (208) 383MB -
  latest/beta:      5.15.2.4260 2023-07-07 (208) 383MB -
  latest/edge:      5.15.2.4260 2023-06-28 (208) 383MB -
installed:          5.15.2.4260            (208) 383MB -
edu@edu-t14s:~$ 

As I ran into this problem only yesterday I can add some infos.

When sharing a portion of the screen Zoom is able to capture the screen content below its own windows inside the shared portíon. But this is still mostly useless. It seems Wayland allows only capturing the geometry used by Zoom itself.

The Flatpak seems to have similar issues. So I tried the DEB of Zoom provided by Zoom and it worked on Wayland and allowed to share the whole screen or just a single window. Permitting the Zoom flatpak access to the dbus session bus led to Zoom being able to access the corresponding xdg-portal for screen sharing. I don't know if snap has similar settings.

This discussion mentions Zoom checking /etc/os-release against an allowlist to enable screen sharing on Wayland or not. Further it mentions that the snap package reports itself as Ubuntu Core in this file which is not on the allowlist.

These are the current results of my research.

Unfortunately, it looks like the /etc/os-release trick from that discussion is already mostly included in the edge release of the zoom snap. No luck sharing the screen currently on 22.04.