Bug 100418 - GPU crash when playing mpeg2 video using vaapi
Summary: GPU crash when playing mpeg2 video using vaapi
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 15:09 UTC by Davide
Modified: 2017-03-27 16:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Dmesg and crash dump (260.00 KB, application/x-tar)
2017-03-27 15:09 UTC, Davide
no flags Details

Description Davide 2017-03-27 15:09:19 UTC
Created attachment 130484 [details]
Dmesg and crash dump

Every time I play an mpeg2 video (DVD or DVB-T) through vaapi I'm getting this error on dmesg and video playback hangs:
[  431.066005] [drm] GPU HANG: ecode 6:0:0x87e8effd, reason: Hang on render ring, action: reset
[  431.066007] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  431.066007] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  431.066008] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  431.066008] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  431.066009] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  431.066041] drm/i915: Resetting chip after gpu hang

Time to hang is random, but it happens sooner or later. It doesn't take more than 1-2 minutes to hang
Using this PC as htpc with kodi 17.1.

# uname -m
x86_64
# uname -r
4.9.0-2-amd64
# cat /etc/debian_version 
9.0

Intel(R) Core(TM) i3-2100T CPU @ 2.50GHz
Using HDMI 

Chipset and peripherals:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)
03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller (rev 01)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
06:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
08:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II / PATA Controller (rev b2)

Package version:
xserver-xorg 1:7.7+18
xserver-xorg-video-intel 2:2.99.917+git20161206-1
libgl1-mesa-dri 13.0.5-1
libgl1-mesa-glx 13.0.5-1
libegl1-mesa 13.0.5-1
libglapi-mesa 13.0.5-1
libgles2-mesa 13.0.5-1
libglu1-mesa 9.0.0-2.1
libwayland-egl1-mesa 13.0.5-1
mesa-vdpau-drivers 13.0.5-1
mesa-utils 8.3.0-3
libdrm-intel1 2.4.74-1
libdrm2 2.4.74-1

I'm attaching crsh dump (/sys/class/drm/card0/error) and dmesg.
Comment 1 Davide 2017-03-27 15:24:34 UTC
I forgot to say:
If I disable VAAPI mpeg2 play though Kodi menu, playback doesn't hang

I can play mpeg4 and h.264 though VAAPI with no problem at all.
Comment 2 Chris Wilson 2017-03-27 15:39:15 UTC
libva moved and so we no longer have a unified bug tracker!!! https://github.com/01org/intel-vaapi-driver/issues


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.