Closed Bug 1708468 Opened 3 years ago Closed 2 years ago

UI is extremely sluggish after upgrade to FF 88 on Linux gen6 GT1

Categories

(Core :: Graphics, defect)

Firefox 88
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: mwolf, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

I upgraded firefox to version 88 on my ubuntu 20.04 system through apt package manager.

Actual results:

After the Update, I noticed that the UI became extremely sluggish and barely useable. The refreshrate was between 30-60 seconds. I also noticed if I minimize/maximize the browser, the content refreshes instantly.

After I disabled hardware-acceleration in Settings, the browser becomes usable again.

My System is an i5-2500 on a DQ67SW Mainboard with 8GB DDR3. I use the Intel HD2000 onboard videocard.

Additionally I tested with the binary from mozilla directly and it produces the same error.

Expected results:

Normal browsing.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Graphics
Product: Firefox → Core

Can you upload a profile of when the problem is happening using https://profiler.firefox.com/ ? Use the Firefox Graphics setting.

Flags: needinfo?(mwolf)
Attached image profiler.jpg

I am unable to upload the profile because I can't press the proper buttons.
It took me an hour just to get this screenshot.

Flags: needinfo?(mwolf)

Also you might notice, when I ran the profiler I did not have the firefox window maximized, I did later on, when the page was rendered. It did not refresh and stretch accordingly.

Okay, sorry about that.

Does the problem happen in a fresh profile or only your main profile?

If it happens in a fresh profile can you use https://mozilla.github.io/mozregression/ to narrow down what caused the problem?

Flags: needinfo?(mwolf)

Now it gets very odd, at first I did a bisect between 86 and 88 but I could not get a single "good" build, which I find highly improbable.
Then I tested a single bisect (85) and it also did not work.
Afterwards I jumped back to 78 which worked.
I think I have a general issue with hardware acceleration, but I have neither updated or installed any packages related to that topic (at least to my limited knowledge)

What can I do to get on the ground of it?
vainfo looks normal:
wolf@wolf-Desktop-PC:$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Desktop - 2.4.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
wolf@wolf-Desktop-PC:
$

Flags: needinfo?(mwolf)

You could try bisecting from 78 onwards.

Uploading a copy of your about:support (with a buggy build if possible) is a place to start to see what graphics options you have enabled.

There are prefs to flip like gfx.webrender.force-disabled or gfx.webrender.compositor that might help.

I will give it a try.
I have to work now, I will post my results later tonight.
Thank you for your help!

This is pretty worrying :(
We don't have a similar machine in the inventory to try this out.
Getting an FF profile would be most useful.

Blocks: gfx-triage
Severity: -- → S2

Sorry for taking so long, it is really a pain to get something copy & pasted out of Firefox with HW acceleration enabled.

I really hope it helps, I waited more than an hour till I figured out how I could save the file.
(had to open the archive FF produced and then extract it, saving it directly did not work)

I will run the bisect starting with FF 78 now.

The Bisection did the following and is probably not helpful:
Add Intel Gen 6 GT1 (Sandybridge) and allow it to ride to early beta.
https://phabricator.services.mozilla.com/D89613

The odd thing is, why is it stopping to work now, when it worked for months ...

Flags: needinfo?(aosmond)

Matrin, can you try setting gfx.webrender.software=true and seeing if that helps?

Flags: needinfo?(mwolf)

yes that helps

Flags: needinfo?(mwolf)

Can you try also setting gfx.webrender.software.opengl=true, restarting and comparing?

Flags: needinfo?(mwolf)

I was not 100% sure how to test so I did the following:

with gfx.webrender.software.opengl = true
and back to gfx.webrender.software = false
the problem still persists

when I set both to "true", the problem is remedied

Flags: needinfo?(mwolf)
Summary: UI is extremely sluggish after upgrade to FF 88 → UI is extremely sluggish after upgrade to FF 88 on Linux gen6 GT1

I tested on an i7-2600, gen6 gt1 (0x0102) with Ubuntu 20.04 on X11 and Wayland. It seems to perform okay browsing around. From comment 3, I assume that even startup is painful, so I would have seen it in general if I was able to reproduce.

Flags: needinfo?(aosmond)

Before I tested with GNOME; I installed XFCE today and tested there with lightdm, works fine for me. Do you have GNOME installed / does it happen there? Have you changed the defaults such as the window/display/etc manager? Thanks!

Flags: needinfo?(mwolf)

no, I am using XFCE on that machine (xubuntu)

Flags: needinfo?(mwolf)

and afaik I have not changed anything there.

I will try a fresh installation on this system and then take a look this weekend.

No longer blocks: gfx-triage
Flags: needinfo?(aosmond)
Flags: needinfo?(aosmond)

Martin, did you get a chance to retry this?

Flags: needinfo?(mwolf)
Severity: S2 → S3

Hey!
Sadly I am unable to retry / reproduce it, since the SSD of the PC broke down months ago, so I took the liberty to install a fresh Fedora 36.
On Fedora the browser works flawlessly.
I really appreciate your help and sorry for not letting you know earlier :(

Flags: needinfo?(mwolf)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: