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.
http://bugs.winehq.org/show_bug.cgi?id=24800
--- Comment #1 from Fabio fabio.ped@libero.it 2010-10-18 05:16:51 CDT --- Created an attachment (id=31364) --> (http://bugs.winehq.org/attachment.cgi?id=31364) wine output with mesa git master r300 gallium driver - WITH GL_ARB_texture_rg DISABLED
http://bugs.winehq.org/show_bug.cgi?id=24800
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #2 from Roderick Colenbrander thunderbird2k@gmail.com 2010-10-19 13:58:09 CDT --- What does the output of glxinfo look like? After having a more closer look at the spec it seems to say that while texture_rg adds single and dual color formats, the float versions are only around when ARB_texture_float is also around. Right now we indeed only check for texture_rg and assume in case it is around, the float formats must also be around.
http://bugs.winehq.org/show_bug.cgi?id=24800
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2010-10-19 14:02:00 CDT --- This is a known issue. The format table can currently only check for a single extension.
http://bugs.winehq.org/show_bug.cgi?id=24800
--- Comment #4 from Fabio fabio.ped@libero.it 2010-10-20 01:54:09 CDT --- Created an attachment (id=31394) --> (http://bugs.winehq.org/attachment.cgi?id=31394) glxinfo of r300 gallium on mesa master
http://bugs.winehq.org/show_bug.cgi?id=24800
Pavel Ondracka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Pavel Ondracka drakkk@centrum.cz 2010-10-20 03:47:03 CDT --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=24800
--- Comment #6 from Henri Verbeet hverbeet@gmail.com 2010-11-08 12:16:24 CST --- Should be fixed by 7a64870014b22f4c9ce1b2557f1ab18ef425f226.
http://bugs.winehq.org/show_bug.cgi?id=24800
Pavel Ondracka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |drakkk@centrum.cz
--- Comment #7 from Pavel Ondracka drakkk@centrum.cz 2011-01-17 09:56:00 CST --- (In reply to comment #6)
Should be fixed by 7a64870014b22f4c9ce1b2557f1ab18ef425f226.
Confirming fixed.
http://bugs.winehq.org/show_bug.cgi?id=24800
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2011-01-17 10:04:42 CST --- Resolving FIXED.
http://bugs.winehq.org/show_bug.cgi?id=24800
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-01-21 13:44:07 CST --- Closing bugs fixed in 1.3.12.
http://bugs.winehq.org/show_bug.cgi?id=24800
--- Comment #10 from Fabio fabio.ped@libero.it 2011-01-26 07:44:01 CST --- (In reply to comment #6)
Should be fixed by 7a64870014b22f4c9ce1b2557f1ab18ef425f226.
Can this backported to 1.2.x?
http://bugs.winehq.org/show_bug.cgi?id=24800
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
--- Comment #11 from Henri Verbeet hverbeet@gmail.com 2011-01-26 08:03:01 CST --- (In reply to comment #10)
(In reply to comment #6)
Should be fixed by 7a64870014b22f4c9ce1b2557f1ab18ef425f226.
Can this backported to 1.2.x?
Probably, it's not very invasive.
http://bugs.winehq.org/show_bug.cgi?id=24800
--- Comment #12 from Jon Severinsson jon@severinsson.net 2011-03-02 05:39:06 CST --- Created an attachment (id=33502) --> (http://bugs.winehq.org/attachment.cgi?id=33502) wined3d: Don't use floating point textures without ARB_texture_float.
(In reply to comment #11)
(In reply to comment #10)
Can this backported to 1.2.x?
Probably, it's not very invasive.
Backport for wine-1.2.2, works for me.
http://bugs.winehq.org/show_bug.cgi?id=24800
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---