Error on startup 2.3 LTS

I get a:
[1006/162049.528:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context

Casparcg runs, but overload the cpu and ram, and is respond is slow.

In 2.11.8 NRK doing the same task, everything is fine.

what can I do?

best regards
Heine Froholdt

Do you use WebGL? Stackowerflow says this.

no webGL - but the error goes away if I start the server/scanner with the CasparLauncher - but the overload problem is not gone… (starting a new topic on that subject)
heine

the same thing happens to me when I run Caspar 2.3.0 LTS (without changing anything in the original configuration file) :

[2020-12-02 08:28:22.212] [info]    ############################################################################
[2020-12-02 08:28:22.212] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2020-12-02 08:28:22.212] [info]    under the GNU General Public License GPLv3 or higher.
[2020-12-02 08:28:22.212] [info]    Please see LICENSE.TXT for details.
[2020-12-02 08:28:22.212] [info]    http://www.casparcg.com/
[2020-12-02 08:28:22.212] [info]    ############################################################################
[2020-12-02 08:28:22.212] [info]    Starting CasparCG Video and Graphics Playout Server 2.3.0 a4a7c053 Dev
[2020-12-02 08:28:22.466] [info]    Initializing OpenGL Device.
[2020-12-02 08:28:22.467] [info]    Initialized OpenGL 4.5.0 NVIDIA 452.39 NVIDIA Corporation
[2020-12-02 08:28:22.469] [info]    Initialized ffmpeg module.
[2020-12-02 08:28:22.469] [info]    Initialized oal module.
[2020-12-02 08:28:22.469] [info]    Initialized decklink module.
[2020-12-02 08:28:22.470] [info]    Initialized screen module.
[2020-12-02 08:28:22.470] [info]    Initialized newtek module.
[1202/082822.491:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context.
[2020-12-02 08:28:22.572] [info]    Initialized html module.
[2020-12-02 08:28:22.572] [info]    Flash support is disabled
[2020-12-02 08:28:22.572] [info]    Initialized flash module.
[2020-12-02 08:28:22.574] [info]    Initialized bluefish module.
[2020-12-02 08:28:22.574] [info]    Initialized image module.
[2020-12-02 08:28:22.574] [info]    "C:/CASPAR\CasparCG Server 2.3.0\casparcg.config":
[2020-12-02 08:28:22.574] [info]    -----------------------------------------
[2020-12-02 08:28:22.574] [info]    <?xml version="1.0" encoding="utf-8"?>
[2020-12-02 08:28:22.574] [info]    <configuration>
[2020-12-02 08:28:22.574] [info]       <paths>
[2020-12-02 08:28:22.574] [info]          <media-path>media/</media-path>
[2020-12-02 08:28:22.574] [info]          <log-path>log/</log-path>
[2020-12-02 08:28:22.574] [info]          <data-path>data/</data-path>
[2020-12-02 08:28:22.574] [info]          <template-path>template/</template-path>
[2020-12-02 08:28:22.574] [info]       </paths>
[2020-12-02 08:28:22.574] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2020-12-02 08:28:22.574] [info]       <channels>
[2020-12-02 08:28:22.574] [info]          <channel>
[2020-12-02 08:28:22.574] [info]             <video-mode>720p5000</video-mode>
[2020-12-02 08:28:22.574] [info]             <consumers>
[2020-12-02 08:28:22.574] [info]                <screen/>
[2020-12-02 08:28:22.574] [info]                <system-audio/>
[2020-12-02 08:28:22.574] [info]             </consumers>
[2020-12-02 08:28:22.574] [info]          </channel>
[2020-12-02 08:28:22.574] [info]       </channels>
[2020-12-02 08:28:22.574] [info]       <controllers>
[2020-12-02 08:28:22.574] [info]          <tcp>
[2020-12-02 08:28:22.574] [info]             <port>5250</port>
[2020-12-02 08:28:22.574] [info]             <protocol>AMCP</protocol>
[2020-12-02 08:28:22.574] [info]          </tcp>
[2020-12-02 08:28:22.574] [info]       </controllers>
[2020-12-02 08:28:22.574] [info]       <amcp>
[2020-12-02 08:28:22.574] [info]          <media-server>
[2020-12-02 08:28:22.574] [info]             <host>localhost</host>
[2020-12-02 08:28:22.574] [info]             <port>8000</port>
[2020-12-02 08:28:22.574] [info]          </media-server>
[2020-12-02 08:28:22.574] [info]       </amcp>
[2020-12-02 08:28:22.574] [info]    </configuration>
[2020-12-02 08:28:22.574] [info]    -----------------------------------------
[2020-12-02 08:28:22.580] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2020-12-02 08:28:22.581] [info]    video_channel[1|720p5000] Successfully Initialized.
[2020-12-02 08:28:22.583] [warning] Screen consumer [1|720p5000] Could not find display settings for screen-index: 0
[2020-12-02 08:28:22.583] [info]    Screen consumer [1|720p5000] Initialized.
[2020-12-02 08:28:22.607] [info]    oal[1|720p5000] Initialized.
[2020-12-02 08:28:22.607] [info]    Initialized channels.
[2020-12-02 08:28:22.608] [info]    Initialized controllers.
[2020-12-02 08:28:22.608] [info]    Initialized osc.

