Pawel
January 29, 2022, 11:00am
1
Hi!
I started working on Ubuntu 20.04.3 LTS and I can not open any game object or collection with visual components (GUI, atlases, tilemaps, etc) or those visual components separately. Only scripts, .project, .input_binding files are opening correctly.
I submitted issues:
opened 10:56AM - 29 Jan 22 UTC
closed 09:56PM - 29 Jan 22 UTC
bug
linux
### Expected behaviour
Openning collections correctly.
### Actual behaviour
W… hen opening collection (with GUI components) the error occurs and nothing is opened/visible in the Editor
### Steps to reproduce
On Ubuntu 20.04.3 LTS open Defold, and open collection with some kind of visual representation (GUI, sprites, tilemaps).
Restarting Defold does not resolve the issues. It happens in any project. Scripts are opening normally. Only objects with visual components.
<hr/>
<table>
<tr><td>Build time</td><td>2021-10-18T08:40:15.071173</td></tr>
<tr><td>Defold channel</td><td>editor-alpha</td></tr>
<tr><td>Defold editor sha</td><td>6bfeea3b13d7b8920483ea2cba9c181a8650b84d</td></tr>
<tr><td>Defold engine sha</td><td>6bfeea3b13d7b8920483ea2cba9c181a8650b84d</td></tr>
<tr><td>Defold version</td><td>1.2.188</td></tr>
<tr><td>Error</td><td><a href='https://sentry.io/organizations/defold/issues/?query=id%3A"19665a8ff3ca4baca47b97ec5cda9c09"'>19665a8ff3ca4baca47b97ec5cda9c09</a></td></tr>
<tr><td>GPU</td><td>Mesa Intel(R) UHD Graphics (CML GT2)</td></tr>
<tr><td>GPU Driver</td><td>OpenGL ES-CM 1.1 Mesa 21.0.3</td></tr>
<tr><td>Java version</td><td>11.0.1+13</td></tr>
<tr><td>OS arch</td><td>amd64</td></tr>
<tr><td>OS name</td><td>Linux</td></tr>
<tr><td>OS version</td><td>5.11.0-46-generic</td></tr>
<table>
When opening GUI component in Editor I have a different error message:
opened 10:56AM - 29 Jan 22 UTC
closed 09:43PM - 29 Jan 22 UTC
bug
linux
### Expected behaviour
Opening GUI component correctly
### Actual behaviour
W… hen opening GUI the error occurs and nothing is opened/visible in the Editor
### Steps to reproduce
Restarting Defold does not resolve the issues. It happens in any project I open. Scripts are opening normally. Only objects with visual components.
<hr/>
<table>
<tr><td>Build time</td><td>2021-10-18T08:40:15.071173</td></tr>
<tr><td>Defold channel</td><td>editor-alpha</td></tr>
<tr><td>Defold editor sha</td><td>6bfeea3b13d7b8920483ea2cba9c181a8650b84d</td></tr>
<tr><td>Defold engine sha</td><td>6bfeea3b13d7b8920483ea2cba9c181a8650b84d</td></tr>
<tr><td>Defold version</td><td>1.2.188</td></tr>
<tr><td>Error</td><td><a href='https://sentry.io/organizations/defold/issues/?query=id%3A"c8c22b76ebeb41849fb1ebf6b7079f27"'>c8c22b76ebeb41849fb1ebf6b7079f27</a></td></tr>
<tr><td>GPU</td><td>Mesa Intel(R) UHD Graphics (CML GT2)</td></tr>
<tr><td>GPU Driver</td><td>OpenGL ES-CM 1.1 Mesa 21.0.3</td></tr>
<tr><td>Java version</td><td>11.0.1+13</td></tr>
<tr><td>OS arch</td><td>amd64</td></tr>
<tr><td>OS name</td><td>Linux</td></tr>
<tr><td>OS version</td><td>5.11.0-46-generic</td></tr>
<table>
Defold version: 1.2.188 alpha
Editor SHA1: 6bfeea3b13d7b8920483ea2cba9c181a8650b84d
Engine SHA1: 6bfeea3b13d7b8920483ea2cba9c181a8650b84d
It’s not something of priority, as I can easily switch back to Windows, however it looks strange and definitely worth reporting
Pawel
January 29, 2022, 4:29pm
3
Thank you!
$ MESA_GL_VERSION_OVERRIDE=2.1 ./Defold
Solves the issue, however it needs to be done each time I open Defold and obviously can not be done while openning it from Steam (which I do for convenience and to log the time using Defold )
I’m checking out launch options: Steam Support :: Setting Game Launch Options
However, a thought about it, because it’s not the first time the error message is giving no vital information - is it possible to improve the messages? Like in this case, if it occurs only on Linux based OS, could it point out the problem and link to the FAQ perhaps?
Potota
January 29, 2022, 4:44pm
4
You can set the launch options in Steam to MESA_GL_VERSION_OVERRIDE=2.1 %command%
and it should work.
3 Likes
Pawel
January 29, 2022, 5:42pm
5
Yes, indeed, it is working