Summary: | Texture corruption when one context gets used on multiple windows | ||
---|---|---|---|
Product: | Mesa | Reporter: | Martin Flöser <mgraesslin> |
Component: | Drivers/DRI/i965 | Assignee: | Kristian Høgsberg <krh> |
Status: | RESOLVED DUPLICATE | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | kde |
Version: | 10.1 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Apitrace showing the problem
corrupted texture |
Description
Martin Flöser
2014-05-30 09:44:36 UTC
Created attachment 100154 [details]
corrupted texture
This has now been 12 days without comment. This bug is rather major as it makes a lot of displays unreadable and affects a lot of users. Can you let us know if there is anything else we can provide to help? I've bisected this, corruption (and some qapitrace crashes with this trace) start to happen afer following commit. --- 8< --- 11baad35088dfd4bdabc1710df650dbfb413e7a3 is the first bad commit commit 11baad35088dfd4bdabc1710df650dbfb413e7a3 Author: Kristian Høgsberg <krh@bitplanet.net> Date: Tue Jan 21 12:17:03 2014 -0800 intel: Fix initial MakeCurrent for single-buffer drawables Commit 05da4a7a5e7d5bd988cb31f94ed8e1f053d9ee39 attempts to eliminate the call to intel_update_renderbuffer() in the case where we already have a drawbuffer for the drawable. Unfortunately this only checks the back left renderbuffer, which breaks in case of single buffer drawables. This means that the initial viewport will not be set in that case. Instead, we now check whether the initial viewport has not been set, in which case we call out to intel_update_renderbuffer(). https://bugs.freedesktop.org/show_bug.cgi?id=73862 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> FYI there's bugs #74005 and #74083 that are related to this issue. IMO the reason why this fails is that first makecurrent calls sets ctx.ViewportInitialized to true. Further makecurrent calls with different drawables do not trigger intel_prepare_render() call to get buffers. |
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.