[Bug 112040] New: __kgem_bo_map__cpu:697 assertion 'err != -EINVAL || bo->prime' failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 17 13:10:31 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=112040

            Bug ID: 112040
           Summary: __kgem_bo_map__cpu:697 assertion 'err != -EINVAL ||
                    bo->prime' failed
           Product: xorg
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: OpenBSD
            Status: NEW
          Severity: not set
          Priority: not set
         Component: Driver/intel
          Assignee: chris at chris-wilson.co.uk
          Reporter: ejpbazlv at mail.unet.to
        QA Contact: intel-gfx-bugs at lists.freedesktop.org

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
    deraadt at amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

I've compiled commit bff5eca49b27cb47673123222a714d2a6f56287f from
https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git 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 http://wiki.x.org
 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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20191017/f3ce3606/attachment.html>


More information about the intel-gfx-bugs mailing list