Closed LOSEARDES77 closed 7 months ago
Add launch argument --ozone-platform=wayland Works as expected.
These are the flags I use on Hyprland with an AMD 6700XT: webcord --ozone-platform=wayland --enable-features=WebRTCPipeWireCapturer --enable-features=VaapiVideoDecoder
(with Optimize the client for the current graphics card
OFF in the settings)
I don't believe this is fixable when running with electron 25 (I did not test 26 and 27). It however seems to be fixed when running with electron 28.
EDIT: I did now test with electron 27, and it still crashes. So electron 28 is required (this probably primarily affects Wayland on NVIDIA)
(Note: I only hacked a dirty setup together, no idea if everything else works properly with electron 28. Additionally this repository already specifies electron 27 as a dependency, but for example the AUR package uses electron 25)
Honestly, the Electron is kinda old here (v25.9.4
) and I haven't noticed that before, there are also some rumours that this might be a duplicate of #433. I also don't care anymore about supporting older Electron versions, I rather focus on maintaining my app under newer versions especially in case of EOF Electron releases (since those don't get any security patches anymore and it is no longer advised to use these).
I'll just close this as duplicate…
Acknowledgements
[X] 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.
[X] 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).
[X] There are no fixes done to
master
which resolves this issue.[X] 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
v25.9.4
Application version
v4.5.2
Bug description
Cant get it run natively on wayland
Additional context
the tray icon shows up but cant get the window to open