Bug 82379 - [g45] Batch buffer corruption
Summary: [g45] Batch buffer corruption
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 89703 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-09 07:44 UTC by Arthur H. Fonzarelli
Modified: 2017-02-24 10:50 UTC (History)
2 users (show)

See Also:
i915 platform: G45
i915 features: GPU hang


Attachments
/sys/class/drm/card0/error (1.46 MB, text/plain)
2014-08-09 07:44 UTC, Arthur H. Fonzarelli
no flags Details
/sys/class/drm/card0/error (1.46 MB, text/plain)
2014-08-11 16:04 UTC, Arthur H. Fonzarelli
no flags Details
/sys/class/drm/card0/error (1.46 MB, text/plain)
2014-08-15 08:46 UTC, Arthur H. Fonzarelli
no flags Details

Description Arthur H. Fonzarelli 2014-08-09 07:44:36 UTC
Created attachment 104327 [details]
/sys/class/drm/card0/error

Xubuntu 14.04

Linux hal 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

No graphical corruption, visual display sometimes freezes for a few seconds.

Syslog:

Aug  9 09:06:24 hal kernel: [ 1784.820013] [drm] stuck on render ring
Aug  9 09:06:24 hal kernel: [ 1784.820018] [drm] GPU crash dump saved to /sys/class/drm/card0/error
Aug  9 09:06:24 hal kernel: [ 1784.820019] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Aug  9 09:06:24 hal kernel: [ 1784.820021] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Aug  9 09:06:24 hal kernel: [ 1784.820022] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Aug  9 09:06:24 hal kernel: [ 1784.820024] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Aug  9 09:06:24 hal kernel: [ 1784.821140] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x2b44000 ctx 0) at 0x2b4608c
Comment 1 Chris Wilson 2014-08-09 07:47:08 UTC
What version of mesa are you running? Could you update to 10.2 or later?
Comment 2 Arthur H. Fonzarelli 2014-08-09 08:03:52 UTC
Le 09/08/2014 09:47, bugzilla-daemon@freedesktop.org a écrit :
>
> *Comment # 1 <https://bugs.freedesktop.org/show_bug.cgi?id=82379#c1> 
> on bug 82379 <https://bugs.freedesktop.org/show_bug.cgi?id=82379> from 
> Chris Wilson <mailto:chris@chris-wilson.co.uk> *
> What version of mesa are you running? Could you update to 10.2 or later?
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You reported the bug.
>

Thank you for your reply.

$ dpkg -l |grep -i mesa
ii  libegl1-mesa:amd64           10.1.3-0ubuntu0.1  amd64
ii  libegl1-mesa-drivers:amd64   10.1.3-0ubuntu0.1  amd64
ii  libgl1-mesa-dri:amd64        10.1.3-0ubuntu0.1  amd64
ii  libgl1-mesa-glx:amd64        10.1.3-0ubuntu0.1  amd64
ii  libglapi-mesa:amd64          10.1.3-0ubuntu0.1  amd64
ii  libglu1-mesa:amd64           9.0.0-2            amd64
ii  libopenvg1-mesa:amd64        10.1.3-0ubuntu0.1  amd64
ii  libtxc-dxtn-s2tc0:amd64      0~git20131104-1.1  amd64
ii  libwayland-egl1-mesa:amd64   10.1.3-0ubuntu0.1  amd64
ii  mesa-utils                   8.1.0-2            amd64

I do not know how to update mesa but I can wait for a dist-upgrade as 
the bug is not too annoying.
Comment 3 Arthur H. Fonzarelli 2014-08-11 16:04:29 UTC
Created attachment 104449 [details]
/sys/class/drm/card0/error
Comment 4 Arthur H. Fonzarelli 2014-08-11 16:05:48 UTC
Mesa upgraded to version 10.3.0~git20140805.fc2b2d33-0ubuntu0sarvatt2~trusty.

Problem still present:

