-
Notifications
You must be signed in to change notification settings - Fork 178
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
Discord crashes Ferdium when trying to share screen #1099
Comments
It is electron bug |
Electron just released a new version, which we have integrated to and released as a new nightly - please try it out and get back if this fixes your issue. |
@vraravam libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
...
...
Error occurred in handler for 'GUEST_VIEW_MANAGER_CALL': Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
at node:electron/js2c/renderer_init:2:16905
at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:2:11094)
at EventEmitter.emit (node:events:513:28)
at Object.onMessage (node:electron/js2c/renderer_init:2:9197) Version: 6.2.7-nightly.4
Server: No Server
Electron: 24.0.0
Chrome: 112.0.5615.49
Node.js: 18.14.0
Platform: Linux 6.3
Arch: x64
Build date: Sat Apr 08 2023 02:50:16 GMT+0200 (Central European Summer Time)
Git SHA: 5661f54c
Git branch: nightly Im on Fedora 37 using the rpm. CPU: AMD Ryzen 9 6900HS with Radeon Graphics (16) @ 4.925GHz
GPU: NVIDIA Geforce RTX 3070 Ti Laptop GPU
GPU: AMD ATI Radeon 680M |
I am experiencing the same issue on Arch linux with both the AUR and Appimage versions (both nightly).
System Info:
|
When manually switching electron version to
|
Still broken on |
no one is working on this atm. so please do not spam for each nightly that this is still not fixed. |
Just want to mention that this is not limited to Discord but also crashes in other apps for example MS Teams. But of course, this issue still occurs on 6.4.0 (including nightly) using Debian 12 Bookworm with Wayland Downgrading to v6.2.3 helped for me: |
I just downloaded v6.4.1-nightly.4 and the issue is fixed, it looks like electron was updated to use xdg-desktop-portal. |
Apparently you're right. When sharing the whole screen it however freezes after a few seconds and flooding my terminal with:
But those might be as well gnome/mutter/pipewire errors |
This crash will be fixed by upgrading to electron 26.0 as it includes the corresponding fix: electron/electron#39264 Unfortunately upgrading to 26.0 causes #1317. Currently that issue was solved by downgrading to electron 25. |
Pretty bad double bind situation, but fixing Ferdium not working at all is more important than the screen sharing bug. Ideally, we will be able to upgrade to Electron v26 again once all the issues of a new major version are ironed out and have both bugs fixed. |
It looks like #1317 is caused by this electron bug: electron/electron#39515 As soon as that is fixed we should be able to upgrade to electron 26 again and in turn get the screen sharing bug fixed. |
@392781 You can find the solution for the Discord call issue you are having here: #611 (comment) |
Thank you @mcmxcdev! |
On ferdium 6.5.1 screen sharing is working for me |
For anyone still encountering issues, there is now a nightly release available using Electron v27: https://github.com/ferdium/ferdium-app/releases/tag/v6.5.3-nightly.3 |
This should now also be fixed in the latest stable: https://github.com/ferdium/ferdium-app/releases/tag/v6.6.0 Let me know if this is not the case ;) |
Avoid duplicates
Ferdium Version
6.2.6
What Operating System are you using?
Other Linux
Operating System Version
Nobara 37
What arch are you using?
x64
Last Known Working Ferdium version
No response
Expected Behavior
I want to share my screen in a discord call.
Actual Behavior
When I try to share my screen, ferdium crashes.
Steps to reproduce
Debug link
https://debug.ferdium.org/60474834-6b78-4681-92ee-cb0135a49932
Screenshots
No response
Additional information
I am using the flatpak version of Ferdium on wayland with pipewire, with nvidia gpu and kde desktop. Had the same issue on garuda linux wayland, not reproducible on x11.
The text was updated successfully, but these errors were encountered: