Closed Bug 1241874 Opened 8 years ago Closed 5 years ago

parts of the page completely black with GL layers on linux

Categories

(Core :: Graphics: Layers, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: nical, Unassigned)

References

()

Details

(Whiteboard: [gfx-noted])

enable layers.acceleration.force-enabled and visit http://www.paris-web.fr/2015/orateurs/

for me all of the layers are black except the background which, I assume, is a color layer.
I have this in the console:

[2698] WARNING: nsWindow::GetNativeData called with bad value: file /home/nical/dev/mozilla/central/widget/gtk/nsWindow.cpp, line 1748
[GLX] widget has VisualID 0x2b
[2698] WARNING: ScopedXErrorHandler being called off main thread, may cause issues: 'NS_IsMainThread()', file /home/nical/dev/mozilla/central/gfx/src/X11Util.cpp, line 64
[2698] WARNING: ScopedXErrorHandler being called off main thread, may cause issues: 'NS_IsMainThread()', file /home/nical/dev/mozilla/central/gfx/src/X11Util.cpp, line 64
[2698] WARNING: ScopedXErrorHandler being called off main thread, may cause issues: 'NS_IsMainThread()', file /home/nical/dev/mozilla/central/gfx/src/X11Util.cpp, line 64
++DOMWINDOW == 13 (0x7f200eb33800) [pid = 2698] [serial = 13] [outer = 0x7f20119ab400]
[2698] WARNING: Image width or height is non-positive: file /home/nical/dev/mozilla/central/layout/base/nsLayoutUtils.cpp, line 6464
[2698] WARNING: Image width or height is non-positive: file /home/nical/dev/mozilla/central/layout/base/nsLayoutUtils.cpp, line 6464
[2698] WARNING: attempt to modify an immutable nsStandardURL: file /home/nical/dev/mozilla/central/netwerk/base/nsStandardURL.cpp, line 1302
[2698] WARNING: Image width or height is non-positive: file /home/nical/dev/mozilla/central/layout/base/nsLayoutUtils.cpp, line 6464
[2698] WARNING: Image width or height is non-positive: file /home/nical/dev/mozilla/central/layout/base/nsLayoutUtils.cpp, line 6464
[2698] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80070057: file /home/nical/dev/mozilla/central/dom/quota/ActorsParent.cpp, line 4055
[2698] WARNING: NS_ENSURE_TRUE(!aStringURI.IsEmpty()) failed: file /home/nical/dev/mozilla/central/docshell/base/nsDefaultURIFixup.cpp, line 163
[2698] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80070057: file /home/nical/dev/mozilla/central/docshell/base/nsDefaultURIFixup.cpp, line 122
[2698] WARNING: GetDefaultCharsetForLocale: need to add multi locale support: file /home/nical/dev/mozilla/central/intl/locale/unix/nsUNIXCharset.cpp, line 101
[2698] WARNING: nsWindow::GetNativeData called with bad value: file /home/nical/dev/mozilla/central/widget/gtk/nsWindow.cpp, line 1748
[GLX] widget has VisualID 0x2b
[2698] WARNING: ScopedXErrorHandler being called off main thread, may cause issues: 'NS_IsMainThread()', file /home/nical/dev/mozilla/central/gfx/src/X11Util.cpp, line 64
[2698] WARNING: Could not get disk status from nsIDiskSpaceWatcher: file /home/nical/dev/mozilla/central/uriloader/prefetch/nsOfflineCacheUpdateService.cpp, line 319
> [2698] WARNING: nsWindow::GetNativeData called with bad value: file
> /home/nical/dev/mozilla/central/widget/gtk/nsWindow.cpp, line 1748

The "bad value" in question is NS_NATIVE_OPENGL_CONTEXT but it looks like this is expected and shortly after that a call to GLContextProvider::CreateForWindow succeeds. This is happening in the initialization of the compositor, so before the issue occurs.
This appears to be broken by the use of `(-webkit-)perspective: 1px` with `(-webkit-)transform-style: preserve-3d`, as well as child divs being set to inherit the parent's transform style on http://www.paris-web.fr/2015/orateurs/; I'll see if I can look into a reduced test case.
Whiteboard: [gfx-noted]
Nical, does this one still happen for you?
Flags: needinfo?(nical.bugzilla)
(In reply to Lee Salzman [:lsalzman] from comment #4)
> Nical, does this one still happen for you?

No, but I think they removed the css properties that were causing the issue.
Flags: needinfo?(nical.bugzilla)
If original case website changed, it might still be archived here
https://web.archive.org/web/20151127142745/http://www.paris-web.fr/2015/orateurs/

The issue doesn't happen with webrender as far as I can tell and it's very unlikely we'll ever ship accelerated layers on linux now that webrender provides a much better alternative.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.