chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.09k stars 450 forks source link

Regression since cef_binary_124.3.1+g6d871a1+chromium-124.0.6367.60_linux64 #3701

Closed Zabrimus closed 1 month ago

Zabrimus commented 1 month ago

Describe the bug The application uses OSR to capture the browser window and process the incoming image.

The version cef_binary_124.2.3+gccc63c9+chromium-124.0.6367.60_linux64 works as expected, but an upgrade of CEF to cef_binary_124.3.1+g6d871a1+chromium-124.0.6367.60_linux64 leads only to error messages in the log and the frames are not captured. The application itself is completely unchanged.

[0520/175935.807000:ERROR:check.cc(375)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0520/175935.807167:ERROR:frame_sink_video_capturer_impl.cc(865)] Unable to allocate frame for first frame capture: OOM?

Versions (please complete the following information):

Unfortunately i was not able to reproduce this problem with cefclient, but i also have no idea where the problem could lie or which additional information could be useful.

Zabrimus commented 1 month ago

Found the reason. The CefWindowInfo.shared_texture_enabled was set to true (for whatever reason). After setting the value to false, everything works as expected.

Sorry for the noise.