Open Bug 1427043 Opened 8 years ago Updated 3 months ago

Reproducible Intel GPU hang on certain page [Linux]

Categories

(Core :: Graphics, defect, P3)

57 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bwat47, Unassigned)

Details

(Keywords: hang, Whiteboard: [gfx-noted])

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.24 Safari/537.36 Steps to reproduce: 1. Enable OpenGL layers in about:config and restart firefox 2. Navigate to this page: https://www.thebalance.com/obama-tax-cuts-3306330 Actual results: Firefox Completely hangs, and eventually the firefox window turns all black If I look at dmesg in the terminal I see: [ 2442.865994] [drm] GPU HANG: ecode 9:0:0x85dffffb, in Compositor [4679], reason: Hang on rcs0, action: reset [ 2442.865995] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [ 2442.865995] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel [ 2442.865996] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [ 2442.865996] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [ 2442.865997] [drm] GPU crash dump saved to /sys/class/drm/card0/error [ 2442.866002] i915 0000:00:02.0: Resetting rcs0 after gpu hang [ 2450.853937] i915 0000:00:02.0: Resetting rcs0 after gpu hang Expected results: Firefox should not cause a gpu hang NOTES: - If I disable OpenGL layers there's no hang - Using chrome/chromium with opengl acceleration has no hang on the same page Other notes: - Firefox Version: 57.0.2 64-bit - Hardware: Dell XPS 13 9360 FHD - Distro: Solus - Graphics info: Display Server: x11 (X.Org 1.19.5 ) drivers: modesetting (unloaded: fbdev,vesa) Resolution: 1920x1080@59.93hz OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) version: 4.5 Mesa 17.3.1 Direct Render: Yes
Keywords: hang
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → Graphics
Product: Firefox → Core
Hi Brandon, Could you tell me what config you want to turn on? layers.geometry.opengl.enabled or layers.acceleration.disabled? Thanks!
Flags: needinfo?(bwat47)
The only options I turned on were: layers.acceleration.force-enabled true gfx.canvas.azure.accelerated true
Flags: needinfo?(bwat47)
On Linux, we don't suppose users should enable hardware layer compositor instead of software one. Right? :bas.
Flags: needinfo?(bas)
(In reply to Daosheng Mu[:daoshengmu] from comment #4) > On Linux, we don't suppose users should enable hardware layer compositor > instead of software one. Right? :bas. Correct, it is not supported. I believe gfx.canvas.azure.accelerated also does nothing on Linux.
Flags: needinfo?(bas)
Per Comment 5, hardware layer compositor doesn't support yet on Linux. We mark it as as a future work.
Priority: -- → P3
Whiteboard: [gfx-noted]
fwiw, I can no longer reproduce this if I use webrender I tried firefox nightly, and with just opengl layers enabled I get the hang With webrender enabled the page works without hanging
the gpu hang has been fixed in mesa: https://bugs.freedesktop.org/show_bug.cgi?id=104411
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.