[Bug 14375] New: Mouse cursor flickers in Myst IV - Revelation
http://bugs.winehq.org/show_bug.cgi?id=14375 Summary: Mouse cursor flickers in Myst IV - Revelation Product: Wine Version: 1.1.0 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: eiffel56(a)gmail.com Created an attachment (id=14671) --> (http://bugs.winehq.org/attachment.cgi?id=14671) Patch that makes Myst IV startup The mouse cursor flickers in Myst IV - Revelation. This problem seems to exist since at least Wine 0.9.49(http://appdb.winehq.org/objectManager.php?sClass=version&iId=4240&iTestingId...). It does only happen in-game, not in the menus. I have to use the patch in attachment, otherwise Myst fails to start(it just hangs). I tried to apply the anim-cursor patch, as bad as before. The following lines are repeating very fast and often: fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (3) failed ((nil)) fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (2) failed ((nil)) fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (3) failed ((nil)) fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (2) failed ((nil)) fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture (3) failed ((nil)) This video shows the situation: http://yafu.wh-forum.de/1882351258/out-10.ogv Only the flickering cursor is caused by Wine, the other issues(full-screen flicker sometimes, slow video, itchy sound) are caused by gtk-recordmydesktop. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Lisa Denia <eiffel56(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Lisa Denia <eiffel56(a)gmail.com> 2008-07-16 07:06:28 --- Seems to be fixed in Wine 1.1.1. Thank you :). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2008-09-18 14:54:35 --- Closing WORKSFORME. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Lisa Denia <eiffel56(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|WORKSFORME | --- Comment #3 from Lisa Denia <eiffel56(a)gmail.com> 2008-12-11 18:09:48 --- Reopening, the bug does occur again on Wine 1.1.4 and later. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2008-12-12 18:45:18 --- If it worked in 1.1.1 you should run a regression test: http://wiki.winehq.org/RegressionTesting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #5 from Lisa Denia <eiffel56(a)gmail.com> 2008-12-14 08:37:01 --- Acoording to the regression test, commit fe64fe5ef809d79722b88f8833493b9ac760b896 causes the problem. Reversing it on Wine 1.1.4(where the problem appeared again) fixes it for me. Testbuild with Wine 1.1.10 and reversed commit is running at the moment. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Lisa Denia <eiffel56(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan(a)codeweavers.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #6 from Lisa Denia <eiffel56(a)gmail.com> 2008-12-14 10:53:44 --- I can confirm that commit fe64fe5ef809d79722b88f8833493b9ac760b896 causes this problem. Reversing it on 1.1.10 fixes the problem. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #7 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2008-12-14 11:05:42 --- I doubt that this patch is buggy, I suspect that it triggered a bug elsewhere -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #8 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-12-14 12:25:45 --- Confirming. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Lisa Denia <eiffel56(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Lisa Denia <eiffel56(a)gmail.com> 2009-05-23 09:27:15 --- Seems to be fixed in at least Wine 1.1.22. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> 2009-06-05 12:41:29 --- Closing bugs fixed in 1.1.23. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Lisa Denia <eiffel56(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #11 from Lisa Denia <eiffel56(a)gmail.com> 2009-07-04 08:14:57 --- Well, looks like my build directory was unclean. The very same bug occurs with Wine 1.1.25. It occurs also on 1.1.22, which is reported as working by me. Reversing commit fe64fe5ef809d79722b88f8833493b9ac760b896 still solves it. Sorry guys :/. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #12 from Lisa Denia <eiffel56(a)gmail.com> 2009-07-05 12:01:25 --- The actual cursor flicker happens because the entire scene renders twice every draw. The cursor is not done through the cursor API, but is a 3D object. So what happens: -Begin draw- The scene gets rendered The cursor gets rendered The scene gets rendered again -End draw- According to the comment in transform_world(a)wined3d/state.c this behaviour is known and sort of wanted. The attached patch checks for this special case. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #13 from Lisa Denia <eiffel56(a)gmail.com> 2009-07-05 12:03:13 --- Created an attachment (id=22202) --> (http://bugs.winehq.org/attachment.cgi?id=22202) Allows the cursor to be rendererd properly -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #14 from Joseph O Morrow <josephomorrow(a)mindspring.com> 2009-08-10 00:59:03 --- Created an attachment (id=22957) --> (http://bugs.winehq.org/attachment.cgi?id=22957) Output after running "wine myst.exe" from the command line -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #15 from Lisa Denia <eiffel56(a)gmail.com> 2009-09-24 12:04:54 --- Just forget my previous post. Its incorrect and stupid. I started looking around again. It turns out that the cursor is drawn using vertex blending. The vertex blending extension is not available on most graphics cards/drivers, leading to the bug that the cursor doesn't behave the same way as it does on Microsoft Windows systems(thats another bug). I read about the software vertex blending thingy and applied it to Wine. It seems that it is not correct, the cursor is completely messed up, but that garbage does not flicker. After I played with the patch it turns out that an additional call to transform_world in state_vertexblend_w causes the cursor not to flicker. And indeed, doing that even without the whole software vertex blending stuff fixes the cursor flickering. But, is that the correct solution? I had a look at state_vertexblend, which gets used in case your hardware/driver supports the vertex blending extension. transform_worldex gets called there. So, if we call it also in state_vertexblend_w, its like an "We don't have vertex blending support, but just display what we got so far", right? Sadly, calling transform_worldex in state_vertexblend_w does not fix the cursor flickering. It only stops flickering when we call transform_world. But I don't really understand the cause of this bug at all. I attached a patch which fixes the cursor flickering in Revelation, but that approach could be totally wrong. Take it as an workaround. Altough it fixes it, I think the cause is somewhere else. The flickering looks like in comment #12 for me: -Begin draw- The scene gets rendered The cursor gets rendered The scene gets rendered again -End draw- So what happens if you use the patch is: -Begin draw- The scene gets rendered The cursor gets rendered The scene gets rendered again The cursor also gets rendered again -End draw- Which would not be the correct solution. Instead, we should probably stop rendering the scene twice. At least if that happens because of Wine(could also be because of a stupid game engine). Any help/comments/whatever appreciated ;). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Lisa Denia <eiffel56(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22202|0 |1 is obsolete| | --- Comment #16 from Lisa Denia <eiffel56(a)gmail.com> 2009-09-24 12:06:06 --- Created an attachment (id=23735) --> (http://bugs.winehq.org/attachment.cgi?id=23735) Fixes cursor flickering in Myst IV - Revelation -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 d.comtesse(a)gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d.comtesse(a)gmx.de -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #17 from Austin English <austinenglish(a)gmail.com> 2010-05-26 15:21:30 --- Is this still an issue in 1.2-rc1? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Xavier Vachon <xvachon(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon(a)gmail.com --- Comment #18 from Xavier Vachon <xvachon(a)gmail.com> 2010-07-10 09:59:40 --- (In reply to comment #17)
Is this still an issue in 1.2-rc1?
In current git (1.2-rc7), I do not experience mouse flickering while playing Myst 4. Lisa, can you try again and post your results? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 --- Comment #19 from Lisa Denia <eiffel56(a)gmail.com> 2010-07-13 23:11:51 --- I do not experience any cursor flickering here, too. Running wine-1.2-rc7-44-g03742f4. We can safely mark this one as FIXED I think. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #20 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-07-14 00:14:48 --- Reported fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14375 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #21 from Alexandre Julliard <julliard(a)winehq.org> 2010-07-30 12:55:42 --- Closing bugs fixed in 1.3.0. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org