spec.arb_framebuffer_no_attachments.arb_framebuffer_no_attachments-atomic fails on byt and bsw, beginning with mesa 83199998310591b9162ab12e922ed79ee235b5c8 Standard Output /tmp/build_root/m32/lib/piglit/bin/arb_framebuffer_no_attachments-atomic -auto -fbo Standard Error compare_counter (subtest glViewport): expected 4, got 0
This is NOT a framebuffer_no_attachment bug. Changing the test to NOT bind a framebuffer, essentially commenting out from tests/spec/arb_framebuffer_no_attachments/atomic.c the block that binds an attachmentless FBO: glBindFramebuffer(GL_FRAMEBUFFER, fbo); /* Setup default width and height. */ glFramebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, piglit_width); glFramebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, piglit_height); /* Check that fbo is marked complete. */ if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) piglit_report_result(PIGLIT_FAIL); prog = piglit_build_simple_program(vs_source, fs_source); /* Check that there are no errors. */ if (!prog || !piglit_check_gl_error(GL_NO_ERROR)) piglit_report_result(PIGLIT_FAIL); produces the exact same error, i.e. this error is independent of FBO no attachments and for that matter FBO's. The bug source is likely to be a cache flush issue that manifests on atoms() only. Changing the reset_count() implementation to instead use glBufferData (creating a new BO) makes the test pass.
atoms() meaning atoms(byt, bsw)
Arr.. and the block to comment out is exactly this: glBindFramebuffer(GL_FRAMEBUFFER, fbo); /* Setup default width and height. */ glFramebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, piglit_width); glFramebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, piglit_height); /* Check that fbo is marked complete. */ if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) piglit_report_result(PIGLIT_FAIL); (For whatever reason I included in the past the next 4 lines). -Kevin
This bug is intermittent. I am disabling the test on the mesa-ci jenkins system.
This test failure reproduced on BDWGT2 during this morning's test run.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1484.
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.