Bug 78065 - [BDW] GPU crash when playing video
Summary: [BDW] GPU crash when playing video
Status: CLOSED DUPLICATE of bug 85768
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 06:51 UTC by EvaWang
Modified: 2017-07-24 22:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg.log (42.19 KB, text/plain)
2014-04-29 07:10 UTC, EvaWang
no flags Details
dmesg with drm.debug=0xe (42.88 KB, text/plain)
2014-04-29 07:11 UTC, EvaWang
no flags Details
Xorg.0.log (42.05 KB, text/plain)
2014-04-29 07:11 UTC, EvaWang
no flags Details
dmesg_0429 (61.64 KB, text/plain)
2014-04-29 09:45 UTC, EvaWang
no flags Details
xorg.0.log (7.68 KB, text/plain)
2014-04-29 09:46 UTC, EvaWang
no flags Details
drm-intel-nightly-0428 dmesg with drm.debug=0xe (76.73 KB, text/plain)
2014-05-02 03:48 UTC, EvaWang
no flags Details
Xorg.0.log with xf86-video-intel-2.99.911.tar.gz (7.81 KB, text/plain)
2014-05-02 03:48 UTC, EvaWang
no flags Details
dmesg with mesa 9.2.5 (154.53 KB, text/plain)
2014-05-02 09:03 UTC, EvaWang
no flags Details
Xorg.0.log with 2.99.911 (21.21 KB, text/plain)
2014-05-02 09:03 UTC, EvaWang
no flags Details
gpu crash dump (250 bytes, text/plain)
2014-05-19 10:37 UTC, EvaWang
no flags Details
dmesg (69.56 KB, text/plain)
2014-05-29 09:22 UTC, EvaWang
no flags Details
error (125 bytes, text/plain)
2014-05-29 09:22 UTC, EvaWang
no flags Details
error_0604 (244.13 KB, application/x-zip-compressed)
2014-06-04 03:00 UTC, EvaWang
no flags Details
gpu-hang-20140929.zip (317.34 KB, application/x-zip-compressed)
2014-09-29 07:17 UTC, EvaWang
no flags Details

Description EvaWang 2014-04-29 06:51:35 UTC
We received Notebook with Broadwell sample from OEM.

It can't enter to GPU rendering, How to enter to GPU rendering?

From glxinfo:
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
OpenGL version string: 2.1 Mesa 10.1.0


And we tried kernel 3.14, drm-intel nightly, mesa 10.1, xorg1.14.4, it can't enter to GPU rendering.

If you need any messages, please tell me. Thanks!
Comment 1 Chris Wilson 2014-04-29 06:55:47 UTC
As always, start by attaching your dmesg and Xorg.0.log.
Comment 2 EvaWang 2014-04-29 07:10:52 UTC
Created attachment 98162 [details]
dmesg.log
Comment 3 EvaWang 2014-04-29 07:11:21 UTC
Created attachment 98163 [details]
dmesg with drm.debug=0xe
Comment 4 EvaWang 2014-04-29 07:11:44 UTC
Created attachment 98164 [details]
Xorg.0.log
Comment 5 Chris Wilson 2014-04-29 07:18:41 UTC
Your kernel is either missing the i915.ko module, or that module has been stripped of BDW identification.
Comment 6 EvaWang 2014-04-29 07:27:03 UTC
there is i915.ko in OS.
Comment 7 EvaWang 2014-04-29 07:33:54 UTC
Sorry, it is wrong, it doesn't load the i915. we will check it and upload it again
Comment 8 EvaWang 2014-04-29 09:45:48 UTC
Created attachment 98168 [details]
dmesg_0429
Comment 9 EvaWang 2014-04-29 09:46:25 UTC
Created attachment 98169 [details]
xorg.0.log
Comment 10 EvaWang 2014-04-29 09:46:56 UTC
Hi Chris, Please help to check again.Thanks!
Comment 11 Chris Wilson 2014-04-29 10:47:28 UTC
Ok, you have the right kernel module now, but the wrong Xorg driver this time. 

[  3630.056] (II) LoadModule: "intel"
[  3630.057] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  3630.057] (II) Module intel: vendor="X.Org Foundation"
[  3630.057] 	compiled for 1.14.4, module version = 2.21.15
[  3630.057] 	Module class: X.Org Video Driver
[  3630.057] 	ABI class: X.Org Video Driver, version 14.1
Comment 12 EvaWang 2014-04-30 01:50:18 UTC
For xorg driver issue, do you know which version xorg will support broadwell? 
From below error, it seems it doesn't support broadwell.
Could you give us suggestion? Thanks!

