Closed Bug 1967752 Opened 5 months ago Closed 4 months ago

Android crash (and UI glitches) when browsing www.lidl.fr on a Pixel 7 phone with Android 15 (2025-05-05 update)

Categories

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

All
Android
defect

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox140 --- verified
firefox141 --- verified

People

(Reporter: willdurand, Assigned: jhlin)

References

Details

Attachments

(4 files)

Steps to reproduce

  1. Browse https://www.lidl.fr/ with Fenix Nightly
  2. If there is no UI glitch in the background videos yet, try to go to a different page from one of the circle buttons ("Cuisine & Ménage", etc.). That's because these pages have videos in the background.

Expected behavior

No UI glitch. No crash.

Actual behavior

Fenix renders videos with glitches (see attached screenshot), and that almost always crashes the entire system, not just Fenix. This could be related to AV1 per the logcat output I got.

Device information

  • Firefox version: latest nightly available (see about:support in the attachments)
  • Android device model: Pixel 7a
  • Android OS version: 15 with 2025-05-05 update applied

Any additional information?

Logcat output right before a crash:

2025-05-21 10:02:17.243  7419-7475  GeckoIdleService        org.mozilla.fenix                    D  next timeout 5000 msec from now
2025-05-21 10:02:17.243  7419-7475  GeckoIdleService        org.mozilla.fenix                    D  SetTimerExpiryIfBefore: next timeout 5000 msec from now
2025-05-21 10:02:17.243  7419-7475  GeckoIdleService        org.mozilla.fenix                    D  reset timer expiry to 5010 msec from now
2025-05-21 10:02:17.243  7419-7475  GeckoIdleService        org.mozilla.fenix                    D  Reset idle timeout: tell observer 0x728a76d3e8 user is back
2025-05-21 10:02:17.326  2139-2186  deeptouch               and...dware.input.processor-service  I  I0000 00:00:1747814537.326264    2186 tf_lite_classifier.cc:413] Event stream classified as kNone
2025-05-21 10:02:17.577  7419-7419  GeckoSession            org.mozilla.fenix                    I  handleMessage GeckoView:PageStart uri=
2025-05-21 10:02:17.592  1338-1881  ActivityManager         system_server                        D  freezing 2767 com.google.android.gms
2025-05-21 10:02:17.677  2303-3092  SHANNON_IMS             com.shannon.imsservice               W  2046 [CONN] Timer IMS_SUPPORT_SERVICE_TIMER expired (ConnectionTimer$ConnectionTimerTask%run:76)
2025-05-21 10:02:17.800 10226-10609 CCodec                  org.mozilla.fenix                    D  allocate(c2.google.av1.decoder)
2025-05-21 10:02:17.804 10226-10609 CCodec                  org.mozilla.fenix                    I  setting up 'default' as default (vendor) store
2025-05-21 10:02:17.805   894-975   google.har....0-service goo...hardware.media.c2@1.0-service  I  Log Level: 0x4, Buffer sev level: 0x0
2025-05-21 10:02:17.805   894-975   GC2_AV1Dec              goo...hardware.media.c2@1.0-service  I  AFBC mode enabled: 0
2025-05-21 10:02:17.805   894-975   GC2_Store               goo...hardware.media.c2@1.0-service  I  field: <Param::Index(e0014019: -G--i F-14019)::Field(@08+08)>
2025-05-21 10:02:17.805   894-975   GC2_Store               goo...hardware.media.c2@1.0-service  I  type: 0
2025-05-21 10:02:17.805   894-975   GC2_Store               goo...hardware.media.c2@1.0-service  I  field: <Param::Index(e0014019: -G--i F-14019)::Field(@10+04)>
2025-05-21 10:02:17.805   894-975   GC2_Store               goo...hardware.media.c2@1.0-service  I  type: 0
2025-05-21 10:02:17.805   894-975   GC2_Store               goo...hardware.media.c2@1.0-service  I  [createComponent] component(c2.google.av1.decoder) is created
2025-05-21 10:02:17.805   894-975   google.har....0-service goo...hardware.media.c2@1.0-service  I  missing struct descriptor #Param::CoreIndex(--002) for field mastering of struct #Param::CoreIndex(--180a)
2025-05-21 10:02:17.805   894-975   google.har....0-service goo...hardware.media.c2@1.0-service  I  missing struct descriptor #Param::CoreIndex(--002) for field mastering of struct #Param::CoreIndex(--180a)
2025-05-21 10:02:17.805   894-975   ColorUtils              goo...hardware.media.c2@1.0-service  W  expected specified color aspects (0:0:0:0)
2025-05-21 10:02:17.805   894-975   ColorUtils              goo...hardware.media.c2@1.0-service  W  expected specified color aspects (2:0:0:0)
2025-05-21 10:02:17.806 10226-10609 lla.fenix:media         org.mozilla.fenix                    W  AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. This might not be intended. AIBinder_DeathRecipient_setOnUnlinked should be called first.
2025-05-21 10:02:17.806 10226-10609 CCodec                  org.mozilla.fenix                    I  Created component [c2.google.av1.decoder]
2025-05-21 10:02:17.806 10226-10609 CCodecConfig            org.mozilla.fenix                    D  read media type: video/av01
2025-05-21 10:02:17.807 10226-10609 ReflectedParamUpdater   org.mozilla.fenix                    D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2025-05-21 10:02:17.808 10226-10609 ReflectedParamUpdater   org.mozilla.fenix                    D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2025-05-21 10:02:17.808 10226-10609 ReflectedParamUpdater   org.mozilla.fenix                    D  extent() != 1 for single value type: output.buffers.pool-ids.values
2025-05-21 10:02:17.811 10226-10609 CCodecConfig            org.mozilla.fenix                    D  ignoring local param raw.size (0xd2001800) as it is already supported
2025-05-21 10:02:17.811 10226-10609 CCodecConfig            org.mozilla.fenix                    D  ignoring local param default.color (0x5200180b) as it is already supported
2025-05-21 10:02:17.811 10226-10609 CCodecConfig            org.mozilla.fenix                    D  ignoring local param raw.hdr-static-info (0xd200180a) as it is already supported
2025-05-21 10:02:17.812 10226-10609 CCodecConfig            org.mozilla.fenix                    I  query failed after returning 18 values (BAD_INDEX)
2025-05-21 10:02:17.812 10226-10609 CCodecConfig            org.mozilla.fenix                    D  c2 config diff is Dict {
                                                                                                      c2::u32 algo.delay.value = 0
                                                                                                      c2::i32 algo.priority.value = 0
                                                                                                      c2::float algo.rate.value = 0
                                                                                                      c2::u32 coded.pl.level = 36865
                                                                                                      c2::u32 coded.pl.profile = 36864
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 2
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 default.color.matrix = 0
                                                                                                      c2::u32 default.color.primaries = 0
                                                                                                      c2::u32 default.color.range = 0
                                                                                                      c2::u32 default.color.transfer = 0
                                                                                                      c2::u32 input.buffers.max-size.value = 13271040
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      Buffer input.hdr10-plus-info.value = {
                                                                                                      }
                                                                                                      string input.media-type.value = "video/av01"
                                                                                                      c2::u32 output.delay.value = 12
                                                                                                      Buffer output.hdr10-plus-info.value = {
                                                                                                      }
                                                                                                      string output.media-type.value = "video/raw"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 2
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::float raw.hdr-static-info.mastering.blue.x = 0
                                                                                                      c2::float raw.hdr-static-info.mastering.blue.y = 0
                                                                                                      
2025-05-21 10:02:17.812 10226-10609 ColorUtils              org.mozilla.fenix                    W  expected specified color aspects (2:0:0:0)
2025-05-21 10:02:17.813 10226-10608 MediaCodec              org.mozilla.fenix                    I  MediaCodec will operate in async mode
2025-05-21 10:02:17.813 10226-10608 SurfaceUtils            org.mozilla.fenix                    D  connecting to surface 0xb4000074780a14c0, reason connectToSurface
2025-05-21 10:02:17.814 10226-10608 MediaCodec              org.mozilla.fenix                    I  [c2.google.av1.decoder] setting surface generation to 10471434
2025-05-21 10:02:17.814 10226-10608 SurfaceUtils            org.mozilla.fenix                    D  disconnecting from surface 0xb4000074780a14c0, reason connectToSurface(reconnect)
2025-05-21 10:02:17.814 10226-10608 SurfaceUtils            org.mozilla.fenix                    D  connecting to surface 0xb4000074780a14b0, reason connectToSurface(reconnect-with-listener)
2025-05-21 10:02:17.815 10226-10609 CCodec                  org.mozilla.fenix                    D  [c2.google.av1.decoder] buffers are bound to CCodec for this session
2025-05-21 10:02:17.815 10226-10609 CCodecConfig            org.mozilla.fenix                    D  no c2 equivalents for native-window
2025-05-21 10:02:17.815 10226-10609 CCodecConfig            org.mozilla.fenix                    D  no c2 equivalents for native-window-generation
2025-05-21 10:02:17.815 10226-10609 CCodecConfig            org.mozilla.fenix                    D  no c2 equivalents for flags
2025-05-21 10:02:17.816 10226-10609 CCodecConfig            org.mozilla.fenix                    D  c2 config diff is   c2::u32 raw.size.height = 468
                                                                                                      c2::u32 raw.size.width = 312
2025-05-21 10:02:17.817 10226-10609 CCodec                  org.mozilla.fenix                    D  encoding statistics level = 0
2025-05-21 10:02:17.817 10226-10609 CCodec                  org.mozilla.fenix                    D  setup formats input: AMessage(what = 0x00000000) = {
                                                                                                      int32_t height = 468
                                                                                                      int32_t level = 2
                                                                                                      int32_t max-input-size = 13271040
                                                                                                      string mime = "video/av01"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t profile = 1
                                                                                                      int32_t width = 312
                                                                                                      Rect crop(0, 0, 311, 467)
                                                                                                    }
2025-05-21 10:02:17.817 10226-10609 CCodec                  org.mozilla.fenix                    D  setup formats output: AMessage(what = 0x00000000) = {
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                      int32_t android._video-scaling = 1
                                                                                                      int32_t android._dataspace = 259
                                                                                                      int32_t color-standard = 4
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t sar-height = 1
                                                                                                      int32_t rotation-degrees = 0
                                                                                                      Buffer hdr-static-info = {
                                                                                                        00000000:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
                                                                                                        00000010:  00 00 00 00 00 00 00 00  00                       .........
                                                                                                      }
                                                                                                      int32_t sar-width = 1
                                                                                                      Rect crop(0, 0, 311, 467)
                                                                                                      int32_t width = 312
                                                                                                      Buffer hdr10-plus-info = {
                                                                                                      }
                                                                                                      int32_t height = 468
                                                                                                      int32_t max-height = 2160
                                                                                                      int32_t max-width = 4096
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t color-format = 2130708361
                                                                                                    }
2025-05-21 10:02:17.817 10226-10609 CCodecConfig            org.mozilla.fenix                    I  query failed after returning 18 values (BAD_INDEX)
2025-05-21 10:02:17.818 10226-10236 MediaCodec              org.mozilla.fenix                    D  keep callback message for reclaim
2025-05-21 10:02:17.819 10226-10609 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a9c18 : 4(53084160 size) total buffers - 4(53084160 size) used buffers - 102/108 (recycle/alloc) - 6/204 (fetch/transfer)
2025-05-21 10:02:17.819 10226-10609 CCodecBufferChannel     org.mozilla.fenix                    D  [c2.google.av1.decoder#931] Created input block pool with allocatorID 16 => poolID 26 - OK (0)
2025-05-21 10:02:17.819 10226-10609 Codec2Client            org.mozilla.fenix                    D  GraphicBufferAllocator created
2025-05-21 10:02:17.820   894-894   GC2_Store               goo...hardware.media.c2@1.0-service  I  field: <Param::Index(e0014019: -G--i F-14019)::Field(@08+08)>
2025-05-21 10:02:17.820   894-894   GC2_Store               goo...hardware.media.c2@1.0-service  I  type: 0
2025-05-21 10:02:17.820   894-894   GC2_Store               goo...hardware.media.c2@1.0-service  I  field: <Param::Index(e0014019: -G--i F-14019)::Field(@10+04)>
2025-05-21 10:02:17.820   894-894   GC2_Store               goo...hardware.media.c2@1.0-service  I  type: 0
2025-05-21 10:02:17.820 10226-10609 CCodecBufferChannel     org.mozilla.fenix                    I  [c2.google.av1.decoder#931] Created output block pool with allocatorID 18 => poolID 25 - OK
2025-05-21 10:02:17.820 10226-10609 CCodecBufferChannel     org.mozilla.fenix                    D  [c2.google.av1.decoder#931] Configured output block pool ids 25 => OK
2025-05-21 10:02:17.820 10226-10609 Codec2Client            org.mozilla.fenix                    D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-21 10:02:17.821 10226-10609 GraphicsTracker         org.mozilla.fenix                    D  new surface in configuration: maxDequeueRequested(0), maxDequeueCommitted(3)
2025-05-21 10:02:17.821 10226-10609 GraphicsTracker         org.mozilla.fenix                    D  new surface configured with id:33526514712585 gen:10471434 maxDequeue:3
2025-05-21 10:02:17.821 10226-10609 GraphicsTracker         org.mozilla.fenix                    D  maxDequeueCount committed to IGBP: 19
2025-05-21 10:02:17.821 10226-10609 GraphicsTracker         org.mozilla.fenix                    D  Cache size 0 -> 0: maybe_cleared(0), dequeued(0)
2025-05-21 10:02:17.821 10226-10609 GraphicsTracker         org.mozilla.fenix                    D  maxDqueueCount change 3 -> 19: pending: 0
2025-05-21 10:02:17.821 10226-10609 Codec2Client            org.mozilla.fenix                    D  setOutputSurface -- generation=10471434 consumer usage=0x900
2025-05-21 10:02:17.822  1042-2117  ResourceMa...rviceUtils mediaserver                          W  Ignoring request to add new resource entry with value <= 0
2025-05-21 10:02:17.826 10226-10235 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a05c8 : 0(0 size) total buffers - 0(0 size) used buffers - 8/14 (recycle/alloc) - 5/20 (fetch/transfer)
2025-05-21 10:02:17.826 10226-10235 AidlBufferPool          org.mozilla.fenix                    D  Destruction - bufferpool2 0xb4000074980a05c8 cached: 0/0M, 0/0% in use; allocs: 14, 57% recycled; transfers: 20, 75% unfetched
2025-05-21 10:02:17.826 10226-10249 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a0378 : 0(0 size) total buffers - 0(0 size) used buffers - 296/302 (recycle/alloc) - 8/572 (fetch/transfer)
2025-05-21 10:02:17.826 10226-10235 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a6938 : 0(0 size) total buffers - 0(0 size) used buffers - 179/184 (recycle/alloc) - 5/166 (fetch/transfer)
2025-05-21 10:02:17.826 10226-10235 AidlBufferPool          org.mozilla.fenix                    D  Destruction - bufferpool2 0xb4000074980a6938 cached: 0/0M, 0/0% in use; allocs: 184, 97% recycled; transfers: 166, 97% unfetched
2025-05-21 10:02:17.826 10226-10249 AidlBufferPool          org.mozilla.fenix                    D  Destruction - bufferpool2 0xb4000074980a0378 cached: 0/0M, 0/0% in use; allocs: 302, 98% recycled; transfers: 572, 99% unfetched
2025-05-21 10:02:17.826 10226-10249 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a4fc8 : 0(0 size) total buffers - 0(0 size) used buffers - 13/18 (recycle/alloc) - 4/20 (fetch/transfer)
2025-05-21 10:02:17.826 10226-10237 AidlBufferPool          org.mozilla.fenix                    D  Destruction - bufferpool2 0xb4000074980a4fc8 cached: 0/0M, 0/0% in use; allocs: 18, 72% recycled; transfers: 20, 80% unfetched
2025-05-21 10:02:17.826 10226-10237 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a38a8 : 0(0 size) total buffers - 0(0 size) used buffers - 53/58 (recycle/alloc) - 5/100 (fetch/transfer)
2025-05-21 10:02:17.826 10226-10237 AidlBufferPool          org.mozilla.fenix                    D  Destruction - bufferpool2 0xb4000074980a38a8 cached: 0/0M, 0/0% in use; allocs: 58, 91% recycled; transfers: 100, 95% unfetched
2025-05-21 10:02:17.827 10226-10265 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a5b58 : 0(0 size) total buffers - 0(0 size) used buffers - 7/14 (recycle/alloc) - 5/14 (fetch/transfer)
2025-05-21 10:02:17.827 10226-10265 AidlBufferPool          org.mozilla.fenix                    D  Destruction - bufferpool2 0xb4000074980a5b58 cached: 0/0M, 0/0% in use; allocs: 14, 50% recycled; transfers: 14, 64% unfetched
2025-05-21 10:02:17.827 10226-10265 AidlBufferPool          org.mozilla.fenix                    D  bufferpool2 0xb4000074980a3f98 : 0(0 size) total buffers - 0(0 size) used buffers - 8/14 (recycle/alloc) - 5/20 (fetch/transfer)
2025-05-21 10:02:17.827 10226-10265 AidlBufferPool          org.mozilla.fenix                    D  Destruction - bufferpool2 0xb4000074980a3f98 cached: 0/0M, 0/0% in use; allocs: 14, 57% recycled; transfers: 20, 75% unfetched
Attached file about_support.txt —
Attached file ffprobe -show_streams output —
https://www.lidl.fr/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_webm-av1-1555359.webm seem to be a video that reproduces. ``` Input #0, matroska,webm, from 'qwe.webm': Metadata: COMPATIBLE_BRANDS: qt MAJOR_BRAND : qt MINOR_VERSION : 537199360 ENCODER : Lavf59.16.100 Duration: 00:00:06.61, start: -0.007000, bitrate: 753 kb/s Stream #0:0(eng): Video: av1 (libdav1d) (Professional), yuv422p10le(tv, smpte170m/smpte170m/bt709, progressive), 1320x480 [SAR 1:1 DAR 11:4], 25 fps, 25 tbr, 1k tbn (default) Metadata: HANDLER_NAME : Apple Video Media Handler VENDOR_ID : appl TIMECODE : 00:00:00:00 ENCODER : Lavc59.18.100 libaom-av1 DURATION : 00:00:06.607000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: HANDLER_NAME : Apple Sound Media Handler VENDOR_ID : TIMECODE : 00:00:00:00 ENCODER : Lavc59.18.100 libopus DURATION : 00:00:06.608000000 ``` <details> </details>

https://www.lidl.fr/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_webm-av1-1555359.webm seem to be a video that reproduces.

Input #0, matroska,webm, from 'qwe.webm':
  Metadata:
    COMPATIBLE_BRANDS: qt
    MAJOR_BRAND     : qt
    MINOR_VERSION   : 537199360
    ENCODER         : Lavf59.16.100
  Duration: 00:00:06.61, start: -0.007000, bitrate: 753 kb/s
  Stream #0:0(eng): Video: av1 (libdav1d) (Professional), yuv422p10le(tv, smpte170m/smpte170m/bt709, progressive), 1320x480 [SAR 1:1 DAR 11:4], 25 fps, 25 tbr, 1k tbn (default)
      Metadata:
        HANDLER_NAME    : Apple Video Media Handler
        VENDOR_ID       : appl
        TIMECODE        : 00:00:00:00
        ENCODER         : Lavc59.18.100 libaom-av1
        DURATION        : 00:00:06.607000000
  Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
      Metadata:
        HANDLER_NAME    : Apple Sound Media Handler
        VENDOR_ID       :
        TIMECODE        : 00:00:00:00
        ENCODER         : Lavc59.18.100 libopus
        DURATION        : 00:00:06.608000000

kaya tells me he sees something strange in the logcat.

This results in only black frames (no crash) on my Samsung Galaxy S23.

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Performance' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Performance
Severity: -- → S2
Component: Performance → Audio/Video: Playback
Priority: -- → P1
Product: Firefox for Android → Core
Flags: needinfo?(jolin)

The video plays on devices w/o HW AV1 decoding so this could be a device/SoC issue. William, could you please help check if Chrome works and doesn't crash your phone? If so, then this is a Fenix issue that needs further investigation. It would be very helpful if you can also upload a logcat dump of Chrome for comparison. Thanks a lot!

Meanwhile, I'll add a block list of AV1 decoding to let decoding fall back to dav1d as a mitigation.

Assignee: nobody → jolin
Flags: needinfo?(jolin) → needinfo?(wdurand)

I loaded the page in Chrome and found that it serves VP9 video instead of AV1 on Android(Chrome 136) and macOS(Chrome 135). It might explain why Chrome doesn't have issue there.

The video element looks like:

<video autoplay="" loop="" playsinline="" disablepictureinpicture="" preload="metadata" tabindex="0" muted=""
    data-selector="video--HeaderFirstLevel-Media" data-object-fit="cover" data-v-3950e097=""><!--[-->
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_webm-av1-1555359.webm#t=0.001"
        type="video/webm; codecs=&quot;av1&quot;" media="(min-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_webm-vp9-1555460.webm#t=0.001"
        type="video/webm; codecs=&quot;vp9&quot;" media="(min-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_mkv-h265-1555356.mkv#t=0.001"
        type="video/x-matroska; codecs=&quot;h265&quot;" media="(min-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_mp4-h265-1555358.mp4#t=0.001"
        type="video/mp4; codecs=&quot;h265&quot;" media="(min-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_mp4-h264-1555357.mp4#t=0.001"
        type="video/mp4; codecs=&quot;h264&quot;" media="(min-width: 48rem)" data-v-3950e097=""><!--]--><!----><!--[-->
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_xs-sm_768x384_webm-av1-1555441.webm#t=0.001"
        type="video/webm; codecs=&quot;av1&quot;" media="(max-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_xs-sm_768x384_webm-vp9-1555442.webm#t=0.001"
        type="video/webm; codecs=&quot;vp9&quot;" media="(max-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_xs-sm_768x384_mkv-h265-1555379.mkv#t=0.001"
        type="video/x-matroska; codecs=&quot;h265&quot;" media="(max-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_xs-sm_768x384_mp4-h265-1555440.mp4#t=0.001"
        type="video/mp4; codecs=&quot;h265&quot;" media="(max-width: 48rem)" data-v-3950e097="">
    <source
        src="/static/assets/kueche_haushalt_won_logo_header_first_level_section_xs-sm_768x384_mp4-h264-1555378.mp4#t=0.001"
        type="video/mp4; codecs=&quot;h264&quot;" media="(max-width: 48rem)" data-v-3950e097=""><!--]--><!---->
</video>

I don't understand why Chrome doesn't select the first AV1 resource. It plays when the direct URL is provided.

FWIW, on Chrome for Android v136.0.7103.125, I cannot reproduce even with the direct link to the video: https://www.lidl.fr/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_webm-av1-1555359.webm#t=0.001

Flags: needinfo?(wdurand)

kaya, would you mind attaching the bits of the logcat that are relevant after checking that there's nothing private in them? Search for av1 and/or codec2 to find the location.

Flags: needinfo?(kkaya)

I have a few more observations...

Directly opening a video that doesn't crash or glitch

URL: https://www.lidl.fr/static/assets/crivit_won_marketing_stage_teaser_md-lg_1320x360_webm-av1-1551386.webm

Fenix

The video is loaded in the player and there is no issue. We can see that the av1 codec is used in logcat:

2025-05-23 12:17:16.008 29028-29028 GeckoSession            org.mozilla.fenix                    I  handleMessage GeckoView:PageStop uri=null
2025-05-23 12:17:16.007 29118-29118 Renderer                org.mozilla.fenix                    W  type=1400 audit(0.0:7509): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=org.mozilla.fenix
2025-05-23 12:17:16.017 29028-29083 SessionStorage/AutoSave org.mozilla.fenix                    I  Save: Load finished
2025-05-23 12:17:16.018  1465-3758  BatteryStatsService     system_server                        E  Invalid uid for waking network packet: -1
2025-05-23 12:17:16.028 29028-29033 g.mozilla.fenix         org.mozilla.fenix                    W  Reducing the number of considered missed Gc histogram windows from 225 to 100
2025-05-23 12:17:16.071 29118-29118 Renderer                org.mozilla.fenix                    W  type=1400 audit(0.0:7510): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=org.mozilla.fenix
2025-05-23 12:17:16.103 29118-29118 Renderer                org.mozilla.fenix                    W  type=1400 audit(0.0:7511): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=org.mozilla.fenix
2025-05-23 12:17:16.123 29118-29118 Renderer                org.mozilla.fenix                    W  type=1400 audit(0.0:7512): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=org.mozilla.fenix
2025-05-23 12:17:16.210 32329-5240  CCodecConfig            org.mozilla.fenix                    D  c2 config diff is   c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
2025-05-23 12:17:16.211 32329-5240  CCodecBuffers           org.mozilla.fenix                    D  [c2.google.av1.decoder#370:2D-Output] popFromStashAndRegister: at 400000us, output format changed to AMessage(what = 0x00000000) = {
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                      int32_t android._video-scaling = 1
                                                                                                      int32_t android._dataspace = 260
                                                                                                      int32_t color-standard = 1
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t sar-height = 1
                                                                                                      int32_t rotation-degrees = 0
                                                                                                      Buffer hdr-static-info = {
                                                                                                        00000000:  00 48 8a 08 39 34 21 aa  9b 96 19 fc 08 13 3d 42  .H..94!.......=B
                                                                                                        00000010:  40 e8 03 e8 03 e8 03 78  00                       @......x.
                                                                                                      }
                                                                                                      int32_t sar-width = 1
                                                                                                      Rect crop(0, 0, 1319, 359)
                                                                                                      int32_t width = 1320
                                                                                                      Buffer hdr10-plus-info = {
                                                                                                      }
                                                                                                      int32_t height = 360
                                                                                                      int32_t max-height = 2160
                                                                                                      int32_t max-width = 4096
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t color-format = 2130708361
                                                                                                    }
2025-05-23 12:17:16.286 32329-5240  CCodecConfig            org.mozilla.fenix                    D  c2 config diff is   c2::u32 raw.color.matrix = 3
                                                                                                      c2::u32 raw.color.primaries = 4
                                                                                                      c2::u32 raw.color.range = 2
                                                                                                      c2::u32 raw.color.transfer = 3
2025-05-23 12:17:16.287 32329-5240  CCodecBuffers           org.mozilla.fenix                    D  [c2.google.av1.decoder#370:2D-Output] popFromStashAndRegister: at 440000us, output format changed to AMessage(what = 0x00000000) = {
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                      int32_t android._video-scaling = 1
                                                                                                      int32_t android._dataspace = 259
                                                                                                      int32_t color-standard = 4
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t sar-height = 1
                                                                                                      int32_t rotation-degrees = 0
                                                                                                      Buffer hdr-static-info = {
                                                                                                        00000000:  00 48 8a 08 39 34 21 aa  9b 96 19 fc 08 13 3d 42  .H..94!.......=B
                                                                                                        00000010:  40 e8 03 e8 03 e8 03 78  00                       @......x.
                                                                                                      }
                                                                                                      int32_t sar-width = 1
                                                                                                      Rect crop(0, 0, 1319, 359)
                                                                                                      int32_t width = 1320
                                                                                                      Buffer hdr10-plus-info = {
                                                                                                      }
                                                                                                      int32_t height = 360
                                                                                                      int32_t max-height = 2160
                                                                                                      int32_t max-width = 4096
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t color-format = 2130708361
                                                                                                    }
2025-05-23 12:17:16.340 32329-5240  CCodecConfig            org.mozilla.fenix                    D  c2 config diff is   c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
2025-05-23 12:17:16.341 32329-5240  CCodecBuffers           org.mozilla.fenix                    D  [c2.google.av1.decoder#370:2D-Output] popFromStashAndRegister: at 480000us, output format changed to AMessage(what = 0x00000000) = {
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                      int32_t android._video-scaling = 1
                                                                                                      int32_t android._dataspace = 260
                                                                                                      int32_t color-standard = 1
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t sar-height = 1
                                                                                                      int32_t rotation-degrees = 0
                                                                                                      Buffer hdr-static-info = {
                                                                                                        00000000:  00 48 8a 08 39 34 21 aa  9b 96 19 fc 08 13 3d 42  .H..94!.......=B
                                                                                                        00000010:  40 e8 03 e8 03 e8 03 78  00                       @......x.
                                                                                                      }
                                                                                                      int32_t sar-width = 1
                                                                                                      Rect crop(0, 0, 1319, 359)
                                                                                                      int32_t width = 1320
                                                                                                      Buffer hdr10-plus-info = {
                                                                                                      }
                                                                                                      int32_t height = 360
                                                                                                      int32_t max-height = 2160
                                                                                                      int32_t max-width = 4096
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t color-format = 2130708361
                                                                                                    }
2025-05-23 12:17:16.379 29118-29118 Renderer                org.mozilla.fenix                    W  type=1400 audit(0.0:7518): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=org.mozilla.fenix
2025-05-23 12:17:16.443 29118-29118 Renderer                org.mozilla.fenix                    W  type=1400 audit(0.0:7519): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=org.mozilla.fenix
2025-05-23 12:17:16.453 32329-5240  CCodecConfig            org.mozilla.fenix                    D  c2 config diff is   c2::u32 raw.color.matrix = 3
                                                                                                      c2::u32 raw.color.primaries = 4
                                                                                                      c2::u32 raw.color.range = 2
                                                                                                      c2::u32 raw.color.transfer = 3
2025-05-23 12:17:16.454 32329-5240  CCodecBuffers           org.mozilla.fenix                    D  [c2.google.av1.decoder#370:2D-Output] popFromStashAndRegister: at 600000us, output format changed to AMessage(what = 0x00000000) = {
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                      int32_t android._video-scaling = 1
                                                                                                      int32_t android._dataspace = 259
                                                                                                      int32_t color-standard = 4
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t sar-height = 1
                                                                                                      int32_t rotation-degrees = 0
                                                                                                      Buffer hdr-static-info = {
                                                                                                        00000000:  00 48 8a 08 39 34 21 aa  9b 96 19 fc 08 13 3d 42  .H..94!.......=B
                                                                                                        00000010:  40 e8 03 e8 03 e8 03 78  00                       @......x.
                                                                                                      }
                                                                                                      int32_t sar-width = 1
                                                                                                      Rect crop(0, 0, 1319, 359)
                                                                                                      int32_t width = 1320
                                                                                                      Buffer hdr10-plus-info = {
                                                                                                      }
                                                                                                      int32_t height = 360
                                                                                                      int32_t max-height = 2160
                                                                                                      int32_t max-width = 4096
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t color-format = 2130708361
                                                                                                    }
2025-05-23 12:17:16.512 32329-5240  CCodecConfig            org.mozilla.fenix                    D  c2 config diff is   c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 0
                                                                                                      c2::u32 raw.color.transfer = 0
2025-05-23 12:17:16.513 32329-5240  CCodecBuffers           org.mozilla.fenix                    D  [c2.google.av1.decoder#370:2D-Output] popFromStashAndRegister: at 640000us, output format changed to AMessage(what = 0x00000000) = {
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                      int32_t android._video-scaling = 1
                                                                                                      int32_t android._dataspace = 260
                                                                                                      int32_t color-standard = 1
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t sar-height = 1
                                                                                                      int32_t rotation-degrees = 0
                                                                                                      Buffer hdr-static-info = {
                                                                                                        00000000:  00 48 8a 08 39 34 21 aa  9b 96 19 fc 08 13 3d 42  .H..94!.......=B
                                                                                                        00000010:  40 e8 03 e8 03 e8 03 78  00                       @......x.
                                                                                                      }
                                                                                                      int32_t sar-width = 1
                                                                                                      Rect crop(0, 0, 1319, 359)
                                                                                                      int32_t width = 1320
                                                                                                      Buffer hdr10-plus-info = {
                                                                                                      }
                                                                                                      int32_t height = 360
                                                                                                      int32_t max-height = 2160
                                                                                                      int32_t max-width = 4096
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t color-format = 2130708361
                                                                                                    }
2025-05-23 12:17:16.611 29118-29118 Renderer                org.mozilla.fenix                    W  type=1400 audit(0.0:7520): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=org.mozilla.fenix
2025-05-23 12:17:16.772  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for LSM6DSV Accelerometer (active:5).
2025-05-23 12:17:16.777   841-862   CHRE                    and...re.contexthub-service.generic  I  @ 155410.392: [AR] ON => IDLE
2025-05-23 12:17:17.036 29028-29083 tabs::storage           org.mozilla.fenix                    I  update_local_state has 381 tab entries
2025-05-23 12:17:17.036 29028-29083 RemoteTabsStorage       org.mozilla.fenix                    I  Told the tabs store we have 381
2025-05-23 12:17:17.082 29028-29083 sync_manager::manager   org.mozilla.fenix                    I  breadcrumb: SyncManager::sync started
[...]

Chrome

Same as above for Fenix, specifically the logs show the use of an "av1" codec:

2025-05-23 12:23:11.644  6071-6200  cr_MediaCodecBridge     com.android.chrome                   I  create MediaCodec video decoder, mime video/av01, decoder name c2.google.av1.decoder, block_model=false
2025-05-23 12:23:11.646   869-1530  usf_sensor_hal          and...ware.sensors-service.multihal  D  game rotation vector: Enter Batch. Period = 16666000, latency = 0.
2025-05-23 12:23:11.646   869-1530  usf_sensor_hal          and...ware.sensors-service.multihal  D  game rotation vector: Enter Activate. Enable = 1.
2025-05-23 12:23:11.647   869-1591  sensor-suez             and...ware.sensors-service.multihal  I  Vendor atom [id = 100243] reported.
2025-05-23 12:23:11.647  6071-6407  CCodec                  com.android.chrome                   D  allocate(c2.google.av1.decoder)
2025-05-23 12:23:11.648  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for Game Rotation Vector Sensor (active:1).
2025-05-23 12:23:11.649  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_sensor.cc, 37: VSC: [Game Rotation Vector Sensor] enable: period 16666000, latency = 0
2025-05-23 12:23:11.649  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_vsc_log.cc, 44: USF: {Fusion} configure fusion 15 16666us 0us.
2025-05-23 12:23:11.650  6071-6407  CCodec                  com.android.chrome                   I  setting up 'default' as default (vendor) store
2025-05-23 12:23:11.650  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_controller.cc, 532: VSC: [Game Rotation Vector Sensor] requestSensorEvents: sensor 0x10001, period=16 late
2025-05-23 12:23:11.652   891-958   google.har....0-service goo...hardware.media.c2@1.0-service  I  Log Level: 0x4, Buffer sev level: 0x0
2025-05-23 12:23:11.652   891-958   GC2_AV1Dec              goo...hardware.media.c2@1.0-service  I  AFBC mode enabled: 0
2025-05-23 12:23:11.652   891-958   GC2_Store               goo...hardware.media.c2@1.0-service  I  field: <Param::Index(e0014019: -G--i F-14019)::Field(@08+08)>
2025-05-23 12:23:11.652   891-958   GC2_Store               goo...hardware.media.c2@1.0-service  I  type: 0
2025-05-23 12:23:11.652   891-958   GC2_Store               goo...hardware.media.c2@1.0-service  I  field: <Param::Index(e0014019: -G--i F-14019)::Field(@10+04)>
2025-05-23 12:23:11.652   891-958   GC2_Store               goo...hardware.media.c2@1.0-service  I  type: 0
2025-05-23 12:23:11.652   891-958   GC2_Store               goo...hardware.media.c2@1.0-service  I  [createComponent] component(c2.google.av1.decoder) is created
2025-05-23 12:23:11.652   891-958   google.har....0-service goo...hardware.media.c2@1.0-service  I  missing struct descriptor #Param::CoreIndex(--002) for field mastering of struct #Param::CoreIndex(--180a)
2025-05-23 12:23:11.652   891-958   google.har....0-service goo...hardware.media.c2@1.0-service  I  missing struct descriptor #Param::CoreIndex(--002) for field mastering of struct #Param::CoreIndex(--180a)
2025-05-23 12:23:11.652   891-958   ColorUtils              goo...hardware.media.c2@1.0-service  W  expected specified color aspects (0:0:0:0)
2025-05-23 12:23:11.652   891-958   ColorUtils              goo...hardware.media.c2@1.0-service  W  expected specified color aspects (2:0:0:0)
2025-05-23 12:23:11.653  6071-6407  ileged_process0         com.android.chrome                   W  AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. This might not be intended. AIBinder_DeathRecipient_setOnUnlinked should be called first.
2025-05-23 12:23:11.653  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for LSM6DSV Accelerometer (active:4).
2025-05-23 12:23:11.653  6071-6407  CCodec                  com.android.chrome                   I  Created component [c2.google.av1.decoder]
2025-05-23 12:23:11.653  6071-6407  CCodecConfig            com.android.chrome                   D  read media type: video/av01
2025-05-23 12:23:11.654  6071-6407  ReflectedParamUpdater   com.android.chrome                   D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2025-05-23 12:23:11.654  6071-6407  ReflectedParamUpdater   com.android.chrome                   D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2025-05-23 12:23:11.654  6071-6407  ReflectedParamUpdater   com.android.chrome                   D  extent() != 1 for single value type: output.buffers.pool-ids.values
2025-05-23 12:23:11.656  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 732: USF: Lsm6dsvDevice: Sensor 0: Enabled 1, odr_index 6, period_ns 10000000.
2025-05-23 12:23:11.656  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_fifo.cc, 755: USF: Lsm6dsvFifo: ODR: XL/G/T/TS: 120/60/15/15 WM: 1 Intr: 120.
2025-05-23 12:23:11.657  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 252: USF: Lsm6dsvDevice: Config sampling too slow. Took 774414ns.
2025-05-23 12:23:11.657  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 641: USF: Lsm6dsvDevice: Fifo was disabled for 774414ns.
2025-05-23 12:23:11.658  6071-6407  CCodecConfig            com.android.chrome                   D  ignoring local param raw.size (0xd2001800) as it is already supported
2025-05-23 12:23:11.658  6071-6407  CCodecConfig            com.android.chrome                   D  ignoring local param default.color (0x5200180b) as it is already supported
2025-05-23 12:23:11.658  6071-6407  CCodecConfig            com.android.chrome                   D  ignoring local param raw.hdr-static-info (0xd200180a) as it is already supported
2025-05-23 12:23:11.659  6071-6407  CCodecConfig            com.android.chrome                   I  query failed after returning 18 values (BAD_INDEX)
2025-05-23 12:23:11.660  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_controller.cc, 532: VSC: [Game Rotation Vector Sensor] requestSensorEvents: sensor 0x10004, period=5 laten
2025-05-23 12:23:11.660  6071-6407  CCodecConfig            com.android.chrome                   D  c2 config diff is Dict {
                                                                                                      c2::u32 algo.delay.value = 0
                                                                                                      c2::i32 algo.priority.value = 0
                                                                                                      c2::float algo.rate.value = 0
                                                                                                      c2::u32 coded.pl.level = 36865
                                                                                                      c2::u32 coded.pl.profile = 36864
                                                                                                      c2::u32 coded.vui.color.matrix = 0
                                                                                                      c2::u32 coded.vui.color.primaries = 0
                                                                                                      c2::u32 coded.vui.color.range = 2
                                                                                                      c2::u32 coded.vui.color.transfer = 0
                                                                                                      c2::u32 default.color.matrix = 0
                                                                                                      c2::u32 default.color.primaries = 0
                                                                                                      c2::u32 default.color.range = 0
                                                                                                      c2::u32 default.color.transfer = 0
                                                                                                      c2::u32 input.buffers.max-size.value = 13271040
                                                                                                      c2::u32 input.delay.value = 0
                                                                                                      Buffer input.hdr10-plus-info.value = {
                                                                                                      }
                                                                                                      string input.media-type.value = "video/av01"
                                                                                                      c2::u32 output.delay.value = 12
                                                                                                      Buffer output.hdr10-plus-info.value = {
                                                                                                      }
                                                                                                      string output.media-type.value = "video/raw"
                                                                                                      c2::u32 raw.color.matrix = 0
                                                                                                      c2::u32 raw.color.primaries = 0
                                                                                                      c2::u32 raw.color.range = 2
                                                                                                      c2::u32 raw.color.transfer = 0
                                                                                                      c2::float raw.hdr-static-info.mastering.blue.x = 0
                                                                                                      c2::float raw.hdr-static-info.mastering.blue.y = 0
                                                                                                      
2025-05-23 12:23:11.660  6071-6407  ColorUtils              com.android.chrome                   W  expected specified color aspects (2:0:0:0)
2025-05-23 12:23:11.661  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for LSM6DSV Gyroscope (active:2).
2025-05-23 12:23:11.662  6071-6406  MediaCodec              com.android.chrome                   I  MediaCodec will operate in async mode
2025-05-23 12:23:11.662  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 732: USF: Lsm6dsvDevice: Sensor 1: Enabled 1, odr_index 7, period_ns 5000000.
2025-05-23 12:23:11.662  6071-6406  SurfaceUtils            com.android.chrome                   D  connecting to surface 0xb400006ec274f060, reason connectToSurface
2025-05-23 12:23:11.662  6071-6406  MediaCodec              com.android.chrome                   I  [c2.google.av1.decoder] setting surface generation to 6216711
2025-05-23 12:23:11.662  6071-6406  SurfaceUtils            com.android.chrome                   D  disconnecting from surface 0xb400006ec274f060, reason connectToSurface(reconnect)
2025-05-23 12:23:11.662  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_fifo.cc, 755: USF: Lsm6dsvFifo: ODR: XL/G/T/TS: 120/240/15/30 WM: 1 Intr: 240.
2025-05-23 12:23:11.662  6071-6406  SurfaceUtils            com.android.chrome                   D  connecting to surface 0xb400006ec274f050, reason connectToSurface(reconnect-with-listener)
2025-05-23 12:23:11.662  6071-6407  CCodec                  com.android.chrome                   D  [c2.google.av1.decoder] buffers are bound to CCodec for this session
2025-05-23 12:23:11.663  6071-6407  CCodecConfig            com.android.chrome                   D  no c2 equivalents for native-window
2025-05-23 12:23:11.663  6071-6407  CCodecConfig            com.android.chrome                   D  no c2 equivalents for native-window-generation
2025-05-23 12:23:11.663  6071-6407  CCodecConfig            com.android.chrome                   D  no c2 equivalents for flags
2025-05-23 12:23:11.663  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 641: USF: Lsm6dsvDevice: Fifo was disabled for 1037638ns.
2025-05-23 12:23:11.663  6071-6407  CCodecConfig            com.android.chrome                   D  c2 config diff is   c2::u32 raw.size.height = 360
                                                                                                      c2::u32 raw.size.width = 1320
2025-05-23 12:23:11.664  6071-6407  CCodec                  com.android.chrome                   D  client requested max input size 178200, which is smaller than what component recommended (13271040); overriding with component recommendation.
2025-05-23 12:23:11.664  6071-6407  CCodec                  com.android.chrome                   W  This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
2025-05-23 12:23:11.664  6071-6407  CCodec                  com.android.chrome                   D  encoding statistics level = 0
2025-05-23 12:23:11.664  6071-6407  CCodec                  com.android.chrome                   D  setup formats input: AMessage(what = 0x00000000) = {
                                                                                                      int32_t height = 360
                                                                                                      int32_t level = 2
                                                                                                      int32_t max-input-size = 13271040
                                                                                                      string mime = "video/av01"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t profile = 1
                                                                                                      int32_t width = 1320
                                                                                                      Rect crop(0, 0, 1319, 359)
                                                                                                    }
2025-05-23 12:23:11.664  6071-6407  CCodec                  com.android.chrome                   D  setup formats output: AMessage(what = 0x00000000) = {
                                                                                                      int32_t android._color-format = 2130708361
                                                                                                      int32_t android._video-scaling = 1
                                                                                                      int32_t android._dataspace = 260
                                                                                                      int32_t color-standard = 1
                                                                                                      int32_t color-range = 2
                                                                                                      int32_t color-transfer = 3
                                                                                                      int32_t sar-height = 1
                                                                                                      int32_t rotation-degrees = 0
                                                                                                      Buffer hdr-static-info = {
                                                                                                        00000000:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
                                                                                                        00000010:  00 00 00 00 00 00 00 00  00                       .........
                                                                                                      }
                                                                                                      int32_t sar-width = 1
                                                                                                      Rect crop(0, 0, 1319, 359)
                                                                                                      int32_t width = 1320
                                                                                                      Buffer hdr10-plus-info = {
                                                                                                      }
                                                                                                      int32_t height = 360
                                                                                                      int32_t max-height = 2160
                                                                                                      int32_t max-width = 4096
                                                                                                      string mime = "video/raw"
                                                                                                      int32_t priority = 0
                                                                                                      int32_t color-format = 2130708361
                                                                                                    }
[...]

Directly opening a video that triggers this bug

URL: https://www.lidl.fr/static/assets/kueche_haushalt_won_logo_header_first_level_section_md-lg_1320x480_webm-av1-1555359.webm

Fenix

This is this bug report. We can see the av1 codec is used in the logs in Comment 0.

Chrome

That's where things get more interesting IMO, I cannot see any "av1" codec in the logs, like with the other link above... It's only mentioning "audio" stuff as if Chrome was thinking this file was an audio file and not a video or something. That could potentially be the reason why Chrome loads the vp9 video in the web page (per Comment 7).

2025-05-23 12:28:50.645  5947-6056  AudioSystem             com.android.chrome                   D  onNewService: media.audio_policy service obtained 0xb400006e82696260
2025-05-23 12:28:50.645  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for Game Rotation Vector Sensor (active:1).
2025-05-23 12:28:50.646 11386-11482 behe                    com....android.googlequicksearchbox  I  (REDACTED) Handling KeyboardVisibilityEvent: %s [SD]
2025-05-23 12:28:50.646  3976-3976  AccessoryI...odeManager com...gle.android.inputmethod.latin  I  AccessoryInputModeManager.onModeStarted():326 Accessory input mode started: null
2025-05-23 12:28:50.646  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_sensor.cc, 37: VSC: [Game Rotation Vector Sensor] enable: period 16666000, latency = 0
2025-05-23 12:28:50.646  3976-3976  Supplement...rdsWrapper com...gle.android.inputmethod.latin  W  SupplementaryKeyboardsWrapper.deactivateKeyboard():160 keyboard accessory_candidates_consumer is not activated before!
2025-05-23 12:28:50.646  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_vsc_log.cc, 44: USF: {Fusion} configure fusion 15 16666us 0us.
2025-05-23 12:28:50.646  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_controller.cc, 532: VSC: [Game Rotation Vector Sensor] requestSensorEvents: sensor 0x10001, period=16 late
2025-05-23 12:28:50.646  3976-3976  KeyboardModeUtils       com...gle.android.inputmethod.latin  I  KeyboardModeUtils.getKeyboardBottomOffset():443 inch: 0.000000 ydpi: 409.127014 adjustKeyboardBottomByDisplaySize: false currentDensityDpi: 420 defaultDensityDpi: 420 keyboardBottomToScreenPx: 0 keyboardBottomToNavBarPx: -126 navBarHeight: 126
2025-05-23 12:28:50.646  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.646  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.646  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.646  5947-6056  AudioSystem             com.android.chrome                   D  getService: checking for service media.audio_policy: 0xb400006e82696260
2025-05-23 12:28:50.647  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.647  3976-3976  ExtensionWrapper        com...gle.android.inputmethod.latin  W  ExtensionWrapper.setExtensionViewVisibility():793 interface ktr is not activate
2025-05-23 12:28:50.647  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for LSM6DSV Accelerometer (active:6).
2025-05-23 12:28:50.647 11386-11482 belv                    com....android.googlequicksearchbox  I  (REDACTED) Current package suspended=%s [SD]
2025-05-23 12:28:50.647  3976-3976  Module                  com...gle.android.inputmethod.latin  I  DeviceLockedStatusModuleProvider$Module.updateDeviceLockedStatus():100 repeatCheckTimes = 1, locked = false
2025-05-23 12:28:50.647  3976-3976  VoiceImeExtension       com...gle.android.inputmethod.latin  I  VoiceImeExtension.shouldStartVoiceInputAutomaticallyInCurrentInputBox():468 No private IME option set to start voice input.
2025-05-23 12:28:50.648  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 732: USF: Lsm6dsvDevice: Sensor 0: Enabled 1, odr_index 6, period_ns 10000000.
2025-05-23 12:28:50.648  3976-3976  HardKeyTracker          com...gle.android.inputmethod.latin  I  HardKeyTracker.unregisterKeySequence():182 Unregister key sequence lyw{labelResId=2132020244, callback=ccx@97c1854, lastModifier=2, keyCodes=[32], actions=[0]}
2025-05-23 12:28:50.648  3976-3976  HardKeyTracker          com...gle.android.inputmethod.latin  I  HardKeyTracker.registerKeySequence():138 Register key sequence lyw{labelResId=2132020244, callback=ccx@4e54ee4, lastModifier=2, keyCodes=[32], actions=[0]}
2025-05-23 12:28:50.649  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_fifo.cc, 755: USF: Lsm6dsvFifo: ODR: XL/G/T/TS: 120/240/15/30 WM: 4 Intr: 102.
2025-05-23 12:28:50.649  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 641: USF: Lsm6dsvDevice: Fifo was disabled for 513590ns.
2025-05-23 12:28:50.649 11386-11477 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.649 11386-11477 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.651 11386-11474 bele                    com....android.googlequicksearchbox  I  (REDACTED) Dictation is enabled. workprofile=%s [SD]
2025-05-23 12:28:50.651  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_controller.cc, 532: VSC: [Game Rotation Vector Sensor] requestSensorEvents: sensor 0x10004, period=5 laten
2025-05-23 12:28:50.651  3976-3976  KeyboardModeUtils       com...gle.android.inputmethod.latin  I  KeyboardModeUtils.getKeyboardBottomOffset():443 inch: 0.000000 ydpi: 409.127014 adjustKeyboardBottomByDisplaySize: false currentDensityDpi: 420 defaultDensityDpi: 420 keyboardBottomToScreenPx: 0 keyboardBottomToNavBarPx: -126 navBarHeight: 126
2025-05-23 12:28:50.651  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.651 11386-11474 bele                    com....android.googlequicksearchbox  I  Field type is not set, assuming supported input field. [SD]
2025-05-23 12:28:50.651  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.652  3976-3976  WindowMetr...tification com...gle.android.inputmethod.latin  I  WindowMetricsNotification.notifyWithWindow():166 
2025-05-23 12:28:50.652  3976-3976  WindowMetr...tification com...gle.android.inputmethod.latin  I  WindowMetricsNotification.notify():159 nux[bounds=Rect(0, 118 - 1080, 2400), insets=Rect(0, 0 - 0, 126), densityDpi=420, smallestScreenWidthDp=411, displayWidth=1080, displayHeight=2400, xdpi=391.885, ydpi=409.127, isTrustable=true, displayId=0]; DisplayMetrics{density=2.625, width=1080, height=2400, scaledDensity=2.625, xdpi=391.885, ydpi=409.127}
2025-05-23 12:28:50.652 11386-11474 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.652 11386-11474 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.654  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for LSM6DSV Gyroscope (active:3).
2025-05-23 12:28:50.654  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 732: USF: Lsm6dsvDevice: Sensor 1: Enabled 1, odr_index 7, period_ns 5000000.
2025-05-23 12:28:50.654  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_fifo.cc, 755: USF: Lsm6dsvFifo: ODR: XL/G/T/TS: 120/240/15/30 WM: 1 Intr: 240.
2025-05-23 12:28:50.654  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 641: USF: Lsm6dsvDevice: Fifo was disabled for 488241ns.
2025-05-23 12:28:50.655  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.655 11386-11474 bego                    com....android.googlequicksearchbox  I  (REDACTED) Keyboard notified that eligibility=%s [SD]
2025-05-23 12:28:50.655  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.655  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.655  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.655  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.655  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.655 11386-11478 beng                    com....android.googlequicksearchbox  I  #onKeyboardShownAgain scheduled [SD]
2025-05-23 12:28:50.656   869-1591  sensor-suez             and...ware.sensors-service.multihal  I  Vendor atom [id = 100242] reported.
2025-05-23 12:28:50.656   869-1591  sensor-suez             and...ware.sensors-service.multihal  I  Vendor atom [id = 100243] reported.
2025-05-23 12:28:50.656 11386-11477 beng                    com....android.googlequicksearchbox  I  #onKeyboardShownAgain [SD]
2025-05-23 12:28:50.656 11386-11477 behe                    com....android.googlequicksearchbox  I  (REDACTED) Handling FieldChangedEvent: fgPkg=%s, fieldType=%s, interactionType=%s [SD]
2025-05-23 12:28:50.656  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.656  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.656  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.656  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.656  3976-3976  TextView                com...gle.android.inputmethod.latin  W  onProvideContentCaptureStructure(): calling assumeLayout()
2025-05-23 12:28:50.656 11386-11477 belv                    com....android.googlequicksearchbox  I  (REDACTED) Current package suspended=%s [SD]
2025-05-23 12:28:50.657  5947-6056  AAudio                  com.android.chrome                   I  AAudioStreamBuilder_openStream() called ----------------------------------------
2025-05-23 12:28:50.657  5947-6056  AudioStreamBuilder      com.android.chrome                   I  rate   =  48000, channels  = 2, channelMask = 0x3, format   = 5, sharing = SH, dir = OUTPUT
2025-05-23 12:28:50.657  5947-6056  AudioStreamBuilder      com.android.chrome                   I  devices = AUDIO_PORT_HANDLE_NONE, sessionId = -1, perfMode = 11, callback: ON with frames = 1024
2025-05-23 12:28:50.657  5947-6056  AudioStreamBuilder      com.android.chrome                   I  usage  =      1, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
2025-05-23 12:28:50.657  5947-6056  AudioStreamBuilder      com.android.chrome                   I  privacy sensitive = false, opPackageName = (null), attributionTag = (null)
2025-05-23 12:28:50.657  5947-6056  AudioStreamBuilder      com.android.chrome                   D  build, global mmap policy is 0
2025-05-23 12:28:50.657  5947-6056  AudioStreamBuilder      com.android.chrome                   D  build, system mmap policy is 2
2025-05-23 12:28:50.657  5947-6056  AudioStreamBuilder      com.android.chrome                   D  build, final mmap policy is 2
2025-05-23 12:28:50.658  5947-6056  AudioStreamBuilder      com.android.chrome                   D  build, system mmap exclusive policy is 2
2025-05-23 12:28:50.658  5947-6056  AudioStreamBuilder      com.android.chrome                   D  build, final mmap exclusive policy is 2
2025-05-23 12:28:50.658  5947-6056  AudioStreamBuilder      com.android.chrome                   D  build() MMAP not used because AAUDIO_PERFORMANCE_MODE_LOW_LATENCY not requested.
2025-05-23 12:28:50.658  5947-6056  .android.chrome         com.android.chrome                   D  PlayerBase::PlayerBase()
2025-05-23 12:28:50.658  5947-6056  AudioStreamTrack        com.android.chrome                   D  open(), request notificationFrames = 0, frameCount = 0
2025-05-23 12:28:50.658 11386-11478 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.658 11386-11478 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.658 11386-11478 bele                    com....android.googlequicksearchbox  I  (REDACTED) Dictation is enabled. workprofile=%s [SD]
2025-05-23 12:28:50.658 11386-11482 bele                    com....android.googlequicksearchbox  I  Field type is not set, assuming supported input field. [SD]
2025-05-23 12:28:50.659 11386-11482 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.659 11386-11482 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.659  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onFinishInputView():1467 onFinishInputView(true)
2025-05-23 12:28:50.659  3976-3976  GlobeKeyExtension       com...gle.android.inputmethod.latin  I  GlobeKeyExtension.onDeactivate():112 
2025-05-23 12:28:50.659  3976-3976  NgaExtension            com...gle.android.inputmethod.latin  I  NgaExtension.onDeactivate():554 NgaExtension#onDeactivate [SDG]
2025-05-23 12:28:50.660  3976-8128  NgaDataShareClient      com...gle.android.inputmethod.latin  I  NgaDataShareClient.sendCorrectionsAndEndSession():395 endDataPushSession() [SDG]
2025-05-23 12:28:50.660  3976-8128  NgaDataShareClient      com...gle.android.inputmethod.latin  I  NgaDataShareClient.sendCorrectionsList():403 sendCorrectionsList() [SDG]
2025-05-23 12:28:50.660  3976-8128  NgaDataShareClient      com...gle.android.inputmethod.latin  W  NgaDataShareClient.getClientInfo():496 null TriggerApplicationId provided. [SDG]
2025-05-23 12:28:50.660  3976-8128  NotificationCenter      com...gle.android.inputmethod.latin  W  NotificationCenter.unregisterListener():480 Listener fni@3a15c3e was not registered for notification class knx
2025-05-23 12:28:50.660  3976-8128  NotificationCenter      com...gle.android.inputmethod.latin  W  NotificationCenter.unregisterListener():480 Listener fnh@dc437ec was not registered for notification class kiv
2025-05-23 12:28:50.660  3976-3976  HardKeyTracker          com...gle.android.inputmethod.latin  I  HardKeyTracker.unregisterKeySequence():182 Unregister key sequence lyw{labelResId=2132020244, callback=ccx@4e54ee4, lastModifier=2, keyCodes=[32], actions=[0]}
2025-05-23 12:28:50.660  3976-3976  HardKeyTracker          com...gle.android.inputmethod.latin  I  HardKeyTracker.registerKeySequence():138 Register key sequence lyw{labelResId=2132020244, callback=ccx@438767, lastModifier=2, keyCodes=[32], actions=[0]}
2025-05-23 12:28:50.660  3976-3976  NotificationCenter      com...gle.android.inputmethod.latin  W  NotificationCenter.unregisterListener():480 Listener fmo@adb9884 was not registered for notification class kiv
2025-05-23 12:28:50.660   927-10137 ServiceUtilities        audioserver                          E  Request requires android.permission.MODIFY_PHONE_STATE or android.permission.WRITE_SECURE_SETTINGS
2025-05-23 12:28:50.661  3976-3976  NgaVoiceInputHandler    com...gle.android.inputmethod.latin  I  NgaVoiceInputHandler.onDeactivateIme():260 VoiceInputHandler:deactivating [SDG]
2025-05-23 12:28:50.661  3976-3976  NotificationCenter      com...gle.android.inputmethod.latin  W  NotificationCenter.unregisterListener():480 Listener ljo@757ad9b was not registered for notification class ljp
2025-05-23 12:28:50.661  3976-3976  NgaLabSmartEdit         com...gle.android.inputmethod.latin  W  NgaLabSmartEdit.setGenAiVoiceEditManager():729 Cannot set LC UI delegate: promotionManager is null
2025-05-23 12:28:50.661  3976-3976  NgaInputManager         com...gle.android.inputmethod.latin  I  NgaInputManager.onDeactivate():401 SmartEdit: unloading models false [SDG]
2025-05-23 12:28:50.661  3976-3976  TooltipLifecycleManager com...gle.android.inputmethod.latin  W  TooltipLifecycleManager.dismissTooltips():153 Tooltip with id spell_check_add_to_dictionary not found in tooltipManager.
2025-05-23 12:28:50.661  3976-3976  AndroidIME              com...gle.android.inputmethod.latin  I  AbstractIme.onDeactivate():208 PasswordIme.onDeactivate()
2025-05-23 12:28:50.661   927-10137 AudioFlinger            audioserver                          D  Client defaulted notificationFrames to 1924 for frameCount 3848
2025-05-23 12:28:50.661  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onFinishInput():1975 
2025-05-23 12:28:50.663 11386-11482 bego                    com....android.googlequicksearchbox  I  (REDACTED) Keyboard notified that eligibility=%s [SD]
2025-05-23 12:28:50.663  3976-3976  Module                  com...gle.android.inputmethod.latin  I  DeviceLockedStatusModuleProvider$Module.updateDeviceLockedStatus():100 repeatCheckTimes = 0, locked = false
2025-05-23 12:28:50.663 11386-11482 behe                    com....android.googlequicksearchbox  I  (REDACTED) Handling KeyboardVisibilityEvent: %s [SD]
2025-05-23 12:28:50.663  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onStartInput():1247 onStartInput(EditorInfo{EditorInfo{packageName=com.android.chrome, inputType=0, inputTypeString=NULL, enableLearning=false, autoCorrection=false, autoComplete=false, imeOptions=12000000, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=-1, initialSelEnd=-1, initialCapsMode=0, label=null, fieldId=0, fieldName=null, extras=null, hintText=null, hintLocales=[]}}, false)
2025-05-23 12:28:50.664  3976-3976  Module                  com...gle.android.inputmethod.latin  I  DeviceLockedStatusModuleProvider$Module.updateDeviceLockedStatus():100 repeatCheckTimes = 1, locked = false
2025-05-23 12:28:50.664 11386-11480 fgxq                    com....android.googlequicksearchbox  I  shareCorrections()
2025-05-23 12:28:50.664  1465-3760  PackageConfigPersister  system_server                        W  App-specific configuration not found for packageName: com.android.chrome and userId: 0
2025-05-23 12:28:50.664  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onStartInputView():1342 onStartInputView(EditorInfo{EditorInfo{packageName=com.android.chrome, inputType=0, inputTypeString=NULL, enableLearning=false, autoCorrection=false, autoComplete=false, imeOptions=12000000, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=-1, initialSelEnd=-1, initialCapsMode=0, label=null, fieldId=0, fieldName=null, extras=null, hintText=null, hintLocales=[]}}, false)
2025-05-23 12:28:50.665  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.getOemKeyboardHeightRatio():161 systemKeyboardHeightRatio:1.000000.
2025-05-23 12:28:50.666  3976-3976  InputConte...ngeTracker com...gle.android.inputmethod.latin  I  InputContextChangeTracker.fixLyingSelectionRangeFromSurroundingText():1665 fixLyingSelectionRangeFromSurroundingText(): [-1, -1]([-1, -1]) -> [0, 0]([0, 0])
2025-05-23 12:28:50.666  3976-3976  AndroidIME              com...gle.android.inputmethod.latin  I  InputBundleManager.loadActiveInputBundleId():490 loadActiveInputBundleId: und-Latn-x-password, password
2025-05-23 12:28:50.667  3976-3976  AndroidIME              com...gle.android.inputmethod.latin  I  AbstractIme.onActivate():95 PasswordIme.onActivate() : EditorInfo = EditorInfo{packageName=com.android.chrome, inputType=0, inputTypeString=NULL, enableLearning=false, autoCorrection=false, autoComplete=false, imeOptions=12000000, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=-1, initialSelEnd=-1, initialCapsMode=0, label=null, fieldId=0, fieldName=null, extras=null, hintText=null, hintLocales=[]}, IncognitoMode = false, DeviceLocked = false
2025-05-23 12:28:50.667  3976-3976  KeyboardWrapper         com...gle.android.inputmethod.latin  I  KeyboardWrapper.activateKeyboard():558 activateKeyboard(): type=prime, status=0, imeDef=ldy{stringId=password, language=und-Latn-x-password, languageTag=und-Latn-x-password, processedConditions={enable_access_points_in_password_number=false, variant=qwerty, language=en-US, enable_number_row=false, device=phone, enable_number_row_in_password=true, enable_pk_simulator=false}, className=com.google.android.libraries.inputmethod.ime.password.PasswordIme, label=2132019101, keyEventInterpreter=null, inlineComposing=true, autoCapital=true, announceAutoSelectedCandidate=true, statusIcon=0, indicatorIcon=0, indicatorLabel=null, displayAppCompletions=false, extraValues=ldr{}, processors=lfq@ce07012, unacceptableMetaKeys=4098, languageSpecificSettings=0, asciiCapable=false, alwaysShowSuggestions=false, useAsciiPasswordKeyboard=false, keyboardGroupDef=lez@da163e3, phenotypeFlagId=0, localizationLanguageTag=null, supportsInlineSuggestion=false}
2025-05-23 12:28:50.667  3976-3976  KeyboardManager         com...gle.android.inputmethod.latin  I  KeyboardManager.requestKeyboard():248 Creating keyboard prime, imeId=password, cacheKey=theme,!gsf,!pgsf,!use_system_font,BORDER,FLAVOR_DPI=XXHDPI,GOOGLE_ICONS,KEYBOARD_WIDTH_CATEGORY=NORMAL,KEY_BORDER_SHAPE=1,LIGHT_THEME=false,PHYSICAL_DIAGONAL=6.0111027,POPUP,SCREEN_SHORTEST_WIDTH=411,SCREEN_SHORTEST_WIDTH_NO_SCALE=411,SW400DP,XXHDPI,bottom4dp,enable_google_fonts_icons=true,enable_popup_on_keypress=true,noshadow,overlay_builtin_dynamic_color_dark_base.binarypb:gm3-dark-ff161311-ffddc1ae-abe917ffd412c84f790c59ff893934d5,pgsans,silkpopup
2025-05-23 12:28:50.667  3976-3976  KeyboardWrapper         com...gle.android.inputmethod.latin  I  KeyboardWrapper.onKeyboardReady():212 onKeyboardReady(): type=prime(prime), kb=com.google.android.apps.inputmethod.latin.keyboard.LatinPasswordKeyboard@e51ed1b
2025-05-23 12:28:50.667  3976-3976  KeyboardWrapper         com...gle.android.inputmethod.latin  I  KeyboardWrapper.doActivateKeyboard():585 doActivateKeyboard(): prime
2025-05-23 12:28:50.668  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService$1.onKeyboardViewShown():307 onKeyboardViewShown: keyboardType=prime, keyboardViewType=HEADER keyboardView=com.google.android.libraries.inputmethod.widgets.SoftKeyboardView{886e493 V.E...... ......ID 0,0-1080,116 aid=11099}
2025-05-23 12:28:50.668  5947-6056  AAudioStream            com.android.chrome                   D  setState(s#1) from 0 to 2
2025-05-23 12:28:50.668  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.668  3976-3976  KeyboardViewController  com...gle.android.inputmethod.latin  I  KeyboardViewController.hide():979 Requesting to hide sub view with id 2131435692 #0x7f0b20ac which doesn't exist in current keyboard view
2025-05-23 12:28:50.668  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.668  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService$1.onKeyboardViewShown():307 onKeyboardViewShown: keyboardType=prime, keyboardViewType=BODY keyboardView=com.google.android.libraries.inputmethod.widgets.SoftKeyboardView{789537 V.E...... ........ 0,0-1080,658 aid=11035}
2025-05-23 12:28:50.668  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.669  3976-3976  NewLanguag...tExtension com...gle.android.inputmethod.latin  I  NewLanguagePromptExtension$1.onKeyboardViewShown():86 Not show new language banner: not prime keyboard, or the extension not activated.
2025-05-23 12:28:50.669  3976-3976  TooltipLifecycleManager com...gle.android.inputmethod.latin  W  TooltipLifecycleManager.dismissTooltips():153 Tooltip with id undo_access_point_promotion_banner not found in tooltipManager.
2025-05-23 12:28:50.669  3976-3976  GlobeKeyExtension       com...gle.android.inputmethod.latin  I  GlobeKeyExtension.getKeyboardInitialStates():139 
2025-05-23 12:28:50.669  3976-3976  Keyboard                com...gle.android.inputmethod.latin  W  Keyboard.getKeyboardViewHelper():597 null helper is returned: keyboardDef=let{processedConditions={enable_more_candidates_view_for_multilingual=false, layout_9key_split=false, enable_secondary_symbols=false, language=en-US, deprecate_long_press_space_for_ime_picker=false, expressions=normal, show_comma_period_keys=true, enable_access_points_in_password_number=false, enable_correction_settings_updates=false, show_suggestions=true, enable_flick_symbols=false, variant=qwerty, device=phone, keyboard_mode=normal, show_secondary_digits=false, enable_preemptive_decode=true, rtl_layout=false, bottom_period_popup_slash=false}, globalConditions={global_theme_key=theme,!gsf,!pgsf,!use_system_font,BORDER,FLAVOR_DPI=XXHDPI,GOOGLE_ICONS,KEYBOARD_WIDTH_CATEGORY=NORMAL,KEY_BORDER_SHAPE=1,LIGHT_THEME=false,PHYSICAL_DIAGONAL=6.0111027,POPUP,SCREEN_SHORTEST_WIDTH=411,SCREEN_SHORTEST_WIDTH_NO_SCALE=411,SW400DP,XXHDPI,bottom4dp,enable_google_fonts_icons=true,enable_popup_on_keypress=true,noshadow,overlay_builtin_dynamic_color_dark_base.binarypb:gm3-dark-ff161311-ffddc1ae-abe917ffd412c84f790c59ff893934d5,pgsans,silkpopup, global_locale=en_US, global_density_dpi=420, global_orientation=1}, className=.latin.keyboard.LatinPasswordKeyboard, resourceIds=[#0x7f1705ec, #0x7f170868, #0x7f1706aa], initialStates=0, keyboardViewDefs=[lfh{direction=null, id=#0x7f0b016b, isScalable=true, layoutId=#0x7f0e034d, type=BODY, touchable=true, defaultShow=true}, lfh{direction=null, id=#0x7f0b016b, isScalable=false, layoutId=#0x7f0e01e2, type=FLOATING_CANDIDATES, touchable=false, defaultShow=false}, lfh{direction=LOCALE, id=#0x7f0b016b, isScalable=false, layoutId=#0x7f0e04e5, type=HEADER, touchable=true, defaultShow=true}], persistentStates=0, persistentStatesPrefKey=null, popupBubbleLayoutId=#0x7f0e05d3, recentKeyLayoutId=0, recentKeyPopupLayoutId=0, recentKeyType=null, rememberRecentKey=NONE, sessionStates=17592186044419}, type=WIDGET, helpersCreated=[kqe@372462c, kqe@b1178f5, kqe@bc9568a, null], context.getResources().getConfiguration(): {1.0 208mcc15mnc [en_US] ldltr sw411dp w411dp h845dp 420dpi nrml long hdr widecg port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 118 - 1080, 2337) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.3263 fontWeightAdjustment=0}
2025-05-23 12:28:50.669  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.669  3976-3976  AndroidIME              com...gle.android.inputmethod.latin  I  InputBundleManager.startInput():355 startInput() with lfd[keyboardType=prime, payload=null]
2025-05-23 12:28:50.670  3976-3976  GlobeKeyExtension       com...gle.android.inputmethod.latin  I  GlobeKeyExtension.onActivate():78 
2025-05-23 12:28:50.670  3976-3976  AutoPasteS...tionHelper com...gle.android.inputmethod.latin  I  AutoPasteSuggestionHelper.createProactiveSuggestions():472 Failed to create item chips.
2025-05-23 12:28:50.670  3976-3976  NewLanguag...tExtension com...gle.android.inputmethod.latin  I  NewLanguagePromptExtension.onActivate():186 Not activated NewLanguagePromptExtension: not a normal text input box.
2025-05-23 12:28:50.670  3976-3976  NgaExtension            com...gle.android.inputmethod.latin  I  NgaExtension.onActivate():515 NgaExtension#onActivate [SDG]
2025-05-23 12:28:50.670  3976-3976  NgaVoiceIn...erSwitcher com...gle.android.inputmethod.latin  I  NgaVoiceInputHandlerSwitcher.restorePrimary():233 not switching to primary. fallback is null [SDG]
2025-05-23 12:28:50.670  3976-3976  NgaVoiceInputHandler    com...gle.android.inputmethod.latin  I  NgaVoiceInputHandler.maybeCreateInputManager():206 VoiceInputHandler:activating [SDG]
2025-05-23 12:28:50.671  3976-3976  NgaExtension            com...gle.android.inputmethod.latin  I  NgaExtension.onActivate():539 NgaExtension: interaction type=4 [SDG]
2025-05-23 12:28:50.671  5947-6056  AAudio                  com.android.chrome                   I  AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#1 ----------------
2025-05-23 12:28:50.671  3976-3976  AccessoryI...odeManager com...gle.android.inputmethod.latin  I  AccessoryInputModeManager.onModeStarted():326 Accessory input mode started: null
2025-05-23 12:28:50.671  3976-3976  Supplement...rdsWrapper com...gle.android.inputmethod.latin  W  SupplementaryKeyboardsWrapper.deactivateKeyboard():160 keyboard accessory_candidates_consumer is not activated before!
2025-05-23 12:28:50.672 11386-11478 behe                    com....android.googlequicksearchbox  I  (REDACTED) Handling KeyboardVisibilityEvent: %s [SD]
2025-05-23 12:28:50.672  3976-3976  KeyboardModeUtils       com...gle.android.inputmethod.latin  I  KeyboardModeUtils.getKeyboardBottomOffset():443 inch: 0.000000 ydpi: 409.127014 adjustKeyboardBottomByDisplaySize: false currentDensityDpi: 420 defaultDensityDpi: 420 keyboardBottomToScreenPx: 0 keyboardBottomToNavBarPx: -126 navBarHeight: 126
2025-05-23 12:28:50.672  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.672  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.672  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.672  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.672  3976-3976  ExtensionWrapper        com...gle.android.inputmethod.latin  W  ExtensionWrapper.setExtensionViewVisibility():793 interface ktr is not activate
2025-05-23 12:28:50.672  5947-6056  AAudio                  com.android.chrome                   D  AAudioStream_requestStart(s#1) called --------------
2025-05-23 12:28:50.672  5947-6056  AAudioStream            com.android.chrome                   D  setState(s#1) from 2 to 3
2025-05-23 12:28:50.672  3976-3976  Module                  com...gle.android.inputmethod.latin  I  DeviceLockedStatusModuleProvider$Module.updateDeviceLockedStatus():100 repeatCheckTimes = 1, locked = false
2025-05-23 12:28:50.672 11386-11474 belv                    com....android.googlequicksearchbox  I  (REDACTED) Current package suspended=%s [SD]
2025-05-23 12:28:50.673  3976-3976  VoiceImeExtension       com...gle.android.inputmethod.latin  I  VoiceImeExtension.shouldStartVoiceInputAutomaticallyInCurrentInputBox():468 No private IME option set to start voice input.
2025-05-23 12:28:50.673   927-8922  AudioFlinger            audioserver                          W  moveEffectChain_ll: effect chain for session 0 not on source thread 0xb400006fdb798fe8
2025-05-23 12:28:50.673  3976-3976  HardKeyTracker          com...gle.android.inputmethod.latin  I  HardKeyTracker.unregisterKeySequence():182 Unregister key sequence lyw{labelResId=2132020244, callback=ccx@438767, lastModifier=2, keyCodes=[32], actions=[0]}
2025-05-23 12:28:50.673  3976-3976  HardKeyTracker          com...gle.android.inputmethod.latin  I  HardKeyTracker.registerKeySequence():138 Register key sequence lyw{labelResId=2132020244, callback=ccx@4a71857, lastModifier=2, keyCodes=[32], actions=[0]}
2025-05-23 12:28:50.675 11386-11480 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.675 11386-11480 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.675   869-1591  sensor-suez             and...ware.sensors-service.multihal  I  Vendor atom [id = 100245] reported.
2025-05-23 12:28:50.675  3976-3976  KeyboardModeUtils       com...gle.android.inputmethod.latin  I  KeyboardModeUtils.getKeyboardBottomOffset():443 inch: 0.000000 ydpi: 409.127014 adjustKeyboardBottomByDisplaySize: false currentDensityDpi: 420 defaultDensityDpi: 420 keyboardBottomToScreenPx: 0 keyboardBottomToNavBarPx: -126 navBarHeight: 126
2025-05-23 12:28:50.675 11386-11480 bele                    com....android.googlequicksearchbox  I  (REDACTED) Dictation is enabled. workprofile=%s [SD]
2025-05-23 12:28:50.675  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.675  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.675  3976-3976  WindowMetr...tification com...gle.android.inputmethod.latin  I  WindowMetricsNotification.notifyWithWindow():166 
2025-05-23 12:28:50.675  3976-3976  WindowMetr...tification com...gle.android.inputmethod.latin  I  WindowMetricsNotification.notify():159 nux[bounds=Rect(0, 118 - 1080, 2400), insets=Rect(0, 0 - 0, 126), densityDpi=420, smallestScreenWidthDp=411, displayWidth=1080, displayHeight=2400, xdpi=391.885, ydpi=409.127, isTrustable=true, displayId=0]; DisplayMetrics{density=2.625, width=1080, height=2400, scaledDensity=2.625, xdpi=391.885, ydpi=409.127}
2025-05-23 12:28:50.676 11386-11474 bele                    com....android.googlequicksearchbox  I  Field type is not set, assuming supported input field. [SD]
2025-05-23 12:28:50.676 11386-11474 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.676 11386-11474 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.677  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():183 AssistantDictationEligibility = 1 [SDG]
2025-05-23 12:28:50.677  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():195 AssistantDictationEligibility(config, en-US) = 1 [SDG]
2025-05-23 12:28:50.677  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():202 AssistantDictationEligibility(inputField) = 1 [SDG]
2025-05-23 12:28:50.677  3976-3976  NgaInputHandlerFactory  com...gle.android.inputmethod.latin  I  NgaInputHandlerFactory.restorePrimary():124 restoring primary [SDG]
2025-05-23 12:28:50.677  3976-3976  NgaVoiceIn...erSwitcher com...gle.android.inputmethod.latin  I  NgaVoiceInputHandlerSwitcher.restorePrimary():233 not switching to primary. fallback is null [SDG]
2025-05-23 12:28:50.677   869-869   usf_sensor_hal          and...ware.sensors-service.multihal  D  game rotation vector: Enter Activate. Enable = 0.
2025-05-23 12:28:50.678  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():183 AssistantDictationEligibility = 1 [SDG]
2025-05-23 12:28:50.678  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():195 AssistantDictationEligibility(config, en-US) = 1 [SDG]
2025-05-23 12:28:50.678  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():202 AssistantDictationEligibility(inputField) = 1 [SDG]
2025-05-23 12:28:50.678  3976-3976  NgaInputHandlerFactory  com...gle.android.inputmethod.latin  I  NgaInputHandlerFactory.restorePrimary():124 restoring primary [SDG]
2025-05-23 12:28:50.678  3976-3976  NgaVoiceIn...erSwitcher com...gle.android.inputmethod.latin  I  NgaVoiceInputHandlerSwitcher.restorePrimary():233 not switching to primary. fallback is null [SDG]
2025-05-23 12:28:50.678  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService$1.onKeyboardViewShown():307 onKeyboardViewShown: keyboardType=prime, keyboardViewType=HEADER keyboardView=com.google.android.libraries.inputmethod.widgets.SoftKeyboardView{886e493 V.E...... ........ 0,0-1080,116 aid=11099}
2025-05-23 12:28:50.678  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.678  3976-3976  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService$1.onKeyboardViewShown():307 onKeyboardViewShown: keyboardType=prime, keyboardViewType=BODY keyboardView=com.google.android.libraries.inputmethod.widgets.SoftKeyboardView{789537 V.E...... ........ 0,0-1080,658 aid=11035}
2025-05-23 12:28:50.678  3976-3976  KeyboardHeightUtil      com...gle.android.inputmethod.latin  I  KeyboardHeightUtil.calculateMaxKeyboardBodyHeight():46 leave 281 height for app when ime window height:2156, header height:116 and isFullscreenMode:false, so the max keyboard body height is:1759
2025-05-23 12:28:50.678  3976-3976  NewLanguag...tExtension com...gle.android.inputmethod.latin  I  NewLanguagePromptExtension$1.onKeyboardViewShown():86 Not show new language banner: not prime keyboard, or the extension not activated.
2025-05-23 12:28:50.678 11386-11474 bego                    com....android.googlequicksearchbox  I  (REDACTED) Keyboard notified that eligibility=%s [SD]
2025-05-23 12:28:50.679  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():183 AssistantDictationEligibility = 1 [SDG]
2025-05-23 12:28:50.679  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():195 AssistantDictationEligibility(config, en-US) = 1 [SDG]
2025-05-23 12:28:50.679  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():202 AssistantDictationEligibility(inputField) = 1 [SDG]
2025-05-23 12:28:50.679  3976-3976  NgaInputHandlerFactory  com...gle.android.inputmethod.latin  I  NgaInputHandlerFactory.restorePrimary():124 restoring primary [SDG]
2025-05-23 12:28:50.679  3976-3976  NgaVoiceIn...erSwitcher com...gle.android.inputmethod.latin  I  NgaVoiceInputHandlerSwitcher.restorePrimary():233 not switching to primary. fallback is null [SDG]
2025-05-23 12:28:50.679 11386-11474 beng                    com....android.googlequicksearchbox  I  #onKeyboardShownAgain scheduled [SD]
2025-05-23 12:28:50.679 11386-11478 beng                    com....android.googlequicksearchbox  I  #onKeyboardShownAgain [SD]
2025-05-23 12:28:50.679 11386-11482 behe                    com....android.googlequicksearchbox  I  (REDACTED) Handling FieldChangedEvent: fgPkg=%s, fieldType=%s, interactionType=%s [SD]
2025-05-23 12:28:50.679  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1713: USF: Received stop sampling request for Game Rotation Vector Sensor (active:0).
2025-05-23 12:28:50.679 11386-11482 belv                    com....android.googlequicksearchbox  I  (REDACTED) Current package suspended=%s [SD]
2025-05-23 12:28:50.680  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_sensor.cc, 68: VSC: [Game Rotation Vector Sensor] disable.
2025-05-23 12:28:50.680  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_controller.cc, 550: VSC: [Game Rotation Vector Sensor] stopSensorEvents: sensor 0x10001
2025-05-23 12:28:50.681 11386-11480 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.681 11386-11480 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.681  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1705: USF: Received start sampling request for LSM6DSV Accelerometer (active:6).
2025-05-23 12:28:50.681  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 732: USF: Lsm6dsvDevice: Sensor 0: Enabled 1, odr_index 6, period_ns 10000000.
2025-05-23 12:28:50.681 11386-11480 bele                    com....android.googlequicksearchbox  I  (REDACTED) Dictation is enabled. workprofile=%s [SD]
2025-05-23 12:28:50.681  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_fifo.cc, 755: USF: Lsm6dsvFifo: ODR: XL/G/T/TS: 120/240/15/30 WM: 1 Intr: 240.
2025-05-23 12:28:50.682 11386-11481 bele                    com....android.googlequicksearchbox  I  Field type is not set, assuming supported input field. [SD]
2025-05-23 12:28:50.682  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 641: USF: Lsm6dsvDevice: Fifo was disabled for 611002ns.
2025-05-23 12:28:50.682 11386-11481 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because Gboard setting is not shown [SD]
2025-05-23 12:28:50.682 11386-11481 besr                    com....android.googlequicksearchbox  I  Automatic switching disabled because there aren't enough supported keyboard languages [SD]
2025-05-23 12:28:50.683 11386-11480 bego                    com....android.googlequicksearchbox  I  (REDACTED) Keyboard notified that eligibility=%s [SD]
2025-05-23 12:28:50.684  1068-1068  AOC                     aocd                                 D  A3:MSG: vsc_controller.cc, 550: VSC: [Game Rotation Vector Sensor] stopSensorEvents: sensor 0x10004
2025-05-23 12:28:50.685  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1713: USF: Received stop sampling request for LSM6DSV Gyroscope (active:2).
2025-05-23 12:28:50.685  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 732: USF: Lsm6dsvDevice: Sensor 1: Enabled 1, odr_index 7, period_ns 5000000.
2025-05-23 12:28:50.685  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_fifo.cc, 755: USF: Lsm6dsvFifo: ODR: XL/G/T/TS: 120/240/15/30 WM: 23 Intr: 18.
2025-05-23 12:28:50.686  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():183 AssistantDictationEligibility = 1 [SDG]
2025-05-23 12:28:50.686  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():195 AssistantDictationEligibility(config, en-US) = 1 [SDG]
2025-05-23 12:28:50.686  3976-3976  NgaStateManager         com...gle.android.inputmethod.latin  I  NgaStateManager.setAssistantDictationEligibility():202 AssistantDictationEligibility(inputField) = 1 [SDG]
2025-05-23 12:28:50.686  3976-3976  NgaInputHandlerFactory  com...gle.android.inputmethod.latin  I  NgaInputHandlerFactory.restorePrimary():124 restoring primary [SDG]
2025-05-23 12:28:50.686  3976-3976  NgaVoiceIn...erSwitcher com...gle.android.inputmethod.latin  I  NgaVoiceInputHandlerSwitcher.restorePrimary():233 not switching to primary. fallback is null [SDG]
2025-05-23 12:28:50.686  1068-1068  AOC                     aocd                                 D  A3:MSG: lsm6dsv_device.cc, 641: USF: Lsm6dsvDevice: Fifo was disabled for 487834ns.
2025-05-23 12:28:50.688  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor_client.cc, 435: USF: Stopping stale sample stream with sampling ID: 19067
2025-05-23 12:28:50.689  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor_client.cc, 435: USF: Stopping stale sample stream with sampling ID: 19067
2025-05-23 12:28:50.689   869-1591  sensor-suez             and...ware.sensors-service.multihal  I  Vendor atom [id = 100242] reported.
2025-05-23 12:28:50.689  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1713: USF: Received stop sampling request for LSM6DSV Gyroscope (active:1).
2025-05-23 12:28:50.689   869-1591  sensor-suez             and...ware.sensors-service.multihal  I  Vendor atom [id = 100243] reported.
2025-05-23 12:28:50.689  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 2169: USF: Sampling configuration 19067 not found.
2025-05-23 12:28:50.689  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 1713: USF: Received stop sampling request for LSM6DSV Gyroscope (active:1).
2025-05-23 12:28:50.689  1068-1068  AOC                     aocd                                 D  A3:MSG: usf_sensor.cc, 2169: USF: Sampling configuration 19067 not found.
2025-05-23 12:28:50.714   834-853   audio_hw_patch          android.hardware.audio.service       D  deep-buffer-playback routing:
2025-05-23 12:28:50.714   834-853   audio_hw_patch          android.hardware.audio.service       D  dev: 0x2 
2025-05-23 12:28:50.716   927-8922  audioserver             audioserver                          D  logFgsApiBegin: FGS Logger Transaction failed, -129
2025-05-23 12:28:50.716  5947-6056  AAudio                  com.android.chrome                   D  AAudioStream_requestStart(s#1) returned 0 ---------
2025-05-23 12:28:50.717  5947-5963  AudioStreamLegacy       com.android.chrome                   D  onAudioDeviceUpdate() devices 3 => 3
2025-05-23 12:28:50.719   834-31004 audio_hw                android.hardware.audio.service       D  prepare deep-buffer-playback
2025-05-23 12:28:50.719   834-31004 audio_hw_soundtrigger   android.hardware.audio.service       D  st_uc_monitor:uc:deep-buffer-playback active
2025-05-23 12:28:50.719   834-31004 audio_hw                android.hardware.audio.service       D  deep-buffer-playback:
2025-05-23 12:28:50.719   834-31004 audio_hw                android.hardware.audio.service       D  rx:
2025-05-23 12:28:50.719   834-31004 audio_hw                android.hardware.audio.service       D    #0: OUT_SPEAKER_BE_CFG 0
2025-05-23 12:28:50.719   834-31004 audio_hw_35l41          android.hardware.audio.service       W  cs35l41_amp_common_event: ret: 0, event: 1, state: 2, device: 4
2025-05-23 12:28:50.719   834-31004 audio_route             android.hardware.audio.service       D  Apply path: speaker
2025-05-23 12:28:50.719   834-31004 audio_hw_aoc_route      android.hardware.audio.service       D  speaker 1
2025-05-23 12:28:50.719  5947-5947  MediaRouter             com.android.chrome                   D  onRestoreRoute() : route=RouteInfo{ name=BT_TOYOTA, description=Bluetooth audio, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO , presentationDisplay=null }
2025-05-23 12:28:50.719  5947-5947  MediaRouter             com.android.chrome                   V  Selecting route: RouteInfo{ name=BT_TOYOTA, description=Bluetooth audio, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO , presentationDisplay=null }
2025-05-23 12:28:50.719   834-31004 audio_route             android.hardware.audio.service       D  Apply path: hostless-ulC spk-vi
2025-05-23 12:28:50.720   834-31004 audio_hw_35l41          android.hardware.audio.service       W  cs35l41_amp_common_event: ret: 0, event: 2, state: 3, device: 4
2025-05-23 12:28:50.720   834-31004 audio_hw_p...le_control android.hardware.audio.service       I  Update Temperature: kIdle to kOnce
2025-05-23 12:28:50.720   834-1363  audio_hw_b...io_control android.hardware.audio.service       D  ProcessPlaybackTunerControl: update playback tuner 1
2025-05-23 12:28:50.720   834-31004 audio_hw_soundtrigger   android.hardware.audio.service       D  st_comm_aud_event_monitor:codec dev:4 active
2025-05-23 12:28:50.720   834-1363  audio_hw_w...al_battery android.hardware.audio.service       D  UpdateBatteryThrottleState: update tuning!
2025-05-23 12:28:50.720   834-31004 audio_hw_aoc            android.hardware.audio.service       I  Mode Ambient is already selected
2025-05-23 12:28:50.720   834-31004 audio_route             android.hardware.audio.service       D  Apply path: deep-buffer-playbackP
2025-05-23 12:28:50.721  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 275: AudioOutCtrl: cmd ID: 0x010f, tag: 0x6f [cntr = 2405]
2025-05-23 12:28:50.721   834-31004 audio_hw_aoc_route      android.hardware.audio.service       D  deep-buffer-playbackP 1
2025-05-23 12:28:50.721   834-31004 audio_route             android.hardware.audio.service       D  Apply path: speaker-post
2025-05-23 12:28:50.721  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  VIRTUAL-USB-THROTTLING:0 raw data: USB-MINUS-SKIN2:-1803 VIRTUAL-USB-THROTTLING:0 skin_therm2:26799 usb_pwr_therm:24996 
2025-05-23 12:28:50.721  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  cellular-emergency:24.2935 raw data: VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-1:24293.5 VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-4:23794.5 VIRTUAL-QUT-SKIN2-USB-GNSS-3:24170.5 VIRTUAL-QUT-SKIN2-USB-USB2-2:24153.8 VIRTUAL-SKIN:24293.5 cellular-emergency:24293.5 gnss_tcxo_therm:27104 neutral_therm:26588 quiet_therm:24762 skin_therm1:25769 skin_therm2:26799 usb_pwr_therm:24996 usb_pwr_therm2:24855 
2025-05-23 12:28:50.721  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  VIRTUAL-SKIN-CHARGE:24.2935 raw data: VIRTUAL-SKIN:24293.5 VIRTUAL-SKIN-CHARGE:24293.5 
2025-05-23 12:28:50.721  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  VIRTUAL-SKIN-HINT:24.2935 raw data: VIRTUAL-SKIN:24293.5 VIRTUAL-SKIN-HINT:24293.5 
2025-05-23 12:28:50.721  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  VIRTUAL-SKIN:24.2935 raw data: VIRTUAL-SKIN:24293.5 
2025-05-23 12:28:50.722  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  USB-MINUS-SKIN2:-1.803 raw data: USB-MINUS-SKIN2:-1803 
2025-05-23 12:28:50.722  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  VIRTUAL-USB-UI:0 raw data: USB-MINUS-SKIN2:-1803 VIRTUAL-USB-UI:0 usb_pwr_therm:24996 
2025-05-23 12:28:50.722  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  skin_therm1:25.769 raw data: skin_therm1:25769 
2025-05-23 12:28:50.722  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  usb_pwr_therm:24.996 raw data: usb_pwr_therm:24996 
2025-05-23 12:28:50.722  1737-1737  pixel-thermal           and...ardware.thermal-service.pixel  I  VIRTUAL-SKIN-CHARGE-WLC:25.8635 raw data: VIRTUAL-SKIN-CHARGE-WLC:25863.5 disp_therm:24926 skin_therm2:26799 usb_pwr_therm2:24855 
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:Source 5 [DeepBuffer] mastered by sink 0 [Speaker]
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:AT Map:20 (LL:0), 1 EPs active, Power: Yes, Config: No
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:Mixer 0 configuration changed: (20)
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:Sink 0 Configuration changed: ULL (enabled)
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:AHWSinkSPKR started: 48 samples (32-bit,2 ch,48 kHz) block 384 ts_en 0
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:[AHWSinkSPKR] DL resync B: 2624, A:2624. wo: 5696, target offset: 3072 (align 128) -> ro:3072
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:ERR: mix_creator.cc, 136: Source CHP is not registered with AHWSinkSPKR
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:Speaker TDM Started with Clk: 6144 KHz, FS: 48 KHz, Slots: 4 (4 ch used) DMA:1+2
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 910: AudioOutCtrl: ipc: audio_output_co, cmd ID: 0x010f, tag: 0x6f, rc: 0
2025-05-23 12:28:50.722   834-31004 audio_hw_aoc_route      android.hardware.audio.service       D  speaker-post 1
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  H0:Mixer AMixSPKR: 480 samples (0020/0020) (ON SC)
2025-05-23 12:28:50.722   834-1364  audio_hw_w...al_battery android.hardware.audio.service       D  UpdateThermistors: update link law: 1 24.293499 24.293499
2025-05-23 12:28:50.722   834-1364  audio_hw_w...al_battery android.hardware.audio.service       D  UpdateThermistors: update tuning!
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  H0:	 5: 0x4ea228
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  H0:AMixSPKR PostProcessing Config: WAVES
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  H0:Mixer configuration updated
2025-05-23 12:28:50.722  1068-1068  AOC                     aocd                                 D  H0:[Idle Tracker] long no idle:[0] average between idle:[4.774823ms] max no idle:[43.663173ms]
2025-05-23 12:28:50.723  1068-1068  AOC                     aocd                                 D  H0:Mixer state changed
2025-05-23 12:28:50.726  3546-4903  AiAiAdaptiveAudio       com.google.android.as                I  (REDACTED) updateState: enabledInSettings=%b, playbackState=%s
2025-05-23 12:28:50.727  3546-4903  AiAiAdaptiveAudio       com.google.android.as                I  stopMonitoring
2025-05-23 12:28:50.727  3546-4903  AiAiAdaptiveAudio       com.google.android.as                I  (REDACTED) Updating calibration state: %s -> %s
2025-05-23 12:28:50.728  5947-5947  ImeTracker              com.android.chrome                   I  com.android.chrome:39f5b064: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
2025-05-23 12:28:50.728  5947-5947  InsetsController        com.android.chrome                   D  hide(ime(), fromIme=false)
2025-05-23 12:28:50.728  5947-5947  InsetsController        com.android.chrome                   D  Setting requestedVisibleTypes to -9 (was -1)
2025-05-23 12:28:50.730  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 275: AudioOutCtrl: cmd ID: 0x00ce, tag: 0x70 [cntr = 2406]
2025-05-23 12:28:50.730   834-31004 audio_hw_waves          android.hardware.audio.service       D  waves_usecase_event: deep-buffer-playback start
2025-05-23 12:28:50.730  1068-1068  AOC                     aocd                                 D  F1:MSG: controller_audio_output.cc, 1895: audio_playback5 set default threshold 23040
2025-05-23 12:28:50.730   834-31004 audio_hw_waves          android.hardware.audio.service       D  waves_usecase_event: trigger to update tuning when first track is running.
2025-05-23 12:28:50.730   834-31004 audio_hw_w...ust_action android.hardware.audio.service       D  Process: send link law 1 24.293499 24.293499
2025-05-23 12:28:50.730  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 910: AudioOutCtrl: ipc: audio_output_co, cmd ID: 0x012d, tag: 0x64, rc: 0
2025-05-23 12:28:50.730  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 275: AudioOutCtrl: cmd ID: 0x012a, tag: 0x71 [cntr = 2407]
2025-05-23 12:28:50.730  1068-1068  AOC                     aocd                                 D  F1:MSG: controller_audio_output.cc, 2032: audio_playback5 set threshold 23040 of 30720
2025-05-23 12:28:50.730  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 910: AudioOutCtrl: ipc: audio_output_co, cmd ID: 0x012a, tag: 0x71, rc: 0
2025-05-23 12:28:50.731   834-31004 audio_hw_waves          android.hardware.audio.service       D  send_waves_tuning: instance_id = 1, tuning_id = 2
2025-05-23 12:28:50.731   834-31004 audio_hw_aoc            android.hardware.audio.service       D  aoc_send_rtc_mixer_tuning: block_id = 16, comp_id = 2
2025-05-23 12:28:50.731  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 275: AudioOutCtrl: cmd ID: 0x00d5, tag: 0xeb [cntr = 2408]
2025-05-23 12:28:50.733  1068-1068  AOC                     aocd                                 D  H0:MSG: controller.cc, 910: AudOutCtrlH0: ipc: C-AO-H0, cmd ID: 0x00d5, tag: 0xa2, rc: 0
2025-05-23 12:28:50.733  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 910: AudioOutCtrl: ipc: audio_output_tu, cmd ID: 0x00d5, tag: 0xa2, rc: 0
2025-05-23 12:28:50.733  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 275: AudioOutCtrl: cmd ID: 0x00c9, tag: 0x72 [cntr = 2409]
2025-05-23 12:28:50.733  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 910: AudioOutCtrl: ipc: audio_output_co, cmd ID: 0x00c9, tag: 0x72, rc: 0
2025-05-23 12:28:50.734   834-1607  audio_hw_waves          android.hardware.audio.service       D  update_sink_info_from_usecases: sink 1 VOL/Stream update 0.000000(4294967295) -> 1.000000(3)
2025-05-23 12:28:50.734   834-1607  audio_hw_w...ust_action android.hardware.audio.service       D  Process: send link law 1 24.293499 24.293499
2025-05-23 12:28:50.735  5947-5947  cr_BotControlsStacker   com.android.chrome                   W  Height mismatch observed. [HeightFromSetter] expectedHeight= 0 expectedMinHeight= 0 [onBottomControlsHeightChanged] actualHeight = 63 actualMinHeight= 63
2025-05-23 12:28:50.735  5947-5947  cr_BotControlsStacker   com.android.chrome                   W  Height mismatch observed. [Heights before #repositionLayers] expectedHeight= 63 expectedMinHeight= 63 [First pass in #repositionLayers] actualHeight = 0 actualMinHeight= 0
2025-05-23 12:28:50.736   834-1607  audio_hw_waves          android.hardware.audio.service       D  send_waves_tuning: instance_id = 1, tuning_id = 2
2025-05-23 12:28:50.736   834-1607  audio_hw_aoc            android.hardware.audio.service       D  aoc_send_rtc_mixer_tuning: block_id = 16, comp_id = 2
2025-05-23 12:28:50.737  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 275: AudioOutCtrl: cmd ID: 0x00d5, tag: 0xec [cntr = 2410]
2025-05-23 12:28:50.737  1068-1068  AOC                     aocd                                 D  H0:MSG: controller.cc, 910: AudOutCtrlH0: ipc: C-AO-H0, cmd ID: 0x00d5, tag: 0xa3, rc: 0
2025-05-23 12:28:50.737  1068-1068  AOC                     aocd                                 D  F1:MSG: controller.cc, 910: AudioOutCtrl: ipc: audio_output_tu, cmd ID: 0x00d5, tag: 0xa3, rc: 0
2025-05-23 12:28:50.738   834-1607  audio_hw_35l41          android.hardware.audio.service       W  cs35l41_amp_common_event: ret: 0, event: 15, state: 3, device: 0
2025-05-23 12:28:50.738   834-1607  audio_hw_soundtrigger   android.hardware.audio.service       D  updated Stream 3 active in soundtrigger
2025-05-23 12:28:50.738   834-1607  audio_hw_output_stream  android.hardware.audio.service       D  update stream 3 active 1 gain 1.000000
[...]

Logs coming from Codec2Client:

2025-05-23 12:34:02.186 21465-21489 Codec2Client            pid-21465                            I  Available Codec2 services: "default" "default1" "default2" "software"
2025-05-23 12:34:02.230 21465-21489 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:02.231 21465-21489 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:02.232 21465-21489 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980161 consumer usage=0x900
2025-05-23 12:34:18.623 21465-21586 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:18.627 21465-21586 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:18.627 21465-21586 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980162 consumer usage=0x900
2025-05-23 12:34:18.672 21465-21610 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:18.675 21465-21610 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:18.675 21465-21610 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980163 consumer usage=0x900
2025-05-23 12:34:18.730 21465-21620 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:18.731 21465-21620 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:18.731 21465-21620 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980164 consumer usage=0x900
2025-05-23 12:34:18.785 21465-21629 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:18.786 21465-21629 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:18.787 21465-21629 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980165 consumer usage=0x900
2025-05-23 12:34:18.846 21465-21651 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:18.847 21465-21651 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:18.850 21465-21651 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980166 consumer usage=0x900
2025-05-23 12:34:19.017 21465-21674 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:19.017 21465-21674 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:19.018 21465-21674 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980167 consumer usage=0x900
2025-05-23 12:34:22.638 21465-21700 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:22.638 21465-21700 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:22.639 21465-21700 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980168 consumer usage=0x900
2025-05-23 12:34:34.383 21465-21720 Codec2Client            pid-21465                            D  GraphicBufferAllocator created
2025-05-23 12:34:34.384 21465-21720 Codec2Client            pid-21465                            D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2025-05-23 12:34:34.384 21465-21720 Codec2Client            pid-21465                            D  setOutputSurface -- generation=21980169 consumer usage=0x900
Flags: needinfo?(kkaya)

Thanks a lot, William!

It sounds like Pixel 7a HW AV1 decoder has compatibility issues with 10-bit video. On my phone w/o HW decoder, Chrome decodes the video in comment 11 using dav1d (shown both in logcat and in Chrome DevTools Media panel when connecting via chrome://inspect) and it plays fine.

As an workaround I'll make the block list to be effective only to 10-bit AV1 so those videos will be decoded by the dav1d library bundled in Gecko. Not as efficient/smooth as falling back to HW VP9 as Chrome does but I think that's an acceptable trade-off.

(In reply to Kaya [:kaya] from comment #12)

Logs coming from Codec2Client:
...

Thanks, Kaya.

The setOutputSurface -- failed to set consumer usage (6/BAD_INDEX) error is generated here and seems related to the graphic buffer output usage. I'm not sure if this leads to the glitch and crash eventually, though.

Hi John,
I shared those logs in Comment #12 because of an offline discussion we were having with Paul and Will at that time. I am sorry, if it caused any noise - should've mentioned.

https://github.com/padenot/codeccheck/releases/tag/0.0.0 is an app that shows what the device can do. My phone (Samsung S23) can't do 422p10, but somehow we don't check for it. It would be good to know what you folks phone can do.

Attachment #9490550 - Attachment description: Bug 1967752 - add block list for 10-bit Android AV1 decoder. → Bug 1967752 - accept only main profile AV1 video on Android.

(In reply to Paul Adenot (:padenot) from comment #17)

https://github.com/padenot/codeccheck/releases/tag/0.0.0 is an app that shows what the device can do. My phone (Samsung S23) can't do 422p10, but somehow we don't check for it. It would be good to know what you folks phone can do.

Thanks a lot for the app! Usually I just adb shell dumpsys media.player to get the list of available codecs and their capabilities (hw/sw, profile, level, color formats, ...).

No longer blocks: media-triage

I managed to borrow a Pixel 6a to investigate the issue locally and found that while the latest patch no longer send 422 video to google AV1 decoder and successfully uses bundled dav1d decoder, the GPU process crashes:

(lldb) thread backtrace
* thread #19, name = 'Renderer', stop reason = breakpoint 6.1
  * frame #0: 0x0000007385d31124 libart.so`art_sigsegv_fault
    frame #1: 0x0000007385d316b8 libart.so`art::FaultManager::HandleSigsegvFault(int, siginfo*, void*) - 18446743577543108935
    frame #2: 0x0000007620be806c libsigchain.so`art::SignalChain::Handler(int, siginfo*, void*) + 372
    frame #3: 0x000000763bcd889c [vdso]`__kernel_rt_sigreturn
    frame #4: 0x00000072623fbef4 libxul.so`::RustMozCrash(const char *, int, const char *) [inlined] MOZ_CrashSequence(aAddress=0x0000000000000000, aLine=<unavailable>) at Assertions.h:253:3
    frame #5: 0x00000072623fbef4 libxul.so`::RustMozCrash(const char *, int, const char *) [inlined] MOZ_Crash(aFilename=<unavailable>, aLine=1500, aReason="Caught GL error 500 at tex_storage_2d") at Assertions.h:381:3
    frame #6: 0x00000072623fbed4 libxul.so`RustMozCrash(aFilename=<unavailable>, aLine=1500, aReason="Caught GL error 500 at tex_storage_2d") at wrappers.cpp:18:3
    frame #7: 0x00000072623fb7c0 libxul.so`mozglue_static::panic_hook::hf3bdd1e388fd410b(info=<unavailable>) at lib.rs:99:9
    frame #8: 0x00000072623fb65c libxul.so`core::ops::function::Fn::call::h9f6b146f9564033e((null)=<unavailable>, (null)=<unavailable>) at function.rs:79:5
    frame #9: 0x000000726354c034 libxul.so`std::panicking::rust_panic_with_hook::hdd8652fbe01df54d [inlined] _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..Fn$LT$Args$GT$$GT$::call::h1035084c31692e8c at boxed.rs:2007:9
    frame #10: 0x000000726354c02c libxul.so`std::panicking::rust_panic_with_hook::hdd8652fbe01df54d at panicking.rs:836:13
    frame #11: 0x000000726354bcbc libxul.so`std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h7b1b9c04dae419aa at panicking.rs:701:13
    frame #12: 0x000000726354941c libxul.so`std::sys::backtrace::__rust_end_short_backtrace::h4825b147fc54c84f at backtrace.rs:168:18
    frame #13: 0x000000726354b97c libxul.so`rust_begin_unwind at panicking.rs:692:5
    frame #14: 0x000000726358fc00 libxul.so`core::panicking::panic_fmt::h205176a891f44e54 at panicking.rs:75:14
    frame #15: 0x0000007261ee461c libxul.so`_$LT$gleam..gl..ErrorReactingGl$LT$F$GT$$u20$as$u20$gleam..gl..Gl$GT$::tex_storage_2d::hc8acc56522d9ae5e [inlined] webrender::device::gl::Device::new::_$u7b$$u7b$closure$u7d$$u7d$::h7d2be6de9e52a32c(gl=<unavailable>, name=(data_ptr = "tex_storage_2dtex_storage_3ddelete_texturesend_tiling_qcomgenerate_mipmapget_integer_64vis_renderbuffersample_coverageset_fence_appletex_parameter_ftex_parameter_ibind_buffer_basebind_framebufferblit_framebufferclient_wait_syncgen_fences_applegen_framebuff"..., length = 14), code=1280) at gl.rs:1500:17
    frame #16: 0x0000007261ee4560 libxul.so`_$LT$gleam..gl..ErrorReactingGl$LT$F$GT$$u20$as$u20$gleam..gl..Gl$GT$::tex_storage_2d::hc8acc56522d9ae5e(self=<unavailable>, target=<unavailable>, levels=<unavailable>, internal_format=<unavailable>, width=<unavailable>, height=<unavailable>) at gl.rs:101:21
    frame #17: 0x0000007261d8fac4 libxul.so`webrender::device::gl::Device::create_texture::h495164340d16086a(self=0x000000726f2e6000, target=<unavailable>, format=<unavailable>, width=512, height=512, filter=<unavailable>, render_target=Option<webrender::internal_types::RenderTargetInfo> @ x21) at gl.rs:2643:13
    frame #18: 0x00000072620f8858 libxul.so`webrender::renderer::Renderer::update_texture_cache::h6afe4cc39e924326 [inlined] webrender::renderer::Renderer::update_texture_cache::_$u7b$$u7b$closure$u7d$$u7d$::hf3d130997cafdc0a at mod.rs:1973:29
    frame #19: 0x00000072620f8834 libxul.so`webrender::renderer::Renderer::update_texture_cache::h6afe4cc39e924326 [inlined] core::option::Option$LT$T$GT$::unwrap_or_else::h6b6c080da528e309(self=Option<webrender::device::gl::Texture> @ 0x0000600003c87a80, f=<unavailable>) at option.rs:1023:21
    frame #20: 0x00000072620f8830 libxul.so`webrender::renderer::Renderer::update_texture_cache::h6afe4cc39e924326(self=<unavailable>) at mod.rs:1972:43
    frame #21: 0x00000072620f4d4c libxul.so`webrender::renderer::Renderer::render_impl::h8210cd586b43e33e(self=<unavailable>, doc_id=DocumentId @ 0x000000762245fcf8, active_doc=<unavailable>, device_size=<unavailable>, buffer_age=3) at mod.rs:1553:13
    frame #22: 0x00000072620f44b8 libxul.so`webrender::renderer::Renderer::render::h22d66831cafa1ea5(self=<unavailable>, device_size=<unavailable>, buffer_age=<unavailable>) at mod.rs:1283:30
    frame #23: 0x0000007261d20ce4 libxul.so`wr_renderer_render(renderer=<unavailable>, width=<unavailable>, height=<unavailable>, buffer_age=<unavailable>, out_stats=0x00000076224615c0, out_dirty_rects=0x00000076224613f8) at bindings.rs:650:11
    frame #24: 0x000000725abd0350 libxul.so`mozilla::wr::RendererOGL::UpdateAndRender(this=0x00000073821a7c40, aReadbackSize=0x0000007622461668, aReadbackFormat=<unavailable>, aReadbackBuffer=0x0000007622461630, aNeedsYFlip=<unavailable>, aFrameParams=0x000000722ce34c70, aOutStats=0x00000076224615c0) at RendererOGL.cpp:220:19
    frame #25: 0x000000725abcf2a4 libxul.so`mozilla::wr::RenderThread::UpdateAndRender(this=0x000000738213f400, aWindowId=(mHandle = 1), aStartId=0x0000007622461628, aStartTime=0x0000007622461620, aParams=0x000000722ce34c70, aReadbackSize=0x0000007622461668, aReadbackFormat=0x00000076224615bc, aReadbackBuffer=0x0000007622461630, aStats=0x00000076224615c0, aNeedsYFlip=0x0000000000000000) at RenderThread.cpp:853:31
    frame #26: 0x000000725abce828 libxul.so`mozilla::wr::RenderThread::HandleFrameOneDocInner(this=0x000000738213f400, aWindowId=(mHandle = 1), aParams=0x000000722ce34c70, aTrackedFrame=<unavailable>, aPublishId=Maybe<mozilla::wr::FramePublishId> @ 0x00000076224616e0) at RenderThread.cpp:667:3
    frame #27: 0x000000725abcdfd0 libxul.so`mozilla::wr::RenderThread::HandleFrameOneDoc(this=0x000000738213f400, aWindowId=(mHandle = 1), aParams=0x000000722ce34c70, aTrackedFrame=true, aPublishId=Maybe<mozilla::wr::FramePublishId> @ 0x0000007622461768) at RenderThread.cpp:614:3
    frame #28: 0x000000725abcd974 libxul.so`mozilla::wr::RenderThread::HandleWrNotifierEvents(mozilla::wr::WrWindowId) [inlined] mozilla::wr::RenderThread::WrNotifierEvent_HandleNewFrameReady(this=0x000000738213f400, aWindowId=(mHandle = 1), aPublishId=(_0 = 1149), aParams=<unavailable>) at RenderThread.cpp:575:3
    frame #29: 0x000000725abcd958 libxul.so`mozilla::wr::RenderThread::HandleWrNotifierEvents(this=0x000000738213f400, aWindowId=(mHandle = 1)) at RenderThread.cpp:536:9
    frame #30: 0x000000725abe4fe4 libxul.so`mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId>::Run() [inlined] auto decltype(this=<unavailable>, args=<unavailable>) mozilla::detail::RunnableMethodArguments<mozilla::wr::WrWindowId>::apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId)>(mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId))::'lambda'(auto&&...)::operator()<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>&>(auto&&...) const at nsThreadUtils.h:1085:18
    frame #31: 0x000000725abe4fc0 libxul.so`mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId>::Run() [inlined] decltype(std::declval<mozilla::wr::RenderThread>()(std::declval<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>&>())) std::__ndk1::__invoke[abi:dn190000]<decltype(auto) mozilla::detail::RunnableMethodArguments<mozilla::wr::WrWindowId>::apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId)>(mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId))::'lambda'(auto&&...), StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>&>(__f=<unavailable>, __args=<unavailable>) at invoke.h:150:25
    frame #32: 0x000000725abe4fc0 libxul.so`mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId>::Run() [inlined] decltype(auto) std::__ndk1::__apply_tuple_impl[abi:dn190000]<decltype(auto) mozilla::detail::RunnableMethodArguments<mozilla::wr::WrWindowId>::apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId)>(mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId))::'lambda'(auto&&...), std::__ndk1::tuple<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>>&, 0ul>(__f=<unavailable>, __t=<unavailable>, (null)=<unavailable>) at tuple:1383:5
    frame #33: 0x000000725abe4fc0 libxul.so`mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId>::Run() [inlined] decltype(auto) std::__ndk1::apply[abi:dn190000]<decltype(auto) mozilla::detail::RunnableMethodArguments<mozilla::wr::WrWindowId>::apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId)>(mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId))::'lambda'(auto&&...), std::__ndk1::tuple<StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>>&>(__f=<unavailable>, __t=<unavailable>) at tuple:1387:5
    frame #34: 0x000000725abe4fc0 libxul.so`mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId>::Run() [inlined] decltype(auto) mozilla::detail::RunnableMethodArguments<mozilla::wr::WrWindowId>::apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId)>(this=<unavailable>, o=<unavailable>, m=<unavailable>) at nsThreadUtils.h:1083:12
    frame #35: 0x000000725abe4fc0 libxul.so`mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId>::Run(this=<unavailable>) at nsThreadUtils.h:1134:13
    frame #36: 0x00000072594891b8 libxul.so`nsThread::ProcessNextEvent(this=0x000000738214e580, aMayWait=<unavailable>, aResult=0x0000007622461944) at nsThread.cpp:1153:16
    frame #37: 0x000000725948f250 libxul.so`NS_ProcessNextEvent(aThread=<unavailable>, aMayWait=true) at nsThreadUtils.cpp:480:10
    frame #38: 0x0000007259fe9580 libxul.so`mozilla::ipc::MessagePumpForNonMainThreads::Run(this=0x000000726f228e00, aDelegate=0x0000007622461a20) at MessagePump.cpp:329:5

Frame #15 - 17(webrender::device::gl::Device::create_texture, tex_storage_2d) is where the error started, but I cannot tell what the problem is.

After switching to dav1d instead of the hardware decoder, I believe we are now running in to bug 1780687. Since the video is 10-bit, webrender attempts to create and upload the video frame to a GL_R16 texture. This requires the extension GL_EXT_texture_norm16, which presumably the Pixel 6a does not support. John, perhaps you could confirm that in about:support?

Without that extension support, it's expected that glTexStorage() will fail with a GL_INVALID_ENUM error (0x500). This should only cause a GPU process crash in debug builds where we check for GL errors. In release builds I would expect it to just display black or something instead of the video.

I think we probably need to have webrender expose whether it can handle R16 format. and if it cannot, can we make dav1d produce 8-bit frames in the first place? otherwise we must do conversion ourselves prior to uploading to opengl.

Flags: needinfo?(jolin)

(In reply to Jamie Nicol [:jnicol] from comment #20)

After switching to dav1d instead of the hardware decoder, I believe we are now running in to bug 1780687. Since the video is 10-bit, webrender attempts to create and upload the video frame to a GL_R16 texture. This requires the extension GL_EXT_texture_norm16, which presumably the Pixel 6a does not support. John, perhaps you could confirm that in about:support?

Thanks a lot for the info and you're right! My Pixel 3(Adreno 63) supports GL_EXT_texture_norm16 and doesn't crash; The Pixel 6a(Mali-G78) doesn't support that and crashes.

Without that extension support, it's expected that glTexStorage() will fail with a GL_INVALID_ENUM error (0x500). This should only cause a GPU process crash in debug builds where we check for GL errors. In release builds I would expect it to just display black or something instead of the video.

I think we probably need to have webrender expose whether it can handle R16 format. and if it cannot, can we make dav1d produce 8-bit frames in the first place? otherwise we must do conversion ourselves prior to uploading to opengl.

The GPU process only crashes when playing YUV422 and YUV444 but not YUV420. Does 10-bit YUV420 also count as a R16 format and need GL_R16 texture? If so, maybe there is already conversion for YUV420 somewhere?

Flags: needinfo?(jolin) → needinfo?(jnicol)

(In reply to John Lin [:jhlin][:jolin] from comment #21)

The GPU process only crashes when playing YUV422 and YUV444 but not YUV420. Does 10-bit YUV420 also count as a R16 format and need GL_R16 texture? If so, maybe there is already conversion for YUV420 somewhere?

I would expect expect it to, yes. The subsampling (444 vs 422 vs 420) shouldn't make a difference but the fact any channel is > 8bit should make us need to create an R16 texture. Perhaps there is already a conversion somewhere, or could 420 still be being hardware decoded?

Flags: needinfo?(jnicol)
Blocks: 1970771

I checked the code and couldn't find conversion code. After more testing I found that 420 actually crash the GPU process too. (My mistake. The video plays after crash recovery and I missed reloading.)

Since the GL_R16 texture issue is not the one that reboots the system. I am going to close the bug after D251090 is landed. Bug 1970771 was opened to address the GPU process error.

No longer blocks: 1970771
Blocks: 1970771
Attachment #9490550 - Attachment description: Bug 1967752 - accept only main profile AV1 video on Android. → Bug 1967752 - accept only main profile AV1 video on Android. r=padenot
Pushed by jolin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/37b6029d6cd3 https://hg.mozilla.org/integration/autoland/rev/303932692064 accept only main profile AV1 video on Android. r=media-playback-reviewers,padenot
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

:jolin, is this low risk for a beta uplift request? (assuming it also impacts Fx140)

Flags: needinfo?(jolin)

(In reply to Donal Meehan [:dmeehan] from comment #26)

:jolin, is this low risk for a beta uplift request? (assuming it also impacts Fx140)

Yes. I'll request uplifting to beta. Thanks!

Flags: needinfo?(jolin)

Comment on attachment 9490550 [details]
Bug 1967752 - accept only main profile AV1 video on Android. r=padenot

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Some Google phones (like Pixel 6 & 7 series) will reboot when playing 10 or 12-bit AV1 video.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The change is simple and the fallback code path (Dav1d) is safe.
  • String changes made/needed: N/A
  • Is Android affected?: Yes
Attachment #9490550 - Flags: approval-mozilla-beta?

Comment on attachment 9490550 [details]
Bug 1967752 - accept only main profile AV1 video on Android. r=padenot

Approved for 140.0b8

Attachment #9490550 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Managed to reproduce the system crash on a Google Pixel 7 with Android 16.
Managed to reproduce the video glich (without crash) on a Google Pixel 9 Pro XL (Android 15).

Verified on the latest builds:

  • latest Nightly 141/0a1 from 2025-06-11;
  • latest Beta 140.0b8.

There are no glitches and crashes.

Marking the ticket as verified on 140 and 141.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: