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@winehq.org ReportedBy: tonybcrawford@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.
http://bugs.winehq.org/show_bug.cgi?id=31164
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2012-07-07 16:16:38 CDT --- Is this related in any way to bug 5310?
http://bugs.winehq.org/show_bug.cgi?id=31164
--- Comment #2 from Tony Crawford tonybcrawford@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
http://bugs.winehq.org/show_bug.cgi?id=31164
--- Comment #3 from Bruno Jesus 00cpxxx@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
http://bugs.winehq.org/show_bug.cgi?id=31164
--- Comment #4 from Tony Crawford tonybcrawford@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
http://bugs.winehq.org/show_bug.cgi?id=31164
--- Comment #5 from Tony Crawford tonybcrawford@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!
http://bugs.winehq.org/show_bug.cgi?id=31164
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |dank@kegel.com Resolution| |DUPLICATE
--- Comment #6 from Dan Kegel dank@kegel.com 2012-07-07 23:38:47 CDT --- Marking dup, then.
*** This bug has been marked as a duplicate of bug 25912 ***
http://bugs.winehq.org/show_bug.cgi?id=31164
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Jerome Leclanche adys.wh@gmail.com 2012-07-19 07:43:15 CDT --- Closing