[Sandybridge] Attempting to use Xv textured video hangs the system.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-video-intel |
Fix Released
|
Critical
|
|||
xserver-xorg-video-intel (Ubuntu) |
Fix Released
|
Medium
|
Robert Hooker | ||
Maverick |
Fix Released
|
High
|
Robert Hooker |
Bug Description
--- SRU JUSTIFICATION NOTES ---
IMPACT: Sandy Bridge machines (with generation 6 intel GPUs) do not have code in the driver to handle Xv acceleration, but due to the way its coded it advertises that it works and attempts to use a generic GM45 generation code path for it which hangs the system 100% of the time. This confuses gstreamer which does auto detection and every app that plays back video with it will hang the system unless Xv is forcibly disabled.
RESOLUTION: Disable Xv only on this generation of devices by adding an XVideo option to the intel driver that only disables it on generation 6 devices. The option was universally enabled previously.
TEST CASE:
1) Boot ubuntu maverick on a Sandy Bridge machine
2) Launch gstreamer-
3) Go to the video tab, under default output press "Test"
4) System hangs without this fix. Switching the output to "X Window System (No Xv)" works correctly.
REGRESSION POTENTIAL: Extremely low, this only changes the behavior for devices that match the IS_GEN6 macro which only contains Sandy Bridge devices.
SRU PATCH PROPOSALS:
https:/
--- ORIGINAL DESCRIPTION ---
Binary package hint: xserver-
xserver-
Upstream addressed this issue in this commit:
http://
author Chris Wilson <email address hidden> 2010-10-01 20:40:36 (GMT)
committer Chris Wilson <email address hidden> 2010-10-01 20:45:15 (GMT)
commit 8784c4f5a1524fb
tree d73f10e7631195c
parent 345c963e443ec32
video: Disable TextureAdaptor for Sandybridge
The acceleration code does not yet exist, so we try to use gen4 shaders
which hangs the chip and makes everybody upset. Disable it until such a
time as support is written for Sandybridge XVideo.
Reported-by: Matthias Hopf <email address hidden>
Bugzilla: https:/
Signed-off-by: Chris Wilson <email address hidden>
Patch will follow soon and has been tested by me on 2 sandybridge machines to verify that desktop applications that autodetect Xv support no longer crash the system (cheese, totem visualizations, rhythmbox visualizer).
Related branches
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
Changed in xserver-xorg-video-intel (Ubuntu): | |
assignee: | nobody → Robert Hooker (sarvatt) |
importance: | Undecided → Medium |
milestone: | none → maverick-updates |
status: | New → Fix Committed |
tags: | added: maverick |
tags: | added: patch |
Changed in xserver-xorg-video-intel (Ubuntu Maverick): | |
assignee: | nobody → Robert Hooker (sarvatt) |
importance: | Undecided → High |
status: | New → In Progress |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in xserver-xorg-video-intel: | |
importance: | Critical → Unknown |
status: | Confirmed → Fix Released |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → Critical |
tags: | added: hwe-blocker |
tags: | added: testcase |
Created an attachment (id=39070)
Disable XVideo on SandyBridge by default
We will be using this patch until XVideo is working fine on SandyBridge.
It re-adds the XVideo option (why had it been removed in the first place?) and defaults to Enable on all platforms but SandyBridge.
Please consider this for the next release :-)