[Mesa-dev] [Bug 96979] Mesa 10.5.7 implementation error: Trying to disable permanently enabled extensions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 18 19:40:16 UTC 2016


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

            Bug ID: 96979
           Summary: Mesa 10.5.7 implementation error: Trying to disable
                    permanently enabled extensions
           Product: Mesa
           Version: 10.5
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: b7.10110111 at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

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 https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
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.

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


More information about the mesa-dev mailing list