Intel GPU hung in my NVIDIA Optimus laptop with Debian Stable KDE

Vincent Cheng vincentc1208 at gmail.com
Wed Jul 17 23:59:13 UTC 2013


On Wed, Jul 17, 2013 at 10:16 AM, Shervin Emami <shervin.emami at gmail.com> wrote:
> Hi,
>
> My KDE desktop environment crashes or freezes roughly once per day or 2,
> even though I am using Debian 7.0 Stable with nearly all my software just
> from the Wheezy sources including the kernel, Intel driver, NVIDIA driver
> and CUDA Toolkit, except for Bumblebee and Skype and a few others.

Except for bumblebee? Why? Please try to install bumblebee (and
associated packages, i.e. bbswitch-dkms and primus) from
wheezy-backports (instructions at [1]). If for some reason those
packages don't work for you, please let the bumblebee maintainer (i.e.
me) know and I'll get it fixed.

> I'm using a Lenovo ThinkPad W520 laptop that has a Quadro 1000M GPU with
> Optimus technology, so my desktop environment is actually using my Intel GPU
> and I use my NVIDIA GPU just for CUDA development through Bumblebee using
> "optirun ...".
>
> Plasma suddenly died on me just now (or atleast that's what I thought
> happened, since my computer was still working but window decorations and KDE
> start menu and similar were not visible). After looking into Xorg.0.log I
> saw the error message:
>     (EE) intel(0): Detected a hung GPU, disabling acceleration.
>     (EE) intel(0): When reporting this, please include i915_error_state from
> debugfs and the full dmesg.
>
> At the time of this event, it happens that I was writing CUDA code and had
> done my last CUDA test just 1 or 2 minutes before this crash. ie: my NVIDIA
> GPU would have been off at the time of this crash, but it was on just
> minutes before the crash. I am using KDE with KDM & KWin and I am using
> "OpenGL" as the renderer in KWin settings, with "mesa-diverted" as my GL
> library.
>
> So where should I file my bug report, since it might be related to Bumblebee
> or Intel or NVIDIA or Debian packages?

Intel i915 "GPU hung" issues are definitely a kernel-related issue;
please file a bug against the kernel, and/or search for existing bug
reports with similar symptoms (e.g. [2],[3],[4]). Preferably also
include the i915_error_state output as the error message instructs you
to.

# mount -t debugfs debugfs /sys/kernel/debug
# cat /sys/kernel/debug/dri/0/i915_error_state > i915_error_state

Regards,
Vincent

[1] http://backports.debian.org/Instructions/
[2] http://bugs.debian.org/582975
[3] http://bugs.debian.org/637511
[4] http://bugs.debian.org/669313



More information about the pkg-nvidia-devel mailing list