Run CEF based testtool on a headless machine

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Run CEF based testtool on a headless machine

Postby videoaudio » Tue Feb 17, 2015 11:10 am

Hello,

I am exploring possibilities on running CEF based offscreen rendering app on a pure headless ubuntu machine(No X server or Xvfb running).
I created a test tool with,
-- CEF browser in windowless mode.
-- CEF configured for windowless rendering. (CefSettings.windowless_rendering_enabled is set to True)
-- implement CefRenderHandler to write the image data to a file (No display is involved)

Above setup works perfectly fine if Xvfb is running in background.

Can I run CEF windowless mode on a pure headless ubuntu machine (Where my testapp can allocate surface buffers to CEF instead of X server) where dependency on X display server is removed?

Thanks.
videoaudio
Techie
 
Posts: 36
Joined: Tue Feb 17, 2015 10:08 am

Re: Run CEF based testtool on a headless machine

Postby magreenblatt » Tue Feb 17, 2015 12:45 pm

videoaudio wrote:Can I run CEF windowless mode on a pure headless ubuntu machine (Where my testapp can allocate surface buffers to CEF instead of X server) where dependency on X display server is removed?

Not currently. You need a port of CEF that adds Ozone support and removes the xlib dependency. See for example viewtopic.php?f=6&t=11924.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Run CEF based testtool on a headless machine

Postby videoaudio » Tue Feb 17, 2015 9:49 pm

@magreenblatt Thanks a lot for the input.
videoaudio
Techie
 
Posts: 36
Joined: Tue Feb 17, 2015 10:08 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 66 guests