Closed Bug 1931941 Opened 1 year ago Closed 11 months ago

Gecko View does not use Hardware Decoding on all certified Android TV/Fire TV Set-top Boxes

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 134
defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: jzwrql7lq, Assigned: jhlin)

References

Details

Attachments

(1 file)

Steps to reproduce:

  1. Create a GeckoView application to access the company's website, which includes the company’s internal YouTube channel, displayed on a Samsung touchscreen connected to Android TV set-top boxes.

  2. Checked Codec Support Information in about:support

Actual results:

  1. YouTube videos dropped 855/1020 frames in AVC1 codec (Stats for nerds), making the video so laggy that it's unwatchable. The set-top boxes heat up quickly due to CPU usage for video decoding (only SW).

  2. All SW decoding supported, all HW decoding unsupported because can not detect hw decoders. (tested devices supported vp9/av1/h264 HW)

Expected results:

GeckoView on Android should use hardware decoders on certified set-top boxes (from Google) and accurately detect codecs with hardware decoding support on all processors designed for Android TVs.
GeckoView performs poorly on common processors used in streaming devices tested, such as Amlogic, MediaTek, rockchip, broadcom, allwinner....

hola,
I noticed that GeckoView 129 correctly detects hardware decoding on Android 10+ on smartphones, but there are still many devices running Android TV 9 and Android TV 8.1 (include certified devices and AOSP), GeckoView cannot detect hardware decoding. This is a serious issue, Mozilla developers can review and fix it.

Android Streaming Devices Categories
Certified Android TV

Codec Info

  • Android TV 8.1
  • Android TV 9
  • Android TV 11
  • Android 12 for TV
  • Android 14 for TV
  1. Amlogic
    Chromecast with Google TV (Amlogic S905D3)
    Onn. 4K Pro Streaming Box Google TV (Amlogic S905X4) (AV1)
    Tanix KICKPI KP1 (Amlogic S905Y4) (AV1)
    OMX.amlogic.vp9.decoder.awesome(2)
    OMX.amlogic.vp9.decoder.awesome(2).secure
    OMX.amlogic.avc.decoder.awesome(2)
    OMX.amlogic.avc.decoder.awesome(2).secure
    OMX.amlogic.av1.decoder.awesome2
    OMX.amlogic.av1.decoder.awesome2.secure

  2. Allwinner
    Tanix TX2 (Allwinner H618)
    OMX.allwinner.video.decoder.avc
    OMX.allwinner.video.decoder.vp9
    OMX.allwinner.video.decoder.av1

  3. Rockchip
    Ugoos UT8 Pro (Rockchip RK3568)
    OMX.rk.video_decoder.avc
    OMX.rk.video_decoder.vp9
    OMX.rk.video_decoder.av1

  4. MediaTek
    Google TV streamer 4K (MediaTek MT8696)
    Fire TV Stick 4K Max Gen 1 (MediaTek MT8696)
    OMX.MTK.VIDEO.DECODER.AVC
    OMX.MTK.VIDEO.DECODER.AVC.secure
    OMX.MTK.VIDEO.DECODER.VP9
    OMX.MTK.VIDEO.DECODER.VP9.secure
    OMX.MTK.VIDEO.DECODER.AV1
    OMX.MTK.VIDEO.DECODER.AV1.secure

  5. NVIDIA Tegra
    NVIDIA Shield TV Pro (Tegra X1+)
    OMX.Nvidia.h264.decode
    OMX.Nvidia.h264.decode.secure
    OMX.Nvidia.vp9.decode
    OMX.Nvidia.vp9.decode.secure

Assignee: nobody → jolin

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
Severity: -- → S3
Flags: needinfo?(jmathies)
Duplicate of this bug: 1927064
Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8a3b322fc741 add more HW video codec prefixes. r=azebrowski,geckoview-reviewers,calu
Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: