Unsupported buffer format 842094158 (NV12)

Bug #1999924 reported by Bram Stolk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Confirmed
Undecided
Unassigned
mutter (Ubuntu)
New
Undecided
Unassigned

Bug Description

This is with 107.0.5304.121-hwacc from latest/candidate/hwacc on Ubuntu 22.10 Wayland.

When playing a h264 video, or a youtube video, I get:

```
$ snap info chromium | grep installed
installed: 107.0.5304.121-hwacc (2224) 171MB -
$ chromium ~/sample.mp4
Gtk-Message: 09:25:06.701: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[15876:15876:1216/092506.880657:ERROR:gpu_init.cc(537)] Passthrough is not supported, GL is egl, ANGLE is
[15747:15837:1216/092506.908136:ERROR:top_sites_backend.cc(79)] Failed to initialize database.
[15747:15747:1216/092507.059802:ERROR:wayland_event_watcher.cc(36)] libwayland: [destroyed object]: error 7: failed to import supplied dmabufs: Unsupported buffer format 842094158

Trace/breakpoint trap (core dumped)
```

Test video: https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_30MB.mp4

I will try other hwacc versions and a non-hwacc version to see if they behave differently.

OS: Ubuntu 22.10

Desktop: Wayland

GPU: Intel AlderLake-S GT1

Tags: kivu snap
Revision history for this message
Bram Stolk (b-stolk) wrote (last edit ):

108.0.5359.124 from latest/candidate plays video without crashing.

109.0.5414.36-hwacc from latest/beta/hwacc has the same crash.

Adding --ozone-platform=x11 stops the crash.

This also fixes it:
CHROMIUM_FLAGS="--disable-features=UseChromeOSDirectVideoDecoder" chromium ~/sample.mp4

tags: added: kivu snap
Bram Stolk (b-stolk)
description: updated
Revision history for this message
Bram Stolk (b-stolk) wrote :
Changed in chromium-browser (Ubuntu):
status: New → Fix Committed
Revision history for this message
Bram Stolk (b-stolk) wrote :

Ugh, this may need revisiting. Even though it stops the crash, it also seems to stop hardware decode support for me. I would have sworn I tested with intel_gpu_top, but on the current edge build, I see no HW acceleration anymore.

Changed in chromium-browser (Ubuntu):
status: Fix Committed → Confirmed
summary: - Unsupported buffer format 842094158
+ Unsupported buffer format 842094158 (NV12)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm told Chromium already worked around this, but for the record, proper NV12 support is in progress at https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2191

Changed in mutter (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
status: New → In Progress
Changed in mutter (Ubuntu):
status: In Progress → New
assignee: Daniel van Vugt (vanvugt) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.