<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:bugs@mblankhorst.nl" title="Maarten Lankhorst <bugs@mblankhorst.nl>"> <span class="fn">Maarten Lankhorst</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [CI] igt@kms_frontbuffer_tracking@* - fail - CRC mismatch"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103167">bug 103167</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>bugs@mblankhorst.nl
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [CI] igt@kms_frontbuffer_tracking@* - fail - CRC mismatch"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103167#c66">Comment # 66</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [CI] igt@kms_frontbuffer_tracking@* - fail - CRC mismatch"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103167">bug 103167</a>
from <span class="vcard"><a class="email" href="mailto:bugs@mblankhorst.nl" title="Maarten Lankhorst <bugs@mblankhorst.nl>"> <span class="fn">Maarten Lankhorst</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=144360" name="attach_144360" title="kms_draw_crc chamelium hack">attachment 144360</a> <a href="attachment.cgi?id=144360&action=edit" title="kms_draw_crc chamelium hack">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=103167&attachment=144360'>[review]</a>
kms_draw_crc chamelium hack
I was able to reproduce it on ICL much better with a 3840x256 framebuffer.
This adds draw-dirtyfb-* to kms_draw_crc, based on how kms_frontbuffer_tracking
works.
After setup, it runs the following loop 25 times, and if a chamelium is
attached, dumps all (scaled to 1920x1080) frames to p$pid-frame-$n.png, with
the reference (3840x256) fb to p$pid-reference.png:
for (i = 0; i < 5; i++) {
rect = pat1_get_rect(&fb, i);
igt_draw_rect_fb(drm_fd, bufmgr, NULL, &fb, method,
rect.x, rect.y, rect.w, rect.h, rect.color);
gem_set_domain(drm_fd, fb.gem_handle, I915_GEM_DOMAIN_GTT, 0);
igt_dirty_fb(drm_fd, &fb);
igt_wait_for_vblank(drm_fd, ms.pipe);
igt_pipe_crc_collect_crc(pipe_crc, &crc);
check_crc_equal(&ref_crc[i], &fb_ref[i], &crc, &fb, &display,
plane, &panic_fb);
}
With this I can clearly see a black line on ICL for a few frames, presumably
when FBC gets enabled. The CRC mismatch doesn't occur without FBC. (echo 0 >
/sys/module/i915/parameters/enable_fbc)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>