Open songyang-dev opened 11 months ago
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.
Windows build number:
Microsoft Windows NT 10.0.22631.0
Your Distribution version:
22.04
Your WSL versions:
Steps to reproduce:
gnome-text-editor ~/.bashrc
.WSL logs:
No response
WSL dumps:
No response
Expected behavior:
No error messages in the command line.
Actual behavior: