[Bug 104748] GPU hang occurs when running multi-encoders(h264) on haswell platform

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 24 18:43:05 UTC 2018


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

--- Comment #6 from Elizabeth <elizabethx.de.la.torre.mena at intel.com> ---
(In reply to Elizabeth from comment #5)
> *** Bug 104747 has been marked as a duplicate of this bug. ***

(In reply to zhoubo from comment #3)
> (In reply to Elizabeth from comment #1)
> > Hello Zhoubo. If reproducible, could you try a more recent kernel
> > https://www.kernel.org? Thanks.
> 
> I find the reason cause gpu hang may be encode rate control mode.
> First I choose VBR mode, gpu hang occurs in most 10 mins.
> Then I choose CBR mode, gpu hang doesn't occur again.
> I find some difference in i965 driver, but I don't confirm which one is the
> bug.
> 
>   START: 0x00312000
>   HEAD:  0x02006e30
>   TAIL:  0x00008848
>   CTL:   0x0001f001
>   HWS:   0x00311000
>   ACTHD: 0x00000000 6a934b44
>   IPEIR: 0x00000000
>   IPEHR: 0x71000007
>   INSTDONE: 0xffdcffff
>   BBADDR: 0x00000000 6a934b45
>   BB_STATE: 0x00000120
>   INSTPS: 0x80000208
>   INSTPM: 0x00006080
>   FADDR: 0x00000000 6a934d00
> 
> according to the gpu hang info, I found "IPEHR: 0x71000007" means the gpu
> was hang at this address. And I found the param might be error in function 
>  "gen75_mfc_batchbuffer_emit_object_command" or
> "gen75_vme_fill_vme_batchbuffer" because of "*command_ptr++ =
> (CMD_MEDIA_OBJECT | (9 - 2))".
> 
> So I think the reason may be some param different in CRB and VBR, and it
> lead to different in  cmd "CMD_MEDIA_OBJECT", finally gpu hang occured.
> Is this right?
> If it's right ,could you help me find which is the bug ?

Hello Zhoubo, I believe both bugs have the same root cause, that's why I marked
them as duplicated. According to your logs, your using a 4.8 kernel while
actual   stable release is 4.14+, so issue could be already fixed by any recent
commit. Could you please try 4.14+ or drm-tip kernels. Also you may want to
visit https://01.org/linuxgraphics/community and give a try do the
dev-community in irc to consult about you issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180124/393b094d/attachment.html>


More information about the intel-gfx-bugs mailing list