<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa 10.5.7 implementation error: Trying to disable permanently enabled extensions"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96979">96979</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Mesa 10.5.7 implementation error: Trying to disable permanently enabled extensions
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>10.5
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>b7.10110111@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>I was trying to set up an environment looking as on i915 system, with actual
device being a Haswell GPU. I used the following commands to get lists of
extensions:
# get information about supported extensions on i915 machine
glxinfo -s | grep GL_ | cut -f 5 -d ' ' | sort | uniq > glxinfo.i915
# same on Haswell machine
glxinfo -s | grep GL_ | cut -f 5 -d ' ' | sort | uniq > glxinfo.haswell
Now on Haswell system I do this to disable the extensions not present on i915
system:
MESA_GL_VERSION_OVERRIDE=1.4 MESA_EXTENSION_OVERRIDE="$(diff -u
~/Dropbox/glxinfo.{haswell,i915} | grep '^-GL' | tr '\n' ' ')" gdb -ex r
glxinfo
And here's the result:
name of display: :1
Mesa 10.5.7 implementation error: Trying to disable permanently enabled
extensions: GL_APPLE_texture_max_level GL_EXT_color_buffer_float
GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_read_format_bgra
GL_EXT_separate_shader_objects GL_EXT_texture_format_BGRA8888
GL_EXT_texture_type_2_10_10_10_REV GL_EXT_unpack_subimage GL_NV_draw_buffers
GL_NV_fbo_color_attachments GL_NV_read_buffer GL_OES_depth24
GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary
GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_stencil8
GL_OES_surfaceless_context GL_OES_vertex_array_object
Please report at <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>
Mesa: User error: GL_INVALID_ENUM in glGetIntegerv(pname=GL_NUM_EXTENSIONS)
Mesa: User error: GL_INVALID_VALUE in glGetStringi(index=124)
Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2_bsf () at ../sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S:52
52 movdqu (%edi), %xmm1
(gdb) bt
#0 __strlen_sse2_bsf () at ../sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S:52
#1 0x0804c0ab in build_core_profile_extension_list (extfuncs=0xffffc520) at
glinfo_common.c:292
#2 0x08049a30 in print_screen_info (dpy=0x8055a10, scrnum=0, allowDirect=1,
coreProfile=1, es2Profile=0, limits=0, singleLine=0, coreWorked=0) at
glxinfo.c:471
#3 0x0804bb31 in main (argc=1, argv=0xffffc6d4) at glxinfo.c:1287
(gdb) f 1
#1 0x0804c0ab in build_core_profile_extension_list (extfuncs=0xffffc520) at
glinfo_common.c:292
292 totalLen += strlen(ext) + 1; /* plus a space */
The main problem being here the "Mesa 10.5.7 implementation error". On i915
Mesa version is 10.5.9, so seems it should be similar in its permanently
enabled extensions list.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>