[Beignet] [drm] stuck on render ring

Zhigang Gong zhigang.gong at linux.intel.com
Sun Oct 19 21:47:41 PDT 2014


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 <yyc1992 at gmail.com> wrote:
>  
> 
> 
> On Sat, Oct 18, 2014 at 11:33 AM, Ernst Lenzer <ernstlenzer at yahoo.com> 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
> > Beignet at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/beignet
> >
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet

> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet



More information about the Beignet mailing list