Sudden OPEN GL error

Hello,
On a production pc windows, that I daily use with Caspar CG suddenly I am not able to execute caspar anymore.
It runs and the kills the consumers by itself.
Here below the server log with the errors.
Hope someone could give me an answer. Thank you in advance.

[2021-09-15 14:31:15.724] [info]    Starting CasparCG Video and Graphics Playout Server 2.3.0 a4a7c053 Dev
[2021-09-15 14:31:15.786] [info]    Initializing OpenGL Device.
[2021-09-15 14:31:15.788] [info]    Initialized OpenGL 4.5.0 - Build 26.20.100.6812 Intel
[2021-09-15 14:31:16.257] [info]    D3D11: Selected adapter: NVIDIA GeForce GTX 1060
[2021-09-15 14:31:16.257] [info]    D3D11: Selected feature level: 45312
[2021-09-15 14:31:16.259] [info]    Initialized ffmpeg module.
[2021-09-15 14:31:16.259] [info]    Initialized oal module.
[2021-09-15 14:31:16.259] [info]    Initialized decklink module.
[2021-09-15 14:31:16.259] [info]    Initialized screen module.
[2021-09-15 14:31:16.259] [info]    Initialized newtek module.
[2021-09-15 14:31:16.294] [info]    Initialized html module.
[2021-09-15 14:31:16.294] [info]    Flash support is disabled
[2021-09-15 14:31:16.294] [info]    Initialized flash module.
[2021-09-15 14:31:16.296] [info]    Initialized bluefish module.
[2021-09-15 14:31:16.296] [info]    Initialized image module.
[2021-09-15 14:31:16.296] [info]    "C:/CasparCG Server\casparcg.config":
[2021-09-15 14:31:16.296] [info]    -----------------------------------------
[2021-09-15 14:31:16.296] [info]    <?xml version="1.0" encoding="utf-8"?>
[2021-09-15 14:31:16.296] [info]    <configuration>
[2021-09-15 14:31:16.296] [info]       <log-level>trace</log-level>
[2021-09-15 14:31:16.296] [info]       <paths>
[2021-09-15 14:31:16.296] [info]          <media-path>media/</media-path>
[2021-09-15 14:31:16.296] [info]          <log-path>log/</log-path>
[2021-09-15 14:31:16.296] [info]          <data-path>data/</data-path>
[2021-09-15 14:31:16.296] [info]          <font-path>font/</font-path>
[2021-09-15 14:31:16.296] [info]          <template-path>C:\Users\EQ Timing Graphic 2\Documents\GitEQgfx\CasparTemplate\Templates</template-path>
[2021-09-15 14:31:16.296] [info]       </paths>
[2021-09-15 14:31:16.296] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2021-09-15 14:31:16.296] [info]       <channels>
[2021-09-15 14:31:16.296] [info]          <channel>
[2021-09-15 14:31:16.296] [info]             <video-mode>720p2500</video-mode>
[2021-09-15 14:31:16.296] [info]             <consumers>
[2021-09-15 14:31:16.296] [info]                <screen>
[2021-09-15 14:31:16.296] [info]                   <device>1</device>
[2021-09-15 14:31:16.296] [info]                   <aspect-ratio>default</aspect-ratio>
[2021-09-15 14:31:16.296] [info]                   <stretch>fill</stretch>
[2021-09-15 14:31:16.296] [info]                   <windowed>true</windowed>
[2021-09-15 14:31:16.296] [info]                   <key-only>false</key-only>
[2021-09-15 14:31:16.296] [info]                   <vsync>false</vsync>
[2021-09-15 14:31:16.296] [info]                   <borderless>false</borderless>
[2021-09-15 14:31:16.296] [info]                   <interactive>true</interactive>
[2021-09-15 14:31:16.296] [info]                   <always-on-top>false</always-on-top>
[2021-09-15 14:31:16.296] [info]                   <x>0</x>
[2021-09-15 14:31:16.296] [info]                   <y>0</y>
[2021-09-15 14:31:16.296] [info]                   <width>0</width>
[2021-09-15 14:31:16.296] [info]                   <height>0</height>
[2021-09-15 14:31:16.296] [info]                   <sbs-key>false</sbs-key>
[2021-09-15 14:31:16.296] [info]                   <colour-space>RGB</colour-space>
[2021-09-15 14:31:16.296] [info]                </screen>
[2021-09-15 14:31:16.296] [info]             </consumers>
[2021-09-15 14:31:16.296] [info]          </channel>
[2021-09-15 14:31:16.296] [info]          <channel>
[2021-09-15 14:31:16.296] [info]             <video-mode>1080i5000</video-mode>
[2021-09-15 14:31:16.296] [info]             <consumers>
[2021-09-15 14:31:16.296] [info]                <screen>
[2021-09-15 14:31:16.296] [info]                   <device>1</device>
[2021-09-15 14:31:16.296] [info]                   <aspect-ratio>default</aspect-ratio>
[2021-09-15 14:31:16.296] [info]                   <stretch>fill</stretch>
[2021-09-15 14:31:16.296] [info]                   <windowed>true</windowed>
[2021-09-15 14:31:16.296] [info]                   <key-only>false</key-only>
[2021-09-15 14:31:16.296] [info]                   <vsync>false</vsync>
[2021-09-15 14:31:16.296] [info]                   <borderless>false</borderless>
[2021-09-15 14:31:16.296] [info]                   <interactive>true</interactive>
[2021-09-15 14:31:16.296] [info]                   <always-on-top>false</always-on-top>
[2021-09-15 14:31:16.296] [info]                   <x>0</x>
[2021-09-15 14:31:16.296] [info]                   <y>0</y>
[2021-09-15 14:31:16.296] [info]                   <width>0</width>
[2021-09-15 14:31:16.296] [info]                   <height>0</height>
[2021-09-15 14:31:16.296] [info]                   <sbs-key>false</sbs-key>
[2021-09-15 14:31:16.296] [info]                   <colour-space>RGB</colour-space>
[2021-09-15 14:31:16.296] [info]                </screen>
[2021-09-15 14:31:16.296] [info]             </consumers>
[2021-09-15 14:31:16.296] [info]          </channel>
[2021-09-15 14:31:16.296] [info]       </channels>
[2021-09-15 14:31:16.296] [info]       <controllers>
[2021-09-15 14:31:16.296] [info]          <tcp>
[2021-09-15 14:31:16.296] [info]             <port>5250</port>
[2021-09-15 14:31:16.296] [info]             <protocol>AMCP</protocol>
[2021-09-15 14:31:16.296] [info]          </tcp>
[2021-09-15 14:31:16.296] [info]       </controllers>
[2021-09-15 14:31:16.296] [info]       <amcp>
[2021-09-15 14:31:16.296] [info]          <media-server>
[2021-09-15 14:31:16.296] [info]             <host>localhost</host>
[2021-09-15 14:31:16.296] [info]             <port>8000</port>
[2021-09-15 14:31:16.296] [info]          </media-server>
[2021-09-15 14:31:16.296] [info]       </amcp>
[2021-09-15 14:31:16.296] [info]       <flash>
[2021-09-15 14:31:16.296] [info]          <buffer-depth>auto</buffer-depth>
[2021-09-15 14:31:16.296] [info]          <enabled>false</enabled>
[2021-09-15 14:31:16.296] [info]       </flash>
[2021-09-15 14:31:16.296] [info]       <html>
[2021-09-15 14:31:16.296] [info]          <remote-debugging-port>0</remote-debugging-port>
[2021-09-15 14:31:16.296] [info]          <enable-gpu>true</enable-gpu>
[2021-09-15 14:31:16.296] [info]       </html>
[2021-09-15 14:31:16.296] [info]       <ffmpeg>
[2021-09-15 14:31:16.296] [info]          <producer>
[2021-09-15 14:31:16.296] [info]             <auto-deinterlace>interlaced</auto-deinterlace>
[2021-09-15 14:31:16.296] [info]             <threads>4</threads>
[2021-09-15 14:31:16.296] [info]          </producer>
[2021-09-15 14:31:16.296] [info]       </ffmpeg>
[2021-09-15 14:31:16.296] [info]       <ndi>
[2021-09-15 14:31:16.296] [info]          <auto-load>false</auto-load>
[2021-09-15 14:31:16.296] [info]       </ndi>
[2021-09-15 14:31:16.296] [info]       <osc>
[2021-09-15 14:31:16.296] [info]          <default-port>6250</default-port>
[2021-09-15 14:31:16.296] [info]          <disable-send-to-amcp-clients>false</disable-send-to-amcp-clients>
[2021-09-15 14:31:16.296] [info]          <predefined-clients/>
[2021-09-15 14:31:16.296] [info]       </osc>
[2021-09-15 14:31:16.296] [info]    </configuration>
[2021-09-15 14:31:16.296] [info]    -----------------------------------------
[2021-09-15 14:31:16.444] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2021-09-15 14:31:16.445] [info]    video_channel[1|720p2500] Successfully Initialized.
[2021-09-15 14:31:16.446] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 2
[2021-09-15 14:31:16.446] [info]    video_channel[2|1080i5000] Successfully Initialized.
[2021-09-15 14:31:16.447] [warning] Screen consumer [1|720p2500] Could not find display settings for screen-index: 0
[2021-09-15 14:31:16.448] [info]    Screen consumer [1|720p2500] Initialized.
[2021-09-15 14:31:16.449] [warning] Screen consumer [2|1080i5000] Could not find display settings for screen-index: 0
[2021-09-15 14:31:16.451] [info]    Screen consumer [2|1080i5000] Initialized.
[2021-09-15 14:31:16.451] [info]    Initialized channels.
[2021-09-15 14:31:16.453] [info]    Initialized controllers.
[2021-09-15 14:31:16.453] [info]    Initialized osc.
[2021-09-15 14:31:16.594] [error]   OpenGL Error: 1285 Unknown error
[2021-09-15 14:31:16.606] [error]   OpenGL Error: 1285 Unknown error
[2021-09-15 14:31:16.594] [error]   Exception: C:\Program Files (x86)\Jenkins\workspace\casparcg-server-dep\v2.3.x-lts\src\common\gl\gl_check.cpp(73): Throw in function void __cdecl caspar::gl::SMFL_GLCheckError(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const char *,const char *,unsigned int)
[2021-09-15 14:31:16.594] [error]   Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::gl::ogl_out_of_memory>
[2021-09-15 14:31:16.594] [error]   [struct caspar::tag_error_info * __ptr64] = GL_OUT_OF_MEMORY
[2021-09-15 14:31:16.594] [error]   [struct caspar::tag_msg_info * __ptr64] = there is not enough memory left to execute the command
[2021-09-15 14:31:16.594] [error]   [struct caspar::tag_stacktrace_info * __ptr64] =  0# 0x00007FF6FC829DEE in casparcg
[2021-09-15 14:31:16.594] [error]    1# 0x00007FF6FC859150 in casparcg
[2021-09-15 14:31:16.594] [error]    2# 0x00007FF6FC8F2FB2 in casparcg
[2021-09-15 14:31:16.594] [error]    3# 0x00007FF6FCA7E814 in casparcg
[2021-09-15 14:31:16.594] [error]    4# 0x00007FF6FCA7FEE0 in casparcg
[2021-09-15 14:31:16.594] [error]    5# 0x00007FF6FC824B29 in casparcg
[2021-09-15 14:31:16.594] [error]    6# configthreadlocale in ucrtbase
[2021-09-15 14:31:16.594] [error]    7# BaseThreadInitThunk in KERNEL32
[2021-09-15 14:31:16.594] [error]    8# RtlUserThreadStart in ntdll
[2021-09-15 14:31:16.594] [error]   
[2021-09-15 14:31:16.594] [error]   

[2021-09-15 14:31:16.594] [error]    0# 0x00007FF6FC829DEE in casparcg
[2021-09-15 14:31:16.594] [error]    1# 0x00007FF6FC82971F in casparcg
[2021-09-15 14:31:16.594] [error]    2# 0x00007FF6FCD90A8A in casparcg
[2021-09-15 14:31:16.594] [error]    3# 0x00007FFCDC0A1030 in VCRUNTIME140
[2021-09-15 14:31:16.594] [error]    4# is_exception_typeof in VCRUNTIME140
[2021-09-15 14:31:16.594] [error]    5# RtlCaptureContext2 in ntdll
[2021-09-15 14:31:16.594] [error]    6# 0x00007FF6FCA7E814 in casparcg
[2021-09-15 14:31:16.594] [error]    7# 0x00007FF6FCA7FEE0 in casparcg
[2021-09-15 14:31:16.594] [error]    8# 0x00007FF6FC824B29 in casparcg
[2021-09-15 14:31:16.594] [error]    9# configthreadlocale in ucrtbase
[2021-09-15 14:31:16.594] [error]   10# BaseThreadInitThunk in KERNEL32
[2021-09-15 14:31:16.594] [error]   11# RtlUserThreadStart in ntdll
[2021-09-15 14:31:16.594] [error]   
[2021-09-15 14:31:16.606] [error]   Exception: C:\Program Files (x86)\Jenkins\workspace\casparcg-server-dep\v2.3.x-lts\src\common\gl\gl_check.cpp(73): Throw in function void __cdecl caspar::gl::SMFL_GLCheckError(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const char *,const char *,unsigned int)
[2021-09-15 14:31:16.606] [error]   Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::gl::ogl_out_of_memory>
[2021-09-15 14:31:16.606] [error]   [struct caspar::tag_error_info * __ptr64] = GL_OUT_OF_MEMORY
[2021-09-15 14:31:16.606] [error]   [struct caspar::tag_msg_info * __ptr64] = there is not enough memory left to execute the command
[2021-09-15 14:31:16.606] [error]   [struct caspar::tag_stacktrace_info * __ptr64] =  0# 0x00007FF6FC829DEE in casparcg
[2021-09-15 14:31:16.606] [error]    1# 0x00007FF6FC859150 in casparcg
[2021-09-15 14:31:16.606] [error]    2# 0x00007FF6FC8F2FB2 in casparcg
[2021-09-15 14:31:16.606] [error]    3# 0x00007FF6FCA7E814 in casparcg
[2021-09-15 14:31:16.606] [error]    4# 0x00007FF6FCA7FEE0 in casparcg
[2021-09-15 14:31:16.606] [error]    5# 0x00007FF6FC824B29 in casparcg
[2021-09-15 14:31:16.606] [error]    6# configthreadlocale in ucrtbase
[2021-09-15 14:31:16.606] [error]    7# BaseThreadInitThunk in KERNEL32
[2021-09-15 14:31:16.606] [error]    8# RtlUserThreadStart in ntdll
[2021-09-15 14:31:16.606] [error]   
[2021-09-15 14:31:16.606] [error]   

