Error messages when running gnome text editor
Windows build number:
Microsoft Windows NT 10.0.22631.0
Your Distribution version:
22.04
Your WSL versions:
WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.2715
Steps to reproduce:
- Follow installation instructions from Microsoft Documentation to get the GNOME text editor.
- Open WSL and run
gnome-text-editor ~/.bashrc. - Use the text editor in any way you want.
- Observe the command line.
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
No error messages in the command line.
Actual behavior:
Gsk-Message: 20:04:29.794: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandToplevel': libEGL not available
Gsk-Message: 20:04:38.336: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandPopup': libEGL not available
Gsk-Message: 20:04:38.844: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandPopup': libEGL not available
(gnome-text-editor:7575): Gdk-WARNING **: 20:04:38.845: Compositor doesn't support moving popups, relying on remapping
Gsk-Message: 20:04:46.697: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandPopup': libEGL not available
Gsk-Message: 20:04:50.331: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandPopup': libEGL not available
(gnome-text-editor:7575): editor-document-WARNING **: 20:04:53.410: Failed to save cursor position: Setting attribute metadata::gte-cursor not supported
I'm facing the same issue as well
This is not a bug, and not a problem with WSLg or WSL. A) None of the messages are errors. B) It can happen on Linux machines C) This is normal behaviour of Linux apps. If the fact that the app prints out messages is a problem, bring it up with the app devs.
As gnome-text-editor is provided as an example at https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps it would be good to have this error with more context or suppressed for wsl.
$ gnome-text-editor
Gsk-Message: 11:09:39.976: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandToplevel': libEGL not available
I am having the issue with:
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3296
Ubuntu release 22.04
The renderer initialization failed because the libEGL library is not available.
sudo apt-get install libegl1-mesa
And
export GSK_RENDERER=cairo
You could add this variable to /etc/profile for persistence.