<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - i915 segfault on archlinux / dell e6430 / HD4000 with xrandr --scale"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102442#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - i915 segfault on archlinux / dell e6430 / HD4000 with xrandr --scale"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102442">bug 102442</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>Ah, can you tweak the assert
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index d1f01218..3f70d536 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -565,7 +565,7 @@ static void assert_scanout(struct kgem *kgem, struct
kgem_bo *bo,
assert(drmIoctl(kgem->fd, DRM_IOCTL_MODE_GETFB, &info) == 0);
gem_close(kgem->fd, info.handle);
- assert(width == info.width && height == info.height);
+ assert(width <= info.width && height <= info.height);
}
#else
#define assert_scanout(k, b, w, h)
and try again?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>