Open Bug 1450169 Opened 6 years ago Updated 2 years ago

Firefox fails to render window when run in an Arch Linux chroot on an aarch64 Android tablet

Categories

(Core :: Web Painting, defect, P3)

60 Branch
ARM64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: robsmith11, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180316104221

Steps to reproduce:

1. Run Arch Arm Linux (for aarch64) in a chroot on an Android 7 phone.
2. Start vncserver.
3. Connect to the local server with VNC Viewer.
4. Start Firefox (installed via Arch Arm Linux)


Actual results:

A window for Firefox opens, but it is just black.
Error messages are printed out to console like:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to lock new back buffer. (t=8.4075)


Expected results:

Rendered a website.
Ignore the first post, after further testing, the bug is not related to VNC.  I can reproduce it whether I'm using X11 forwarding or even a local X11 server.

I'm trying to run Firefox for aarch64 in a Arch Arm Linux chroot on an Android tablet, but it fails to render, only producing a black window with the error:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to lock new back buffer. (t=8.4075)

There's probably some device/file/permissions that it needs that isn't available in the chroot, but the error produced doesn't provide enough information.

I would expect either Firefox to run (maybe falling back to a more basic form of rendering) or at least to give an error message with more information.
OS: Unspecified → Linux
Hardware: Unspecified → ARM64
Summary: Firefox fails to render window when run with Xvnc and VNC → Firefox fails to render window when run in an Arch Linux chroot on an aarch64 Android tablet
After some discussion with our team, we determined this might be a Firefox for Android issue instead. Please let us know if that's not the case. Thanks.
Component: Untriaged → General
Product: Firefox → Firefox for Android
As far as I can tell, this is about installing a Linux distro on an Android phone and then attempting to run desktop Firefox on it.
Component: General → Untriaged
Product: Firefox for Android → Firefox
Per Comment 3.
Component: Untriaged → Layout: View Rendering
Product: Firefox → Core
Yes, as Jan commented, this issue is for desktop Firefox, not Fennec.
Some further details of what I tried:

1. Open termux on a rooted Android device (I'm using Android 7.1) with selinux disabled (setenforce 0).
2. Download and extract an Arch Arm Linux base image (I've also tried Debian with the same results).
3. Mount dev, proc, and sys in the chroot.
4. Chroot into Arch Linux and start sshd.
5. From another PC run "ssh -Y" and launch xterm.  ('ve also used a local X server and vncserver with the same results.)
6. Install and run Arch's packaged firefox.
Found the problem.  Android doesn't create "/dev/shm".  After running "mount -t tmpfs tmpfs /dev/shm", firefox is working perfectly.

Maybe the error could mention that it failed to write to /dev/shm?
Priority: -- → P3
Component: Layout: View Rendering → Layout: Web Painting
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.