[  3630.062] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  3630.062] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  3630.062] (==) intel(0): RGB weight 888
[  3630.062] (==) intel(0): Default visual is TrueColor
[  3630.062] (WW) intel(0): Unknown chipset
[  3630.062] (II) UnloadModule: "intel"
[  3630.062] (EE) Screen(s) found, but none have a usable configuration.
[  3630.062] (EE) 
Fatal server error:
[  3630.062] (EE) no screens found(EE) 
[  3630.062] (EE)
Thanks!
Comment 13 Chris Wilson 2014-04-30 06:43:27 UTC
Snapshot 2.99.907 (2013-12-30)
==============================
The highlight here is that things seem to be quietening down on the bug
reporting front. All is not quiet as you will see below, and maybe it is
just the holiday season that is approaching*, but there has been a
remarkable falloff in bug reports. Lets hope this trend holds and we can
make a stable release shortly!

* This was intended to be sent a couple of weeks ago and the holiday season
has been very quiet....

Oh, and acceleration support for Intel's next generation of
integrated processor graphics has landed, codenamed Broadwell.
Comment 14 EvaWang 2014-05-02 03:48:22 UTC
Created attachment 98323 [details]
drm-intel-nightly-0428 dmesg with drm.debug=0xe
Comment 15 EvaWang 2014-05-02 03:48:54 UTC
Created attachment 98324 [details]
Xorg.0.log with xf86-video-intel-2.99.911.tar.gz
Comment 16 Chris Wilson 2014-05-02 05:58:02 UTC
Don't use UXA.
Comment 17 Chris Wilson 2014-05-02 05:59:46 UTC
The failure here is drm_intel_bufmgr_gem_init() failing, but this isn't used by default in the DDX, except when you manually select UXA (disabled for good reason).
Comment 18 EvaWang 2014-05-02 09:03:00 UTC
Created attachment 98329 [details]
dmesg with mesa 9.2.5
Comment 19 EvaWang 2014-05-02 09:03:59 UTC
Created attachment 98330 [details]
Xorg.0.log with 2.99.911
Comment 20 EvaWang 2014-05-02 09:07:32 UTC
Now, With xf86-video-intel-2.99.911.tar.gz and mesa 9.2.5, run xinit OK, but can't startx. please refer attachment 98329 [details] and 98330.

It will hang up with mesa 10.1.1.

Thanks!
Comment 21 Chris Wilson 2014-05-02 09:18:29 UTC
mesa-9.2.5 doesn't support Broadwell, so you need to update both mesa and libdrm before you can successfully use OpenGL applications. What the nature of the hang with mesa-10.1?
Comment 22 Daniel Vetter 2014-05-19 09:43:10 UTC
bugzilla isn't really a Q&A site ...
Comment 23 EvaWang 2014-05-19 10:37:36 UTC
Created attachment 99317 [details]
gpu crash dump
Comment 24 EvaWang 2014-05-19 10:40:07 UTC
I am very sorry for this bug tile. update the title.

It can enter to OS after update mesa 10.2-RC1, xf86-video-intel-2.99.911.tar.gz , kernel 3.14.1.

But system will hang up when playing video. and there is garbage when move the window.

Below is hangup dmesg and attachment is gpu crash dump.

[  140.616196] [drm] stuck on render ring
[  140.616209] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  140.616211] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  140.616212] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  140.616213] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  140.616215] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Comment 25 EvaWang 2014-05-22 02:11:10 UTC
could you help to update the status? what cause the GPU crash? Thanks a lot!
Comment 26 EvaWang 2014-05-22 05:56:36 UTC
It will not crash after added 20-intel.conf. is It related to xf86-video-intel? we tried the latest xf86-video-intel (commit: 00d9396f6bf0bbbdfca7cdb1cbdbde8f0b2ad59c )it is still crash. please help to check it. Thanks a lot!

/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "NoAccel" "True"
EndSection
Comment 27 Ben Widawsky 2014-05-29 02:00:35 UTC
This sounds like a similar bug reported by Timo. In his case, the latest fixes for the null context made the problems go away. I believe the root cause of his issue is an old BIOS (also in his case, the vendor, Dell, did not provide a newer BIOS).

So please try three things:
1. Update the BIOS.
2. Try the very latest drm-intel-nightly, with http://patchwork.freedesktop.org/patch/26784/ included.
3. Disable RC6

Do these things in order, and try each step discretely.

