System Environment: -------------------------- --Platform:Q965 --Architecture(32-bit,64-bit,compatiblity): 32bit kernel: 2.6.23 drm commit 62df4f0a48776e55443d7f61a41e1ed0fb77b6ed mesa commit 544ab209e75ec3646d7edbafd736dcf4c93738cc xf86_video_intel commit 4fec18e07f2b23306e885d63c74661ae0e4b04d9 xserver commit 180a5aba4de3104fed8bc4e7d42a1e3a51575318 Bug detailed description: -------------------------- glean case glsl1 abort with: glean: brw_vtbl.c:95: brw_new_batch: Assertion `!brw->no_batch_wrap' failed. Aborted (core dumped) Reproduce steps: ---------------- 1. start X 2. ./glean -r test -t +glsl1 Current result: ---------------- glean abort with Assertion `!brw->no_batch_wrap' Expected result: ---------------- run normally
backtrace: (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0x4694c159 in raise () from /lib/libc.so.6 #2 0x4694d6e3 in abort () from /lib/libc.so.6 #3 0x46945abd in __assert_fail () from /lib/libc.so.6 #4 0xb7b55bd6 in brw_new_batch (intel=0x8108f00) at brw_vtbl.c:95 #5 0xb7b0a43b in _intel_batchbuffer_flush (batch=0x8132bb8, file=0xb7cd0227 "../intel/intel_batchbuffer.h", line=123) at intel_batchbuffer.c:187 #6 0xb7b0a5d7 in intel_batchbuffer_data (batch=0x8132bb8, data=0xbff47814, bytes=24, cliprect_mode=LOOP_CLIPRECTS) at ../intel/intel_batchbuffer.h:123 #7 0xb7b386e9 in brw_draw_prims (ctx=0x8108f00, arrays=0x813ae40, prim=0x813999c, nr_prims=1, ib=0x0, min_index=0, max_index=3) at brw_draw.c:149 #8 0xb7bebb3e in vbo_exec_vtx_flush (exec=0x8139878) at vbo/vbo_exec_draw.c:215 #9 0xb7be77b0 in vbo_exec_FlushVertices (ctx=0x8108f00, flags=1) at vbo/vbo_exec_api.c:685 #10 0xb7c8c484 in _mesa_ReadPixels (x=48, y=48, width=1, height=1, format=6408, type=5126, pixels=0xbff47d84) at main/drawpix.c:277 #11 0xb7f23eb3 in glReadPixels (x=48, y=48, width=1, height=1, format=6408, type=5126, pixels=0xbff47d84) at ../../../src/mesa/glapi/glapitemp.h:1365 #12 0x0807031a in GLEAN::GLSLTest::testProgram (this=0x80ecb40, p=@0x80c4964) at tglsl1.cpp:3308 ---Type <return> to continue, or q <return> to quit--- #13 0x080704c3 in GLEAN::GLSLTest::runOne (this=0x80ecb40, r=@0x812a088, w=@0xbff47e38) at tglsl1.cpp:3376 #14 0x0805a81f in GLEAN::BaseTest<GLEAN::MultiTestResult>::run ( this=0x80ecb40, environment=@0xbff47ec0) at tbase.h:290 #15 0x0805443b in main (argc=5, argv=0xbff48004) at main.cpp:128
not only this program has the issue, you will also see this issue in cubemap and manywin, I have fixed it on git, commit 15653b5d88c0f88f49c2d5497b4fb9e045f53560 please check and close the relevant bugs
verified, thanks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.