Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
0 answers
21 views
Firefox on RISCV-64 fails to detect GPU and falls back to software rendering
I have built Firefox for RISCV-64 architecture on Wayland in Ubuntu 22. sudo apt-get update Dependency packages:- sudo apt-get install -y curl libnspr4 libgtk-3-dev python3-dev llvm-14 llvm-dev libnspr4-dev clang libclang-dev libx11-xcb-dev libevent-dev libdbus-glib-1-dev m4 meson ninja-build libssl...
I have built Firefox for RISCV-64 architecture on Wayland in Ubuntu 22. sudo apt-get update Dependency packages:- sudo apt-get install -y curl libnspr4 libgtk-3-dev python3-dev llvm-14 llvm-dev libnspr4-dev clang libclang-dev libx11-xcb-dev libevent-dev libdbus-glib-1-dev m4 meson ninja-build libssl-dev libxcb-glx0-dev libxkbcommon-dev libgtk-3-dev libxcb-dri2-0-dev libvpx-dev libnss3-dev pip install -U pip pip install -U meson curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source $HOME/.cargo/env cargo install sccache echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc echo 'export RUSTC_WRAPPER="sccache"' >> ~/.bashrc echo 'export SCCACHE_DIR="$HOME/.cache/sccache"' >> ~/.bashrc echo 'export SCCACHE_CACHE_SIZE="10G"' >> ~/.bashrc source ~/.bashrc cargo install cbindgen nodejs(v17.1.0) cairo version upgrade (1.16.0 -> 1.18.4) git clone --branch FIREFOX_139_0_4_RELEASE --single-branch --depth 1 https://github.com/mozilla-firefox/firefox.git cd firefox -> apply the patch related to riscv64 vi mozconfig mk_add_options MOZ_PARALLEL_BUILD=4 ac_add_options --enable-optimize=-O3 ac_add_options --enable-application=browser 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 --enable-strip ac_add_options --enable-system-ffi ac_add_options --with-system-libevent ac_add_options --with-system-nspr ac_add_options --disable-updater ac_add_options --disable-tests ac_add_options --enable-alsa ac_add_options --without-wasm-sandboxed-libraries ac_add_options --with-system-libvpx ac_add_options --with-ccache=sccache ac_add_options MOZ_WEBRENDER=1 MOZ_APP_REMOTINGNAME=Firefox export LDFLAGS="$LDFLAGS -L/usr/local/lib/riscv64-linux-gnu -L/usr/local/lib -lcairo -lX11 -lXext -lfreetype -lEGL -lGLESv2" export CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/freetype2" export MOZ_ACCELERATED=1 export LIBVA_DRIVERS_PATH=/usr/lib/riscv64-linux-gnu/dri sudo chown -R $USER:$USER /home/user/firefox ./mach vendor rust --ignore-modified ./mach build I followed these steps to build my firefox Actual results: However, it is failing to detect my Mesa GPU driver.When I checked the about:support page in Firefox,under the Graphics section, the composition is listed as WebRender(software), the WebGL driver information is missing, and although the GPU is shown as active, no description is provided. Expected results: Firefox Should detect my GPU Mesa driver and Compositing should show Webrender (hardware),WebGL 1 Driver & WebGL 2 Driver information should be correctly listed and GPU details should display correct. Are there any code changes are required for firefox which is purely built on egl backend on wayland platform?enter image description here and during startup, i am getting the following logs Can someone help me to resolve this issue?
Saiteja (1 rep)
Jul 25, 2025, 05:32 AM • Last activity: Jul 29, 2025, 06:13 PM
4 votes
4 answers
7550 views
How do I turn off the "Running in software rendering mode" warning?
I'm running Arch Linux/Cinnamon in Virtual Box on a Windows 7 machine. One of the technologies I need to use is WebGL. For whatever reason (that's a different issue), WebGL will not work when Display->Screen->Enable 3D Acceleration is enabled in Virtual Box. As a result, I've turned off 3D Accelerat...
I'm running Arch Linux/Cinnamon in Virtual Box on a Windows 7 machine. One of the technologies I need to use is WebGL. For whatever reason (that's a different issue), WebGL will not work when Display->Screen->Enable 3D Acceleration is enabled in Virtual Box. As a result, I've turned off 3D Acceleration, and am able to use WebGL just fine. When I boot, though, I get a warning telling me I am running in software rendering mode. Is there some way to disable this warning?
Mike (175 rep)
Jul 14, 2016, 04:02 PM • Last activity: Feb 19, 2022, 02:04 PM
0 votes
1 answers
410 views
Slow webgl in chrome in Linux Mint
Does webgl run extremely slow in linux? I was running this [experiment](https://webglsamples.org/aquarium/aquarium.html) and fps never reached even 10 for 100 number of fishes. My cpu is i5 7200U(IGPU). Even my android phone can manage to run this at 30 fps. Is that a problem with the drivers? And i...
Does webgl run extremely slow in linux? I was running this [experiment](https://webglsamples.org/aquarium/aquarium.html) and fps never reached even 10 for 100 number of fishes. My cpu is i5 7200U(IGPU). Even my android phone can manage to run this at 30 fps. Is that a problem with the drivers? And if yes, how can I fix that? I am running latest version(19.3) of linux mint.
user157588 (103 rep)
May 16, 2020, 05:45 PM • Last activity: May 21, 2020, 11:16 AM
3 votes
1 answers
4793 views
WebGL not working with Firefox, Intel HD graphics, ArchLinux, and Thinkpad T540p
Is anyone having issues getting webGL to work on Firefox? https://get.webgl.org/ It was working 1-2 months ago, but is now broken. Works fine on Chromium. I set `webgl.force-enabled;` to `true`, but no luck. Not sure if there are other promising configs - I did a search for "webgl" in the `about:con...
Is anyone having issues getting webGL to work on Firefox? https://get.webgl.org/ It was working 1-2 months ago, but is now broken. Works fine on Chromium. I set webgl.force-enabled; to true, but no luck. Not sure if there are other promising configs - I did a search for "webgl" in the about:config page, but I can't find anything promising. Here is some info on my system:
[my-pc]/home/me$ firefox --version
Mozilla Firefox 43.0.4
[my-pc]/home/me$ uname -a
Linux my-pc 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux
[my-pc]/home/me$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
I also tried starting firefox with --safe-mode and with --profile /path/to/empty/folder but webGL is still not working. Any suggestions?
modulitos (3275 rep)
Jan 21, 2016, 07:56 AM • Last activity: Aug 23, 2018, 04:02 AM
1 votes
0 answers
1185 views
Firefox inside of a Docker-Container is very slow - How to get Drivers inside
I am trying to put a Firefox Webbrowser into a Docker-Container and access it via X2Go. It works, but it is unusable slow. Looking at about:support it seems it misses drivers. What drivers are needed to make the experience usable and how can i get them into a Docker-Container? [![The Output of the a...
I am trying to put a Firefox Webbrowser into a Docker-Container and access it via X2Go. It works, but it is unusable slow. Looking at about:support it seems it misses drivers. What drivers are needed to make the experience usable and how can i get them into a Docker-Container? The Output of the about:support-Site
Joscha (11 rep)
Sep 1, 2017, 12:15 PM
0 votes
1 answers
450 views
How to enable Web GL in Chrome driver?
I am using selenium to run nightwatch tests. It uses a chrome driver to run the tests. How do I enable Web GL in the chrome driver?
I am using selenium to run nightwatch tests. It uses a chrome driver to run the tests. How do I enable Web GL in the chrome driver?
Chris Hansen (151 rep)
Jun 17, 2016, 03:25 PM • Last activity: May 9, 2017, 12:36 PM
Showing page 1 of 6 total questions