[2021-09-15 14:31:16.606] [error]    0# 0x00007FF6FC829DEE in casparcg
[2021-09-15 14:31:16.606] [error]    1# 0x00007FF6FC82971F in casparcg
[2021-09-15 14:31:16.606] [error]    2# 0x00007FF6FCD90A8A in casparcg
[2021-09-15 14:31:16.606] [error]    3# 0x00007FFCDC0A1030 in VCRUNTIME140
[2021-09-15 14:31:16.606] [error]    4# is_exception_typeof in VCRUNTIME140
[2021-09-15 14:31:16.606] [error]    5# RtlCaptureContext2 in ntdll
[2021-09-15 14:31:16.606] [error]    6# 0x00007FF6FCA7E814 in casparcg
[2021-09-15 14:31:16.606] [error]    7# 0x00007FF6FCA7FEE0 in casparcg
[2021-09-15 14:31:16.606] [error]    8# 0x00007FF6FC824B29 in casparcg
[2021-09-15 14:31:16.606] [error]    9# configthreadlocale in ucrtbase
[2021-09-15 14:31:16.606] [error]   10# BaseThreadInitThunk in KERNEL32
[2021-09-15 14:31:16.606] [error]   11# RtlUserThreadStart in ntdll
[2021-09-15 14:31:16.606] [error]   
[2021-09-15 14:31:16.882] [debug]   Screen consumer [2|1080i5000] Destroying on asynchronous destruction thread.
[2021-09-15 14:31:16.882] [debug]   Screen consumer [2|1080i5000] Uninitializing.
[2021-09-15 14:31:16.898] [info]    Screen consumer [2|1080i5000] Uninitialized.
[2021-09-15 14:31:16.903] [debug]   Screen consumer [1|720p2500] Destroying on asynchronous destruction thread.
[2021-09-15 14:31:16.903] [debug]   Screen consumer [1|720p2500] Uninitializing.
[2021-09-15 14:31:16.903] [info]    Screen consumer [1|720p2500] Uninitialized.

