[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 317267] New: Kwin stops when GPU hangs (intel_do_flush_locked failed).
From:       Detlev Casanova <detlev.casanova () gmail ! com>
Date:       2013-03-24 11:46:07
Message-ID: bug-317267-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=317267

            Bug ID: 317267
           Summary: Kwin stops when GPU hangs (intel_do_flush_locked
                    failed).
    Classification: Unclassified
           Product: kwin
           Version: 4.10.1
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-null@kde.org
          Reporter: detlev.casanova@gmail.com

Hello,

There is a problem somewher in that chain :
I play a video file in VLC (format mt2 : MPEG2) this file is somehow corrupted
as it has been captured with a cheap antenna.
After a moment reading the corrupted part, VLC hangs.

Dmesg tells me this :
[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[drm] capturing error event; look for more information in
/debug/dri/0/i915_error_state
[drm:init_ring_common] *ERROR* failed to set render ring head to zero ctl
00000000 head 66e07b7c tail 00000000 start 00003000
[drm:init_ring_common] *ERROR* render ring initialization failed ctl 0001f001
head 66e07b7c tail 00000000 start 00003000
[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[drm:i915_reset] *ERROR* GPU hanging too fast, declaring wedged!
[drm:i915_reset] *ERROR* Failed to reset chip.

At that moment, kwin stops (it does not crash, it stops and returns 1) with
that message:
intel_do_flush_locked failed: I/O Error

Kwin yelled also lots of messages like this:
KWin::TopLevel::createWindowPixmap: Creating window pixmap failed id=<VLC
window id> (deleted).

After that, impossible to restart kwin, the kernel has to be restarted.

I attach the (quite large) /sys/kernel/debug/dri/0/i915_error_state file.
I also have the file and the time in the file where it fails and it fails each
time but the video file is 5.5 Gio, I'll have to cut a part of it if you need
it.

I also realize that it might not be kwin's fault at all but it should not close
anyway.

Reproducible: Always

Steps to Reproduce:
1. Read corrupted file with vlc
2. 
3.
Actual Results:  
kwin closes

Expected Results:  
kwin should not close

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic