<?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>22593</bug_id>
          
          <creation_ts>2008-12-02 11:12:09 -0800</creation_ts>
          <short_desc>&lt;video&gt; pixel tests are failing if display is asleep</short_desc>
          <delta_ts>2008-12-04 12:49:05 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <dependson>21911</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pierre-Olivier Latour">pol</reporter>
          <assigned_to name="Pierre-Olivier Latour">pol</assigned_to>
          <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101029</commentid>
    <comment_count>0</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-12-02 11:12:09 -0800</bug_when>
    <thetext>&lt;video&gt; pixel tests are randomly failing on bots (actually, they are failing more often than passing): when failing, the failure is apparently always the same: it&apos;s a different in brightness

Fail: http://build.webkit.org/results/trunk-mac-intel-pixel/665/results.html
Pass: http://build.webkit.org/results/trunk-mac-intel-pixel/664/results.html
Fail: http://build.webkit.org/results/trunk-mac-intel-pixel/663/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101260</commentid>
    <comment_count>1</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-12-03 14:02:26 -0800</bug_when>
    <thetext>Doesn&apos;t seem to repro on the Tiger bot: there it&apos;s always the same 2 tests that fail.

I can&apos;t repro the random failure on my machine which is very similar to the Leopard bot, so I took offline the bot to attempt to repro there, but still can&apos;t after several attempts (either when running LayoutTests/media or the entire LayoutTests). There must be something different the build bot does...

For reference, the expected RGB value of the top-left pixel of the first video when the display is using the GenericRGB profile for the LayoutTests/media/video-aspect-ratio.html test is 60-23-87.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101374</commentid>
    <comment_count>2</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-12-04 12:45:52 -0800</bug_when>
    <thetext>Actually, I spoke too fast: I cannot repro the failures on the Tiger bot and these failures are also brightness related, so I guess it&apos;s the same bug. The difference is that on the Leopard bot it happens now and then, while on Tiger all the time:

media/video-aspect-ratio.html	expected image	image diffs	2.05%
media/video-controls-rendering.html	expected image	image diffs	1.68%

http://build.webkit.org/builders/trunk-mac-ppc-pixel
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101375</commentid>
    <comment_count>3</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-12-04 12:49:05 -0800</bug_when>
    <thetext>I finally found the cause: the video frame in the &lt;video&gt; layout tests only renders with a different brightness when the display of the computer is asleep!

Tiger 10.4.11 &amp; Leopard 10.5.5 are apparently affected when using QT 7.5.5.

I don&apos;t know however it&apos;s specific to this H264 video used by the tests or a generic &lt;video&gt; issue.

I don&apos;t think it&apos;s worth tracking down as it&apos;s potentially quite a bit of work for a limited return: only test system are affected as nobody would want to watch a video with the display asleep.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>