Have you tried what happens, if you set width and height to values greater than zero?

<x>0</x>
<y>0</y>
<width>0</width>
<height>0</height>

Looks weird to me.

Good idea,
Replaced as the following

      <video-mode>1080i5000</video-mode>
      <consumers>
        <screen>
          <device>1</device>
          <aspect-ratio>default</aspect-ratio>
          <stretch>fill</stretch>
          <windowed>true</windowed>
          <key-only>false</key-only>
          <vsync>false</vsync>
          <borderless>false</borderless>
          <interactive>true</interactive>
          <always-on-top>false</always-on-top>
          <x>1920</x>
          <y>1080</y>
          <width>1920</width>
          <height>1080</height>
          <sbs-key>false</sbs-key>
          <colour-space>RGB</colour-space>
        </screen>
      </consumers>

But still the same error output

the x an y could be zero, only the width an height should be something. Is auto update enabled?

I set back on 0 x & y but same problem.
I am using a watchdog found on the forum made and did not change or update it since.
I am not sure about the auto update and where to check how to set it ON or OFF.

In Windows 10 it is hard to switch auto Update off, in Win 7 that was possible. If it is enabled, it could be that some update has killed OpenGL. You coud check what updates have been installed in the control panel’s update section.

Ah ok you meant windows auto update :slight_smile
So yes has done some updates last week but looks like are all security updates not concerning (maybe) Open GL.
I run OpenGL extension viewer to see if all in order and which version I have:

What else would mess up the whole system :laughing:

What looks weird is, that the log tells something about an nVidia GeForce GTX 1060 and your image shows an Intel HD Graphics 630…

Yes that is correcte I have an Nvidia card…
Ok I will google around it and see if that could be the reason.
For the moment I set the as Global rendered for windows the Invidia, but no positive outcome yet.

Found Solution.
The PC differently from before was now connected to an icybox to extend the monitor to other 2.
Apparently this was enough to drive crazy Open GL or related and make Caspar Consumer crash.
Fantastic :roll_eyes:
Thank you for your help @didikunz