https://bugs.freedesktop.org/show_bug.cgi?id=109229
Bug ID: 109229 Summary: glLinkProgram locks up for ~30 seconds Product: Mesa Version: 18.3 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: bronsonmathews@gmail.com QA Contact: dri-devel@lists.freedesktop.org
A recent updated to Manjaro/Arch has caused the Godot Engine to lock up when it calls glLinkProgram. This appears to be a Mesa 18.3 bug as the issue has started recently and so has 18.3 been rolled out recently in Manjaro.
Here are URL's to bug reports on the Godot forum that should provide further information: https://github.com/godotengine/godot/issues/24362 https://github.com/godotengine/godot/issues/24783 https://github.com/godotengine/godot/issues/24340
https://bugs.freedesktop.org/show_bug.cgi?id=109229
--- Comment #1 from Timothy Arceri t_arceri@yahoo.com.au --- Can you try to bisect the commit where things chnages between 18.2 and 18.3?
https://bugs.freedesktop.org/show_bug.cgi?id=109229
--- Comment #2 from smt smtea923@gmail.com --- This issue seems to be affecting me too, some people say it's been fixed in 18.2.3/.4 however I'm running 18.3.1 and definitely have the same symptoms in regards to Godot freezing up, I don't know much so can't be more help, there seems to be some discussion relating to the issue here though:
https://bugzilla.redhat.com/show_bug.cgi?id=1646888
https://bugs.freedesktop.org/show_bug.cgi?id=109229
--- Comment #3 from Timothy Arceri t_arceri@yahoo.com.au --- (In reply to smt from comment #2)
This issue seems to be affecting me too, some people say it's been fixed in 18.2.3/.4 however I'm running 18.3.1 and definitely have the same symptoms in regards to Godot freezing up, I don't know much so can't be more help, there seems to be some discussion relating to the issue here though:
Are you sure that is the same bug? That one wasn't a Mesa bug it was a bug in GCC.
https://bugs.freedesktop.org/show_bug.cgi?id=109229
--- Comment #4 from smt smtea923@gmail.com --- (In reply to Timothy Arceri from comment #3)
(In reply to smt from comment #2)
This issue seems to be affecting me too, some people say it's been fixed in 18.2.3/.4 however I'm running 18.3.1 and definitely have the same symptoms in regards to Godot freezing up, I don't know much so can't be more help, there seems to be some discussion relating to the issue here though:
Are you sure that is the same bug? That one wasn't a Mesa bug it was a bug in GCC.
uh yeah sorry, I think that might be right, the symptoms are all very similar and the versions so close it's getting a little confusing for me to figure it all out to be honest
https://bugs.freedesktop.org/show_bug.cgi?id=109229
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO
--- Comment #5 from Timothy Arceri t_arceri@yahoo.com.au --- Well I have no idea how to use Godot and couldn't follow the instructions in the linked bug reports. So can someone attach a sample project here and instructions to trigger this problem with it? Thanks.
https://bugs.freedesktop.org/show_bug.cgi?id=109229
--- Comment #6 from Fabian supagu@gmail.com --- Hi Tim, sorry about the slow reply.
I've added instructions on how to reproduce the problem here: https://github.com/godotengine/godot/issues/24783#issuecomment-453380560
Download build.zip and it has everything you need in there.
How would I go about bisecting the changes between 18.2 and 18.3 where things went awry?
https://bugs.freedesktop.org/show_bug.cgi?id=109229
--- Comment #7 from smt smtea923@gmail.com --- Created attachment 143144 --> https://bugs.freedesktop.org/attachment.cgi?id=143144&action=edit apitrace of godot including glLinkProgram lock up
I don't know how useful this is in this situation and I haven't done it before now but I've managed to get an apitrace of it happening inside of Godot, happening around frame 540 or 541 when I enable emission on a material (though the freeze happens on any shader change if it's changing for the first time on that build of Godot), hopefully this can help in some way
Just for clarification I am running 18.3.1 on Arch too
https://bugs.freedesktop.org/show_bug.cgi?id=109229
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Component|Drivers/Gallium/radeonsi |glsl-compiler Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org QA Contact|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes |.org |ktop.org
--- Comment #8 from Timothy Arceri t_arceri@yahoo.com.au --- Thanks for the extra info and sorry for delay in looking at this.
Fix sent to the list:
https://patchwork.freedesktop.org/patch/281427/
dri-devel@lists.freedesktop.org