New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tellusim StarWars 20221109 demo tracing crashes #833
Comments
So Intel driver is aborting here. Per the comments here, it seems the GPU is hanging. It's hard to imagine why using apitrace would cause this. The only smoking gun I see is the warning "hiding program binary formats (https://git.io/JOM0m)". Perhaps this causes the game to use different shader representation, which in turn triggers Intel GPU hangs. See if the following patch for disabling diff --git a/wrappers/glcaps.cpp b/wrappers/glcaps.cpp
index 41900b03..58a5cdf6 100644
--- a/wrappers/glcaps.cpp
+++ b/wrappers/glcaps.cpp
@@ -201,6 +201,7 @@ static void
getInteger(const configuration *config,
GLenum pname, GLint *params)
{
+#if 0
// Disable ARB_get_program_binary
switch (pname) {
case GL_NUM_PROGRAM_BINARY_FORMATS:
@@ -218,6 +219,7 @@ getInteger(const configuration *config,
// GL_NUM_PROGRAM_BINARY_FORMATS.
return;
}
+#endif
if (params) {
*params = getConfigInteger(config, pname);
diff --git a/wrappers/gltrace.py b/wrappers/gltrace.py
index 5acc2d05..54cc854e 100644
--- a/wrappers/gltrace.py
+++ b/wrappers/gltrace.py
@@ -254,8 +254,8 @@ class GlTracer(Tracer):
print('_gl_param_size(GLenum pname) {')
print(' switch (pname) {')
for function, type, count, name in glparams.parameters:
- if name == 'GL_PROGRAM_BINARY_FORMATS':
- count = 0
+ #if name == 'GL_PROGRAM_BINARY_FORMATS':
+ # count = 0
if type is not None:
print(' case %s: return %s;' % (name, count))
print(' default:')
@@ -850,7 +850,7 @@ class GlTracer(Tracer):
# Force glProgramBinary to fail. Per ARB_get_program_binary this
# should signal the app that it needs to recompile.
- if function.name in ('glProgramBinary', 'glProgramBinaryOES'):
+ if function.name in ('glProgramBinary', 'glProgramBinaryOES') and False:
print(r' binaryFormat = 0xDEADDEAD;')
print(r' binary = &binaryFormat;')
print(r' length = sizeof binaryFormat;') |
Nevermind, |
When it's running outside apitrace it's extremely slow, but does work.
The text was updated successfully, but these errors were encountered: