On 9/28/24 22:42, Guillem Jover wrote:
>> I typically use set --ozone-platform-hint=auto, or set it explicitly >> in chrome://flags/#ozone-platform-hint (SeeControl: forwarded -1 https://issues.chromium.org/issues/331796411 Control: tags -1 upstream fixed-upstreamHi! On Sun, 2024-07-28 at 09:51:09 -0700, Daniel Kahn Gillmor wrote:Package: chromium Version: 126.0.6478.126-1~deb13u1 Severity: normalWhen i use chromium to watch a video, using sway and wayland (no X11 or XWayland on this system), i get very noisy messages to stderr, apparently about one message per frame of video.
>> https://bugs.debian,org/1075982, where i explain why i think this >> should be the default).This upstream bug (just like https://issues.chromium.org/issues/329678163 before it) is exactly why I haven't enabled wayland by default. Upstream just doesn't seem to care about fixing wayland bugs in a timely fashion yet.
If wayland users have to manually switch chromium from using xwayland to wayland, then hopefully they'll know how to switch it back when upstream inevitably breaks the wayland backend.
I really hope this upstream situation changes soon.
In particular, i see a line like this appear roughly once per frame: ``` [635461:635515:0728/122929.891862:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE ```This was reported upstream, and seems to have been fixed a few days ago with the following patch, which is not part of any release yet: https://chromium-review.googlesource.com/c/chromium/src/+/5873796 As a temporary workaround adding the following option works for me: --disable-gpu-memory-buffer-video-frames I guess the options are to either backport that patch, wait for a release with the fix to happen or temporarily add the above option in the package conffile?
Thanks for this! I can include the patch in the next 129 upload (probably uploaded on Wednesday). Since I'm not currently using wayland, I'd appreciate if you could test it out once I do so, and tell me if it resolves the issue completely or not.
Thanks, Guillem
--I'm available for contract & employment work, please contact me if interested.
OpenPGP_signature.asc
Description: OpenPGP digital signature