Did you try to run the unit tests? On Mon, Oct 20, 2014 at 01:17:23PM +0100, Ernst Lenzer wrote: > Thanks for your suggestions. The output I showed was already with "echo 0 > > /sys/module/i915/parameters/enable_cmd_parser". I used that to solve this > error: "Assertion gpgpu->binded_buf[i]->offset != 0" > > I now also tried disable-batchbuffer-security.patch. The kernel patched fine > with it, but it doesn't make any difference to my problem, the output is > exactly the same. > > > > On Monday, 20 October 2014, 6:41, Zhigang Gong <[email protected]> > wrote: > > > > And if almost all unit tests fail, you may also need to read the following: > > * Almost all unit tests fail on Linux kernel 3.15/3.16. > There is a known issue in some versions of linux kernel which enable > register whitelist feature > but miss some necessary registers which are required for beignet. The > problematic version are > around 3.15 and 3.16 which have commit f0a346b... but haven't commit > c9224f... If it is the case, > you can apply c9224f... manually and rebuild the kernel or just disable the > parse command by > invoke the following command (use Ubuntu as an example): > `# echo 0 > /sys/module/i915/parameters/enable_cmd_parser` > > On Mon, Oct 20, 2014 at 12:47:41PM +0800, Zhigang Gong wrote: > > Did you apply the kernel patch for HSW mentioned in the README.md? > > > > * Some unit test cases, maybe 20 to 30, fail on 4th Generation (HSW) > > platform. > > The 4th Generation Intel Core Processors's support requires some Linux > > kernel > > modification. You need to apply the patch at: > > > > [https://01.org/zh/beignet/downloads/linux-kernel-patch-hsw-support](https://01.org/zh/beignet/downloads/linux-kernel-patch-hsw-support) > > > > > > And if so, could you try to run the unit tests and check the result? > > > > Thanks, > > Zhigang Gong. > > > > On Sun, Oct 19, 2014 at 01:30:42PM +0100, Ernst Lenzer wrote: > > > Thanks for your reply. The screen freezes for about 5 seconds, then the > > > errors show up. I tried running "echo -n 0 > > > > /sys/module/i915/parameters/enable_hangcheck" before executing "pyrit > > > selfcheck", but that freezes the screen until reboot (I waited about 10 > > > minutes). So it looks like it must be a different issue. > > > > > > > > > On Sunday, 19 October 2014, 12:55, Yichao Yu <[email protected]> wrote: > > > > > > > > > > > > On Sat, Oct 18, 2014 at 11:33 AM, Ernst Lenzer <[email protected]> > > > wrote: > > > > I'm trying to use pyrit with OpenCL extension with an Intel 4600 using > > > > Beignet. I'm running Debian Jessie, Kernel 3.16, pyrit 0.8.1-1 from the > > > > official Debian repositories and ran "echo 0 > > > > > /sys/module/i915/parameters/enable_cmd_parser" to avoid the known bug > > > > with > > > > kernel 3.16. "pyrit selftest" produces the following error in the > > > > terminal: > > > > > > > >>>>>>>>>>>>>>>>> > > > > Exception in thread OpenCL-Device 'Intel(R) HD Graphics Haswell M': > > > > Traceback (most recent call last): > > > > File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner > > > > self.run() > > > > File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 113, > > > > in run > > > > self._testComputeFunction(101) > > > > File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 103, in > > > > _testComputeFunction > > > > raise ValueError("Test-vector does not result in correct PMK.") > > > > ValueError: Test-vector does not result in correct PMK. > > > > > > > > Exception in thread CPU-Core (SSE2): > > > > Traceback (most recent call last): > > > > File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner > > > > self.run() > > > > File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 110, > > > > in run > > > > essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5) > > > > File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 632, in > > > > _gather > > > > self._check_cores() > > > > File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 490, in > > > > _check_cores > > > > raise SystemError("The core '%s' has died unexpectedly" % core) > > > > SystemError: The core 'OpenCL-Device 'Intel(R) HD Graphics Haswell M'' > > > > has > > > > died unexpectedly > > > >>>>>>>>>>>>>>>>> > > > > > > > > The following shows up in dmesg: > > > > > > > >>>>>>>>>>>>>>>>> > > > > [drm] stuck on render ring > > > > [drm] GPU HANG: ecode 0:0xfdddfffe, in pyrit [4016], reason: Ring hung, > > > > action: reset > > > >>>>>>>>>>>>>>>>> > > > > > > How long does the kernel run? The output is slightly different but > > > maybe it is related to the GPU hang check issue[1]. > > > > > > [1] http://www.freedesktop.org/wiki/Software/Beignet/#knownissues > > > > > > > > > > > > > > Without Beignet pyrit works fine. > > > > > > > > _______________________________________________ > > > > Beignet mailing list > > > > [email protected] > > > > http://lists.freedesktop.org/mailman/listinfo/beignet > > > > > > > > _______________________________________________ > > > Beignet mailing list > > > [email protected] > > > http://lists.freedesktop.org/mailman/listinfo/beignet > > > > > _______________________________________________ > > > Beignet mailing list > > > [email protected] > > > http://lists.freedesktop.org/mailman/listinfo/beignet > > > > _______________________________________________ > > Beignet mailing list > > [email protected] > > http://lists.freedesktop.org/mailman/listinfo/beignet > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet
> _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
