https://bugs.freedesktop.org/show_bug.cgi?id=55951
Priority: medium Bug ID: 55951 Assignee: dri-devel@lists.freedesktop.org Summary: [regression] Torchlight segfault at start with Mesa 9.0/git Severity: normal Classification: Unclassified OS: All Reporter: sa@whiz.se Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 68521 --> https://bugs.freedesktop.org/attachment.cgi?id=68521&action=edit backtrace
The latest build of the game Torchlight segfaults on start with Mesa 9.0 or git master. The crash happens in BlitNtoNCopyAlpha () in SDL2, but only if the game is set to launch full-screen.
Bisecting finds this commit:
0671400dcc72553b5f9719639e86069a1734dbe5 is the first bad commit commit 0671400dcc72553b5f9719639e86069a1734dbe5 Author: Marek Olšák maraeo@gmail.com Date: Mon Jan 30 08:54:01 2012 +0100
r600g: remove more dead code
:040000 040000 58df98411f4a2cf7dc210e8f1cd62007e6c1e498 9cb5194b10e5ff5dd0d1e0eb5da6cd834528beab M src
I tried reverting this on master but it seems dependent on other changes, so it doesn't build. OTOH, the commit immediately prior to this one, 74027a9ba250f07a77ee40e105c50c27e4fc3bc0 is working so it's probably the right one.
I'm not sure if this is a driver problem or a bug in SDL, considering that earlier builds of the game worked fine with Mesa 9.0.
System environment: -- system architecture: 32-bit -- Linux distribution: Debian unstable -- GPU: REDWOOD -- Model: XFX Radeon HD 5670 1GB -- Display connector: DVI -- xf86-video-ati: 6.14.4 -- xserver: 1.12.4 -- mesa: 8.0.2 -- drm: 2.4.39 -- kernel: 3.5.2
https://bugs.freedesktop.org/show_bug.cgi?id=55951
--- Comment #1 from Sven Arvidsson sa@whiz.se --- This is still a problem with Mesa 9.2 and the game build from 2013-05-21, but something has changed, now I get a BadDrawable error and the game exits so there's no crash or backtrace to get:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 137 (DRI2) Minor opcode of failed request: 3 (DRI2CreateDrawable) Resource id in failed request: 0x3800002 Serial number of failed request: 23 Current serial number in output stream: 25
https://bugs.freedesktop.org/show_bug.cgi?id=55951
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Summary|[regression] Torchlight |[regression] Torchlight |segfault at start with Mesa |exits with BadDrawable |9.0/git |(invalid Pixmap or Window | |parameter) Component|Drivers/Gallium/r600 |Mesa core
--- Comment #2 from Sven Arvidsson sa@whiz.se --- Reassigning to mesa core as this has also been reported on i965.
dri-devel@lists.freedesktop.org