Summary: | [swrast] Mesa xdemo manywin aborted | ||
---|---|---|---|
Product: | Mesa | Reporter: | wang,jinjin <jinjin.wang> |
Component: | Mesa core | Assignee: | Kristian Høgsberg <krh> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | mesa-dev, prahal, xunx.fang |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 30124 |
Description
wang,jinjin
2010-09-16 23:45:52 UTC
mesa: fd266ec62ca772a8551d2d7922d718d9d84bdf07 (master) mesa: 83917660f1323bd8a50e8ba6ed2ff33d36880371 (7.9) 'manywin 2' runs without crashing for me on swrast, softpipe, and llvmpipe. (In reply to comment #0) Also here : I add this comment as I found out that "manywindow -s 2" works while "manywindow 2" does not. If it makes any sense that may help narrow the issue. Any clue welcomed (blender also crash this way when opening a second window, ie opening file>user preferences). $ manywin 2 2 windows 0, 0 Name: 0 Display: 0xcf3010 Window: 0x4600002 Context: 0xd03b80 GL_VERSION: 2.1 Mesa 7.10-devel GL_VENDOR: Advanced Micro Devices, Inc. GL_RENDERER: Mesa DRI R600 (RS780 9612) 20090101 TCL DRI2 100, 0 sharing Name: 1 Display: 0x1073a40 Window: 0x4800002 Context: 0x1090020 GL_VERSION: 2.1 Mesa 7.10-devel GL_VENDOR: Advanced Micro Devices, Inc. GL_RENDERER: Mesa DRI R600 (RS780 9612) 20090101 TCL DRI2 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 153 (GLX) Minor opcode of failed request: 11 (X_GLXSwapBuffers) Serial number of failed request: 42 Current serial number in output stream: 42 I nailed it down to 16887d042a917fa4773e4d853f50051b54e9948 . Reverting this one with a little of hand cleanup on glxcurrent as it does not revert cleanly for this file fixes the issue. This was an old garbage collector removal that was supposed not to be of any use. Kristian can you take a look. *** Bug 30224 has been marked as a duplicate of this bug. *** I confirm the first bad commit is 16887d042a917fa4773e4d853f50051b54e9948. commit 16887d042a917fa4773e4d853f50051b54e9948c Author: Kristian Høgsberg <krh@bitplanet.net> AuthorDate: Fri Aug 27 12:40:11 2010 -0400 Commit: Kristian Høgsberg <krh@bitplanet.net> CommitDate: Wed Sep 8 09:20:42 2010 -0400 glx: Drop broken drawable garbage collection Doesn't work for pixmaps, was looking up the GLX XID and was never thread safe. Instead, just destroy the client side structures when the drawable is no long current for a context. I just pushed 441344ba7ed2a1d162ee33ac4bac4bf645188ceb which fixes manywin here. I couldn't find the file->user preferences menu in blender and I couldn't find any other way to make it open a new window, so I'm not sure if that's fixed. The issue is fxed both in blender 2.54 and manywin 2. With (master)441344ba7ed2a1d162ee33ac4bac4bf645188ceb , Mesa xdemo manywin using i965 can not abort, but using swrast, it also aborted. Kristian: I bisected a crash in Warsow to your commit 441344ba7ed2a1d162ee33ac4bac4bf645188ceb. Warsow dies with: X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 0 () Serial number of failed request: 27 Current serial number in output stream: 29 or X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 0 () Serial number of failed request: 53 Current serial number in output stream: 53 Reverting 441344ba7ed2a1d162ee33ac4bac4bf645188ceb on top of current master fixes it. It works fine on swrast. Abort still happenes on i915/i965 driver, but it is new abort, Pls see bug 41736. Marks it as resolved. |
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.