godot: GLES3 freezes with Mesa 18.3+ [upstream]

Godot has just started locking up at seemingly random recently.

I had it working fine, then did some OS updates (I’m running Manjaro Linux) and now it locks every now and then and gives no indication of what is going on.

I have the latest master branch (as of today 5/01/2018 - Git head: 5e6c6f3bb)

I run through a debugger and broke when the lock up was occurring and the problematic line is this: glLinkProgram(v.id);

in shader_gles3.cpp line 475. this line blocks and causes godot to lock up.

this does not occur if i change to GLES2 rendering.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Looks like a nice fix is on it’s way to mesa, compiling mesa seems a bit much for my PC but I’ll be able to test whenever an updated mesa hits arch’s testing

It’s now fixed in 18.3.3, good job guys! https://mesa3d.org/relnotes/18.3.3.html

The upstream contributor who fixed it mentioned that it should be included in the next 18.3.x release (18.3.3) as well as 19.0.0.

Keeping open for now for others would might experience the issue, we can close it once 18.3.3 is released.

I’ve just compiled and installed mesa from source and the problem is fixed here!

I can also confirm that it is fixed on mesa-git.

An interesting development, I was playing around with Ubuntu 18.10 and while Godot (beta 2 and git) works on the official, stable mesa (18.2.2), switching to a PPA with 18.3.1 immediately caused the hanging on glLinkProgram again. Purging the PPA and downgrading to 18.2.2 then causes Godot to run fine once more, so I suppose this may be an issue with mesa or Godot more generally (or at least more widespread than Arch), though I don’t have anything more useful beyond that unfortunately