http://bugs.winehq.org/show_bug.cgi?id=17260
Summary: Counter-Strike: Source - V-Sync does't work Product: Wine Version: 1.1.14 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jordm.s@gmail.com
Setting V-Sync via the in-game menu doesn't have any effect
http://bugs.winehq.org/show_bug.cgi?id=17260
Ben Anderson roothorick@new.rr.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roothorick@new.rr.com
--- Comment #1 from Ben Anderson roothorick@new.rr.com 2009-05-09 18:00:03 --- It's not just CS:S. Oblivion shows the same issue. Regardless of the setting in Oblivion, it only seems to follow the setting in Catalyst Control Center, even if set to either "unless application specifies" value.
Relevant code: dlls/winex11.drv/opengl.c lines 3133-3150 (in 1.1.20). An impl is declared but doesn't appear to be actually called from anywhere. Based on what's in the code, I'd say that application v-sync settings are NEVER respected, regardless of the application being run. It's simply something that has yet to be implemented.
http://bugs.winehq.org/show_bug.cgi?id=17260
--- Comment #2 from Ben Anderson roothorick@new.rr.com 2009-05-09 18:08:32 --- Looking further, it looks like there's a GL extension exposed, but no D3D wrapper for it. So v-sync will work in OpenGL, but not Direct3D.
http://bugs.winehq.org/show_bug.cgi?id=17260
--- Comment #3 from Austin English austinenglish@gmail.com 2009-11-19 12:53:07 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.33 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17260
--- Comment #4 from Ben Anderson roothorick@new.rr.com 2009-11-24 22:46:53 --- Tested with benchmarking in Trackmania Nations Forever. With V-sync set to "Off unless application specifies" in CCC and "On" in the game, I got a benchmark of 117fps -- bug still present.
http://bugs.winehq.org/show_bug.cgi?id=17260
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #5 from Stefan Dösinger stefandoesinger@gmx.at 2010-08-21 08:11:32 --- Yes, wined3d doesn't support setting vsync. It's not really hard to implement, it never was much of a priority because it usually doesn't prevent games from running and can be configured with external driver tools anyway(nvidia-settings, amd-cccle, driconf, quartz debug on OSX).
I once wrote some code for vsync based on GLX_SGI_video_sync, but since wined3d uses WGL rather than GLX now this functionality got lost. It needs to be reimplemented via WGL_OML_sync_control, and if that is not available via WGL_EXT_swap_control. Those extensions need to be implemented in winex11.drv as wrappers on top of GLX_SGI_video_sync and GLX_SGI_swap_control respectively. (ok, OML_sync_control may be a problem - it has some features SGI_swap_control doesn't have)
http://bugs.winehq.org/show_bug.cgi?id=17260
Jordan Smith jordm.s@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Counter-Strike: Source - |Wined3d doesn't support |V-Sync does't work |setting V-Sync
http://bugs.winehq.org/show_bug.cgi?id=17260
--- Comment #6 from Stefan Dösinger stefandoesinger@gmx.at 2011-06-11 18:06:52 CDT --- This should be fixed by now
http://bugs.winehq.org/show_bug.cgi?id=17260
--- Comment #7 from Jordan Smith jordm.s@gmail.com 2011-06-11 20:39:49 CDT --- Does not appear to be fixed for me.
http://bugs.winehq.org/show_bug.cgi?id=17260
--- Comment #8 from Stefan Dösinger stefandoesinger@gmx.at 2011-06-12 04:59:17 CDT --- Does your GL implementation support GLX_EXT_swap_control? We need this to implement WGL_EXT_swap_control, which in turn is used by wined3d to implement vsync. If this extension is not supported, but GLX_SGI_swap_control or GLX_SGI_video_sync are supported we could implement vsync in an alternate way.
http://bugs.winehq.org/show_bug.cgi?id=17260
--- Comment #9 from Jordan Smith jordm.s@gmail.com 2011-06-12 18:26:07 CDT --- Just tried it on a fresh Prefix, it works! I think it's safe to call this fixed.
http://bugs.winehq.org/show_bug.cgi?id=17260
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #10 from Jeff Zaroyko jeffz@jeffz.name 2011-06-12 20:59:33 CDT --- Marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=17260
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2011-06-24 17:44:08 CDT --- Closing bugs fixed in 1.3.23.