-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
A Variety of Screensharing Issues #372
Comments
issue either with discord or your desktop environment. this even happens on stock discord sometimes |
as for your other issue, any reason you can't just share the monitor the fullscreen app is on? |
For the second issue, I've never had that happen on stock discord. I also can't exactly change my DE given that I'm on windows. I might be able to mess with some settings, but I wouldn't know where to start with that even. I'll check for a driver update, but I have my doubts that it will help, given that it worked fine yesterday when I first installed it, and I've never had the issue on Discord/Vencord with everything else otherwise being the same For the first issue, that's the workaround I've been having to use. That or switching to borderless windowed, but some apps don't have that. It's just not exactly convenient, nor is it really the same given that, should I ever alt tab (I only have one monitor), viewers will be able to see everything going on. It also means that desktop audio will be streamed rather than just game audio, and that notifications will show up in stream |
I can share full screen applications just fine |
Interesting |
Using Arch Linux, Latest Nvidia drivers |
I see Also, I had a friend that had the same issue the other day, and they're running AMD. I can ask what driver version specifically if that helps for debugging |
I checked my drivers, and I am using driver version 31.0.15.4617, which appears to just be another name for version 546.17. I am using this with an RTX 3070 from ASUS |
drivers shouldn't have anything to do with this. i made the desktop comment referring to Linux desktop environments, it doesn't apply to windows |
im not sure how fixable this is. screenshare framework is provided by electron/chromium and the one calling it is discord, so both issues are out of our control. maybe there is some weird workaround for fullscreen windows but it seems like it's a chromium limitation try opening discord.com/app in a chromium based browser (like edge or chrome) and see if you can share full screen apps in them. if not, there's likely not much we can do |
I just updated my graphics drivers and the issue of needing to switch stream inputs seems to be fixed now, but last time it broke after a reboot, so we'll have to see if it works after a reboot or not. As for the fullscreen apps, the same issue is still present |
I have the same screensharing issues. System infoOS: openSUSE Tumbleweed AMD GPU with mesa 23.3.4 drivers. Pipewire 1.0.1 |
^ |
Works correctly in Google Chrome for me |
In my case, it might be related to Wayland/xdg-desktop-portals, because it seems that Google Chrome, at least for me, is running under XWayland whilst Vesktop is running in Wayland mode. Might be an issue with the desktop portal implementation for getting the video stream? Anyway, the issue is not consistent, it works for a moment, then at some point, it will refuse to share anything. |
it shouldn't depend on whether you run in wayland or xwayland. it will use the pipewire capturer either way, which in turn uses your desktop environment's xdg portal inconsistent behaviour with chrome is strange, that should not happen. but it might be related to vesktop using a slightly older chrome because the past few chrome versions have brought many improvements. try running with latest electron there's not much we can do anyway as we just use the apis provided by electron & chrome |
Can confirm I and my partner see this issue regularly. Usually right after Vencord starts up screen sharing will work, but if it's been more than a few minutes, I often get this infinite loading loop. A working stream will also eventually stop working spontaneously. I didn't know about using "Change Windows" as a workaround, but can confirm this does work. I've also never seen this behavior with the stock client or the browser client, but obviously those don't share sound. My suspicion is that something is getting moved around in pipewire, and maybe electron has a bug where it doesn't track the state change appropriately, and restarting (or changing windows I guess) forces it to re-query the state, or something. I'm on manjaro, with QTile WM, and an AMD GPU, and my partner is on Mint, with Cinnamon, on an Nvidia GPU. I also saw this same behavior with Webcord, so yeah, I'm convinced it's electron's fault. Perhaps...it's possible to detect when the situation is happening somehow and do two rapid Change Windows automatically? It would be hacky, but I would rather have a quick flicker than my friends tell me, "yeah, it stopped working again" every 20m. I would be surprised if this isn't a common issue people are hitting. |
I doubt it's an issue related with pipewire, once the stream is stopped everything goes back to the default state (i.e. venmic node and all associated links are deleted) |
I agree, I said I think it's a bug in electron. |
The only thing that I wanna to say - is that for me, it worked sometime and stopped on the newest version (v1.4.2), at first, everything worked, then the same issue, but then Flatpak's version of Vesktop (v1.4.1) started working, I have no idea what happened, all actions were done on Fedora 40 with AMD Based system on vanilla GNOME with minimal extensions, Vesktop v1.4.2 were installed using rpm package from this GitHub while Vencord v1.4.1 - from Flathub |
this. seemingly just starts an infinite loading loop after a time, sometimes its once every few minutes, and other times it runs for like an hour before i see it, but i have absolutely no idea what the cause is. Arch Linux, Wayland, AMD drivers |
Chiming in to say that the issue where screensharing works for a few minutes and then turns into an infinite loading loop has been plaguing me too on Wayland. Restarting sharing/changing windows works until it decides to break again, rinse and repeat. I've tested with both the wlr and hyprland xdg desktop portals and it's the same deal with both, and I get the following line in the console when the screensharing breaks:
Relevant line in the pipewire code I did some testing and in just the Chromium browser with stock discord I had the same issue, but without the error in the console as far as I can tell. Using just a regular screen sharing test appears to work just fine however. Same story with Firefox. I'm really not sure where the underlying issue could be coming from or if its just a config/setup issue on my end, but a workaround as mentioned to restart the sharing/change windows in the background would be greatly appreciated, if possible. System Info |
This same exact thing is happening to me
|
same prblm |
I've been having issues with screensharing for the last month or two (I'm guessing since the release of v1.5.4?), but rolling back to previous commits, it seems like I need to go all the way back to df05d12 (from April) to get properly working screenshare on Linux. I've been using Vesktop since around September, and I've always had issues with streams being initially low resolution then switching to the correct resolution, but the issues have got particularly bad recently. With the commit after that (8eaa520, which from what I can see, overhauled how screenshare works on Linux), the stream doesn't load at all if watching on an Android phone, but somewhat works if watching on the desktop app on another device (albeit at a weirdly low resolution for a while, then flashes to black, and comes back at a higher resolution). The latest version of Vesktop (v1.5.4) just has an infinitely loading stream or black screen for most viewers. I'm running Arch, and these issues occur on both Hyprland (wayland) and Plasma (wayland AND x11). This seems like it's probably the same issue as #1012. |
It's been a while since I posted on this issue, so here's my update Screensharing works perfectly for me on Linux. Here's the output from I have a friend on a very similar setup to me, same distro, same DE, same audio setup, etc, except they're using an AMD gpu, and both screensharing and camera feeds are partially broken for them. Specifically, the screenshare or camera output often will flash green, then completely freeze and stop updating for many users. For me, I see the green glitching, as well as some tearing, but their screenshare is still fully functional afterwards |
My system: Regarding the infinite loop loading, I have the same issue on Arch Linux.
And this is with wayland:
I followed the suggestion of another user in the issue #1012 and tried downgrading to version 1.5.1 using the command:
It still gives some kind of error, but the user on the other end can view my stream without any issues |
I also reported the issue on #1031, but got marked as a duplicate (most likely duplicate of #851, #997, #837) & system issue. Anyway I asked on the reddit about this issue and someone said that it's happening because vesktop updated to recent version of chromium |
I have a similar issue.
A few things to note:
System info:
Vesktop was installed through the |
I'm currently having an issue with Vesktop sometimes completely freezing after clicking the button to start a screenshare, then selecting my main monitor in the KDE dialog. It does open the menu to select the audio channel and other settings, but the application completely freezes after that, including the system tray menu. It's still possible to talk in the VC and hear things however. I'm having this issue on Fedora 41 KDE, using Wayland and the official .rpm package |
I also have an AMD GPU (6750xt) and screenshare is very buggy on Arch with KDE, vesktop on flatpak. 720p 30fps whole screen works but only if i dont select clarity. |
We are aware of the issue. New comments contribute nothing, so I'm locking this issue |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Streaming a screen or application works, regardless of windowed or fullscreen status, and works on the first attempt without needing to switch the stream target to make the stream actually start.
Screenshots
Desktop (please complete the following information):
Command line output
The text was updated successfully, but these errors were encountered: