<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>309377</bug_id>
          
          <creation_ts>2026-03-06 14:10:50 -0800</creation_ts>
          <short_desc>[GStreamer][ARM64] GStreamerVideoFrameConverter.cpp:130:run:&lt;video-frame-converter-gl&gt; Video frame conversion 200ms timeout expired</short_desc>
          <delta_ts>2026-04-06 11:58:27 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>eocanha</cc>
    
    <cc>fujii</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2187889</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-03-06 14:10:50 -0800</bug_when>
    <thetext>The layout test imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize.html is failing on WPE ARM64

Regressions: Unexpected text-only failures (1)
  imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize.html [ Failure ]


The diff is the following:

--- /sdk/webkit/layout-test-results/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize-expected.txt
+++ /sdk/webkit/layout-test-results/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize-actual.txt
@@ -1,3 +1,3 @@
 
-PASS createImageBitmap(HTMLVideoElement) with resize option
+FAIL createImageBitmap(HTMLVideoElement) with resize option assert_true: expected true got false
 
https://build.webkit.org/results/WPE-Linux-ARM64-bit-Release-Tests/308816@main%20(171)/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize-pretty-diff.html

And the tests prints the following in stderr:

0:05:51.962573807  4875 0xaaaae3c4c350 ERROR   webkitvideoframeconverter GStreamerVideoFrameConverter.cpp:130:run:&lt;video-frame-converter-gl&gt; Video frame conversion 200ms timeout expired.

This test passes fine on WPE x86_64
It is unknown when this test started to fail. It has been failing since we deployed the new WPE ARM64 bot at https://build.webkit.org/#/builders/1882</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2187923</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-03-06 15:07:54 -0800</bug_when>
    <thetext>After checking in more detail I see this test not always fails on ARM64, but fails a lot.

The bot wpe-arm64-release completed 152 runs on the interval [308164@main-308819@main]
Frequency of results for test: imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize.html
  117 times [77.0%]      -&gt;  TEXT
  11 times [7.2%]        -&gt;  TEXT PASS
  24 times [15.8%]       -&gt;  NOERROR

Of those 152 runs it didn&apos;t match the expectation 128 times [84.2%]
Details of the type and frequency of unmatched expectations:
  117 times [77.0%]      -&gt;  TEXT (Expected: PASS)
  11 times [7.2%]        -&gt;  TEXT PASS (Expected: PASS)

Flakiness factor: 36.8%
    - This test was flaky on 36.8% of the 152 runs analyzed, either giving different
      results within a single run, or a different result than in the previous run.


Perhaps is related to some timing issue? 200ms being too low? The single-thread performance of the CPU from this ARM64 bot is less than on the x86_64 bots

On the x86_64 bots it also fails sometimes but much less.

WPE x86_64 fails 1.6% of the times and on GTK x86_64 1.3% of the times.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2187939</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-03-06 15:33:30 -0800</bug_when>
    <thetext>Test expectations updated at 308825@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2188645</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2026-03-10 04:29:37 -0700</bug_when>
    <thetext>&gt; Perhaps is related to some timing issue? 200ms being too low? The single-thread performance of the CPU from this ARM64 bot is less than on the x86_64 bots

Does the bot have only one CPU core?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2194852</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2026-03-29 04:38:35 -0700</bug_when>
    <thetext>*** Bug 310410 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2194876</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2026-03-29 07:28:16 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/61623</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2194899</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-03-29 14:04:39 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #3)
&gt; &gt; Perhaps is related to some timing issue? 200ms being too low? The single-thread performance of the CPU from this ARM64 bot is less than on the x86_64 bots
&gt; 
&gt; Does the bot have only one CPU core?

no, it has a lot of cores: 80.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197220</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-06 04:59:03 -0700</bug_when>
    <thetext>Committed 310635@main (366a2fb8ac53): &lt;https://commits.webkit.org/310635@main&gt;

Reviewed commits have been landed. Closing PR #61623 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197274</commentid>
    <comment_count>8</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2026-04-06 10:39:26 -0700</bug_when>
    <thetext>We have this on the bots (from glib.py)

        # Disable SIMD optimization in GStreamer&apos;s ORC. Some bots (WPE release) crash in ORC&apos;s optimizations.
        environment[&apos;ORC_CODE&apos;] = &apos;backup&apos;


Which means CPU-specific optimizations are disabled for audio and video conversions, among other things... Maybe we can try to remove that hack eventually, but for now let&apos;s see if those 2 tests are more stable...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197275</commentid>
    <comment_count>9</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2026-04-06 10:41:42 -0700</bug_when>
    <thetext>Seems OK so far, I&apos;ll keep an eye on this: https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcanvas%2Felement%2Fmanual%2Fimagebitmap%2Fcanvas-createImageBitmap-video-resize.html&amp;test=http%2Fwpt%2Fwebcodecs%2FvideoFrame-video-element-compressed.html&amp;platform=WPE&amp;architecture=arm64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197312</commentid>
    <comment_count>10</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2026-04-06 11:58:27 -0700</bug_when>
    <thetext>Still falky</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>