[Beignet] "utest_run -c runtime_use_host_ptr_buffer" failed to release test userptr object! [Append]

Guo, Yejun yejun.guo at intel.com
Wed May 6 19:41:32 PDT 2015


It is a message from libdrm, what’s your exact version of libdrm and linux kernel?

I did not see this message at my Ubuntu14.04 64bit system with libdrm 2.4.58 (built from source) and linux kernel 3.19 (download from kernel.org)

From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Gao, Sanshan
Sent: Thursday, May 07, 2015 9:39 AM
To: beignet at lists.freedesktop.org
Subject: Re: [Beignet] "utest_run -c runtime_use_host_ptr_buffer" failed to release test userptr object! [Append]

My simple demo now has the same hint, Failed to release test userptr object! (9) i915 kernel driver may not be sane! , but it works correct last night.

I have used the Patch and run "echo 0 > /sys/module/i915/parameters/enable_cmd_parser".




-----原始邮件-----
发件人:"Gao, Sanshan" <gss at mail.ustc.edu.cn<mailto:gss at mail.ustc.edu.cn>>
发送时间:2015-05-07 09:29:19 (星期四)
收件人: "beignet at lists.freedesktop.org<mailto:beignet at lists.freedesktop.org>" <beignet at lists.freedesktop.org<mailto:beignet at lists.freedesktop.org>>
抄送:
主题: "utest_run -c runtime_use_host_ptr_buffer" failed to release test userptr object!

Hello,

1. When I run "./utest_run -c runtime_use_host_ptr_buffer", I get this message:

... ...
device_opencl_c_version "OpenCL C 1.2 beignet 1.1 (git-83f8739)"
Failed to release test userptr object! (9) i915 kernel driver may not be sane!
21 image formats are supported
... ...
runtime_use_host_ptr_buffer()    [SUCCESS]
Failed to release test userptr object! (9) i915 kernel driver may not be sane!

summary:
----------
  total: 681
  run: 1
  pass: 1
  fail: 0
  pass rate: 1.000000

2. When I run "cmake ../", maybe everything is OK, because I get this message:
-- Building mode: RelWithDebInfo
-- LLVM llvm-config found at: /usr/bin/llvm-config-3.5
-- find unstable LLVM version 3.5.0
-- Looking for XLib - found
-- Looking for DRM - found at /usr 2.4.60
-- Looking for DRM Intel - found at /usr 2.4.60
-- Enable userptr support
-- Enable EU total query support
-- Enable subslice total query support
-- Looking for OpenGL - found at /usr
-- Looking for Xext - found at /usr
-- Looking for Xfixes - found at /usr
-- Looking for EGL - found at /usr
-- Looking for OCL ICD header file - found
-- Building mode: RelWithDebInfo
running cd "/home/gss/files/beignet/utests" && mkdir generated -p  2>&1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gss/files/beignet/build

3. I have written a simple demo using CL_MEM_USE_HOST_PTR, and it gets right result.

Problem: What's wrong with my Beignet?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20150507/a6afe472/attachment-0001.html>


More information about the Beignet mailing list