Bug 1255917

Summary: Offscreen surfaces and OMTC causes jumping elements
Product: [Fedora] Fedora Reporter: Michael Cronenworth <mike>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: alex.ploumistos, baptiste.millemathias, gecko-bugs-nobody, jhorak, kparal, mike, pjasicek, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: firefox-41.0-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-25 14:05:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Cronenworth 2015-08-21 21:30:33 UTC
Description of problem:
When I scroll up or down through my RSS feed list at feedly.com the top title bar and left side bar acts like a rubber band and skips and snaps back in place.

Disabling offscreen surfaces, but leaving OMTC enabled, keeps those elements static like they should be.


Version-Release number of selected component (if applicable):
firefox-40.0-4.fc22.x86_64


How reproducible: Always


Steps to Reproduce:
1. Sign up for https://feedly.com
2. Add a RSS feed with a lot of items like Rock, Paper, Shotgun
3. Scroll down far enough to cause the top bar to change into an overlay element
4. Scroll back up and notice the rubber band effect on the top bar.

Actual results: Rubber band action on top bar element.


Expected results: Element should be static / not moving during scrolling.


Additional info:
Happens on these systems:
NVIDIA binary driver 340.76, Geforce 9500 GT, 4.1.5 kernel
Mesa 10.6.3, Intel Iris 5100, 4.1.5 kernel

Comment 1 Martin Stransky 2015-08-24 06:46:23 UTC
Yes, I can see that too.

Comment 2 Martin Stransky 2015-08-25 06:40:56 UTC
Can you please test latest nightly (https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-43.0a1.en-US.linux-x86_64.tar.bz2)? I can't preproduce that with system-cairo which is used here. Thanks!

Comment 3 Martin Stransky 2015-08-25 10:02:39 UTC
(In reply to Martin Stransky from comment #2)
> I can't preproduce that with
> system-cairo which is used here. Thanks!

Sorry, I mean in-tree cairo of course.

Comment 4 Baptiste Mille-Mathias 2015-08-29 16:43:16 UTC
Same problem for me.
VGA: Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
kernel: 4.1.5-200 / mesa: 10.6.3

Comment 5 Kamil Páral 2015-08-31 15:40:06 UTC
When tested with Firefox 40 as requested here [1], I have seen heavy flickering on mapy.cz (online maps) when zooming. The longer I used the browser, the more it seemed to flicker. Radeon R9 270, radeonsi driver, F22.

When tested with build from comment 2 (also using the same setup instructions), I no longer see the flickering issue. The overall performance seems to be great, BUT I had to run it in safe mode, otherwise I experienced huge lockups during map zooming/shifting. Firefox warned me about AdBlock Plus performance, so I expect that to be the culprit. I had tested this just for 15 minutes, so take findings words with a bit of salt.

[1] https://lists.fedoraproject.org/pipermail/devel/2015-August/213645.html

Comment 6 Michael Cronenworth 2015-09-01 03:40:38 UTC
The nightly does not show any weird artifacts when offscreen surfaces is enabled.

Comment 7 Martin Stransky 2015-09-01 10:57:51 UTC
Thanks for testing, the in-tree cairo seems to work much better than the system one.

Comment 8 Martin Stransky 2015-09-24 12:49:12 UTC
Can you please test with Firefox 41? (already in Koji, may be in updates someday :))

Comment 9 Michael Cronenworth 2015-09-24 13:41:11 UTC
I'm using firefox-41.0-4.fc22.x86_64. OMTC is enabled, layers.acceleration.force-enabled and layers.use-image-offscreen-surfaces are set to true.

The visual artifacts originally reported are now not happening, but I do see visual errors on the New Tab page. When I use the mouse to hover over a web page on the New Tab page the transition from light grey to black around the address area flickers. It only flickers during the animation of the transition. During the transition I sometimes briefly see a grey firefox logo flicker inside the website's screenshot area.

Comment 10 Alexander Ploumistos 2015-09-24 15:10:22 UTC
Same firefox build as Michael's, everything enabled, but not getting any flickering or anything else.
Also, the about:config page is now legible!

Comment 11 Martin Stransky 2015-09-25 14:05:56 UTC
(In reply to Michael Cronenworth from comment #9)
> I'm using firefox-41.0-4.fc22.x86_64. OMTC is enabled,
> layers.acceleration.force-enabled and layers.use-image-offscreen-surfaces
> are set to true.
> 
> The visual artifacts originally reported are now not happening, but I do see
> visual errors on the New Tab page. When I use the mouse to hover over a web
> page on the New Tab page the transition from light grey to black around the
> address area flickers. It only flickers during the animation of the
> transition. During the transition I sometimes briefly see a grey firefox
> logo flicker inside the website's screenshot area.

Please try without the acceleration. This bug is about flickering produced by system-cairo - please file a new one. Thanks!