Slow & Poor Performance of Mozilla FireFox (v135) on RISC-V64

Hi Team, I’ve successfully built Firefox v135 from source on our internal development RISC-V64 platform running on Ubuntu 22.04 with GNOME 42.9 (Xorg & Wayland), Our… (read more)

Hi Team,

I’ve successfully built Firefox v135 from source on our internal development RISC-V64 platform running on Ubuntu 22.04 with GNOME 42.9 (Xorg & Wayland), Our RISC-V Development platform does include a GPU HW which support HW Acceleration for GNOME & other 3rd Apps (Supporting X & Wayland), and Work seamlessly without any issues.


The FireFox v135 Application (via ./mach run) starts up normally. But the major issue I'm observing is that Firefox browser is very slow and laggy, especially during search operations and video playback on YouTube I see a poor performance. Upon further check I found that the most of the work is getting done over the CPU and the utilization is quite high, which is causing the FireFox to perform poorly. I also did try to switching to "Use hardware acceleration when available" in the Mozilla FireFox Settings, but still there is no difference with or without this check and Mozilla FireFox browsing Experience is very poor.

Kindly do let me know how we can enhance and improve the overall performance of FireFox Browsing Experience on my RISC-V platform. Any Support and Help is highly appreciative!

Attached a Build Steps and Configuration used for building Mozilla FireFox v135 on my RISC-V64 platform, let us know if there is anything missed. Thank you!


**BUILD STEPS**


1. Clone the Firefox source (v135.0.1):

git clone --branch FIREFOX_135_0_1_RELEASE --single-branch --depth 1 https://github.com/mozilla-firefox/firefox.git cd firefox

2. Install required dependencies:

sudo apt-get update sudo apt-get install -y curl python3-dev libnspr4 libgtk-3-dev llvm-14 llvm-dev clang libclang-dev libx11-xcb-dev libevent-dev libdbus-glib-1-dev m4 libnspr4-dev meson

3. Install Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source $HOME/.cargo/env

4. Install Python and Rust-related tools:

pip install --upgrade pip pip install uniffi-bindgen referencing==0.29.1 cargo install cbindgen

5. Apply the RISC-V compatibility patch:

patch -Np1 -i firefox-riscv64-hack.patch

6. Create the mozconfig file with custom build options:

ac_add_options --with-app-name=firefox ac_add_options --disable-release ac_add_options --enable-hardening ac_add_options --enable-rust-simd ac_add_options --enable-linker=bfd ac_add_options --disable-bootstrap ac_add_options --enable-official-branding ac_add_options --with-branding=browser/branding/official ac_add_options --enable-update-channel=release ac_add_options --with-unsigned-addon-scopes=app,system ac_add_options --allow-addon-sideload ac_add_options --enable-default-toolkit=cairo-gtk3-wayland ac_add_options --with-system-zlib ac_add_options --disable-strip ac_add_options --disable-install-strip ac_add_options --enable-system-ffi ac_add_options --with-system-libevent ac_add_options --with-system-nspr

  1. ac_add_options --with-system-nss

ac_add_options --disable-updater ac_add_options --disable-tests ac_add_options --enable-alsa ac_add_options --without-wasm-sandboxed-libraries

7. Vendor Rust dependencies:

./mach vendor rust --ignore-modified

8. Upgrade Cairo from 1.16.0 to 1.18.4:

  1. Extract and build Cairo 1.18.4

tar -xvf cairo-1.18.4.tar.xz cd cairo-1.18.4 mkdir build && cd build meson .. --prefix=/usr/local ninja sudo meson install

9. Build Firefox:

cd firefox ./mach build


Regards, Saiteja.

Asked by Sai Teja 18 hours ago

sleeping tabs

Recently, tabs have started going to "sleep" after being inactive for a few minutes. I can't find the setting to prevent this.

Asked by chriso1 18 hours ago

Emails and Donation Links

Hi I'm wondering what people think about emails providing links for donations. If the email address is spoofed and the link is malicious were in trouble. So, assuming the… (read more)

Hi I'm wondering what people think about emails providing links for donations. If the email address is spoofed and the link is malicious were in trouble. So, assuming the email I received today was from Mozilla (and not a spoofed email address, shouldn't Mozilla ask us to visit it's webpage to make a donation rather than email us a link? Regards

Asked by alan127 1 day ago

Last reply by alan127 20 hours ago

https://cdn.profitbase.ru/

возникает проблема при подключении к https://cdn.profitbase.ru/ браузер считает сайт не безопасным, что у него нет ssl правильно подписанного сертификата хотя это не так … (read more)

возникает проблема при подключении к https://cdn.profitbase.ru/ браузер считает сайт не безопасным, что у него нет ssl правильно подписанного сертификата хотя это не так

Asked by razo0movskii 3 days ago

Last reply by razo0movskii 22 hours ago

soucis ad block

bonjour cela fait plusieurs fois que je ne peux accéder a certains sites à cause d un bloqueur de publicité j ai trouvé des solutions sur internet mais je ne trouve pas a… (read more)

bonjour cela fait plusieurs fois que je ne peux accéder a certains sites à cause d un bloqueur de publicité j ai trouvé des solutions sur internet mais je ne trouve pas ad blocker sur mon pc . pouvez vous me guider s il vous plait

Asked by jfivefox 22 hours ago

Can't save tabs

I recently purchased a new computer, transferred everything over and everything seemed to going fine until tonight. I accidentally exited Firefox and when I started it a… (read more)

I recently purchased a new computer, transferred everything over and everything seemed to going fine until tonight. I accidentally exited Firefox and when I started it again, everything was gone. I closed and tried again, same results. Not only were all open tabs gone, but so was may History. I just someone from the Geek Squad spend over 2 hours working on this, but same results. This setup has worked for years, what did I do wrong?

Mike Taylor

Asked by Michael Taylor 1 day ago

How to disable persistent zoom level?

Firefox 139.0.1 (64-bit) on Windows 11 I occasionally increase the zoom level of websites (usually forums) with Ctrl+mouse wheel if the default text size is too small. H… (read more)

Firefox 139.0.1 (64-bit) on Windows 11

I occasionally increase the zoom level of websites (usually forums) with Ctrl+mouse wheel if the default text size is too small. However, if I forget to set them back to 100% (Ctrl+0) before closing the tab, the next time I open that URL, it's at the former adjusted zoom level -- not 100%. Really annoying.

How do I force Firefox to open all URLs at 100% regardless of the last custom zoom level? I have default zoom already set to 100% in Settings and Zoom Text Only is not enabled.

Thanks.

Asked by lphilpot01 2 days ago

Last reply by lphilpot01 1 day ago

Feedback on Recent Browser Stability Issues

Dear Mozilla Team, I’ve been a loyal Firefox user for over 15 years, and it’s been my go-to browser for both personal and work-related tasks. However, recently I’ve enco… (read more)

Dear Mozilla Team,

I’ve been a loyal Firefox user for over 15 years, and it’s been my go-to browser for both personal and work-related tasks. However, recently I’ve encountered persistent issues where several websites—especially work-related ones—have stopped functioning properly. I’ve tried troubleshooting steps like clearing the cache, allowing cookies, and disabling tracking protections, but the problems persist.

Reluctantly, I switched to Google Chrome as it currently offers better stability, but it’s been hard to abandon Firefox after so many years. I truly value Mozilla’s mission and privacy-focused approach, and I’d love to return if these issues are addressed.

Could you please look into these compatibility problems? I’d appreciate any guidance or updates on fixes. Thank you for your hard work—I hope to support Firefox again soon.

Best regards, Gustavo

Asked by Gustavo Velez 3 days ago

Last reply by Gustavo Velez 1 day ago

why does my mozilla firefox hang and ask me to restore session and the tabs dont open up or take a long time

why does my mozilla firefox hang and ask me to restore session and the tabs dont open up or take a long time . please send answer to [email removed]@yahoo.com. it took a… (read more)

why does my mozilla firefox hang and ask me to restore session and the tabs dont open up or take a long time . please send answer to [email removed]@yahoo.com. it took a while for sign in page to show up so i could sign into yahoo.com

Asked by freckles44310 2 days ago

Erreur

J'ai l'affichage suivant,je n'arrive pas à ouvrir les pages SSL_ERROR

Asked by Mario 1 day ago

Locked out

I'm having problems logging in to firefox on my pc with my gmail account that i mainly use. I don't have any keys and don't remember what i did with them, i have swapped … (read more)