Thanks
Comment 28 EvaWang 2014-05-29 09:20:16 UTC
(In reply to comment #27)
> 
> So please try three things:
> 1. Update the BIOS.
   Reply: it still hang up when playing video.
> 2. Try the very latest drm-intel-nightly, with
> http://patchwork.freedesktop.org/patch/26784/ included.
   Reply: It will hang up after enter to OS. GPU crash
> 3. Disable RC6

> 
> Do these things in order, and try each step discretely.
Comment 29 EvaWang 2014-05-29 09:21:35 UTC
(In reply to comment #28)
> (In reply to comment #27)
> > 
> > So please try three things:
> > 1. Update the BIOS.
>    Reply: it still hang up when playing video.
> > 2. Try the very latest drm-intel-nightly, with
> > http://patchwork.freedesktop.org/patch/26784/ included.
>    Reply: It will hang up after enter to OS. GPU crash
> > 3. Disable RC6
>    Reply: It will hang up after enter to OS. GPU crash

 Attach step 3 dmesg and /sys/class/drm/card0/error
Comment 30 EvaWang 2014-05-29 09:22:21 UTC
Created attachment 100096 [details]
dmesg
Comment 31 EvaWang 2014-05-29 09:22:47 UTC
Created attachment 100097 [details]
error
Comment 32 Ben Widawsky 2014-06-03 23:20:00 UTC
The latest error state is junk. Please reattach.
Comment 33 EvaWang 2014-06-04 03:00:19 UTC
Created attachment 100379 [details]
error_0604

attached error again. Thanks!
Comment 34 EvaWang 2014-06-11 02:53:43 UTC
Is there any update for the issue? Thanks!
Comment 35 EvaWang 2014-06-30 10:00:47 UTC
could you help to update the issue? Thanks!
Comment 36 EvaWang 2014-09-04 09:00:20 UTC
Could you help to check it again? we hope your reply.
If you still need any other information, please let me known. Thanks!
Comment 37 Rodrigo Vivi 2014-09-24 20:11:48 UTC
First of all sorry for not updating this for a while.

But could you please retest with latest -nightly and attach new/latest error state?
Comment 38 EvaWang 2014-09-25 10:17:26 UTC
(In reply to comment #37)
> First of all sorry for not updating this for a while.
> 
> But could you please retest with latest -nightly and attach new/latest error
> state?
   We try the latest drm-intel-nightly, but it can not enter to OS, it always reboot after grub, please refer attachment video. 
We found the issue happens kernel 3.17-rc6, and kernel 3.17-rc5 is OK.
Thanks!
Comment 39 EvaWang 2014-09-25 11:15:36 UTC
Sorry, the video is large, can not attached.
Comment 40 Jani Nikula 2014-09-25 13:54:04 UTC
(In reply to comment #38)
> (In reply to comment #37)
> > First of all sorry for not updating this for a while.
> > 
> > But could you please retest with latest -nightly and attach new/latest error
> > state?
>    We try the latest drm-intel-nightly, but it can not enter to OS, it
> always reboot after grub, please refer attachment video. 
> We found the issue happens kernel 3.17-rc6, and kernel 3.17-rc5 is OK.
> Thanks!

Please bisect between v3.17-rc5 and v3.17-rc6. There were no i915 changes there that should have caused any boot failures, it's likely elsewhere.
Comment 41 EvaWang 2014-09-29 07:17:25 UTC
Created attachment 107041 [details]
gpu-hang-20140929.zip

We tried the latest drm-intel-nightly, it still happen GPU HANG issue when playing video.
please refer dmesg and /sys/class/drm/card0/error. 
please help to provide the suggestion for the issue.
Thank you very much!
Comment 42 Jani Nikula 2014-09-29 07:49:48 UTC
If the issue happens in v3.17-rc6 but not in v3.17-rc5, please bisect as asked in comment #40.
Comment 43 EvaWang 2014-09-29 08:16:25 UTC
(In reply to comment #42)
> If the issue happens in v3.17-rc6 but not in v3.17-rc5, please bisect as
> asked in comment #40.

You misunderstand my comment #40, "the issue" is that "it can not enter to OS, it
always reboot after grub" with latest drm-intel-night(which has been fixed after bisect) but not GPU Hang;

Comment #41 is the latest status for GPU hang when playing video.(no version kernel ok)
Comment 44 Rodrigo Vivi 2015-01-20 00:41:02 UTC
Hi Eva,

Is it still happening with latest -nightly and latest xf86-video-intel?

What is the video you are playing? Could you please upload it somewhere?
And how are you playing that?
Comment 45 Rodrigo Vivi 2015-01-22 00:06:27 UTC

*** This bug has been marked as a duplicate of bug 85768 ***


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.