Bug 93838 - [snb gt1] When running video on Kodi video hangs
Summary: [snb gt1] When running video on Kodi video hangs
Status: RESOLVED INVALID
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: ykzhao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-23 22:36 UTC by ivoc
Modified: 2016-12-15 05:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
GPU crash dump (4.61 MB, text/plain)
2016-01-23 22:36 UTC, ivoc
Details

Description ivoc 2016-01-23 22:36:18 UTC
Created attachment 121237 [details]
GPU crash dump

GPU crash dump error log attached.

Please see logs right after video hang:

Jan 23 16:46:25 Kodi kernel: [ 2099.918309] [drm] stuck on bsd ring
Jan 23 16:46:25 Kodi kernel: [ 2099.918315] [drm] GPU crash dump saved to /sys/class/drm/card0/error
Jan 23 16:46:25 Kodi kernel: [ 2099.918316] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Jan 23 16:46:25 Kodi kernel: [ 2099.918318] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Jan 23 16:46:25 Kodi kernel: [ 2099.918319] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Jan 23 16:46:25 Kodi kernel: [ 2099.918320] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.


Here is some more information around system environment:

System environment:
-- system architecture: 64-bit,  Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz (fam: 06, model: 2a, stepping: 07)
-- xserver: X.Org X Server 1.15.1
-- mesa: Package: libglu1-mesa, Version: 9.0.0-2
-- libdrm: [drm] Initialized drm 1.1.0 20060810
-- kernel: 3.13.0-74-generic (buildd@lcy01-07)
-- Linux distribution:  (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 (Ubuntu 3.13.0-74.118-generic 3.13.11-ckt30)
-- Machine or mobo model: LENOVO 4177CTO/4177CTO, BIOS 83ET76WW (1.46 ) 07/05/2013
-- Display connector: Display Port
-- Kodi version: 15.2 Git:02e7013 Media Center Kodi
Comment 1 ykzhao 2016-01-27 05:36:37 UTC
Will you please try to add the boot option of "i915.enable_ppgtt = 0" and see whether it is helpful?

Thanks
Comment 2 ivoc 2016-02-05 14:47:21 UTC
(In reply to ykzhao from comment #1)
> Will you please try to add the boot option of "i915.enable_ppgtt = 0" and
> see whether it is helpful?
> 
> Thanks

Hello,
Thanks for replying.

I added the option, however i915 driver seems to not recognize it, please see below:

dmesg | grep i915

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-74-generic root=UUID=9bb8b128-9495-4667-9cda-1048bd45abd9 ro quiet splash i915.enable_ppgtt=0 vt.handoff=7
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-74-generic root=UUID=9bb8b128-9495-4667-9cda-1048bd45abd9 ro quiet splash i915.enable_ppgtt=0 vt.handoff=7
[    0.949725] i915: unknown parameter 'enable_ppgtt' ignored
[    1.228717] i915 0000:00:02.0: irq 42 for MSI/MSI-X
[    2.312179] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    2.312181] i915 0000:00:02.0: registered panic notifier
[    2.325629] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

What is the purpose of enable_ppgtt flag? Do I need to upgrade to different i915 version?

Thanks
Comment 3 haihao 2016-02-15 02:23:21 UTC
Your Linux kernel is too old. It would be better to try the latest kernel first.
Comment 4 ivoc 2016-05-19 00:23:49 UTC
Hello ykzhao,
I managed to update the kernel. Please see below:

uname -r
4.4.0-21-generic


dmesg | grep i915
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=9bb8b128-9495-4667-9cda-1048bd45abd9 ro quiet splash i915.enable_ppgtt=0 vt.handoff=7
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=9bb8b128-9495-4667-9cda-1048bd45abd9 ro quiet splash i915.enable_ppgtt=0 vt.handoff=7


Can you please advise if the option you mentioned is active? What are the next steps.

Thank you
Comment 5 ykzhao 2016-05-19 00:44:18 UTC
Now the ppgtt option is recognized on the new kernel.

Will you please use the kodi to play the same video and see whether the GPU hang is still triggered?

Thanks
   Yakui
Comment 6 ykzhao 2016-12-15 05:11:29 UTC
The bug will be closed as there is no response for more than six months.

If the issue still is reproduced, please file a new bug or reopen it.

Thanks
   Yakui


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.