<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa freezes when the GLSL shader contains a `for` loop with an uninitialized `i` index/counter variable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105755#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa freezes when the GLSL shader contains a `for` loop with an uninitialized `i` index/counter variable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105755">bug 105755</a>
from <span class="vcard"><a class="email" href="mailto:swyterzone+mesa3d@gmail.com" title="Swyter <swyterzone+mesa3d@gmail.com>"> <span class="fn">Swyter</span></a>
</span></b>
<pre>@imirkin I'm just doing this, nothing too fancy:
<span class="quote">> glEnable(GL_DEBUG_OUTPUT);
> glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS); GL_ASSERT;
> glDebugMessageCallback(GLErrorCallback, NULL); GL_ASSERT;
> glDebugMessageControl(
> GL_DONT_CARE,
> GL_DONT_CARE,
> GL_DONT_CARE,
> 0,
> NULL,
> TRUE
> ); GL_ASSERT;</span >
If you take a look at the game log above you can see that it spits the compiler
info stats. Maybe I'm doing something wrong.
Anyway, here is a backtrace from a customer using i965 with an Intel(R) HD
Graphics 520. He is running a release build of Mesa, so it doesn't come with
debug symbols, but you can see that it is stuck at a DRI syscall at the end of
the frame, just like you said:
<a href="https://www.reddit.com/r/linux_gaming/comments/81t838/sphinx_and_the_cursed_mummy_freezes_at_intro/dvjsvop/">https://www.reddit.com/r/linux_gaming/comments/81t838/sphinx_and_the_cursed_mummy_freezes_at_intro/dvjsvop/</a>
The only thing that appears in the stdout/err log from the driver side is this:
<span class="quote">> i965: Failed to submit batchbuffer: Input/output error</span >
(<a href="https://www.reddit.com/r/linux_gaming/comments/81t838/sphinx_and_the_cursed_mummy_freezes_at_intro/dvjhza6/">https://www.reddit.com/r/linux_gaming/comments/81t838/sphinx_and_the_cursed_mummy_freezes_at_intro/dvjhza6/</a>)
Some of the other replies in that reddit thread may be of interest. I told him
to use the LIBGL_DEBUG=verbose env var, but it doesn't look too chatty.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>