this comes from Chrome driver as DidiKunz points out in its link.
But I don’t use WebGL for my templates (I don’t use HTML templates)

if I add

  <html>
    <enable-gpu>true</enable-gpu>
  </html>

the message disappears :

[2020-12-02 08:29:45.124] [info]    ############################################################################
[2020-12-02 08:29:45.125] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2020-12-02 08:29:45.125] [info]    under the GNU General Public License GPLv3 or higher.
[2020-12-02 08:29:45.125] [info]    Please see LICENSE.TXT for details.
[2020-12-02 08:29:45.125] [info]    http://www.casparcg.com/
[2020-12-02 08:29:45.125] [info]    ############################################################################
[2020-12-02 08:29:45.125] [info]    Starting CasparCG Video and Graphics Playout Server 2.3.0 a4a7c053 Dev
[2020-12-02 08:29:45.370] [info]    Initializing OpenGL Device.
[2020-12-02 08:29:45.371] [info]    Initialized OpenGL 4.5.0 NVIDIA 452.39 NVIDIA Corporation
[2020-12-02 08:29:45.429] [info]    D3D11: Selected adapter: NVIDIA Quadro P2000
[2020-12-02 08:29:45.429] [info]    D3D11: Selected feature level: 45312
[2020-12-02 08:29:45.435] [info]    Initialized ffmpeg module.
[2020-12-02 08:29:45.435] [info]    Initialized oal module.
[2020-12-02 08:29:45.435] [info]    Initialized decklink module.
[2020-12-02 08:29:45.435] [info]    Initialized screen module.
[2020-12-02 08:29:45.435] [info]    Initialized newtek module.
[2020-12-02 08:29:45.545] [info]    Initialized html module.
[2020-12-02 08:29:45.545] [info]    Flash support is disabled
[2020-12-02 08:29:45.545] [info]    Initialized flash module.
[2020-12-02 08:29:45.548] [info]    Initialized bluefish module.
[2020-12-02 08:29:45.548] [info]    Initialized image module.
[2020-12-02 08:29:45.548] [info]    "C:/CASPAR\CasparCG Server 2.3.0\casparcg.config":
[2020-12-02 08:29:45.548] [info]    -----------------------------------------
[2020-12-02 08:29:45.548] [info]    <?xml version="1.0" encoding="utf-8"?>
[2020-12-02 08:29:45.548] [info]    <configuration>
[2020-12-02 08:29:45.548] [info]       <paths>
[2020-12-02 08:29:45.548] [info]          <media-path>media/</media-path>
[2020-12-02 08:29:45.548] [info]          <log-path>log/</log-path>
[2020-12-02 08:29:45.548] [info]          <data-path>data/</data-path>
[2020-12-02 08:29:45.548] [info]          <template-path>template/</template-path>
[2020-12-02 08:29:45.548] [info]       </paths>
[2020-12-02 08:29:45.548] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2020-12-02 08:29:45.548] [info]       <html>
[2020-12-02 08:29:45.548] [info]          <enable-gpu>true</enable-gpu>
[2020-12-02 08:29:45.548] [info]       </html>
[2020-12-02 08:29:45.548] [info]       <channels>
[2020-12-02 08:29:45.548] [info]          <channel>
[2020-12-02 08:29:45.548] [info]             <video-mode>720p5000</video-mode>
[2020-12-02 08:29:45.548] [info]             <consumers>
[2020-12-02 08:29:45.548] [info]                <screen/>
[2020-12-02 08:29:45.548] [info]                <system-audio/>
[2020-12-02 08:29:45.548] [info]             </consumers>
[2020-12-02 08:29:45.548] [info]          </channel>
[2020-12-02 08:29:45.548] [info]       </channels>
[2020-12-02 08:29:45.548] [info]       <controllers>
[2020-12-02 08:29:45.548] [info]          <tcp>
[2020-12-02 08:29:45.548] [info]             <port>5250</port>
[2020-12-02 08:29:45.548] [info]             <protocol>AMCP</protocol>
[2020-12-02 08:29:45.548] [info]          </tcp>
[2020-12-02 08:29:45.548] [info]       </controllers>
[2020-12-02 08:29:45.548] [info]       <amcp>
[2020-12-02 08:29:45.548] [info]          <media-server>
[2020-12-02 08:29:45.548] [info]             <host>localhost</host>
[2020-12-02 08:29:45.548] [info]             <port>8000</port>
[2020-12-02 08:29:45.548] [info]          </media-server>
[2020-12-02 08:29:45.548] [info]       </amcp>
[2020-12-02 08:29:45.548] [info]    </configuration>
[2020-12-02 08:29:45.548] [info]    -----------------------------------------
[2020-12-02 08:29:45.555] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2020-12-02 08:29:45.555] [info]    video_channel[1|720p5000] Successfully Initialized.
[2020-12-02 08:29:45.556] [warning] Screen consumer [1|720p5000] Could not find display settings for screen-index: 0
[2020-12-02 08:29:45.557] [info]    Screen consumer [1|720p5000] Initialized.
[2020-12-02 08:29:45.588] [info]    oal[1|720p5000] Initialized.
[2020-12-02 08:29:45.588] [info]    Initialized channels.
[2020-12-02 08:29:45.589] [info]    Initialized controllers.
[2020-12-02 08:29:45.589] [info]    Initialized osc.

can be offered an option to deactivate the loading of the Chrome driver when it is not being used ?
as to activate / deactivate the flash player :

it's a suggestion, the option does not exist
  <html>
    <enabled>true/false</enabled>
  </html>

Hello,

Just to confirm that I hit this same issue while I configured other people’s server. Hardware is not my choice: Mac Desktop running Win 10, Decklink Quad, AMD Radeon HD 5700 (I know…, as I said hardware is not my choice). This happens right after starting Caspar 2.3 LTS server, before any client is connected:

[2021-04-08 13:17:46.282] [info]    ############################################################################
[2021-04-08 13:17:46.283] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2021-04-08 13:17:46.283] [info]    under the GNU General Public License GPLv3 or higher.
[2021-04-08 13:17:46.283] [info]    Please see LICENSE.TXT for details.
[2021-04-08 13:17:46.283] [info]    http://www.casparcg.com/
[2021-04-08 13:17:46.283] [info]    ############################################################################
[2021-04-08 13:17:46.283] [info]    Starting CasparCG Video and Graphics Playout Server 2.3.2 4de6d18f Dev
[2021-04-08 13:17:46.435] [info]    Initializing OpenGL Device.
[2021-04-08 13:17:46.437] [info]    Initialized OpenGL 4.5.13399 Core Profile Context 15.201.1151.1008 ATI Technologies Inc.
[2021-04-08 13:17:46.438] [info]    Initialized image module.
[2021-04-08 13:17:46.440] [info]    Initialized ffmpeg module.
[2021-04-08 13:17:46.440] [info]    Initialized oal module.
[2021-04-08 13:17:46.440] [info]    Initialized decklink module.
[2021-04-08 13:17:46.440] [info]    Initialized screen module.
[2021-04-08 13:17:46.441] [info]    Initialized newtek module.
[0408/131746.465:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context.
[2021-04-08 13:17:46.480] [info]    Initialized html module.
[2021-04-08 13:17:46.480] [info]    Flash support is disabled
[2021-04-08 13:17:46.480] [info]    Initialized flash module.
[2021-04-08 13:17:46.482] [info]    Initialized bluefish module.
[2021-04-08 13:17:46.483] [info]    "C:/CasparCG\Server\casparcg.config":
[2021-04-08 13:17:46.483] [info]    -----------------------------------------
[2021-04-08 13:17:46.483] [info]    <?xml version="1.0" encoding="utf-8"?>
[2021-04-08 13:17:46.483] [info]    <configuration>
[2021-04-08 13:17:46.483] [info]       <paths>
[2021-04-08 13:17:46.483] [info]          <media-path>media/</media-path>
[2021-04-08 13:17:46.483] [info]          <log-path>log/</log-path>
[2021-04-08 13:17:46.483] [info]          <data-path>data/</data-path>
[2021-04-08 13:17:46.483] [info]          <template-path>template/</template-path>
[2021-04-08 13:17:46.483] [info]       </paths>
[2021-04-08 13:17:46.483] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2021-04-08 13:17:46.483] [info]       <channels>
[2021-04-08 13:17:46.483] [info]          <channel>
[2021-04-08 13:17:46.483] [info]             <video-mode>1080i5000</video-mode>
[2021-04-08 13:17:46.483] [info]             <consumers>
[2021-04-08 13:17:46.483] [info]                <decklink>
[2021-04-08 13:17:46.483] [info]                   <device>1</device>
[2021-04-08 13:17:46.483] [info]                   <key-device>2</key-device>
[2021-04-08 13:17:46.483] [info]                   <embedded-audio>true</embedded-audio>
[2021-04-08 13:17:46.483] [info]                   <latency>normal</latency>
[2021-04-08 13:17:46.483] [info]                   <keyer>external</keyer>
[2021-04-08 13:17:46.483] [info]                   <key-only>false</key-only>
[2021-04-08 13:17:46.483] [info]                   <buffer-depth>3</buffer-depth>
[2021-04-08 13:17:46.483] [info]                </decklink>
[2021-04-08 13:17:46.483] [info]                <system-audio>
[2021-04-08 13:17:46.483] [info]                   <channel-layout>stereo</channel-layout>
[2021-04-08 13:17:46.483] [info]                   <latency>200</latency>
[2021-04-08 13:17:46.483] [info]                </system-audio>
[2021-04-08 13:17:46.483] [info]             </consumers>
[2021-04-08 13:17:46.483] [info]          </channel>
[2021-04-08 13:17:46.483] [info]       </channels>
[2021-04-08 13:17:46.483] [info]       <controllers>
[2021-04-08 13:17:46.483] [info]          <tcp>
[2021-04-08 13:17:46.483] [info]             <port>5250</port>
[2021-04-08 13:17:46.483] [info]             <protocol>AMCP</protocol>
[2021-04-08 13:17:46.483] [info]          </tcp>
[2021-04-08 13:17:46.483] [info]       </controllers>
[2021-04-08 13:17:46.483] [info]       <amcp>
[2021-04-08 13:17:46.483] [info]          <media-server>
[2021-04-08 13:17:46.483] [info]             <host>localhost</host>
[2021-04-08 13:17:46.483] [info]             <port>8000</port>
[2021-04-08 13:17:46.483] [info]          </media-server>
[2021-04-08 13:17:46.483] [info]       </amcp>
[2021-04-08 13:17:46.483] [info]    </configuration>
[2021-04-08 13:17:46.483] [info]    -----------------------------------------
[2021-04-08 13:17:46.487] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2021-04-08 13:17:46.488] [info]    video_channel[1|1080i5000] Successfully Initialized.
[2021-04-08 13:17:46.624] [info]    Device may not support video-format: 1080i50
[2021-04-08 13:17:46.625] [info]    DeckLink SDI [1-1|1080i5000] Enabled embedded-audio.
[2021-04-08 13:17:46.625] [info]    DeckLink SDI [1-1|1080i5000] Disabled low-latency mode.
[2021-04-08 13:17:46.625] [error]   DeckLink SDI [1-1|1080i5000] Failed to enable external keyer.
[2021-04-08 13:17:46.652] [info]    DeckLink SDI [1-1|1080i5000] Initialized.
[2021-04-08 13:17:46.697] [info]    oal[1|1080i5000] Initialized.
[2021-04-08 13:17:46.697] [info]    Initialized channels.
[2021-04-08 13:17:46.698] [info]    Initialized controllers.
[2021-04-08 13:17:46.698] [info]    Initialized osc.
[2021-04-08 13:17:46.805] [info]    DeckLink SDI [1-1|1080i5000] Reference signal: not detected.

I have tried adding:

<html>
    <enable-gpu>true</enable-gpu>
</html>

it crashes on start, if I set it to “false” the same error apears, it’s obviously default value.

Anyone got to the bottom of this? Any hints?

Dear Friends, same error message.
Error:
<:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context.>
Server version 2.3.0 a4a7c053 Dev stable.
Initialized OpenGL 4.5.0 NVIDIA 456.71 NVIDIA GeForce GT 710
Solution proposed for Molecule

<html>
    <enable-gpu>true</enable-gpu>
  </html>

Works ok for me.

Hello, I recently pointed at this issue, on booth my server.
Runing on 2.3.3 LTS and 2.3.0
When running the last beta, the error disappeared.

I tried to ad the tag

<html>
    <enable-gpu>true</enable-gpu>
  </html>

In the config file, but, when I tried to launch the media scanner it crashed at start.

Does anyone has a clue to solve this ?
Kind regards