Closed zacharyburnett closed 1 year ago
Sounds like a GPU driver bug or use of experimental flags/optimizations. What's your GPU? Is GL driver proprietary (nvidia
) or open-source (mesa
)?
I would try running WebCord with EGL (OpenGL ES):
webcord --gl=egl
Also, are you on Wayland or X11?
Thanks for your response!
Sounds like a GPU driver bug or use of experimental flags/optimizations. What's your GPU? Is GL driver proprietary (
nvidia
) or open-source (mesa
)?
I'm running on an Intel iGPU that I occasionally connect to a nvidia eGPU (so I have both drivers), but I encountered this issue while on mesa
.
I would try running WebCord with EGL (OpenGL ES):
webcord --gl=egl
This output the following:
[3396:0411/085940.010741:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=desktop-gl,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3396:0411/085940.011756:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
as well as this popup:
Also, are you on Wayland or X11?
This is on X11, I'll try it on Wayland as well.
On Wayland, it outputs the following:
[5654:0411/090531.012434:FATAL:gpu_init.cc(542)] Passthrough is not supported, GL is egl, ANGLE is
and what looks like the same popup as before:
Here's the result of inxi -G
:
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_wayland driver: X: loaded: intel unloaded: modesetting
dri: i965 gpu: i915 resolution: 2256x1504
API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel Xe Graphics (TGL GT2)
It looks like deleting windowState
makes webcord launch now, but with the same errors:
[9788:0411/091412.573219:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=desktop-gl,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[9788:0411/091412.574175:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Cannot use import statement outside a module
That seems to have solved my issue though; thank you for your help!
It looks like deleting
windowState
solved the issue; webcord launches now without errors. Sorry to take up your time!
FYI this error meant WebCord was unable to read this file at all, so it was probably a permissions error (lack of read access?).
It looks like deleting
windowState
solved the issue; webcord launches now without errors. Sorry to take up your time!FYI this error meant WebCord was unable to read this file at all, so it was probably a permissions error (lack of read access?).
ah ok, so the GL errors were just a red herring. Thanks!
Aknowledgements
[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.
[ ] This issue is confirmed to be reproduceable when WebCord is packaged on at least all three latest supported Electron major releases.
[ ] This issue is reproduceable 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.[ ] 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
v22.3.3
Application version
v4.2.0
Bug description
when launching
webcord
, the following error occurs:and the application does not start.
Additional context
inxi
I installed
webcord
via the AUR. This appears to affect both the latest release,webcord-git
, andwebcord-bin