Bug 61532 - [snb] Running any Media Player or Webcam App, hangs the GPU
Summary: [snb] Running any Media Player or Webcam App, hangs the GPU
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) other
: highest critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 22:24 UTC by Binary-Synapse
Modified: 2016-10-07 05:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
LOGS (193.79 KB, text/plain)
2013-02-26 22:24 UTC, Binary-Synapse
no flags Details
logs and info (193.79 KB, application/x-zip-compressed)
2013-02-26 22:32 UTC, Binary-Synapse
no flags Details
S3 Error (while entering the 2nd time). (902.19 KB, image/png)
2013-02-27 23:44 UTC, Binary-Synapse
no flags Details
Logs and Info (After the driver update) (191.76 KB, application/x-zip-compressed)
2013-02-28 00:04 UTC, Binary-Synapse
no flags Details

Description Binary-Synapse 2013-02-26 22:24:27 UTC
Created attachment 75604 [details]
LOGS

Hello,

Problem description:
Running any Media Player, Webcam App (Cheese or Guvcview), hangs the GPU.


Expected Results:
Running any Media Player, Webcam App (Cheese or Guvcview) should not hang the GPU.


Obtained Results:
Running any Media Player, Webcam App (Cheese or Guvcview) freezes the system for a few seconds, but afterwards (3 sec. approx.) I can close the application that caused the GPU hang.
Video output is non-existing in Cheese or Guvcview (I only see the black window where the video should be).
If I still try to take a picture with Cheese for example, it will capture the photo correctly!
When playing a movie file, I get no video (only sound output is available).


When does it happen: Always (no special steps are necessary to reproduce this error).


---------------------
Hardware being used:
Classmate Netbook
CPU: Celeron 847 @ 1,1GHz (SandyBridge architecture)
Chipset: NM70
GPU: Intel HD2000 based (according to some websites)
---------------------
Software being used:
Debian 6.0 Squeeze Based Distro (Canaima OS)
Kernels used:
2.6.32-5-686 (with this kernel the system works *fine*)
3.2.0-0.bpo.4-686-pae (Backports Kernel -> with this kernel, the GPU hangs)
3.7.6 (Obtained from http://kernel.org/ and compiled by me -> with this kernel, the GPU hangs)
---------------------

Packages, logs and more data information is provided in the attached files.
But if any more info is needed please inform.
I will provide all necessary data.

Any ideas about this issue?
Thank you
Comment 1 Binary-Synapse 2013-02-26 22:32:29 UTC
Created attachment 75605 [details]
logs and info
Comment 2 Jani Nikula 2013-02-27 10:22:40 UTC
Is this a regression?

Please consider trying a newer kernel.

At the very least, please upgrade to the latest 3.2 stable release. There have been GPU hang related fixes since the 3.2.35 you seem to be running.
Comment 3 Chris Wilson 2013-02-27 10:26:58 UTC
-intel-2.13.0 is ancient and has numerous bugs present in the error state you attached.
Comment 4 Binary-Synapse 2013-02-27 23:29:54 UTC
Hello Chris and Jani.

Jani:
Like previously posted I was using 3 different kernels.
And one of them was the recent 3.7.6 version (04-Feb-2013)
So it's very recent.


Chris:
You were absolutely correct!

I had to update the intel driver (but from experimental repo) and it worked perfectly!
I now have video reproduction and webcam functionality!
All this with kernel v3.7.6

Hum... but I'm now facing two problems:

Prob1) gears outputs the following:
---------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Error: Couldn't get an RGB, Double-buffered visual
---------------------------------------------------


Prob2) Entering S3 works OK the first time, but if I resume and try to enter S3 again, the system locks up with the screen described by the attached photo.
At this point, I can only perform a force poweroff.

I have always had some problems with S3. Could it also be a GFX related issue?

Thank you
Comment 5 Chris Wilson 2013-02-27 23:37:30 UTC
Can you also attach your Xorg.0.log with the updated driver? For some reason it is not loading GLX, and I'm not sure why.
Comment 6 Binary-Synapse 2013-02-27 23:44:15 UTC
Created attachment 75661 [details]
S3 Error (while entering the 2nd time).
Comment 7 Binary-Synapse 2013-02-28 00:04:23 UTC
Created attachment 75662 [details]
Logs and Info (After the driver update)

Hi Chris.

Here is Xorg.0.log (after all driver updates).

Can you see what's wrong?

Thank you
Comment 8 Chris Wilson 2013-02-28 00:53:59 UTC
I don't think the S3 error is us. The failure there is being reported for another device.

As for GLX, the issue appears to be that the path compiled into the xserver for the location of the DRI2 drivers doesn't match your current installation. Should be resolved by updating libgl1-mesa-dri.
Comment 9 Jani Nikula 2013-02-28 08:30:26 UTC
(In reply to comment #4)
> Jani:
> Like previously posted I was using 3 different kernels.
> And one of them was the recent 3.7.6 version (04-Feb-2013)
> So it's very recent.

Right, I missed that. For future reference, it's usually most helpful to post the logs and dumps against the most recent one you try.
Comment 10 Binary-Synapse 2013-02-28 19:10:10 UTC
Hello.

Janni:
OK I will follow your suggestions.


Chris:
Once again you were right!
I can't thank you enough.

Best regards, and keep up the good work.
Thank you
Comment 11 Jari Tahvanainen 2016-10-07 05:36:41 UTC
Closing.


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.