I'm having problems logging in to firefox on my pc with my gmail account that i mainly use. I don't have any keys and don't remember what i did with them, i have swapped computers and browsers and the old computer was reset years ago. I also don't have the authenticator for mozilla on my phone, don't remember what happened to it. I have access to my email, could i somehow get an authenticate code or backup authentication code sent to it or can i just never log into firefox with it again?

Asked by sad dsa 4 days ago

Firefox limita conexões WebSocket simultâneas em sistemas web?

Olá pessoal, bom dia, sou novo como desenvolvedor do Firefox. Nosso sistema para loja de roupas é online e utiliza WebSocket para comunicação em tempo real entre o naveg… (read more)

Olá pessoal, bom dia, sou novo como desenvolvedor do Firefox.

Nosso sistema para loja de roupas é online e utiliza WebSocket para comunicação em tempo real entre o navegador e o servidor. Alguns usuários que abrem múltiplas abas do sistema relatam desconexões aleatórias no Firefox.

Existe algum limite de conexões WebSocket por origem/domínio ou alguma política diferente no Firefox? Sistema usado: https://erppro.com.br/sistema-para-lojas-de-roupas/.

Alguém pode me ajudar com está dúvida inicial?

Asked by Adriano Machado 1 day ago

Firefox tem alguma limitação para impressão direta via JavaScript em sistemas web?

Olá pessoal da comunidade Firefox! Estamos utilizando um sistema ERP em nuvem para gestão de loja de roupas, loja de calçados e mercados, com impressão direta de cupons … (read more)

Olá pessoal da comunidade Firefox!

Estamos utilizando um sistema ERP em nuvem para gestão de loja de roupas, loja de calçados e mercados, com impressão direta de cupons fiscais e etiquetas usando comandos JavaScript.

Funciona bem no Chrome, mas no Firefox alguns clientes relatam que a janela de impressão demora a abrir ou trava. O sistema ERP para lojas é o da ERPPro, veja: https://erppro.com.br/sistema-para-lojas-de-roupas/

Há alguma configuração ou recomendação específica para esse tipo de caso no Firefox?

Asked by Adriano Machado 1 day ago

firefox will not open any new windows, only tabs

Why won't Firefox open any new windows? I give ir the command to open a window and yet all i get are tabs and I never click on open a tab. I have an HP probook this for w… (read more)

Why won't Firefox open any new windows? I give ir the command to open a window and yet all i get are tabs and I never click on open a tab. I have an HP probook this for windows 10 and i am also having the same problem with Chrome. I have uninstalled and reinstalled chrome and that did not fix it so it is not that. What would cause this? I have already cleared the cache cookies history browsing etc. and nothing is fixing it. PLEASE HELP.

Asked by GINAHERE 2 days ago

Last reply by GINAHERE 2 days ago

Using F8 in the Debug Section in the Developer Tools Doesn't Always Pause the Page

The pause feature in the debug menu doesn't always work. Pressing F8 to toggle it does in general work, but I noticed when I enter a context menu on some websites, pressi… (read more)

The pause feature in the debug menu doesn't always work. Pressing F8 to toggle it does in general work, but I noticed when I enter a context menu on some websites, pressing F8 with the debug menu open doesn't do anything. This is especially annoying for me because when I am making UserStyles (custom user-made CSS) for websites, some elements disappear when trying to find them in inspect element using the "pick an element from the page" feature. I thought pausing could fix it (which in other cases can) but that also wasn't working. If anyone can help me that would be appreciated!

(Also, pressing the pause button directly also makes the element disappear, so that wont work)

Asked by SatinFoil 3 days ago

Last reply by SatinFoil 2 days ago

Recent update makes tabs refresh despite auto refresh being turned off

Recently I've noticed that my tabs auto refresh if I have'nt been in them for a while. I turned that off ages ago cus I hate it. Now, all of a sudden they refresh again. … (read more)

Recently I've noticed that my tabs auto refresh if I have'nt been in them for a while. I turned that off ages ago cus I hate it. Now, all of a sudden they refresh again.

accessibility.blockautorefresh services.sync.prefs.sync-seen.accessibility.blockautorefresh

Are both set to true, which I'm pretty sure was supposed to block auto refresh.

I don't know what else to do.

I'm on Firefox version 139.0.1 (64-bit), Windows 11.

Asked by Saft 2 days ago