[Bug 31164] New: WGL: SwapBuffers() Differs from Windows
http://bugs.winehq.org/show_bug.cgi?id=31164 Bug #: 31164 Summary: WGL: SwapBuffers() Differs from Windows Product: Wine Version: 1.5.8 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs(a)winehq.org ReportedBy: tonybcrawford(a)gmail.com Classification: Unclassified The screen display of the graphics lags when running the SDET OpenGL application on 64-bit Ubuntu 12.04 with Wine 1.5.8 On Windows the application zooms/spins and highlites elements correctly based on the users input. On Ubuntu/Wine the screen display lags ie. it's out of step! At the source code level the application uses the WGL call to "SwapBuffers(hdc)". I replaced this with a call to "wglSwapLayerBuffers(hdc,fuPlanes)" but the result is the same! I have discovered a kludge/workaround: - when running on ubuntu/wine if I call either of these functions twice, ie. one immediately after the other, then the application works correctly ie. the same way it does on Windows! Perhaps this workaround will help identify 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=31164 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-07-07 16:16:38 CDT --- Is this related in any way to bug 5310? -- 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=31164 --- Comment #2 from Tony Crawford <tonybcrawford(a)gmail.com> 2012-07-07 16:26:48 CDT --- (In reply to comment #1)
Is this related in any way to bug 5310?
Hi Bruno, I did review that bug before I filed. It also relates to the SwapBuffers call but I think my lagging display problem is another issue. However, it is possible that my problem is due to regression from the fix. Cheers Tony -- 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=31164 --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-07-07 18:20:03 CDT --- Is the application available for download so others can test too? If you think this worked before you could 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=31164 --- Comment #4 from Tony Crawford <tonybcrawford(a)gmail.com> 2012-07-07 22:55:19 CDT --- (In reply to comment #3)
Is the application available for download so others can test too?
If you think this worked before you could run a regression test. http://wiki.winehq.org/RegressionTesting
Bruno, This is still work in progress so I don't yet have a download. Also, I have used GIT and chroot on my 64-bit Ubuntu 12.04 system to build a Wine 1.5.7+Patch(s). I used this to check msxml3 fixes for other parts of my application. However, I was never able to get the OpenGL part of the application running via /var/chroot/wine/wine. So, the RegressionTesting approach isn't really feasible in the instance. BTW, Dan Kegel pointed me towards BugID 25912 which appears to be the same issue. I'll checkout the potential workarounds mentioned and comment asap. Tony -- 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=31164 --- Comment #5 from Tony Crawford <tonybcrawford(a)gmail.com> 2012-07-07 23:22:57 CDT --- I used the workaround mentioned in BugID 25912 and invoked my application as follows: env vblank_mode=0 wine OGLviewer.exe The event lag is resolved... it worked! Perhaps Wine should use this as the default! -- 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=31164 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |dank(a)kegel.com Resolution| |DUPLICATE --- Comment #6 from Dan Kegel <dank(a)kegel.com> 2012-07-07 23:38:47 CDT --- Marking dup, then. *** This bug has been marked as a duplicate of bug 25912 *** -- 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=31164 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Jerome Leclanche <adys.wh(a)gmail.com> 2012-07-19 07:43:15 CDT --- Closing -- 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