media/gpu/v4l2: Allow enabling AV1 support on Linux [chromium/src : main]

0 views
Skip to first unread message

Robert Mader (Gerrit)

unread,
Jun 11, 2025, 4:54:08 AMJun 11
to Nathan Hebert, Fritz Koenig, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Fritz Koenig and Nathan Hebert

Robert Mader added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Robert Mader . resolved

Hi, here's another small patch to improve V4L2 support on Linux - hope you find time to have a look :)

Open in Gerrit

Related details

Attention is currently required from:
  • Fritz Koenig
  • Nathan Hebert
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 1
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Attention: Fritz Koenig <frko...@chromium.org>
Gerrit-Attention: Nathan Hebert <nhe...@chromium.org>
Gerrit-Comment-Date: Wed, 11 Jun 2025 08:53:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Nathan Hebert (Gerrit)

unread,
Jun 11, 2025, 1:40:16 PMJun 11
to Robert Mader, Fritz Koenig, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Fritz Koenig and Robert Mader

Nathan Hebert voted and added 1 comment

Votes added by Nathan Hebert

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Nathan Hebert . resolved

Re-use of the flag looks good to me.

Open in Gerrit

Related details

Attention is currently required from:
  • Fritz Koenig
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Attention: Fritz Koenig <frko...@chromium.org>
Gerrit-Comment-Date: Wed, 11 Jun 2025 17:40:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Nathan Hebert (Gerrit)

unread,
Jun 11, 2025, 1:42:55 PMJun 11
to Robert Mader, Fritz Koenig, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Fritz Koenig and Robert Mader

Nathan Hebert added 1 comment

File media/gpu/v4l2/v4l2_video_decoder_delegate_av1.cc
Line 5, Patchset 2 (Latest):#ifdef UNSAFE_BUFFERS_BUILD
Nathan Hebert . resolved

Note to other reviewers: Every other decoder delegate uses this `#pragma`. It makes sense that changing the build files, would require this change.

Open in Gerrit

Related details

Attention is currently required from:
  • Fritz Koenig
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Attention: Fritz Koenig <frko...@chromium.org>
Gerrit-Comment-Date: Wed, 11 Jun 2025 17:42:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Fritz Koenig (Gerrit)

unread,
Jun 11, 2025, 1:53:33 PMJun 11
to Robert Mader, Chromium LUCI CQ, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Robert Mader

Fritz Koenig voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Comment-Date: Wed, 11 Jun 2025 17:53:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Robert Mader (Gerrit)

unread,
Jun 12, 2025, 9:56:13 AMJun 12
to Fritz Koenig, Chromium LUCI CQ, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org

Robert Mader added 1 comment

Patchset-level comments
Robert Mader . resolved

Thanks! I don't have the permissions to merge, mind one you trigger the CQ+2?

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Comment-Date: Thu, 12 Jun 2025 13:55:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Nathan Hebert (Gerrit)

unread,
Jun 12, 2025, 12:45:50 PMJun 12
to Robert Mader, Fritz Koenig, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Robert Mader

Nathan Hebert voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Comment-Date: Thu, 12 Jun 2025 16:45:41 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Nathan Hebert (Gerrit)

unread,
Jun 12, 2025, 12:47:07 PMJun 12
to Robert Mader, Fritz Koenig, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Robert Mader

Nathan Hebert added 1 comment

Patchset-level comments
Robert Mader . resolved

Thanks! I don't have the permissions to merge, mind one you trigger the CQ+2?

Nathan Hebert

Sorry! Yes. Done.

Open in Gerrit

Related details

Attention is currently required from:
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Comment-Date: Thu, 12 Jun 2025 16:46:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Robert Mader <robert...@collabora.com>
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jun 12, 2025, 12:48:44 PMJun 12
to Robert Mader, Fritz Koenig, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
media/gpu/v4l2: Allow enabling AV1 support on Linux

The required values in v4l2-controls.h have been upstreamed
for a while, however the baseline Debian dependency has not
been updated to a version including that yet.

