Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 601974

Summary: x11-drivers/xf86-video-intel crashes
Product: Gentoo Linux Reporter: Fedor_Rus <fyodor.russia>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: x11
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fedor_Rus 2016-12-08 11:18:36 UTC
Stop working for no reason

tail /var/log/messages
Dec  8 13:05:37 localhost kernel: [60210.791780] [drm] stuck on render ring
Dec  8 13:05:37 localhost kernel: [60210.792498] [drm] GPU HANG: ecode 6:0:0xfafffffe, in X [3435], reason: Ring hung, action: reset
Dec  8 13:05:37 localhost kernel: [60210.792501] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Dec  8 13:05:37 localhost kernel: [60210.792502] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Dec  8 13:05:37 localhost kernel: [60210.792503] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Dec  8 13:05:37 localhost kernel: [60210.792504] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Dec  8 13:05:37 localhost kernel: [60210.792505] [drm] GPU crash dump saved to /sys/class/drm/card0/error
Dec  8 13:05:37 localhost kernel: [60210.794118] drm/i915: Resetting chip after gpu hang

hwinfo --gfxcard
07: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.328]
  Unique ID: _Znp.Ku0GSm9Y5mC
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel 2nd Generation Core Processor Family Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0106 "2nd Generation Core Processor Family Integrated Graphics Controller"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x3975 
  Revision: 0x09
  Driver: "i915"
  Driver Modules: "drm"
  Memory Range: 0xd0000000-0xd03fffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  I/O Ports: 0x3000-0x303f (rw)
  IRQ: 27 (970996 events)
  Module Alias: "pci:v00008086d00000106sv000017AAsd00003975bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #7

sys-kernel/gentoo-sources
nstalled version:  4.1.35(4.1.35)^bs(-build -experimental -symlink)
kde-frameworks/kwindowsystem
nstalled version: 5.26.0(5)^t(X nls -debug -test)
nstalled version: 5.7.5(5)^t(-debug -gles2 -handbook -multimedia -test)
x11-libs/libdrm
nstalled version:  2.4.70^t(-libkms -static-libs -valgrind ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" VIDEO_CARDS="intel -amdgpu -exynos -freedreno -nouveau -omap -radeon -tegra -vc4 -vmware")

ACCEPT_KEYWORDS="amd64 x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
VIDEO_CARDS="fbdev intel i915 vesa dummy v4l"

/sys/class/drm/card0/error
https://drive.google.com/open?id=0Byv7WraqDfgSU0d4YWtWUkc0TXM
Comment 1 Andreas Sturmlechner gentoo-dev 2016-12-08 18:01:32 UTC
It's an Intel graphics driver bug.
Comment 2 Fedor_Rus 2016-12-09 04:07:23 UTC
eix -I intel
[I] x11-drivers/xf86-video-intel
     Installed version:  2.99.917_p20160621-r1(dri sna udev -debug -dri3 -uxa -xvmc)
[I] x11-libs/libva-intel-driver
     Installed version:  1.6.2(X drm -wayland ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-12-15 09:54:42 UTC
> drm/i915
This is a kernel problem. Try to upgrade your kernel.

Better not mix old kernel with new userspace, this causes problems.
Comment 4 Matt Turner gentoo-dev 2017-01-29 18:26:14 UTC
(In reply to Fedor_Rus from comment #0)
> Stop working for no reason
> 
> tail /var/log/messages
> Dec  8 13:05:37 localhost kernel: [60210.791780] [drm] stuck on render ring
> Dec  8 13:05:37 localhost kernel: [60210.792498] [drm] GPU HANG: ecode
> 6:0:0xfafffffe, in X [3435], reason: Ring hung, action: reset
> Dec  8 13:05:37 localhost kernel: [60210.792501] [drm] GPU hangs can
> indicate a bug anywhere in the entire gfx stack, including userspace.
> Dec  8 13:05:37 localhost kernel: [60210.792502] [drm] Please file a _new_
> bug report on bugs.freedesktop.org against DRI -> DRM/Intel

It specifically says where to file such a bug.

First things to try:

Please try the unstable xf86-video-intel-2.99.917_p20161206. Update kernel to 4.9.
Comment 5 Matt Turner gentoo-dev 2017-01-29 18:26:48 UTC
(In reply to Matt Turner from comment #4)
> First things to try:
> 
> Please try the unstable xf86-video-intel-2.99.917_p20161206. Update kernel
> to 4.9.

And also try mesa-13.0.3+ or mesa-17.0.0_rc2.