http://bugs.winehq.org/show_bug.cgi?id=14921
Summary: Incorrect rendering of creatures in the Spore Creature Creator trial Product: Wine Version: CVS/GIT Platform: Other URL: http://www.spore.com/trial OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: andrewfenn@gmail.com
Rendering of the creatures in spore have problems (see screenshot attachment).
Steps to reproduce:
1) apply the patch in bug number 13988 to get the UI showing 2) load up spore in safemode "wine SporeCreatureCreator.exe -safe" 3) click create a creature 4) click test drive
I get the following errors which repeat in the console while in the "create a creature" screen...
fixme:d3d:scissorrect >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glScissor @ state.c / 4845 fixme:d3d:scissorrect >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glScissor @ state.c / 4845 fixme:d3d:scissorrect >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glScissor @ state.c / 4845 fixme:d3d:scissorrect >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glScissor @ state.c / 4845 fixme:d3d:scissorrect >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glScissor @ state.c / 4845 fixme:d3d:scissorrect >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glScissor @ state.c / 4845 fixme:d3d_shader:shader_glsl_load_constantsF >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB() @ glsl_shader.c / 231 fixme:d3d_shader:shader_glsl_load_constantsF >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB() @ glsl_shader.c / 257 fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 411 fixme:d3d_shader:shader_glsl_load_constantsF >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB() @ glsl_shader.c / 231
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #1 from Andrew Fenn andrewfenn@gmail.com 2008-08-20 02:55:11 --- Created an attachment (id=15497) --> (http://bugs.winehq.org/attachment.cgi?id=15497) Screenshot of the rendering bug (black squares)
http://bugs.winehq.org/show_bug.cgi?id=14921
Andrew Fenn andrewfenn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.spore.com/trial |http://www.spore.com/trial Summary|Incorrect rendering of |Spore Creature Creator |creatures in the Spore |Trial: Incorrect rendering |Creature Creator trial |of creatures
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #2 from Andrew Fenn andrewfenn@gmail.com 2008-08-20 04:43:44 --- After more testing I found out that this only happens in windowed mode.
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #3 from Rico kgbricola@web.de 2008-08-20 09:36:27 ---
- apply the patch in bug number 13988 to get the UI showing
This should be marked as invalid! Applying patches which are obviously wrong isn't the right way.
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #4 from Austin English austinenglish@gmail.com 2008-08-20 11:05:18 --- (In reply to comment #3)
- apply the patch in bug number 13988 to get the UI showing
This should be marked as invalid! Applying patches which are obviously wrong isn't the right way.
The patch fixes a _different_ issue. That patch allow the UI to come up, and once up, this bug is encountered.
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #5 from Rico kgbricola@web.de 2008-08-20 11:53:33 --- Are we talking about this patch http://bugs.winehq.org/attachment.cgi?id=15361 ? If so, please have a look at the docs (e.g. http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/scis... ). Passing invalid values to a function isn't the right way to go, is it? What do you expect as a result? I don't think it is the right behaviour because you could only expect garbage.
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #6 from Rico kgbricola@web.de 2008-08-20 12:12:18 --- You could also reach this state without applying the patch. You only have to click in the region where the buttons positions are. Could you reproduce it in this case? I couldn't in both cases. Which OffscreenRenderingMode are you using?
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #7 from Rico kgbricola@web.de 2008-08-20 13:00:47 --- Created an attachment (id=15501) --> (http://bugs.winehq.org/attachment.cgi?id=15501) dirty workaround for the menu glitch
This workaround shows the ui for a resolution 800x600. But it has to be verified with a test case. Probably OpenGL and DirectX handle the zero rect differently (glScissor(0,0,0,0) != SetScissorRect(0,0,0,0)) .
http://bugs.winehq.org/show_bug.cgi?id=14921
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14921
Andrew Fenn andrewfenn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15497|0 |1 is obsolete| |
--- Comment #8 from Andrew Fenn andrewfenn@gmail.com 2008-08-21 00:35:20 --- Created an attachment (id=15514) --> (http://bugs.winehq.org/attachment.cgi?id=15514) Screenshot of the rendering bug with latest git, no patches applied
I tested the latest git with no patches. The problem of black squares is still there although the error messages are slightly different...
fixme:d3d_shader:shader_glsl_load_constantsF >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB() @ glsl_shader.c / 231 fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 411 fixme:d3d_shader:shader_glsl_load_constantsF >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB() @ glsl_shader.c / 231 fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 411 fixme:d3d_shader:shader_glsl_load_constantsF >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB() @ glsl_shader.c / 231
Also the patch you submitted kinda worked on the UI bug but I think you should submit it in the other bug report as this bug is to do with the creature rendering rather then the User Interface.
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #9 from mizipzor mizipzor@gmail.com 2008-09-07 14:29:43 --- Created an attachment (id=15908) --> (http://bugs.winehq.org/attachment.cgi?id=15908) screenshot from when "testrunning" the creature
System info: $ lsb_release -a && uname -a && glxinfo |grep glx No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.04.1 Release: 8.04 Codename: hardy Linux hydra 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux server glx vendor string: NVIDIA Corporation server glx version string: 1.4 server glx extensions: client glx vendor string: NVIDIA Corporation client glx version string: 1.4 client glx extensions:
-----
Stuff to note in the screenshot: * Creature is not visible * Pedestal is visible * The shadow around the creatures position has traces
-----
This is with the git version of wine on Sunday, September 07 2008 without patches. Running the free creature creator trial.
http://bugs.winehq.org/show_bug.cgi?id=14921
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14921
KhaaL khalid.rashid@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #10 from KhaaL khalid.rashid@gmail.com 2008-09-08 14:28:03 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14921
Jeremiah Flerchinger flerchjj@ieee.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flerchjj@ieee.org
--- Comment #11 from Jeremiah Flerchinger flerchjj@ieee.org 2008-09-11 14:43:15 --- I get it in fullscreen or windowed mode. Bad clipping makes the teeth and tongue or mouth of creatures visible through the front of the face or top of the head. I'm using 1.1.4, but maybe I'll have to try compiling in the patch & trying it.
(In reply to comment #2)
After more testing I found out that this only happens in windowed mode.
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #12 from Rico kgbricola@web.de 2008-09-12 16:13:10 --- @Andrew: Could you retest with current git? Please add your system specifications especially your graphic card with driver version. The other big issues are fixed (DepthStencil and Scissorrect).
I couldn't reproduce the problem with my geforce 8800gts (173.14.09). I couldn't see any black squares on the creature.
http://bugs.winehq.org/show_bug.cgi?id=14921
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mccord.david@gmail.com
--- Comment #13 from Dmitry Timoshkov dmitry@codeweavers.com 2008-09-14 20:36:08 --- *** Bug 15288 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14921
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #14 from Austin English austinenglish@gmail.com 2009-01-20 02:40:05 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14921
--- Comment #15 from Jaime Rave jaimerave@gmail.com 2009-04-01 20:36:20 --- It's Working perfect for me in Wine 1.1.18
http://bugs.winehq.org/show_bug.cgi?id=14921
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #16 from Austin English austinenglish@gmail.com 2009-04-01 23:39:50 --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=14921
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2009-04-10 11:17:05 --- Closing bugs fixed in 1.1.19.