<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - __kgem_bo_map__cpu:697 assertion 'err != -EINVAL || bo->prime' failed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=112040">112040</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>__kgem_bo_map__cpu:697 assertion 'err != -EINVAL || bo->prime' failed
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>OpenBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>not set
</td>
</tr>
<tr>
<th>Priority</th>
<td>not set
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ejpbazlv@mail.unet.to
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>I'm failing random Xorg crashes where I suspect intel_drv.so as the culprit. It
happens on the Xorg start or often triggered by GIMP start or open file dialog
in GIMP.
My system is Huawei MateBook X with Intel HD Graphics 620 running on OpenBSD:
OpenBSD 6.6-current (GENERIC.MP) #378: Wed Oct 16 23:06:01 MDT 2019
<a href="mailto:deraadt@amd64.openbsd.org">deraadt@amd64.openbsd.org</a>:/usr/src/sys/arch/amd64/compile/GENERIC.MP
I've compiled commit bff5eca49b27cb47673123222a714d2a6f56287f from
<a href="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git">https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git</a> with
--enable-debug=full option and during crash I see following in Xorg.0.log:
...
[ 137.310] sna_screen_init
[ 137.310] sna_accel_init
[ 137.310] sna_picture_init
[ 137.310] gen9_render_setup: gt=3
[ 137.310] uploaded 41600 bytes of static state
[ 137.310] kgem_create_linear(41600)
[ 137.310] search_linear_cache: num_pages=11, flags=2, use_active? 0,
use_large=0 [max=65536]
[ 137.310] search_linear_cache: inactive and cache bucket empty
[ 137.310] search_linear_cache: active cache bucket empty
[ 137.310] kgem_create_linear: new handle=4, num_pages=11
[ 137.310] __kgem_bo_init(handle=4, num_pages=11)
[ 137.310] __kgem_bo_map__cpu: failed -22, throttling/cleaning caches
[ 137.310] (EE)
Fatal server error:
[ 137.310] (EE) __kgem_bo_map__cpu:697 assertion 'err != -EINVAL ||
bo->prime' failed
[ 137.310] (EE)
[ 137.310] (EE)
Please consult the The X.Org Foundation support
at <a href="http://wiki.x.org">http://wiki.x.org</a>
for help.
[ 137.310] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[ 137.310] (EE)
[ 137.311] (EE) Server terminated with error (1). Closing log file.
I have couple of logs like that. I've compressed them with xz(1) however there
are max 10MB each.</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>