[drm] stuck on render ring
[drm] GPU crash dump saved to /sys/class/drm/card0/error
[drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0xc831000 ctx 0) at 0xc831754
Comment 5 Arthur H. Fonzarelli 2014-08-15 08:45:15 UTC
Mesa: 10.3.0~git20140812.fa5b76e3-0ubuntu0ricotz~trusty
Linux hal 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

/sys/class/drm/card0/error attached.

Bug much less frequent.
Comment 6 Arthur H. Fonzarelli 2014-08-15 08:46:49 UTC
Created attachment 104661 [details]
/sys/class/drm/card0/error
Comment 7 Chris Wilson 2014-09-10 17:39:04 UTC
Hmm, another one that would be useful to run with xf86-video-intel compiled with --enable-debug to rule out that component.
Comment 8 Jesse Barnes 2014-12-05 20:09:11 UTC
Arthur, any possibility of running a debug enabled DDX driver to collect more info?
Comment 9 Arthur H. Fonzarelli 2014-12-07 10:08:57 UTC
Does it mean I have to build it from sources or can I download a ready-made one from somewhere?
Comment 10 Chris Wilson 2015-03-21 18:20:08 UTC
*** Bug 89703 has been marked as a duplicate of this bug. ***
Comment 11 Jesse Barnes 2015-03-23 16:50:35 UTC
You can get a pretty recent build from the xorg-edgers ppa, but I don't know if it builds with --enable-debug.  Chris would probably know.
Comment 12 DHJohnson 2015-12-13 10:24:43 UTC
Similar issue on my system, all attempts to use i915 driver end in
"intel_do_flush_locked failed Input/Output error"
or silmilar

[  102.816080] [drm] stuck on render ring
[  102.822122] [drm] GPU HANG: ecode 2:0:0x43dfffc1, in Xorg [1793], reason: Ring hung, action: reset
[  102.822126] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  102.822128] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  102.822130] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  102.822132] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  102.822134] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  102.829628] drm/i915: Resetting chip after gpu hang
[  102.829675] [drm:i915_reset [i915]] *ERROR* Failed to reset chip: -19


tvuser@TELEVISION:~$ intel_gpu_top
(intel_gpu_top:15914) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:144:
Failed assertion: !(error != 0)
Last errno: 13, Permission denied
Couldn't map MMIO region
Stack trace:
  #0 [_init+0x6ae2]
  #1 [_init+0x4972]
  #2 [_init+0xf9f]
  #3 [__libc_start_main+0xde]
  #4 [_init+0x32c1]
Test (null) failed.
**** DEBUG ****
(intel_gpu_top:15914) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:144:
Failed assertion: !(error != 0)
Last errno: 13, Permission denied
Couldn't map MMIO region
****  END  ****
FAIL (4259.318s)
Comment 13 yann 2017-02-24 08:24:12 UTC
==========================================
We seem to have neglected the bug a bit, apologies.

Arthur H. Fonzarelli , since There were improvements pushed in kernel & xf86-video-intel that will benefit to your system, so please re-test with latest kernel & xf86-video-intel -alternatively you may use modesetting/glamor with latest mesa version- and mark as REOPENED if you can reproduce (and attach fresh gpu error dump & kernel log) and RESOLVED/* if you cannot reproduce.
Comment 14 Arthur H. Fonzarelli 2017-02-24 10:11:51 UTC
No problem with the same hardware now using Ubuntu 16.04.2 LTS (Linux hal 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux).
Comment 15 yann 2017-02-24 10:23:33 UTC
(In reply to Arthur H. Fonzarelli from comment #14)
> No problem with the same hardware now using Ubuntu 16.04.2 LTS (Linux hal
> 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64
> x86_64 GNU/Linux).

Thanks Arthur for you feedback. Therefore closing this ticket.
Comment 16 Arthur H. Fonzarelli 2017-02-24 10:50:30 UTC
Thanks Yann for your concern!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.