You are not logged in.
Using chromium or chromium-based browser e.g. brave, enabling camera effects crashes webcam on Wayland ozone platform if GPU compositing is ON.
I recently noticed this issue, was looking to see whether more people can reproduce it and confirm it's not an issue from my side.
If I use the camera on a chromium-based browser like Brave with wayland mode enabled, e.g.:
brave --ozone-platform-hint=auto --gtk-version=4The camera, for example on Google Meet, works as long as I don't try to apply any effects, if I do, then it just shows up as a blank rectangle.
If I add the option --disable-gpu-compositing, then it works as expected.
Issue: https://github.com/brave/brave-browser/issues/47596
I get these logs during the crash:
[3377:3377:0713/162437.258140:ERROR:ui/gl/angle_platform_impl.cc:49] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[3377:3377:0713/162437.258983:ERROR:ui/gl/scoped_egl_image.cc:23] Failed to create EGLImage: EGL_SUCCESS
[3377:3377:0713/162437.259052:ERROR:ui/ozone/common/native_pixmap_egl_binding.cc:114] Unable to initialize binding from pixmap
[3377:3377:0713/162437.259255:ERROR:gpu/command_buffer/service/shared_image/ozone_image_backing.cc:316] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[3377:3377:0713/162437.259375:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:396] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[3377:3377:0713/162437.259479:ERROR:gpu/command_buffer/service/raster_decoder.cc:1960] [.WebGL-0xaa4077b6e00]GL ERROR :GL_INVALID_VALUE : glCopySubTexture: unknown mailbox
[3377:3377:0713/162437.365340:ERROR:ui/gl/angle_platform_impl.cc:49] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[3377:3377:0713/162437.366178:ERROR:ui/gl/scoped_egl_image.cc:23] Failed to create EGLImage: EGL_SUCCESS
[3377:3377:0713/162437.366330:ERROR:ui/ozone/common/native_pixmap_egl_binding.cc:114] Unable to initialize binding from pixmap
[3377:3377:0713/162437.366600:ERROR:gpu/command_buffer/service/shared_image/ozone_image_backing.cc:316] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[3377:3377:0713/162437.366934:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:396] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[3377:3377:0713/162437.367043:ERROR:gpu/command_buffer/service/raster_decoder.cc:1960] [.WebGL-0xaa4077b6e00]GL ERROR :GL_INVALID_VALUE : glCopySubTexture: unknown mailbox
[3377:3377:0713/162437.463763:ERROR:ui/gl/angle_platform_impl.cc:49] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[3377:3377:0713/162437.464305:ERROR:ui/gl/scoped_egl_image.cc:23] Failed to create EGLImage: EGL_SUCCESS
[3377:3377:0713/162437.464914:ERROR:ui/ozone/common/native_pixmap_egl_binding.cc:114] Unable to initialize binding from pixmap
[3377:3377:0713/162437.465254:ERROR:gpu/command_buffer/service/shared_image/ozone_image_backing.cc:316] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[3377:3377:0713/162437.465651:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:396] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[3377:3377:0713/162437.465724:ERROR:gpu/command_buffer/service/raster_decoder.cc:1960] [.WebGL-0xaa4077b6e00]GL ERROR :GL_INVALID_VALUE : glCopySubTexture: unknown mailboxOffline
I had the same symptom with google chrome 139 - showing white box when any screen effect is applied to the google meet video.
While I couldn't identify the cause, the issue is solved (not reproduced, at least) when I use google chrome 140, which is in the beta channel, at this point.
Offline
Confirming the report of the topic starter with Chrome 141 on NVidia GPU. Also confirming the workaround with --disable-gpu-compositing.
The problem does not occur on my laptop with an Intel GPU.
Offline
I'm also dealing with this issue (NVidia GPU). Seems that the --disable-gpu-compositing worked for me as well.
Tried various flags from the wiki to resolve this and the above flag is the only thing that worked.
Offline