http://bugs.winehq.org/show_bug.cgi?id=20469
Summary: Dragon Age: Origins: Texture glitches (textures frequently switching from visible to black) Product: Wine Version: 1.1.32 Platform: PC-x86-64 URL: http://blog.bioware.com/2009/10/13/character-creator-a nd-the-bioware-social-network/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: benedikt.morbach@googlemail.com
Created an attachment (id=24354) --> (http://bugs.winehq.org/attachment.cgi?id=24354) Wine output
In the Dragon Age: Origins character creator the textures and the whole screen are frequently flickering black. The higher the graphics detail, the more often it happens. If the detail is set to low, it happens more seldom, but the problem stays As the charakter creator uses the game engine, this would also prevent people from playing the "real game" when it is released.
The application can be downloaded at the given link.
In case it matters (as it is a graphics problem) graphics card is nvidia, driver version 190.42
Note: The log is full of "fixme:d3d:transform_projection >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glOrtho @ state.c / 3872" I removed 10400 of those lines to keep the size down
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #1 from Benedikt Morbach benedikt.morbach@googlemail.com 2009-10-25 14:47:20 --- Additional test results:
If run in window mode, it does not flicker black, but in various colors (rgb i think)
Unfortunately the settings described here on the AppDB page do not fix the problem for me.
http://bugs.winehq.org/show_bug.cgi?id=20469
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://blog.bioware.com/200 | |9/10/13/character-creator-a | |nd-the-bioware-social-netwo | |rk/ | Component|directx-d3d |-unknown
http://bugs.winehq.org/show_bug.cgi?id=20469
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #24354|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=20469
M. martin@seelge.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@seelge.de
--- Comment #2 from M. martin@seelge.de 2009-10-25 15:42:29 --- I can confirm the flickering textures.
Nvidia 8800 GTS (640 MB), driver version 185.18.
- some but not all can prevent the flickering on the lowest graphical setting by using the setting described in the HOWTO - it seems the flickering does not affect everyone (see test results of Claudio)
http://bugs.winehq.org/show_bug.cgi?id=20469
Rizzly rockrobban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rockrobban@gmail.com
--- Comment #3 from Rizzly rockrobban@gmail.com 2009-11-04 07:19:58 --- Confirmed also in the full version of the game with Nvidia 8800 GTS 640 MB and and the 190.42 driver.
http://bugs.winehq.org/show_bug.cgi?id=20469
vleino@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from vleino@gmail.com 2009-11-06 01:44:14 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #5 from knan-wine@anduin.net 2009-11-06 14:53:38 --- Created an attachment (id=24571) --> (http://bugs.winehq.org/attachment.cgi?id=24571) glOrtho hack
A bit of debugging reveals that the stateblock viewport minZ and maxZ are both zero.
This hack works around it for me.
http://bugs.winehq.org/show_bug.cgi?id=20469
knan-wine@anduin.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #24571|glOrtho hack |wined3d/state.c:transform_p description| |rojection/glOrtho hack
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #6 from Henri Verbeet hverbeet@gmail.com 2009-11-06 16:04:11 --- The problem is a bit more generic than that, if any of left/right, top/bottom or near/far are equal or close enough together an invalid projection matrix is generated. The code in question is a bit of a hack in itself though, so maybe it's ok to just use -1.0 and 1.0 when minZ and maxZ are equal.
http://bugs.winehq.org/show_bug.cgi?id=20469
knan-wine@anduin.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |knan-wine@anduin.net
--- Comment #7 from knan-wine@anduin.net 2009-11-06 16:41:23 --- Adjusting only maxZ to yield -1.0, like in the else block below, seems to be just as effective.
And it seems the game expects the z to be sticky, since it uses 0,-1 the first time...
fixme:d3d:transform_projection IF! Calling glOrtho with 1920.000000, 1200.000000, -0.000000, -1.000000 fixme:d3d:transform_projection IF! Calling glOrtho with 1920.000000, 1200.000000, -0.000000, -0.000000 fixme:d3d:transform_projection IF! Calling glOrtho with 1920.000000, 1200.000000, -0.000000, -0.000000 fixme:d3d:transform_projection IF! Calling glOrtho with 1920.000000, 1200.000000, -0.000000, -0.000000
... though I'm far out of my depth here. Any idea?
http://bugs.winehq.org/show_bug.cgi?id=20469
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=20469
zid zidsoft@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zidsoft@gmail.com
--- Comment #8 from zid zidsoft@gmail.com 2009-11-07 19:37:12 --- fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet
Might this be pertinent output?
http://bugs.winehq.org/show_bug.cgi?id=20469
Thomas Themel bugzilla@themel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@themel.com
--- Comment #9 from Thomas Themel bugzilla@themel.com 2009-11-11 09:57:24 --- (In reply to comment #5)
This hack works around it for me.
Does this remove the texture flicker for you? I tried applying to the current Debian wine-unstable sources (1.1.32) and saw your debug output, but the flicker issue persists on any detail level above 'Low'.
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #10 from knan-wine@anduin.net 2009-11-11 15:09:35 --- Yes. Well, in addition, turn off frame buffer effects in the game settings, turn on multisampling in the wine registry, turn on antialiasing in the game settings. That seems to be enough to fix the flickering here.
Then add the patch from bug 9717 to fix cosmetic bugs appearing once you've got rid of the flicker.
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #11 from zid zidsoft@gmail.com 2009-11-11 15:32:42 --- (In reply to comment #10)
Yes. Well, in addition, turn off frame buffer effects in the game settings, turn on multisampling in the wine registry, turn on antialiasing in the game settings. That seems to be enough to fix the flickering here.
Then add the patch from bug 9717 to fix cosmetic bugs appearing once you've got rid of the flicker.
Thanks, that patched fixed the black mess I was getting.
http://bugs.winehq.org/show_bug.cgi?id=20469
jiveaxe jiveaxe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jiveaxe@gmail.com
--- Comment #12 from jiveaxe jiveaxe@gmail.com 2009-11-20 04:42:45 --- (In reply to comment #10)
Yes. Well, in addition, turn off frame buffer effects in the game settings, turn on multisampling in the wine registry, turn on antialiasing in the game settings. That seems to be enough to fix the flickering here.
Then add the patch from bug 9717 to fix cosmetic bugs appearing once you've got rid of the flicker.
In bug 9717 there are a lot of patches: which is the correct one for cosmetics glitches?
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #13 from knan-wine@anduin.net 2009-11-20 10:28:06 --- (In reply to comment #12)
In bug 9717 there are a lot of patches: which is the correct one for cosmetics glitches?
The latest "Workaround for sky issues".
http://bugs.winehq.org/show_bug.cgi?id=20469
Svein winehq.org@lanfear.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.org@lanfear.org
--- Comment #14 from Svein winehq.org@lanfear.org 2009-12-06 09:29:59 --- I've applied all the patches, but I still get the texture glitches. I installed the game to a clean wineprefix
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #15 from Svein winehq.org@lanfear.org 2009-12-06 09:53:45 --- (In reply to comment #14)
I've applied all the patches, but I still get the texture glitches. I installed the game to a clean wineprefix
If I set nvidia settings to AA off, the movies are fine, however the texture is still flickering. If I set AA to anything higher, the movies are still fine, but all the graphics are plain black
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #16 from Svein winehq.org@lanfear.org 2009-12-06 16:17:51 --- (In reply to comment #15)
If I set nvidia settings to AA off, the movies are fine, however the texture is still flickering. If I set AA to anything higher, the movies are still fine, but all the graphics are plain black
Seems I have to set the graphic details to zero. Well its at least playable now, except for the mouse problem... :)
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #17 from knan-wine@anduin.net 2010-01-30 12:09:13 --- Fixed by 69861cf8730047a06ad898f9b45a4914a172745c, in git post-1.1.37. My hack no longer needed. Thanks, Henri!
http://bugs.winehq.org/show_bug.cgi?id=20469
knan-wine@anduin.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #24571|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=20469
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #18 from Austin English austinenglish@gmail.com 2010-01-30 13:03:55 --- Fixed then.
http://bugs.winehq.org/show_bug.cgi?id=20469
Rob Harvey jackcorbae@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jackcorbae@gmail.com
--- Comment #19 from Rob Harvey jackcorbae@gmail.com 2010-02-02 03:56:38 --- I don't believe this is resolved.
I've just installed Dragon Age: Origins and patched to 1.02.
Fresh Wine 1.1.37 install - no patches or winetricks.
Ubuntu 9.10 x64 with an Nvidia GTX 260.
Even on Low Texture settings there is the occasional artefact issue around some objects. Some trees appear to have yellow patches that blink intermittently.
Increasing the texture detail to the highest setting causes characters and most objects to appear as black silhouettes, random flickering of characters and backgrounds and rotating the camera cause the whole screen to flash to a full black - except looking at the sky!
http://bugs.winehq.org/show_bug.cgi?id=20469
--- Comment #20 from Henri Verbeet hverbeet@gmail.com 2010-02-02 04:39:44 --- (In reply to comment #19)
Fresh Wine 1.1.37 install - no patches or winetricks.
That patch (and others) aren't in 1.1.37, you need current git or 1.1.38 (not yet released).
http://bugs.winehq.org/show_bug.cgi?id=20469
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org 2010-02-05 11:39:04 --- Closing bugs fixed in 1.1.38.