Occurs when trying to start Need for Speed Most Wanted (NFSMW) which has only black screen.
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.
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).
Sorry, I forget to say, I'm using Mesa 7.11.1 on an updated Debian Testing with Gnome3.2 fallback and compiz.
Can you try running it with the RADEON_DEBUG=tex env var set and attach the output?
Created attachment 54269 [details]
output from banshee session with RADEON_DEBUG=tex
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
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
@@ -854,6 +854,8 @@ radeon_update_wrapper(struct gl_context *ctx, struct radeon_renderbuffer *rrb,
rrb->base.DataType = GL_UNSIGNED_INT_24_8_EXT;
+ 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()");
Created attachment 54287 [details]
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.
Created attachment 54712 [details]
'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).