[Mesa-dev] [Bug 105755] Mesa freezes when the GLSL shader contains a `for` loop with an uninitialized `i` index/counter variable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 27 02:56:48 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105755

--- Comment #9 from Swyter <swyterzone+mesa3d at gmail.com> ---
@imirkin I'm just doing this, nothing too fancy:

>	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;

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:

https://www.reddit.com/r/linux_gaming/comments/81t838/sphinx_and_the_cursed_mummy_freezes_at_intro/dvjsvop/


The only thing that appears in the stdout/err log from the driver side is this:

> i965: Failed to submit batchbuffer: Input/output error

(https://www.reddit.com/r/linux_gaming/comments/81t838/sphinx_and_the_cursed_mummy_freezes_at_intro/dvjhza6/)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180327/4fc706be/attachment-0001.html>


More information about the mesa-dev mailing list