-
-
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
Webcord v4.4.0: Windows turning blank after couple of seconds #452
Comments
Same here - arch, intel cpu, amd gpu, hyprland. I get this error output in my terminal (Edit: doesn't seem to be related to the issue):
|
I am not sure if this error message is related. I get the message three times on both v4.3.0 and v4.4.0. Also as mentioned above, I have the same problem under i3 as well, which means that this issue is not exclusive to Wayland. However, under i3 I don't get this error message in the terminal. |
You're right. Looks like it's an electron26 issue - 4.4.0 bumped to 26 from 25. If you edit Edit: I have the latest electron 26.0.0-beta.12 installed and 25.3.2 Running Edit 2: Running
Electron 26 is in beta and has had changes with pipewire. |
I can confirm, I get the exact same error messages. I use Pipewire as well.
I can confirm this as well. Using Electron 25.3.2 completely resolves the problem for me. I also compiled discord_arch_electron from AUR (basically plain Discord except that it uses Electron provided by the system) with Electron 26 and I got the exact same behavior: The window goes blank after a few seconds. Discord however reloads the Window automatically, but the app is still unusable. I think this confirms that this is an upstream issue of some kind and not limited to Webcord. We should probably stick to Electron 25 until this is resolved. |
Please link the issue. I tested AUR package before publishing and not faced any issues.
Better edit |
I can confirm that isse on arch (aur package), fedora (official rpm release) and unofficial flatpak. no matter wayland/xwayland/Xorg |
I still don't reproduce this issue on NVIDIA drivers and X11, maybe it's MESA only or hardware-specific? |
Also what about #444 and proposed workaround here? Maybe that's duplicate issue? |
I am also unable to reproduce it using MESA/AMDGPU. Regardless of optimization setting. I see no difference between 25 and 26. |
i've tried no sandbox, disable-gpu, disable-webgl, disable-3d-apis none of it worked |
Didn't even know that was being worked on considering 26 is still in beta. 27 alpha1 was just published like 5 minutes ago 😂 Edit: Looks like electron 26 was released 2 days ago but the arch AUR package isn't updated yet, let me test that. Edit 2: v26.0.0 doesn't fix the issue |
This comment was marked as spam.
This comment was marked as spam.
Can confirm as well, it starts without an issue, then the window turns blank after a few seconds. Wayland (Hyprland) on Nvidia drivers. Rolling back to WebCord 4.3.0 does the job for now! |
That was the first thing I did when I encountered this issue but it doesn't help, unfortunately.
If you (or any other NVIDIA GPU owners) can test in Wayland, that would help narrow down the potential cause. The grey screen issue definitely stems from the interaction between Electron and (recent) Mesa drivers (at least for RDNA 2 owners). |
I believe I'm seeing the same thing on nvidia v4.4.0, but not v4.3.0 (unlike #444). Setup: Tinkering with the flags too much (enabling Wayland, at the least) also causes it to seg-fault on startup, which is probably worthy of its own issue (which I can file when I have more time later). |
I also appear to have the same issue, and it's fixed by downgrading to 4.3.0. Flatpak |
This comment was marked as duplicate.
This comment was marked as duplicate.
How to Downgrade Flatpak Package for Webcord to v4.3.0 in Linux: |
Oddly, the grey screen issue on AMD/Mesa is nonexistent on Electron 27 Alpha, but persists on 26 |
it's not about amdgpu/mesa/webcord4.4 |
This issue doesn't bother the snap though. It works fine. |
This comment was marked as spam.
This comment was marked as spam.
This made me to think it's renderer process constantly crashing for some reason. I guess it is good idea to implement renderer crashes handling for Discord window right now, eventually maybe for other/all |
Is this really a webcord issue? The snap package is also at |
This is expected to happen, WebCord now reloads the page in the approach to workaround the renderer crashes that don't constantly happen in the client. It should also restart itself with |
The new update is slightly better. I can almost get to log in but once I scan the code or I am too slow, it just goes blank and restarts. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as duplicate.
This comment was marked as duplicate.
Having the same issue on NVIDIA under wayland. Turns blank, crashes, tries to restart, crashes again. after a couple crashes, it also seems to leave this funny little log, that i find cute:
|
Weirdly enough, safe-mode makes it last for a bit longer. |
Still crashing for me even with safe mode, in my case running in KasmVNC under Debian Bullseye, no GPU acceleration. |
Issue still present after switching to an AMD gpu |
Just quoting your message to make it visible to new users, since its hidden by the collapsed default view. |
I installed v4.4.1 and something similar happens. v4.4.0 I get just a blank grey screen. v4.4.1 it will actually crash and loop. Running it in a terminal I get this when it crashes. Not sure if it helps or not.
Debian Sid using the .deb from releases. v4.3.0 works fine though. |
This comment was marked as spam.
This comment was marked as spam.
That's literally the expected behaviour in v4.4.1. It should loop, eventually restart in |
Interesting. I only let it crash a few times. Should I wait and see if it eventually works? Once it does is there a way to see which options allow it to work? So long as it's broken on my system I can try to be of help. Although I'm not very familiar with electron apps. |
@volitank Nah, the loop is due to fact it keeps constantly crashing, I highly doubt the outcome will be different. However, the behaviour introduced in v4.4.1 is supperior to v4.4.0, as WebCord constantly tries to recover from crash and workaround it in any known way for me (unlike to pretty much giving up on the first try). |
I'm having it crash with the error being that it failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory. With the Gtk message being that it failed to load module canberra-gtk-module. I am using Pop-OS 22.04 if that could be related to the issue. |
Just reporting, the deb_amd64 version of v4.4.3 does not have this issue on Update: Flatpak v4.4.3 still has the issue. |
Gave me an idea to try. I have hybrid graphics and I was using Nvidia primarily for Hyprland. I downloaded v4.4.3 and tried Intel. Same thing though just crashes over and over. Also I have KDE Plasma installed. Tried in there and same thing. Tough bug |
Same issue for me on my system. Can confirm that the flatpak downgrade workaround works for me, thank you! If there's any information I can provide to help narrow down where the bug lies just let me know. I'm running OpenSUSE Tumbleweed with KDE Plasma, and Pipewire, in a Wayland session. CPU is a Ryzen 5900x, GPU is an RX 6800 XT, using Mesa.
|
This should be resolved in WebCord |
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
26.0.0
Application version
v4.4.0
Bug description
After the last update (v4.4.0) all webcord windows turn blank / gray after a few seconds. This makes the application completely unusable. Reloading a window brings back its content, however it will turn blank after a couple of seconds again. This seems to happen under both Wayland and X11. The only workaround I have found is to downgrade back to v4.3.0. I have attached a video of this behavior.
output.mp4
Additional context
system information:
EDIT: This is an upstream issue of Electron 26. A workaround is to use Electron 25 instead of Electron 26 until the issue is resolved upstream.
MOD EDIT: The issue seems to be hardware-specific or setup-specific. However there are mixed reports for each driver (MESA AMDGPU,NVIDIA), which might mean this isn't somehow associated with the driver. I might verify if I can reproduce this on Wayland, as for me NVIDIA driver on X11 (XFCE4) works just fine.
The text was updated successfully, but these errors were encountered: