Firefox unusable, OM ROME GNOME community edition

Hi!
So my issue is that firefox opens with a blurry half transparent unreadable window each time…
A few updates ago i managed to remove “hardware acceleration” inside the firefox settings.
In the latest ROME version ,even with this hardware acceleration setting switched off, the blurry window is present…

Any idea what causes the problem? Is that Mesa connected?
It happens both in wayland and xorg
My laptop is a Lenovo Thinkpad L430…
The only linux distribution that i witnessed having the same problem was ROSA gnome edition after latest upgrade as well…

Thanks a lot!
I’ll attach some screenshots



Hi.

At first, how do you use the system. Is it a disk installation or maybe some kind of virtualization like VirtualBox or VMware?

Also tell me what GPU are you using and what driver? Is that Intel integrated graphics?

Please check if the firefox downloaded from the mozilla site has the same problem too.
Go to:
https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

download archive, unpack it and launch firefox binary.

Also you can try run firefox in safe mode by

firefox --safe-mode

EDIT:
can you paste output from terminal with running firefox?

Journal log collected after running firefox would also be useful.
You can grab it by running

journalctl -b > journal.log
this save log to that journal.log file. Please attach it.

Thank you for the answer.
Firstly the command firefox --safe-mode did help! That opened a normal readable window.
Here is the terminal outcome:

$ firefox --safe-mode
ATTENTION: default value of option mesa_glthread overridden by environment.
JavaScript error: resource://gre/modules/URIFixup.jsm, line 307: NS_ERROR_FAILURE: Should pass a non-null uri
[2022-10-21T20:24:45Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
[2022-10-21T20:24:45Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping newtab
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
console.error: "Error during quit-application-granted: [Exception... \"File error: Not found\"  nsresult: \"0x80520012 (NS_ERROR_FILE_NOT_FOUND)\"  location: \"JS frame :: resource:///modules/BrowserGlue.jsm :: _onQuitApplicationGranted/tasks< :: line 2009\"  data: no]"
[a@aa ~]$ firefox --safe-mode
ATTENTION: default value of option mesa_glthread overridden by environment.
[2022-10-21T20:25:55Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
[2022-10-21T20:25:55Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping newtab
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
console.error: "Error during quit-application-granted: [Exception... \"File error: Not found\"  nsresult: \"0x80520012 (NS_ERROR_FILE_NOT_FOUND)\"  location: \"JS frame :: resource:///modules/BrowserGlue.jsm :: _onQuitApplicationGranted/tasks< :: line 2009\"  data: no]"

Then to answer you about my system: It is not virtual, it is installed on disk. Flash-disk to be precise, with f2fs.
My processor is Intel® Core™ i3-3120M × 4
Graphics integrated Mesa Intel® HD Graphics 4000 (IVB GT2)

Here is the output of firefox in terminal:

$ firefox
ATTENTION: default value of option mesa_glthread overridden by environment.
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
[2022-10-21T20:29:13Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping newtab
[2022-10-21T20:29:13Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
JavaScript error: resource://gre/modules/XULStore.jsm, line 58: Error: Can't find profile directory.
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
console.error: "Error during quit-application-granted: [Exception... \"File error: Not found\"  nsresult: \"0x80520012 (NS_ERROR_FILE_NOT_FOUND)\"  location: \"JS frame :: resource:///modules/BrowserGlue.jsm :: _onQuitApplicationGranted/tasks< :: line 2009\"  data: no]"
[a@aa ~]$ firefox
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
[2022-10-21T20:31:04Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping newtab
[2022-10-21T20:31:04Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
JavaScript error: resource://gre/modules/XULStore.jsm, line 58: Error: Can't find profile directory.



Here is the journal log:

oct. 21 22:35:26 w systemd[1238]: Started app-gnome-firefox-5711.scope - Application launched by gnome-shell.
oct. 21 22:35:27 w firefox.desktop[5711]: ATTENTION: default value of option mesa_glthread overridden by environment.
oct. 21 22:35:27 w firefox.desktop[5711]: ATTENTION: default value of option mesa_glthread overridden by environment.
oct. 21 22:35:27 w firefox.desktop[5711]: ATTENTION: default value of option mesa_glthread overridden by environment.
oct. 21 22:35:30 w systemd[1238]: dbus-:1.4-org.gnome.Epiphany.SearchProvider@1.service: Unit process 5551 (WebKitNetworkPr) remains running after unit stopped.
oct. 21 22:35:35 w firefox.desktop[5711]: [2022-10-21T20:35:35Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
oct. 21 22:35:35 w firefox.desktop[5711]: [2022-10-21T20:35:35Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping newtab
oct. 21 22:35:35 w firefox.desktop[5711]: Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
oct. 21 22:35:37 w firefox.desktop[5822]: JavaScript error: resource://gre/modules/XULStore.jsm, line 58: Error: Can't find profile directory.
oct. 21 22:35:38 w firefox.desktop[5711]: Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
oct. 21 22:35:38 w firefox.desktop[5711]: console.error: "Error during quit-application-granted: [Exception... \"File error: Not found\"  nsresult: \"0x80520012 (NS_ERROR_FILE_NOT_FOUND)\"  location: \"JS frame :: resource:///modules/BrowserGlue.jsm :: _onQuitApplicationGranted/tasks< :: line 2009\"  data: no]"```

I think i understand something:
After opening with “safe mode” i could access the browser, and saw that after the update, the setting “Performance
Use recommended performance settings
Use hardware acceleration when available” were ticked.
I did untick those settings previously and that used to solved this graphic bug (that i had before too).
It seems that during the last dnf dsync Firefox updated and somehow those settings got back ticked.
Anyhow now i unticked those settings again and, magic, firefox graphic display is good again!

But nevertheless the question stays…: what is the issue that makes hardware acceleration break firefox’s display?

1 Like

Please check new version from system repository with wayland enabled.

firefox 106.1 is available in cooker and rolling/testing repo.

If this issue is still here, please check tarball from mozilla website.

Hi!
Yes the new version is better!
But it still include visual glitches
Bytheway is it normal that after each upgrade all firefox is “reset” (factory bookmarks and extensions removed)?

1 Like

Yes, that is a feature from upstream (Mozillza). If you want to keep you old profile open FF from Konsole with:

$ firefox -p

find the profile you want and get rid of the rest.

Wao that is a very specific feature!

Here are screenshots from the latest firefox 106.1 available from OM rome repo:

With defaults settings (hardware acceleration ticked): add glitchy:

After the settings of performance and hardware acceleration “unticked”, then all is normal:

I did download firefox-bin from mozilla: exact same issue.

Mozilla devs would rather people not reuse profiles when there is a new version of Firefox for security reasons. They would prefer people use FF sync.

Ofc a lot of us use FF because we can reuse our profiles. And most of the time you can reuse your profile if you know the secret handshake.