Add a simple way to already enable AV1 support by reusing the
`use_av1_hw_decoder` flag, keeping it enabled by default for
VA-API but disabling it for V4L2.
Bug: 372630272
Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Reviewed-by: Nathan Hebert <nhe...@chromium.org>
Reviewed-by: Fritz Koenig <frko...@chromium.org>
Commit-Queue: Nathan Hebert <nhe...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1473110}
Files:
  • M media/gpu/BUILD.gn
  • M media/gpu/args.gni
  • M media/gpu/chromeos/image_processor_test.cc
  • M media/gpu/v4l2/BUILD.gn
  • M media/gpu/v4l2/test/av1_decoder.cc
  • M media/gpu/v4l2/v4l2_utils.cc
  • M media/gpu/v4l2/v4l2_video_decoder_backend_stateless.cc
  • M media/gpu/v4l2/v4l2_video_decoder_delegate_av1.cc
Change size: S
Delta: 8 files changed, 35 insertions(+), 13 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Nathan Hebert, +1 by Fritz Koenig
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
open
diffy
satisfied_requirement

Robert Mader (Gerrit)

unread,
Jun 12, 2025, 12:56:48 PMJun 12
to Chromium LUCI CQ, Fritz Koenig, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org

Robert Mader added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Robert Mader . resolved

Awesome, thanks :)

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-Comment-Date: Thu, 12 Jun 2025 16:56:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Jianfeng Liu (Gerrit)

unread,
Dec 1, 2025, 8:34:10 PM (4 days ago) Dec 1
to Chromium LUCI CQ, Robert Mader, Fritz Koenig, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org

Jianfeng Liu added 1 comment

Patchset-level comments
Jianfeng Liu . unresolved

Hello, Debian trixie has been released now and it has linux-libc-dev from kernel v6.12. Is it possible to enable av1 decoder on linux by default for both vaapi and v4l2 now?

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-CC: Jianfeng Liu <liujian...@gmail.com>
Gerrit-Comment-Date: Tue, 02 Dec 2025 01:33:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Fritz Koenig (Gerrit)

unread,
Dec 1, 2025, 9:04:11 PM (4 days ago) Dec 1
to Chromium LUCI CQ, Robert Mader, Jianfeng Liu, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Robert Mader

Fritz Koenig added 1 comment

Patchset-level comments
Jianfeng Liu . unresolved

Hello, Debian trixie has been released now and it has linux-libc-dev from kernel v6.12. Is it possible to enable av1 decoder on linux by default for both vaapi and v4l2 now?

Fritz Koenig

Trixie was only released in August 2025. I'm not sure what the uptake is. By going to default those that haven't upgraded yet will fail to compile. I don't know what number of people are building Chromium from source, for v4l2, have av1 hw support, and aren't on trixie. Seems pretty niche.

I'm open to enabling it by default, but would like to have some feedback from Robert as the CL was crafted to avoid doing so.

Open in Gerrit

Related details

Attention is currently required from:
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-CC: Jianfeng Liu <liujian...@gmail.com>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Comment-Date: Tue, 02 Dec 2025 02:03:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jianfeng Liu <liujian...@gmail.com>
satisfied_requirement
open
diffy

Robert Mader (Gerrit)

unread,
Dec 2, 2025, 3:57:37 AM (4 days ago) Dec 2
to Chromium LUCI CQ, Jianfeng Liu, Fritz Koenig, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org

Robert Mader added 1 comment

Patchset-level comments
Jianfeng Liu . unresolved

Hello, Debian trixie has been released now and it has linux-libc-dev from kernel v6.12. Is it possible to enable av1 decoder on linux by default for both vaapi and v4l2 now?

Fritz Koenig

Trixie was only released in August 2025. I'm not sure what the uptake is. By going to default those that haven't upgraded yet will fail to compile. I don't know what number of people are building Chromium from source, for v4l2, have av1 hw support, and aren't on trixie. Seems pretty niche.

I'm open to enabling it by default, but would like to have some feedback from Robert as the CL was crafted to avoid doing so.

Robert Mader

I'd love to see it enabled by default, however AFAICS older Debian versions are still used for CI and local builds - and I don't expect that to change any time soon.

If we want to enable `use_av1_hw_decoder` by default on systems like Trixie that have the headers, I suppose we could do so with some kind of `has_header()` check.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-CC: Jianfeng Liu <liujian...@gmail.com>
Gerrit-Comment-Date: Tue, 02 Dec 2025 08:57:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jianfeng Liu <liujian...@gmail.com>
Comment-In-Reply-To: Fritz Koenig <frko...@chromium.org>
satisfied_requirement
open
diffy

Fritz Koenig (Gerrit)

unread,
Dec 5, 2025, 10:17:17 AM (17 hours ago) Dec 5
to Chromium LUCI CQ, Robert Mader, Jianfeng Liu, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Robert Mader

Fritz Koenig added 1 comment

Patchset-level comments
Jianfeng Liu . unresolved

Hello, Debian trixie has been released now and it has linux-libc-dev from kernel v6.12. Is it possible to enable av1 decoder on linux by default for both vaapi and v4l2 now?

Fritz Koenig

Trixie was only released in August 2025. I'm not sure what the uptake is. By going to default those that haven't upgraded yet will fail to compile. I don't know what number of people are building Chromium from source, for v4l2, have av1 hw support, and aren't on trixie. Seems pretty niche.

I'm open to enabling it by default, but would like to have some feedback from Robert as the CL was crafted to avoid doing so.

Robert Mader

I'd love to see it enabled by default, however AFAICS older Debian versions are still used for CI and local builds - and I don't expect that to change any time soon.

If we want to enable `use_av1_hw_decoder` by default on systems like Trixie that have the headers, I suppose we could do so with some kind of `has_header()` check.

Fritz Koenig

Thanks for pointing out that builders are still using older Debian, I had not considered that. I will keep it in mind for the future. Eventually they will get updated, but Debian still has years of support for bookworm.

Open in Gerrit

Related details

Attention is currently required from:
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-CC: Jianfeng Liu <liujian...@gmail.com>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Comment-Date: Fri, 05 Dec 2025 15:17:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jianfeng Liu <liujian...@gmail.com>
Comment-In-Reply-To: Fritz Koenig <frko...@chromium.org>
Comment-In-Reply-To: Robert Mader <robert...@collabora.com>
satisfied_requirement
open
diffy

Jianfeng Liu (Gerrit)

unread,
Dec 5, 2025, 10:20:49 PM (5 hours ago) Dec 5
to Chromium LUCI CQ, Robert Mader, Fritz Koenig, Nathan Hebert, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, media-cro...@chromium.org, oshima...@chromium.org
Attention needed from Robert Mader

Jianfeng Liu added 1 comment

Patchset-level comments
Jianfeng Liu . resolved

Hello, Debian trixie has been released now and it has linux-libc-dev from kernel v6.12. Is it possible to enable av1 decoder on linux by default for both vaapi and v4l2 now?

Fritz Koenig

Trixie was only released in August 2025. I'm not sure what the uptake is. By going to default those that haven't upgraded yet will fail to compile. I don't know what number of people are building Chromium from source, for v4l2, have av1 hw support, and aren't on trixie. Seems pretty niche.

I'm open to enabling it by default, but would like to have some feedback from Robert as the CL was crafted to avoid doing so.

Robert Mader

I'd love to see it enabled by default, however AFAICS older Debian versions are still used for CI and local builds - and I don't expect that to change any time soon.

If we want to enable `use_av1_hw_decoder` by default on systems like Trixie that have the headers, I suppose we could do so with some kind of `has_header()` check.

Fritz Koenig

Thanks for pointing out that builders are still using older Debian, I had not considered that. I will keep it in mind for the future. Eventually they will get updated, but Debian still has years of support for bookworm.

Jianfeng Liu

Get it. I have manually enabled av1 decoder at debian: https://salsa.debian.org/chromium-team/chromium/-/merge_requests/29

Open in Gerrit

Related details

Attention is currently required from:
  • Robert Mader
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia79b0fc58cb4d9db56fe8be378ffacd6cc996cb1
Gerrit-Change-Number: 6632634
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Mader <robert...@collabora.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Fritz Koenig <frko...@chromium.org>
Gerrit-Reviewer: Nathan Hebert <nhe...@chromium.org>
Gerrit-CC: Jianfeng Liu <liujian...@gmail.com>
Gerrit-Attention: Robert Mader <robert...@collabora.com>
Gerrit-Comment-Date: Sat, 06 Dec 2025 03:20:38 +0000
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages