http://bugs.winehq.org/show_bug.cgi?id=21610
Summary: Heores V screen is flickering Product: Wine Version: 1.1.38 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: helgast@post.cz
Created an attachment (id=26081) --> (http://bugs.winehq.org/attachment.cgi?id=26081) Heroes V log
I have successfuly played Heroes V with wine version <= 1.1.37. After installing wine 1.1.38 game is unplayable, because screen is flickering in game. I tested game with clean .wine directory but it didn't help. I have ATI HD4200 card with official 10.1 drivers.
http://bugs.winehq.org/show_bug.cgi?id=21610
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-07 21:32:54 --- Please perform regression testing as described here: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #2 from hellgast helgast@post.cz 2010-02-10 16:39:34 --- (In reply to comment #1)
Please perform regression testing as described here: http://wiki.winehq.org/RegressionTesting
I do regression test and identify the problem patch: [f6bb86e196a8c72a70245cbe7d6ab3ddf697a07c] wined3d: Add GL_ARB_map_buffer_range
http://bugs.winehq.org/show_bug.cgi?id=21610
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-10 20:47:12 --- commit f6bb86e196a8c72a70245cbe7d6ab3ddf697a07c Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Jan 28 20:50:55 2010 +0100
wined3d: Add GL_ARB_map_buffer_range.
http://bugs.winehq.org/show_bug.cgi?id=21610
Karai Csaba cskarai@freemail.hu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cskarai@freemail.hu
--- Comment #4 from Karai Csaba cskarai@freemail.hu 2010-04-04 05:01:16 --- I can confirm that the bug exists. The regression test gave me the same result on Heroes of Might and Magic - Tribes of the East.
Reproducing:
1. download Tribes of the East demo from http://www.gamershell.com/download_21173.shtml
2. try with 1.1.37 and 1.1.42
The screen is flickering on 1.1.42,
Video card:
OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI MOBILITY RADEON X300 OpenGL version string: 2.1.8543 Release
I like playing with this game, so I would be glad if you could fix it.
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #5 from Karai Csaba cskarai@freemail.hu 2010-04-04 05:04:04 --- Sorry, my regression test was a bit different:
224043d6cf8b56e9ff2537358646700211d54d1f is first bad commit commit 224043d6cf8b56e9ff2537358646700211d54d1f Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Jan 28 20:51:06 2010 +0100
wined3d: Implement dynamic buffers with GL_ARB_map_buffer_range.
:040000 040000 1f55d5e837f1d9a7d2b4611f2de3e02dbcd8fafe c189de355870e1812adce96432f42a16967e2b2c M dlls
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #6 from Stefan Dösinger stefandoesinger@gmx.at 2010-04-04 09:01:01 ---
OpenGL version string: 2.1.8543 Release
wined3d: Implement dynamic buffers with GL_ARB_map_buffer_range.
I don't remember that this driver version already supported this extension. Can you attach the output of glxinfo?
http://bugs.winehq.org/show_bug.cgi?id=21610
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.gamershell.com/d | |ownload_21173.shtml
http://bugs.winehq.org/show_bug.cgi?id=21610
hellgast helgast@post.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from hellgast helgast@post.cz 2010-04-05 03:34:07 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #8 from Karai Csaba cskarai@freemail.hu 2010-04-06 12:35:06 --- Created an attachment (id=27244) --> (http://bugs.winehq.org/attachment.cgi?id=27244) Video card, glxinfo
glxinfo attached
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #9 from Karai Csaba cskarai@freemail.hu 2010-04-08 17:44:20 --- Created an attachment (id=27287) --> (http://bugs.winehq.org/attachment.cgi?id=27287) Rendering problem
1. I've attached a picture which shows the rendering problem. Sometimes the menu is displayed, sometimes characters in alphabetic order.
2. I've managed to workaround the problem in 1.1.42 by pretending, that my video card doesn't support ARB_MAP_BUFFER_RANGE.
Patched dlls/wined3d/buffer.c in every places:
if (gl_info->supported[ARB_MAP_BUFFER_RANGE] && 0)
3. At playing the game error messages are displayed, but I don't know whether it is related to the problem. After my patch the error messages were also displayed, but everything went well.
err:d3d:wined3d_event_query_test Event query created despite lack of GL support err:d3d:IWineD3DEventQueryImpl_GetData The GL event query failed, returning D3DERR_INVALIDCALL
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #10 from Karai Csaba cskarai@freemail.hu 2010-04-09 15:35:09 --- Further investigations: it's enough to change 1 line to stop flickering:
dlls/wined3d/buffer.c - buffer_init()
dynamic_buffer_ok = gl_info->supported[APPLE_FLUSH_BUFFER_RANGE] || ( gl_info->supported[ARB_MAP_BUFFER_RANGE] && 0 );
If dynamic_buffer_ok is false here, the screen stops flickering.
Any idea?
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #11 from Stefan Dösinger stefandoesinger@gmx.at 2010-04-09 17:16:38 ---
If dynamic_buffer_ok is false here, the screen stops flickering.
Yes, that's because it essentially disables the new code. It's a lightweight way to revert the patch.
A more targeted workaround(at least for Supreme Commander 2) is to remove GL_MAP_UNSYNCHRONIZED_BIT from all glMapBufferARB calls in buffer.c.
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #12 from Karai Csaba cskarai@freemail.hu 2010-04-10 02:45:23 --- I can confirm, after replacing GL_MAP_UNSYNCHRONIZED_BIT with 0 every places in buffer.c, the flickering stopped.
http://bugs.winehq.org/show_bug.cgi?id=21610
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xnerdxinlove@aim.com
--- Comment #13 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-29 05:25:04 --- *** Bug 22306 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21610
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |david@torangan.de
--- Comment #14 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-29 05:25:38 --- *** Bug 22518 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #15 from David Philippi david@torangan.de 2010-04-30 12:46:50 --- I can confirm that the patch in bug #22306 fixes the problem for Dungeons & Dragons Online. No graphical glitches anymore.
(http://bugs.winehq.org/attachment.cgi?id=27357)
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #16 from David Philippi david@torangan.de 2010-04-30 12:49:02 --- Forgot to mention - tested with an up to date git checkout.
http://bugs.winehq.org/show_bug.cgi?id=21610
kurt xxxdeadzombiexxx@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xxxdeadzombiexxx@aol.com
--- Comment #17 from kurt xxxdeadzombiexxx@aol.com 2010-04-30 13:45:12 --- Since the starcraft 2 bug #22306 closed
i have an ati 4850 i applied the patch and notice some improvements but im still experiencing trouble with the screen distorted while selecting different options.
when i try to start a match it exit to desktop< not sure if its related when applyed the patch.
http://bugs.winehq.org/show_bug.cgi?id=21610
Dario Meloni mellon85@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mellon85@gmail.com
--- Comment #18 from Dario Meloni mellon85@gmail.com 2010-05-02 10:03:48 --- (In reply to comment #17)
Since the starcraft 2 bug #22306 closed
i have an ati 4850 i applied the patch and notice some improvements but im still experiencing trouble with the screen distorted while selecting different options.
when i try to start a match it exit to desktop< not sure if its related when applyed the patch.
same problem here. i tried the patch and tried commenting line
{"GL_ARB_map_buffer_range", ARB_MAP_BUFFER_RANGE, 0 },
as specified in Bug 22306 but it crashes at game start
http://bugs.winehq.org/show_bug.cgi?id=21610
Reco recoverym4n@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |recoverym4n@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21610
centx core12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |core12@gmail.com
--- Comment #19 from centx core12@gmail.com 2010-05-07 07:37:36 --- I can confirm this with a HD4890(sapphire) running catalyst 10.3 on ubuntu 9.10. Menus in SC2 is completely unusable for me
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #20 from nicolas.p.schwartz@wanadoo.fr 2010-05-10 13:56:31 --- Created an attachment (id=27857) --> (http://bugs.winehq.org/attachment.cgi?id=27857) Stracraft II menu 2D bug
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #21 from nicolas.p.schwartz@wanadoo.fr 2010-05-10 13:57:50 --- (From update of attachment 27857) I have the same problem with an ati 2600xt 512mb with drivers 10.4 on starcraft II.
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #22 from Karai Csaba cskarai@freemail.hu 2010-05-22 06:25:29 --- Heroes V + Tribes of the east works well for me with 1.2-rc1. Hammers of fate never worked for me with wine.
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #23 from David Philippi david@torangan.de 2010-06-10 15:51:03 --- Dungeons & Dragons Online (duplicate bug) works with 1.2rc2 and latest fglrx just fine as well.
http://bugs.winehq.org/show_bug.cgi?id=21610
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #24 from Xavier Vachon xvachon@gmail.com 2010-07-14 12:11:07 --- (In reply to comment #22)
Heroes V + Tribes of the east works well for me with 1.2-rc1. Hammers of fate never worked for me with wine.
Confirming with 1.2-rc7, I do not experience flickering. This should be marked as FIXED.
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #25 from hellgast helgast@post.cz 2010-07-14 14:54:11 --- (In reply to comment #24)
(In reply to comment #22)
Heroes V + Tribes of the east works well for me with 1.2-rc1. Hammers of fate never worked for me with wine.
Confirming with 1.2-rc7, I do not experience flickering. This should be marked as FIXED.
I still see flickering on ATI HD 4200 onboard graphics with latest catalyst drivers and wine 1.2 rc7...
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #26 from Xavier Vachon xvachon@gmail.com 2010-07-15 00:14:35 --- (In reply to comment #25)
(In reply to comment #24)
(In reply to comment #22)
Heroes V + Tribes of the east works well for me with 1.2-rc1. Hammers of fate never worked for me with wine.
Confirming with 1.2-rc7, I do not experience flickering. This should be marked as FIXED.
I still see flickering on ATI HD 4200 onboard graphics with latest catalyst drivers and wine 1.2 rc7...
I have a NVIDIA 8800GT card. How can we determine if this is a Wine bug or a driver bug?
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #27 from hellgast helgast@post.cz 2010-07-15 12:44:24 --- (In reply to comment #26)
(In reply to comment #25)
(In reply to comment #24)
(In reply to comment #22)
Heroes V + Tribes of the east works well for me with 1.2-rc1. Hammers of fate never worked for me with wine.
Confirming with 1.2-rc7, I do not experience flickering. This should be marked as FIXED.
I still see flickering on ATI HD 4200 onboard graphics with latest catalyst drivers and wine 1.2 rc7...
I have a NVIDIA 8800GT card. How can we determine if this is a Wine bug or a driver bug?
If someone else can confirm flickering on ATI card? If someone else do not exprerience flickering on NVIDIA card?
http://bugs.winehq.org/show_bug.cgi?id=21610
Night Nord NightNord@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |NightNord@gmail.com
--- Comment #28 from Night Nord NightNord@gmail.com 2010-07-27 16:30:06 --- As it is attached to SC2 now - it's not fixed, wine-1.2, fglrx-10.6, HD4570, menus still garbaged. Futhermore, not only menus, but also background for installed is not black, as in corresponding bug told, but contains some ugly graphical noise.
http://bugs.winehq.org/show_bug.cgi?id=21610
Mickaël Maillot mickael.maillot@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mickael.maillot@gmail.com
--- Comment #29 from Mickaël Maillot mickael.maillot@gmail.com 2010-07-30 08:23:45 --- i can confirm: no problem with nvidia 8600gts (195.36.15), wine 1.2, freebsd 8.1 amd64.
http://bugs.winehq.org/show_bug.cgi?id=21610
--- Comment #30 from Xavier Vachon xvachon@gmail.com 2010-07-30 10:33:19 --- Should the bug title be changed to indicate that this happens with ATI drivers?
http://bugs.winehq.org/show_bug.cgi?id=21610
maximilian.mehnert@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maximilian.mehnert@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=21610
Dawid Zamirski dzrudy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dzrudy@gmail.com
--- Comment #31 from Dawid Zamirski dzrudy@gmail.com 2010-08-13 21:04:12 --- I'm also getting a severe screen corruption when running Wine 1.2 final and Radeon HD 3300 with catalyst 10.7 drivers.
http://bugs.winehq.org/show_bug.cgi?id=21610
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz Summary|Heores V screen is |Heores V screen is |flickering |flickering when ATI drivers | |are used
--- Comment #32 from Wylda wylda@volny.cz 2010-08-28 09:06:03 CDT --- (In reply to comment #29)
i can confirm: no problem with nvidia 8600gts (195.36.15), wine 1.2
No such problem here also: * nVidia GT240 v195.36.31 * wine-1.3.1-267-g7ab48e8
Changing subject to ATI specific.
http://bugs.winehq.org/show_bug.cgi?id=21610
Nicos900 nicolas.p.schwartz@wanadoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nicolas.p.schwartz@wanadoo. | |fr
--- Comment #33 from Nicos900 nicolas.p.schwartz@wanadoo.fr 2010-09-20 16:23:16 CDT --- My problem about pictures corruption has been solved in catalyst 10.9. But there is a new bug : there is only some letters in units comments the others are not presents.
http://bugs.winehq.org/show_bug.cgi?id=21610
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #34 from Wylda wylda@volny.cz 2010-09-21 01:22:52 CDT --- (In reply to comment #33)
My problem about pictures corruption has been solved in catalyst 10.9.
When nothing was fixed in wine and problem gone, then this bug should be invalid.
But there is a new bug : there is only some letters in units comments the others are not presents.
...but as you run in another ATI's known problem, let's mark this one as duplicate of bug 24097.
*** This bug has been marked as a duplicate of bug 24097 ***
http://bugs.winehq.org/show_bug.cgi?id=21610
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #35 from Dmitry Timoshkov dmitry@codeweavers.com 2010-09-21 01:27:45 CDT --- Closing duplicate.