http://bugs.winehq.org/show_bug.cgi?id=24800
Summary: wine try to use float texture even if driver don't support them Product: Wine Version: 1.2.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fabio.ped@libero.it
Created an attachment (id=31363) --> (http://bugs.winehq.org/attachment.cgi?id=31363) wine output with mesa git master r300 gallium driver
The game Panzers II shows lot of wine warnings and mesa errors like: Mesa: User error: GL_INVALID_VALUE in glTexImage2D(internalFormat=0x822e) err:d3d:check_fbo_compat >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from Framebuffer format check @ utils.c / 968 fixme:d3d:check_fbo_compat Format WINED3DFMT_R32_FLOAT with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
Full output is attached.
According to a mesa developer the problem is that current mesa git master implements ARB_texture_rg and wine thinks it also support R16G16_FLOAT textures: https://bugs.freedesktop.org/show_bug.cgi?id=30823
Indeed when disabling such mesa extension with the env variable: MESA_EXTENSION_OVERRIDE=-GL_ARB_texture_rg
the warnings no longer appear (output also attached).
Other than the warning I see no obvious visual differences. I am using wine 1.2.1 found on Ubuntu 10.10 with a Radeon X1600 (RV530) card using the gallium r300 driver.