Exiting GPU process due to errors during initialization

html

#1

I"m testing the html producer using CasparCG Server 2.2. When playing this url:

http://blcloud.net/chameleon

i get the error message “Exiting GPU process due to errors during initialization”.


#2

Do you have the log file available? Could you post a bug at GitHub?


#3

This sounds like an error I have seen before from CEF. Possibly because Caspar doesnt use the GPU for CEF and something on that page needs it?


#4

Yes, we use the PixiJS engine to create html-based tickers and branding. We do require GPU for CEF. That being said, would Caspar ever support using the GPU for CEF?


#5

There is a config option to enable the GPU, but doing so can decrease performance.
2.3 should have it enabled by default, but some work needs to be done first to get better performance.


#6

Thanks. I’ll give that a try.


#7

After enabling the GPU for html, it’s still not working. Here are the logs:

[2019-05-01 13:26:08.796] [info] Initializing OpenGL Device.
[2019-05-01 13:26:08.800] [info] Successfully initialized OpenGL
[2019-05-01 13:26:08.830] [info] Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2019-05-01 13:26:08.831] [info] video_channel[1|720p5000] Successfully Initialized.
[2019-05-01 13:26:08.832] [info] Screen consumer [1|720p5000] Initialized.
[2019-05-01 13:26:08.853] [info] oal[1|720p5000] Initialized.
[2019-05-01 13:26:08.853] [info] Initialized channels.
[2019-05-01 13:26:08.854] [info] Initialized controllers.
[2019-05-01 13:26:08.854] [info] Initialized osc.
[2019-05-01 13:26:17.559] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2019-05-01 13:26:17.880] [info] Received message from 127.0.0.1: VERSION SERVER\r\n
[2019-05-01 13:26:17.881] [info] Received message from 127.0.0.1: INFO\r\n
[2019-05-01 13:26:17.881] [info] Sent message to 127.0.0.1:201 VERSION OK\r\n2.2.0.3 f61e8975 Beta 1\r\n
[2019-05-01 13:26:17.881] [info] Received message from 127.0.0.1: CLS\r\n
[2019-05-01 13:26:17.881] [info] Sent message to 127.0.0.1:200 INFO OK\r\n1 720p5000 PLAYING\r\n\r\n
[2019-05-01 13:26:17.881] [info] Received message from 127.0.0.1: TLS\r\n
[2019-05-01 13:26:17.881] [info] Received message from 127.0.0.1: DATA LIST\r\n
[2019-05-01 13:26:17.881] [info] Received message from 127.0.0.1: THUMBNAIL LIST\r\n
[2019-05-01 13:26:19.886] [error] Throw location unknown (consider using BOOST_THROW_EXCEPTION)
[2019-05-01 13:26:19.886] [error] Dynamic exception type: class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector >
[2019-05-01 13:26:19.886] [error] std::exception::what: connect: No connection could be made because the target machine actively refused it
[2019-05-01 13:26:19.886] [error]
[2019-05-01 13:26:19.886] [error] Failed to execute command:CLS
[2019-05-01 13:26:19.887] [info] Sent message to 127.0.0.1:501 CLS FAILED\r\n
[2019-05-01 13:26:21.891] [error] Throw location unknown (consider using BOOST_THROW_EXCEPTION)
[2019-05-01 13:26:21.891] [error] Dynamic exception type: class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector >
[2019-05-01 13:26:21.891] [error] std::exception::what: connect: No connection could be made because the target machine actively refused it
[2019-05-01 13:26:21.891] [error]
[2019-05-01 13:26:21.891] [error] Failed to execute command:TLS
[2019-05-01 13:26:21.891] [info] Sent message to 127.0.0.1:501 TLS FAILED\r\n
[2019-05-01 13:26:21.891] [info] Sent message to 127.0.0.1:200 DATA LIST OK\r\n\r\n
[2019-05-01 13:26:23.893] [error] Throw location unknown (consider using BOOST_THROW_EXCEPTION)
[2019-05-01 13:26:23.893] [error] Dynamic exception type: class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector >
[2019-05-01 13:26:23.893] [error] std::exception::what: connect: No connection could be made because the target machine actively refused it
[2019-05-01 13:26:23.893] [error]
[2019-05-01 13:26:23.893] [error] Failed to execute command:THUMBNAIL LIST
[2019-05-01 13:26:23.893] [info] Sent message to 127.0.0.1:501 THUMBNAIL LIST FAILED\r\n
[2019-05-01 13:26:28.385] [info] Received message from 127.0.0.1: LOADBG 1-10 [HTML] “https://blcloud.net/chameleon?showCode=SW602266” CUT 1 Linear RIGHT AUTO\r\n
[2019-05-01 13:26:28.388] [info] Sent message to 127.0.0.1:202 LOADBG OK\r\n
[2019-05-01 13:26:45.993] [info] Received message from 127.0.0.1: STOP 1-10\r\n
[2019-05-01 13:26:45.993] [info] Sent message to 127.0.0.1:202 STOP OK\r\n
[2019-05-01 13:26:45.998] [info] html[https://blcloud.net/chameleon?showCode=SW602266] Destroyed.
[2019-05-01 13:26:50.910] [info] async_event_server[:5250] Client 127.0.0.1 disconnected (0 connections).
[2019-05-01 13:26:53.519] [info] Screen consumer [1|720p5000] Uninitialized.


#8

Screencapture via VNC so lagging