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
Screensharing not working #22
Comments
From strace:
Unfortunately |
You could try to put an /etc/os-release. That is supposed to take precedence over /usr/lib/os-release |
FD.o ships /etc/os-release already because many software directly read /etc/os-release without reading /usr/lib/os-release first. |
Maybe there is a case for a way to override the OS identity in sandbox setup ? We bend over backwards for proprietary software already... |
Do you imply a new feature in Flatpak itself? |
I guess you people already made sure there were no parameters to disable the OS detection. |
Yes, this would be an addition to flatpak override, I guess:
|
strings zoom |less
|
It actually supports quite a lot of things. Maybe they would add freedesktop.org if you asked nicely? |
@matthiasclasen either that or having Flatpak be able to bind mount files from /app over files from /usr. |
That would in general be useful, like you could bind mount /app/bin/foo to /usr/bin/foo where application has hardcoded the path. |
that sounds like it has more potential to break things than just lying about the OS |
Maybe. Anyhow, I dislike the override way to do this because that means Flatpak apps will not work out of the box and people keep reporting bugs. This kind of quirks would be nice to bake into the application manifest itself. |
Yes, I plan to contact support next week.
I think I have seen only |
I only mentioned override as an example - if we add a way to to this, it would be available in finish-args as well. |
That would be a bug to report to them. The documentation for os-release says to look in /etc first |
Nice to see very fast responses. Just finished ticket with Zoom. I gave them a link to this issue. |
It would be by far best conclusion if they just agreed to whitelist us imo. Preferably ignoring version since users will only ever have one runtime version with the app. |
Even if you adjust /etc/os-release to match F29 it still doesn't work on Wayland, e.g. you can only share a whiteboard. I also added --socket=wayland override.
|
Note you still need to file a bug on Zoom to make it prefer /etc/os-release |
Didn't get your last comment, Zoom is reading from /etc/os-release (check my comment) |
@barthalion said above that it doesn't |
Without mocking |
Its been a few months now since the last comment and this is still an issue - does anyone have any idea what the situation is? |
@5n00p4eg Has the support answered? |
@barthalion And about this issue:
Then my ticket was closed =( |
Maybe we need more tickets to their bug tracker ? ) |
@barthalion do you think its worth creating another support ticket with them with another link to this thread and and outline of the changes we want them to make, and reasons why the way it currently is causes us issues? I don't really understand enough about flatpaks so be able to explain why its an issue and the changes they need to make for this to be solved, so it probably makes more sense for someone else to submit a new ticket than me. |
I have similar problem but can't even pass the popup :( |
Apparently 5.11.0 should be released in a week, on June 20. |
And there we have the PR: #337 |
From the release notes:
If they implemented things right it should be possible to also remove these two lines from
|
I can confirm screensharing works correctly on GNOME Wayland on Fedora 36 with the unnecessary permissions removed before launch. |
In reply to @rmader:
|
any idea when this version will be available on flathub, then? ^^ |
@carlocastoldi should be available once a maintainer steps in and merges the update (with some permission tuning here and there). |
Since #337 has been merged, I suppose this issue can be closed, no? |
Working great for me on Fedora 36 on Gnome 42. |
Meanwhile, again with the #337 test build, I get segfault about 5 seconds after starting the share |
Running 5.11 (3540) in Pop_OS! 21.10 under "vanilla" Gnome Wayland (I have all pop-shell extensions disabled): when I attempt to share screen, and select "Use system capture", it loads the xdg portal popup and I am able to pick individual windows from a list (or the entire display), but no matter what I select (whole screen, individual native wayland app window, xorg/xwayland app window), but other meeting participants never see them -- it shows "[screen name] has started screen sharing" in the middle of a black background. No console errors appear (started via flatpak run -v us.zoom.Zoom). Are there any permissions I can check? I may have tweaked some in the past via Flatseal. |
You may want to update to 22.04. Maybe you're running into a bug from the Gnome-Shell/Pipewire/driver side. Also, while debugging, you can try to disable display scaling in case you use it. Especially fractionally values such as 125% occasionally had problems in the past.
Unlikely - the portal should be all that's needed. In case they messed up you'll need |
I see the same (black screen) on Arch and Gnome42. I tried adding xdg-run/pipewire-0` to the filesystem permissions in flatseal but it didn't help. @ozdreamern what graphics card and driver are you using? I have a Nvidia system and wonder if its another issue with their driver. |
Looks like screenshare works in a wlroots-based compositor (I'm using I can't figure out how to end the screen share though, the button is non-responsive And when I tell it to quit Zoom completely as a last resort, it seems like it leaves the portal open instead of cleaning it up (I have The "You are screen sharing | Stop Share" floating bar successfully stays as an overlay on all workspaces when I switch And the Stop Share button works as long as I never have any apps underneath it at any point: as soon as any other app has been underneath the Stop Share button/overlay, it's like the other app captures all hovers/clicks, even when I move the app away |
@ozdreamern you can take a look on PipeWire patchbays such as Helvum (available on Flathub) and qpwgraph to see if the display stream is actually being shared with Zoom (or any other Freedesktop.org Screencast Portal-respecting app, for that matter) A working setup should have a connection between GNOME Shell and Zoom as seen in picture below (sorry for the mess, I can't seem to arrange slots and connections in Helvum): You can also check whether Portal screencasting works at all by testing it with apps that are known to officially support it, e.g. OBS Studio. |
@kaimast : I have a S76 lemur pro with integrated graphics (UHD), so this is not limited to nvidia users. (Also, fractional scaling is disabled.) @rmnscnce thanks for the tip! When I start a share, I see gnome shell "out_0" appear in Helvum, but no connection is drawn between gnome-shell and Zoom (or anything). I will test with other portal screencast apps later tonight. I also hope to upgrade to Pop 22.04 over the weekend, and will see if that helps. The pipewire version I'm currently using is 3.32. Adding back the pipewire-0 fs permission didn't help (thanks @rmader). ETA: I tried screen/window capture via OBS Studio, and it also fails in a manner similar to Zoom, with the following log entries:
I'll hope for better luck under 22.04. |
It still black screens and crashes after a few seconds even after the system portal select share screen dialog showed up normally. I'm using Nvidia 510 Wayland Ubuntu 22.04. |
Following up to myself, I confirm that I was successfully able to share my screen in Zoom after upgrading to Pop!_OS 22.04 (running gnome under Wayland). Thanks to everyone who has helped foster improvements in this feature to date. |
I would like to chip in: I'm on Fedora 36 with Gnome 42 and I also had the black screen issue. I was able to resolve the issue by switching from the proprietary nvidia driver to nouveau. |
Correction: It looks like switching to nouveau did not solve anything. Screensharing just worked briefly and apparently coincidentally right after I've switched display drivers. I am back to a black screen under wayland :/ |
@freefd does the portal service work otherwise? Try checking whether the packages relating to xdg-desktop-portals are up-to-date.
Test your portals functionality using ASHPD Demo and check if the "Screen Cast" one works as expected. |
For everyone having issues: please ensure that pipewire screen sharing generally works for you. You can check e.g. by
Edit: didn't see #22 (comment) in time, sorry for the noise. |
Using ASHPD Demo I finally managed to found out some useful logs:
And I came across the comment SeaDve/Kooha#129 (comment). I then installed A simple reboot and screen sharing start working. @rmnscnce thanks a lot, that was really helpful! |
This is now fixed in the latest version of Zoom, can we close it? |
Yeah, I think it might be useful to close this pre-pipewire/portal ticket, and direct new post-pipewire/portal questions to a new issue? |
Update: it turns out that I was affected by this Nvidia bug: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1965563 |
Hi!
I'm using fedora 29 with wayland.
I see a message:
Can not start share, we only support wayland on GNOME with Ubuntu(17,18), Fedora(25 to 29), Debain9, openSUSE LEap 15, Arch Linux. ....
I have clean f29 setup, zoom installed as flatpack from dl.flathub.org
After removing flatpack and reinstalling from zoom.us/support/download, everything works, including google login.
Version is same: 2.6.149990.1216
The text was updated successfully, but these errors were encountered: