[Linux] GLSL ES 3.20 is not supported #10405
Labels
area/skia ✏️
Categorizes an issue or PR as relevant to Skia
difficulty/challenging 🤯
Categorizes an issue for which the difficulty level is reachable with internals understanding
kind/bug
Something isn't working
platform/gtk
Categorizes an issue or PR as relevant to GTK
platform/linux 🐧
Categorizes an issue or PR as relevant to Linux platforms
project/core-tools 🛠️
Categorizes an issue or PR as relevant to core and tools
Current behavior
The command "dotnet run" on the Gtk project is displaying a blank window. This message is displayed in the console:
I have the same problem with a release executable (generated with "dotnet publish -c release").
Expected behavior
The command "dotnet run" on the Gtk project should be displaying a window containing this text: "Hello, world!", without a GLSL error in the console.
How to reproduce it (as minimally and precisely as possible)
I generated a new project Uno project on Ubuntu 18.04.6 inside a VM. The WM was launched from a Windows machine. The Ubuntu iso I used to create the VM is "ubuntu-18.04.6-desktop-amd64.iso".
I don't have a real Linux machine, I don't know if the bug is due to the VM environment or not. But I verified that the Gtk project is working on Windows.
To create a reproduction project, you will just have to use the command "dotnet new unoapp -o TestUnoApp"
Workaround
It is possible to call "dotnet run" with an environment variable to force the OpenGL version that should be used.
for instance:
MESA_GL_VERSION_OVERRIDE="3.00 ES" dotnet run
Works on UWP/WinUI
No response
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia, Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
NuGet package version(s)
4.6.19
SkiaSharp: 2.88.3
Affected platforms
Skia (GTK on Linux/macOS/Windows)
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: