[Desktop-packages] [Bug 1710051] Re: xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ... chrome ... reason: Hang on render ring, action: reset

2017-11-04 Thread Andrew Montalenti
For the help of other users, I just want to mention that in Ubuntu
17.04, I ended up switching back to stable xorg and *removing* xserver-
xorg-video-intel, as suggested in some online documentation, in order to
force the modesetting driver to run. I'd see modesetting and glamoregl
modules loading in the Xorg.0.log file.

Then, I disabled hardware acceleration in Chrome, using the official
setting available in Chrome settings. (Not via a flag.) Search for
"acceleration" in chrome://settings and then un-check that option.

With these two corrective actions, I seem to have a stable machine, even
when running Chrome day-in day-out for a long time in gnome-shell. I
also can't force a crash with Facebook 3D images any longer. This is
probably the right set of recommendations for users with my Lenovo X1C
model or similar Skylake & GPU hardware.

-- 
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/1710051

Title:
  xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ...
  chrome ... reason: Hang on render ring, action: reset

Status in xserver-xorg-video-intel package in Ubuntu:
  Confirmed

Bug description:
  I am running a Lenovo X1C 4th Generation on Ubuntu 17.04. With the
  stock xserver-xorg-video-intel, I am able to reliably reproduce a
  complete Xorg hang -- that occasionally results in a full system hang,
  requiring reboot -- simply by opening a 360 photograph (using WebGL
  under the hood) on Facebook.com running in Chrome with hardware
  acceleration enabled. This is using modesetting and thus glamor.

  A similar hang also happens with this driver using certain software
  leveraging the GPU or hardware acceleration, for example the
  proprietary Zoom Video app. But since the Facebook example works very
  reliably (it crashes without fail), it has been good for
  testing/reproduction.

  On a stock Ubuntu 17.04, this crash would result in a total system
  hang requiring a reboot. However, by enabling CTRL+ALT+BACKSPACE on my
  Xorg version using GNOME tweak, I was able to induce the crash, press
  CTRL+ALT+BACKSPACE, and end up in a virtual terminal. From there, I
  could inspect dmesg (to find the message reported in the summary,
  which has also been reported elsewhere on bug trackers in various
  forms). This is the more precise dmesg entry:

  GPU HANG: ecode 9:0:0x86dd, in chrome [24053], reason: Hang on
  render ring, action: reset

  I could also capture the state of the GPU/drm error by looking in
  /sys/class/drm/card0/error. That has been attached to this ticket.

  Some interesting notes about this:

  - I could make Chrome not crash by turning off hardware acceleration
  in its advanced settings. In this case, chrome://gpu would show it is
  no longer using hardware acceleration. It would thus software
  accelerate WebGL on Facebook.com. And thus, no hang/crash.

  - I upgraded to the xserver-xorg-video-intel version that is in this
  PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers --
  after this, the problem went away, definitively. I have only been
  running this version for a day, but have had no crashes, and the
  Facebook WebGL reproduction case is no longer a reproduction case.

  My suspicion is that this is a bug deep in the intel driver and its
  interaction with certain GPUs, since the hang has happened in more
  than one userland program, and seems to be "repaired" by recent
  updates in the above-linked PPA.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1710051/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1710051] Re: xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ... chrome ... reason: Hang on render ring, action: reset

2017-09-01 Thread Andrew Montalenti
@chipaca Thanks for the suggestion. Interesting. I see a reddit thread
about this here:

https://www.reddit.com/r/archlinux/comments/4cojj9/it_is_probably_time_to_ditch_xf86videointel/

I might try that suggestion again. Reading the Intel Graphics wiki page
from Arch Linux has the following admonishment:

"Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86
-video-intel driver, and instead falling back on the modesetting driver
for fourth generation and newer GPUs. See [1], [2], Xorg#Installation,
and modesetting(4). However, the modesetting driver can cause problems
such as Chromium Issue 370022."

from https://wiki.archlinux.org/index.php/intel_graphics

Part of the reason I switched to xserver-xorg-video-intel, though, is
because I was seeing atrocious animation performance with the default,
as well as corruption issues in Chrome. So, I had assumed the built-in
driver was somehow problematic. Seems like we need an expert to weigh in
here on the right move for modern Ubuntu and modern Intel GPUs.

-- 
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/1710051

Title:
  xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ...
  chrome ... reason: Hang on render ring, action: reset

Status in xserver-xorg-video-intel package in Ubuntu:
  New

Bug description:
  I am running a Lenovo X1C 4th Generation on Ubuntu 17.04. With the
  stock xserver-xorg-video-intel, I am able to reliably reproduce a
  complete Xorg hang -- that occasionally results in a full system hang,
  requiring reboot -- simply by opening a 360 photograph (using WebGL
  under the hood) on Facebook.com running in Chrome with hardware
  acceleration enabled. This is using modesetting and thus glamor.

  A similar hang also happens with this driver using certain software
  leveraging the GPU or hardware acceleration, for example the
  proprietary Zoom Video app. But since the Facebook example works very
  reliably (it crashes without fail), it has been good for
  testing/reproduction.

  On a stock Ubuntu 17.04, this crash would result in a total system
  hang requiring a reboot. However, by enabling CTRL+ALT+BACKSPACE on my
  Xorg version using GNOME tweak, I was able to induce the crash, press
  CTRL+ALT+BACKSPACE, and end up in a virtual terminal. From there, I
  could inspect dmesg (to find the message reported in the summary,
  which has also been reported elsewhere on bug trackers in various
  forms). This is the more precise dmesg entry:

  GPU HANG: ecode 9:0:0x86dd, in chrome [24053], reason: Hang on
  render ring, action: reset

  I could also capture the state of the GPU/drm error by looking in
  /sys/class/drm/card0/error. That has been attached to this ticket.

  Some interesting notes about this:

  - I could make Chrome not crash by turning off hardware acceleration
  in its advanced settings. In this case, chrome://gpu would show it is
  no longer using hardware acceleration. It would thus software
  accelerate WebGL on Facebook.com. And thus, no hang/crash.

  - I upgraded to the xserver-xorg-video-intel version that is in this
  PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers --
  after this, the problem went away, definitively. I have only been
  running this version for a day, but have had no crashes, and the
  Facebook WebGL reproduction case is no longer a reproduction case.

  My suspicion is that this is a bug deep in the intel driver and its
  interaction with certain GPUs, since the hang has happened in more
  than one userland program, and seems to be "repaired" by recent
  updates in the above-linked PPA.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1710051/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1710051] Re: xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ... chrome ... reason: Hang on render ring, action: reset

2017-08-12 Thread Andrew Montalenti
Also, a couple of days later, I experienced another full system hang. I
was using GPU-accelerated Chrome at the time, but it was when a new page
was loading. So, the newer PPA may not have totally corrected this
issue, perhaps it just moved it around somehow.

-- 
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/1710051

Title:
  xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ...
  chrome ... reason: Hang on render ring, action: reset

Status in xserver-xorg-video-intel package in Ubuntu:
  New

Bug description:
  I am running a Lenovo X1C 4th Generation on Ubuntu 17.04. With the
  stock xserver-xorg-video-intel, I am able to reliably reproduce a
  complete Xorg hang -- that occasionally results in a full system hang,
  requiring reboot -- simply by opening a 360 photograph (using WebGL
  under the hood) on Facebook.com running in Chrome with hardware
  acceleration enabled. This is using modesetting and thus glamor.

  A similar hang also happens with this driver using certain software
  leveraging the GPU or hardware acceleration, for example the
  proprietary Zoom Video app. But since the Facebook example works very
  reliably (it crashes without fail), it has been good for
  testing/reproduction.

  On a stock Ubuntu 17.04, this crash would result in a total system
  hang requiring a reboot. However, by enabling CTRL+ALT+BACKSPACE on my
  Xorg version using GNOME tweak, I was able to induce the crash, press
  CTRL+ALT+BACKSPACE, and end up in a virtual terminal. From there, I
  could inspect dmesg (to find the message reported in the summary,
  which has also been reported elsewhere on bug trackers in various
  forms). This is the more precise dmesg entry:

  GPU HANG: ecode 9:0:0x86dd, in chrome [24053], reason: Hang on
  render ring, action: reset

  I could also capture the state of the GPU/drm error by looking in
  /sys/class/drm/card0/error. That has been attached to this ticket.

  Some interesting notes about this:

  - I could make Chrome not crash by turning off hardware acceleration
  in its advanced settings. In this case, chrome://gpu would show it is
  no longer using hardware acceleration. It would thus software
  accelerate WebGL on Facebook.com. And thus, no hang/crash.

  - I upgraded to the xserver-xorg-video-intel version that is in this
  PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers --
  after this, the problem went away, definitively. I have only been
  running this version for a day, but have had no crashes, and the
  Facebook WebGL reproduction case is no longer a reproduction case.

  My suspicion is that this is a bug deep in the intel driver and its
  interaction with certain GPUs, since the hang has happened in more
  than one userland program, and seems to be "repaired" by recent
  updates in the above-linked PPA.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1710051/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1710051] [NEW] xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ... chrome ... reason: Hang on render ring, action: reset

2017-08-10 Thread Andrew Montalenti
Public bug reported:

I am running a Lenovo X1C 4th Generation on Ubuntu 17.04. With the stock
xserver-xorg-video-intel, I am able to reliably reproduce a complete
Xorg hang -- that occasionally results in a full system hang, requiring
reboot -- simply by opening a 360 photograph (using WebGL under the
hood) on Facebook.com running in Chrome with hardware acceleration
enabled. This is using modesetting and thus glamor.

A similar hang also happens with this driver using certain software
leveraging the GPU or hardware acceleration, for example the proprietary
Zoom Video app. But since the Facebook example works very reliably (it
crashes without fail), it has been good for testing/reproduction.

On a stock Ubuntu 17.04, this crash would result in a total system hang
requiring a reboot. However, by enabling CTRL+ALT+BACKSPACE on my Xorg
version using GNOME tweak, I was able to induce the crash, press
CTRL+ALT+BACKSPACE, and end up in a virtual terminal. From there, I
could inspect dmesg (to find the message reported in the summary, which
has also been reported elsewhere on bug trackers in various forms). This
is the more precise dmesg entry:

GPU HANG: ecode 9:0:0x86dd, in chrome [24053], reason: Hang on
render ring, action: reset

I could also capture the state of the GPU/drm error by looking in
/sys/class/drm/card0/error. That has been attached to this ticket.

Some interesting notes about this:

- I could make Chrome not crash by turning off hardware acceleration in
its advanced settings. In this case, chrome://gpu would show it is no
longer using hardware acceleration. It would thus software accelerate
WebGL on Facebook.com. And thus, no hang/crash.

- I upgraded to the xserver-xorg-video-intel version that is in this
PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers --
after this, the problem went away, definitively. I have only been
running this version for a day, but have had no crashes, and the
Facebook WebGL reproduction case is no longer a reproduction case.

My suspicion is that this is a bug deep in the intel driver and its
interaction with certain GPUs, since the hang has happened in more than
one userland program, and seems to be "repaired" by recent updates in
the above-linked PPA.

** Affects: xserver-xorg-video-intel (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "contents of /sys/class/drm/card0/error immediately AFTER 
a GPU hang/crash"
   
https://bugs.launchpad.net/bugs/1710051/+attachment/4930447/+files/drm_card0_error.log

** Description changed:

  I am running a Lenovo X1C 4th Generation on Ubuntu 17.04. With the stock
  xserver-xorg-video-intel, I am able to reliably reproduce a complete
  Xorg hang -- that occasionally results in a full system hang, requiring
  reboot -- simply by opening a 360 photograph (using WebGL under the
  hood) on Facebook.com running in Chrome with hardware acceleration
  enabled. This is using modesetting and thus glamor.
  
  A similar hang also happens with this driver using certain software
  leveraging the GPU or hardware acceleration, for example the proprietary
  Zoom Video app. But since the Facebook example works very reliably (it
  crashes without fail), it has been good for testing/reproduction.
  
  On a stock Ubuntu 17.04, this crash would result in a total system hang
  requiring a reboot. However, by enabling CTRL+ALT+BACKSPACE on my Xorg
  version using GNOME tweak, I was able to induce the crash, press
  CTRL+ALT+BACKSPACE, and end up in a virtual terminal. From there, I
  could inspect dmesg (to find the message reported in the summary, which
  has also been reported elsewhere on bug trackers in various forms). This
  is the more precise dmesg entry:
  
  GPU HANG: ecode 9:0:0x86dd, in chrome [24053], reason: Hang on
  render ring, action: reset
  
  I could also capture the state of the GPU/drm error by looking in
  /sys/class/drm/card0/error. That has been attached to this ticket.
  
  Some interesting notes about this:
  
  - I could make Chrome not crash by turning off hardware acceleration in
  its advanced settings. In this case, chrome://gpu would show it is no
  longer using hardware acceleration. It would thus software accelerate
  WebGL on Facebook.com. And thus, no hang/crash.
  
  - I upgraded to the xserver-xorg-video-intel version that is in this
  PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers --
  after this, the problem went away, definitively. I have only been
  running this version for a day, but have had no crashes, and the
  Facebook WebGL reproduction case is no longer a reproduction case.
  
  My suspicion is that this is a bug deep in the intel driver and its
  interaction with certain GPUs, since the hang has happened in more than
- one userland program, and
+ one userland program, and seems to be "repaired" by recent updates in
+ the above-linked PPA.

-- 
You received this bug notification because you are a member of Desktop
Packages, wh