https://bugs.freedesktop.org/show_bug.cgi?id=41170
Summary: [RV250Lf] Unexpected texture format in radeon_update_wrapper() Product: Mesa Version: git Platform: x86 (IA32) URL: http://bugs.winehq.org/show_bug.cgi?id=22459 OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/r200 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: johannesobermayr@gmx.de
Occurs when trying to start Need for Speed Most Wanted (NFSMW) which has only black screen.
Log: http://bugs2.winehq.org/attachment.cgi?id=35515
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #1 from Johannes Obermayr johannesobermayr@gmx.de 2011-09-25 11:15:12 PDT ---
From the log: Mesa 7.12-devel implementation error: Unexpected texture format in radeon_update_wrapper() Please report at bugs.freedesktop.org
This also happens with the wine tests. I wanted to add this on the Mesa bug, but I don't have my password at the moment(different keychain). For the Mesa devs debugging the tests may be easier than debugging NFS:MW.
(see: http://bugs.winehq.org/show_bug.cgi?id=22459#c6)
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #2 from Marco Albanese delian2@gmail.com 2011-12-09 02:35:24 PST --- I've the same bug when using ClutterFlow extension on banshee on my Radeon Mobility 7500 ( RV200, R100 chip).
It make the application crash when I hide the ClutterFlow interface, until then it works as expected.
Let me know if you need more information or I've to fill a new bug since the chip is differend (but IIRC the module is the same).
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #3 from Marco Albanese delian2@gmail.com 2011-12-09 02:37:09 PST --- Sorry, I forget to say, I'm using Mesa 7.11.1 on an updated Debian Testing with Gnome3.2 fallback and compiz.
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #4 from Alex Deucher agd5f@yahoo.com 2011-12-09 06:20:08 PST --- Can you try running it with the RADEON_DEBUG=tex env var set and attach the output?
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #5 from Marco Albanese delian2@gmail.com 2011-12-09 06:47:01 PST --- Created attachment 54269 --> https://bugs.freedesktop.org/attachment.cgi?id=54269 stdout and stderr from banshee session with a crash
The step I've done to reproduce the crash: 1) Open banshee with the ClutterFlow extension enabled but hidden 2) Show the ClutterFlow Panel 3) Hide the ClutterFlow Panel
https://bugs.freedesktop.org/show_bug.cgi?id=41170
Marco Albanese delian2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #54269|stdout and stderr from |output from banshee session description|banshee session with a |with RADEON_DEBUG=tex |crash |
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #6 from Alex Deucher agd5f@yahoo.com 2011-12-09 06:58:19 PST --- argh, the output from the function I wanted it TRACE level only. Can you attach the output of this patch:
diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c b/src/mesa/drivers/dri/radeon/radeon_fbo.c index 3140657..5badadd 100644 --- a/src/mesa/drivers/dri/radeon/radeon_fbo.c +++ b/src/mesa/drivers/dri/radeon/radeon_fbo.c @@ -854,6 +854,8 @@ radeon_update_wrapper(struct gl_context *ctx, struct radeon_renderbuffer *rrb, rrb->base.DataType = GL_UNSIGNED_INT_24_8_EXT; break; default: + fprintf("%s(%p, rrb %p, texImage %p, texFormat %s) \n", + __func__, ctx, rrb, texImage, _mesa_get_format_name(texImage->TexFormat)); _mesa_problem(ctx, "Unexpected texture format in radeon_update_wrapper()"); }
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #7 from Marco Albanese delian2@gmail.com 2011-12-10 03:12:06 PST --- Created attachment 54287 --> https://bugs.freedesktop.org/attachment.cgi?id=54287 Banshee crash with the patch in radeon_fbo.c
Sorry, it is the first time I rebuild a pkg on Debian.
I've rebuild the whole mesa and installed only the package which contains radeon_dri ( which I suppose is build from radeon_fbo.c ), the pkg libgl1-mesa-dri. However now, trying to show the ClutterFlow panel makes banshee crash.
Output attached.
https://bugs.freedesktop.org/show_bug.cgi?id=41170
--- Comment #8 from Johannes Obermayr johannesobermayr@gmx.de 2011-12-22 12:35:52 PST --- Created attachment 54712 --> https://bugs.freedesktop.org/attachment.cgi?id=54712 'grep radeon_update_wrapper' from debug build
OpenGL version string: 1.3 Mesa 7.12-devel (9f8573b)
I hope this is enough. I can also provide the full log (~3.2 MiB uncompressed).
dri-devel@lists.freedesktop.org