[Desktop-packages] [Bug 1243261] Re: apparent GPU hang on haswell laptop when playing movie using XVideo output

2014-01-14 Thread Koichi Takahashi
Hi Colin,

I cannot confirm this fix immediately because I now use a different
machine (the bug was a show stopper for my business).

However, if mplayer/totem/gstreamer now works ok I suppose the
libreoffice problem would also be fixed.

I very much appreciate your hard work.  Keep going Ubuntu!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1243261

Title:
  apparent GPU hang on haswell laptop when playing movie using XVideo
  output

Status in X.org xf86-video-intel:
  Fix Released
Status in “xserver-xorg-video-intel” package in Ubuntu:
  Fix Released
Status in “xserver-xorg-video-intel-lts-saucy” package in Ubuntu:
  Confirmed
Status in “xserver-xorg-video-intel” source package in Precise:
  Invalid
Status in “xserver-xorg-video-intel-lts-saucy” source package in Precise:
  Fix Committed
Status in “xserver-xorg-video-intel” source package in Saucy:
  In Progress
Status in “xserver-xorg-video-intel-lts-saucy” source package in Saucy:
  Invalid

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/gstreamer can play.
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/gstreamer can play.
  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
  [ .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_hangcheck_elapsed] *ERROR* no progress on render ring
  [ 2238.623300] [drm:i915_set_reset_status] *ERROR* render ring hung flushing 
bo (0x1d06e000 ctx 0) at 0x320b500

  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 

[Desktop-packages] [Bug 1243261] Re: apparent GPU hang on haswell laptop when playing movie on libreoffice

2013-10-28 Thread Koichi Takahashi
In addition to in slideshow mode in libreoffice, I confirmed this problem when 
playing 
high bitrate movies in fullscreen mode (any movie players).

Interestingly, a mp4 movie pasted on a slide in libreoffice that hangs the GPU 
doesn't
induce the same problem when it is played on a movie player.   However, playing 
a 
high bitrate (say, a DVD iso) movie on a movie player hangs.
Probably it occurs when GPU gets high load or sometime of buffer overflow 
(speculation).

Perhaps this is a duplicate of other bugs observed on haswell's
integrated GPUs.


thanks.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1243261

Title:
  apparent GPU hang on haswell laptop when playing movie on libreoffice

Status in “xorg” package in Ubuntu:
  New

Bug description:
  
  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/gstreamer can play.
  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. 

  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
  [ .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_hangcheck_elapsed] *ERROR* no progress on render ring
  [ 2238.623300] [drm:i915_set_reset_status] *ERROR* render ring hung flushing 
bo (0x1d06e000 ctx 0) at 0x320b500

  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-031106-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  Date: Wed Oct 23 00:07:55 2013
  DistUpgraded: Fresh install
  DistroCodename: saucy
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, if not too technical
  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=/boot/vmlinuz-3.11.6-031106-generic 
root=UUID=30382826-322c-4457-a4a7-e6852d23ed8c ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UpgradeStatus: No upgrade log present 

[Desktop-packages] [Bug 1243261] [NEW] apparent GPU hang on haswell laptop when playing movie on libreoffice

2013-10-22 Thread Koichi Takahashi
Public bug reported:


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/gstreamer can play.
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. 

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
[ .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_hangcheck_elapsed] *ERROR* no progress on render ring
[ 2238.623300] [drm:i915_set_reset_status] *ERROR* render ring hung flushing bo 
(0x1d06e000 ctx 0) at 0x320b500

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-031106-generic x86_64
.tmp.unity.support.test.0:
 
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Wed Oct 23 00:07:55 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
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=/boot/vmlinuz-3.11.6-031106-generic 
root=UUID=30382826-322c-4457-a4a7-e6852d23ed8c ro quiet splash vt.handoff=7
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.asset.tag: Not Available
dmi.board.name: 20AJA00P00
dmi.board.vendor: LENOVO
dmi.board.version: 0B98405 STD
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvrGIET35WW(1.11):bd08/02/2013:svnLENOVO:pn20AJA00P00:pvrThinkPadX240s:rvnLENOVO:rn20AJA00P00:rvr0B98405STD:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 20AJA00P00
dmi.product.version: ThinkPad X240s
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2

[Desktop-packages] [Bug 1243261] Re: apparent GPU hang on haswell laptop when playing movie on libreoffice

2013-10-22 Thread Koichi Takahashi
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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1243261

Title:
  apparent GPU hang on haswell laptop when playing movie on libreoffice

Status in “xorg” package in Ubuntu:
  New

Bug description:
  
  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/gstreamer can play.
  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. 

  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
  [ .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_hangcheck_elapsed] *ERROR* no progress on render ring
  [ 2238.623300] [drm:i915_set_reset_status] *ERROR* render ring hung flushing 
bo (0x1d06e000 ctx 0) at 0x320b500

  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-031106-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  Date: Wed Oct 23 00:07:55 2013
  DistUpgraded: Fresh install
  DistroCodename: saucy
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, if not too technical
  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=/boot/vmlinuz-3.11.6-031106-generic 
root=UUID=30382826-322c-4457-a4a7-e6852d23ed8c ro quiet splash vt.handoff=7
  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.asset.tag: