<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic OpenGL v-sync not enabled by default (wglSwapIntervalEXT) in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/OpenGL-v-sync-not-enabled-by-default-wglSwapIntervalEXT/m-p/1186129#M87884</link>
    <description>&lt;P&gt;System Setup Information:&lt;BR /&gt;-----------------------------------------&lt;/P&gt;&lt;P&gt;System Used: ASUS Zenbook UX305CA&lt;BR /&gt;CPU SKU: Intel Core m3-6Y30&lt;BR /&gt;GPU SKU: Intel HD Graphics 515&lt;BR /&gt;Processor Line:&lt;BR /&gt;System BIOS Version: UX305CA.201&lt;BR /&gt;CMOS settings:&lt;BR /&gt;Graphics Driver Version: 26.20.100.7262, 27.20.100.8280&lt;BR /&gt;GOP/VBIOS Version:&lt;BR /&gt;Operating System: Windows 10 Home 64-bit&lt;BR /&gt;OS Version: 1903 (OS Build 18362.900)&lt;BR /&gt;API: OpenGL&lt;BR /&gt;Occurs on non-Intel GPUs?:&amp;nbsp;No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to Reproduce:&lt;BR /&gt;-------------------------------&lt;BR /&gt;1. Create an OpenGL compatible window and device context&lt;BR /&gt;2. Check value of swap interval using wglGetSwapIntervalEXT&lt;BR /&gt;3. Call SwapBuffers(...) repeatedly to check whether v-sync is enabled&lt;/P&gt;&lt;P&gt;Expected Results:&lt;BR /&gt;-------------------------------&lt;/P&gt;&lt;P&gt;wglGetSwapIntervalEXT returns the default swap interval of '1' and v-sync is enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual Results:&lt;BR /&gt;-------------------------------&lt;/P&gt;&lt;P&gt;wglGetSwapIntervalEXT returns the default swap interval of '1' &lt;STRONG&gt;but v-sync is not enabled&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional Information:&lt;BR /&gt;-------------------------------&lt;/P&gt;&lt;P&gt;"Vertical Sync" is set to "Use Application Default Settings" in the graphics control panel. Setting the swap interval to 1 via wglSwapIntervalEXT enables v-sync as expected even though wglGetSwapIntervalEXT reports that it was&amp;nbsp;already enabled. This means on Intel I need to explicitly set the swap interval despite both the spec and implementation telling me it is already enabled.&amp;nbsp;Either wglSwapIntervalEXT should initially report 0, which is non-conforming but at least consistent, or v-sync should be enabled by default as specified by the WGL_EXT_swap_control extension. (cf.&amp;nbsp;https://www.khronos.org/registry/OpenGL/extensions/EXT/WGL_EXT_swap_control.txt)&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2020 22:48:17 GMT</pubDate>
    <dc:creator>Carter</dc:creator>
    <dc:date>2020-06-10T22:48:17Z</dc:date>
    <item>
      <title>OpenGL v-sync not enabled by default (wglSwapIntervalEXT)</title>
      <link>https://community.intel.com/t5/Graphics/OpenGL-v-sync-not-enabled-by-default-wglSwapIntervalEXT/m-p/1186129#M87884</link>
      <description>&lt;P&gt;System Setup Information:&lt;BR /&gt;-----------------------------------------&lt;/P&gt;&lt;P&gt;System Used: ASUS Zenbook UX305CA&lt;BR /&gt;CPU SKU: Intel Core m3-6Y30&lt;BR /&gt;GPU SKU: Intel HD Graphics 515&lt;BR /&gt;Processor Line:&lt;BR /&gt;System BIOS Version: UX305CA.201&lt;BR /&gt;CMOS settings:&lt;BR /&gt;Graphics Driver Version: 26.20.100.7262, 27.20.100.8280&lt;BR /&gt;GOP/VBIOS Version:&lt;BR /&gt;Operating System: Windows 10 Home 64-bit&lt;BR /&gt;OS Version: 1903 (OS Build 18362.900)&lt;BR /&gt;API: OpenGL&lt;BR /&gt;Occurs on non-Intel GPUs?:&amp;nbsp;No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to Reproduce:&lt;BR /&gt;-------------------------------&lt;BR /&gt;1. Create an OpenGL compatible window and device context&lt;BR /&gt;2. Check value of swap interval using wglGetSwapIntervalEXT&lt;BR /&gt;3. Call SwapBuffers(...) repeatedly to check whether v-sync is enabled&lt;/P&gt;&lt;P&gt;Expected Results:&lt;BR /&gt;-------------------------------&lt;/P&gt;&lt;P&gt;wglGetSwapIntervalEXT returns the default swap interval of '1' and v-sync is enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual Results:&lt;BR /&gt;-------------------------------&lt;/P&gt;&lt;P&gt;wglGetSwapIntervalEXT returns the default swap interval of '1' &lt;STRONG&gt;but v-sync is not enabled&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional Information:&lt;BR /&gt;-------------------------------&lt;/P&gt;&lt;P&gt;"Vertical Sync" is set to "Use Application Default Settings" in the graphics control panel. Setting the swap interval to 1 via wglSwapIntervalEXT enables v-sync as expected even though wglGetSwapIntervalEXT reports that it was&amp;nbsp;already enabled. This means on Intel I need to explicitly set the swap interval despite both the spec and implementation telling me it is already enabled.&amp;nbsp;Either wglSwapIntervalEXT should initially report 0, which is non-conforming but at least consistent, or v-sync should be enabled by default as specified by the WGL_EXT_swap_control extension. (cf.&amp;nbsp;https://www.khronos.org/registry/OpenGL/extensions/EXT/WGL_EXT_swap_control.txt)&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 22:48:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/OpenGL-v-sync-not-enabled-by-default-wglSwapIntervalEXT/m-p/1186129#M87884</guid>
      <dc:creator>Carter</dc:creator>
      <dc:date>2020-06-10T22:48:17Z</dc:date>
    </item>
  </channel>
</rss>

