apparent GPU hang on haswell laptop when playing movie using XVideo output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-video-intel |
Fix Released
|
Medium
|
|||
xserver-xorg-video-intel (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned | ||
xserver-xorg-video-intel-lts-saucy (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* All users of 13.10 and the soon to be released 12.04.4 with haswell and baytrail hardware will experience hangs when watching videos via Xv. This bug has been fixed in 14.04, but the fixes happened after 13.10 released. This upload fixes the situation by backporting 2 commits from 2.99.907 that 1) disables vsync on baytrail because it is not known how it works yet and 2) fixes a regression on haswell introduced just before 13.10's driver making vsync work again.
[Test Case]
1. open libreoffice -> file -> new -> presentation
2. paste any movie; insert -> movie
this bug is quite reproducible and this movie file can be anything that libreoffice/
3. verify you correctly pasted the movie by selecting the movie in the slide and clicking the play botton bottom left.
check if the movie *plays* ok.
4. then start slideshow from the slideshow menu or F5.
Another way (provided by Timo):
1. mplayer -fs -vo xv movie.webm # -vo xv is the default, but just to state the obvious
2. Compare to mplayer -fs -vo x11 -zoom # this works even without the patch, obviously consuming more resoureces
[Regression Potential]
* Low, it affects only the specific GPU generations which are already broken and has been tested extensively by affected users as well as by the mainstream engineering team at Canonical on unreleased platforms.
[Original Report]
How to reproduce:
1. open libreoffice -> file -> new -> presentation
2. paste any movie; insert -> movie
this bug is quite reproducible and this movie file can be anything that libreoffice/
3. verify you correctly pasted the movie by selecting the movie in the slide and clicking the play botton bottom left.
check if the movie *plays* ok.
4. then start slideshow from the slideshow menu or F5.
How to reproduce, another way (provided by Timo):
1. mplayer -fs -vo xv movie.webm # -vo xv is the default, but just to state the obvious
2. Compare to mplayer -fs -vo x11 -zoom # this works even without the patch, obviously consuming more resoureces
Symptom:
* a screen hang. this continues at least ten seconds or more. after that you can somehow quit the slideshow mode.
* ESC and other keys do not stop the slideshow, except ctrl+alt+F1
* switching to VT and getting back to X helps sometimes.
Configuration:
* Thinkpad-X240s
* tried both Saucy's default kernel and 3.11.6-031106 (ppa)
dmesg:
[ 2209.663234] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2214.672447] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2218.658213] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2222.656003] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2226.653754] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2230.651538] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2234.649319] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2238.623129] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[ 2238.623162] [drm:i915_
[ 2238.623300] [drm:i915_
lspci:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 6 (rev e4)
00:1c.1 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu6
Uname: Linux 3.11.6-
.tmp.unity.
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
Date: Wed Oct 23 00:07:55 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
ExtraDebuggingI
GpuHangFrequency: I don't know
GraphicsCard:
Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:2214]
InstallationDate: Installed on 2013-10-22 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: LENOVO 20AJA00P00
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/02/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: GIET35WW (1.11 )
dmi.board.
dmi.board.name: 20AJA00P00
dmi.board.vendor: LENOVO
dmi.board.version: 0B98405 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20AJA00P00
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.10+
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Tue Oct 22 22:53:22 2013
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 1005
vendor LGD
xserver.version: 2:1.14.3-3ubuntu2
summary: |
- apparent GPU hang on haswell laptop when playing movie on libreoffice + apparent GPU hang on haswell laptop when playing movie using XVideo + output |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
description: | updated |
Changed in xserver-xorg-video-intel-lts-saucy (Ubuntu Saucy): | |
status: | Confirmed → Invalid |
description: | updated |
Changed in xserver-xorg-video-intel (Ubuntu Saucy): | |
status: | Confirmed → In Progress |
tags: |
added: verification-done-precise verification-needed-saucy removed: verification-needed |
tags: |
added: verification-done-saucy removed: verification-needed-saucy |
Changed in xserver-xorg-video-intel-lts-saucy (Ubuntu): | |
status: | Confirmed → Fix Released |
I do not think this is a bug of libreoffice. it is probably a bug in the kernel or driver
because
1. i do not see this problem on other machines I own including newer sandybridge and
ivy-bridge desktops/laptops.
2. i tried other version of libreoffice including that from raring and that downloaded
fresh from libreoffice.org, and i always see the same problem only on my
X240 with intel haswell graphics.
thanks.