Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Firefox not working on ARM64 #107

Closed
TreeHD opened this issue Dec 4, 2021 · 9 comments
Closed

[BUG] Firefox not working on ARM64 #107

TreeHD opened this issue Dec 4, 2021 · 9 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@TreeHD
Copy link

TreeHD commented Dec 4, 2021

Hello
I'm using docker-compose to deploy it
I can see the cursor
but seems like Browser is unable to Start
Environment : OracleLinux 8 on ARM64@OracleCloud

image

neko-neko-1  | 2021-12-04 20:25:46,153 DEBG 'neko' stdout output:
neko-neko-1  | 8:25PM INF webrtc starting ephemeral_port_range=52000-52100 ice_lite=true ice_servers="[{URLs:[stun:stun.l.google.com:19302] Username: Credential:<nil> CredentialType:password}]" module=webrtc nat_ips=*.*.*.*                                            
neko-neko-1  |
neko-neko-1  | 2021-12-04 20:25:46,153 DEBG 'neko' stdout output:
neko-neko-1  | 8:25PM WRN http listening on :8080 module=http
neko-neko-1  | 8:25PM INF neko ready service=neko
neko-neko-1  |
neko-neko-1  | 2021-12-04 20:25:47,155 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)  
neko-neko-1  | 2021-12-04 20:25:47,155 INFO success: openbox entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:25:47,155 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:25:47,155 INFO success: x-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:25:47,156 INFO spawned: 'firefox' with pid 40
neko-neko-1  | 2021-12-04 20:25:47,156 INFO success: neko entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)  
neko-neko-1  | 2021-12-04 20:25:47,160 DEBG 'firefox' stdout output:
neko-neko-1  | <jemalloc>Compile-time page size does not divide the runtime one.
neko-neko-1  |
neko-neko-1  | 2021-12-04 20:25:47,215 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 4022202976 for <Subprocess at 4022758816 with name firefox in state STARTING> (stdout)>
neko-neko-1  | 2021-12-04 20:25:47,215 INFO exited: firefox (terminated by SIGSEGV (core dumped); not expected)                          
neko-neko-1  | 2021-12-04 20:25:47,215 DEBG received SIGCLD indicating a child quit
neko-neko-1  | 2021-12-04 20:25:49,219 INFO spawned: 'firefox' with pid 42
neko-neko-1  | 2021-12-04 20:25:49,224 DEBG 'firefox' stdout output:
neko-neko-1  | <jemalloc>Compile-time page size does not divide the runtime one.
neko-neko-1  |
neko-neko-1  | 2021-12-04 20:25:49,280 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 4022202976 for <Subprocess at 4022758816 with name firefox in state STARTING> (stdout)>
neko-neko-1  | 2021-12-04 20:25:49,280 INFO exited: firefox (terminated by SIGSEGV (core dumped); not expected)                          
neko-neko-1  | 2021-12-04 20:25:49,281 DEBG received SIGCLD indicating a child quit
neko-neko-1  | 2021-12-04 20:25:52,285 INFO spawned: 'firefox' with pid 44
neko-neko-1  | 2021-12-04 20:25:52,289 DEBG 'firefox' stdout output:
neko-neko-1  | <jemalloc>Compile-time page size does not divide the runtime one.
neko-neko-1  | 
neko-neko-1  | 2021-12-04 20:25:52,349 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 4022202976 for <Subprocess at 4022758816 with name firefox in state STARTING> (stdout)>
neko-neko-1  | 2021-12-04 20:25:52,349 INFO exited: firefox (terminated by SIGSEGV (core dumped); not expected)
neko-neko-1  | 2021-12-04 20:25:52,349 DEBG received SIGCLD indicating a child quit
neko-neko-1  | 2021-12-04 20:25:53,350 INFO gave up: firefox entered FATAL state, too many start retries too quickly
@m1k1o
Copy link
Owner

m1k1o commented Dec 4, 2021

Yes, looks like Firefox is failing with <jemalloc>Compile-time page size does not divide the runtime one.. I assume, chromium works, it is only firefox specific.

@m1k1o m1k1o changed the title Browser not working Firefox not working on ARM64 Dec 4, 2021
@m1k1o m1k1o added bug Something isn't working help wanted Extra attention is needed labels Dec 4, 2021
@m1k1o m1k1o changed the title Firefox not working on ARM64 [BUG] Firefox not working on ARM64 Dec 4, 2021
@TreeHD
Copy link
Author

TreeHD commented Dec 4, 2021

Yes, looks like Firefox is failing with <jemalloc>Compile-time page size does not divide the runtime one.. I assume, chromium works, it is only firefox specific.

I've try with arm-chromium
still not working

neko-neko-1  | 2021-12-04 20:43:12,026 DEBG 'neko' stdout output:
neko-neko-1  | 8:43PM WRN http listening on :8080 module=http
neko-neko-1  | 8:43PM INF neko ready service=neko
neko-neko-1  | 
neko-neko-1  | 2021-12-04 20:43:13,027 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:43:13,027 INFO success: openbox entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:43:13,028 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:43:13,028 INFO success: x-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:43:13,028 INFO success: neko entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
neko-neko-1  | 2021-12-04 20:43:13,029 INFO spawned: 'chromium' with pid 48
neko-neko-1  | 2021-12-04 20:43:13,214 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 4077384568 for <Subprocess at 4077940128 with name chromium in state STARTING> (stdout)>
neko-neko-1  | 2021-12-04 20:43:13,214 INFO exited: chromium (terminated by SIGSEGV (core dumped); not expected)
neko-neko-1  | 2021-12-04 20:43:13,214 DEBG received SIGCLD indicating a child quit
neko-neko-1  | 2021-12-04 20:43:15,218 INFO spawned: 'chromium' with pid 60
neko-neko-1  | 2021-12-04 20:43:15,402 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 4077384568 for <Subprocess at 4077940128 with name chromium in state STARTING> (stdout)>
neko-neko-1  | 2021-12-04 20:43:15,402 INFO exited: chromium (terminated by SIGSEGV (core dumped); not expected)
neko-neko-1  | 2021-12-04 20:43:15,403 DEBG received SIGCLD indicating a child quit
neko-neko-1  | 2021-12-04 20:43:18,407 INFO spawned: 'chromium' with pid 72
neko-neko-1  | 2021-12-04 20:43:18,602 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 4077384568 for <Subprocess at 4077940128 with name chromium in state STARTING> (stdout)>
neko-neko-1  | 2021-12-04 20:43:18,602 INFO exited: chromium (terminated by SIGSEGV (core dumped); not expected)
neko-neko-1  | 2021-12-04 20:43:18,602 DEBG received SIGCLD indicating a child quit
neko-neko-1  | 2021-12-04 20:43:19,604 INFO gave up: chromium entered FATAL state, too many start retries too quickly

@m1k1o
Copy link
Owner

m1k1o commented Dec 4, 2021

Could you try to build own images? Provided ARM images are not up to date, its WIP: #102

@Sancho41
Copy link

Sancho41 commented Dec 8, 2021

I've managed to fix it by change de arm-base Dockerfile images to arm64v8. After that I was struggling with de file /usr/bin/dbus. So I runned dos2unix on that and everything just worked fine!

@Sancho41
Copy link

Sancho41 commented Dec 8, 2021

I pushed an image to docker hub for testing: sancho41/neko/arm-firefox

@Sancho41
Copy link

Sancho41 commented Dec 9, 2021

Now I'm facing another problem. I cant install any browser version with DRM support....

@m1k1o
Copy link
Owner

m1k1o commented Dec 9, 2021

I cant install any browser version with DRM support....

I faced the same issue, could not fix. #93 (comment)

@Sancho41
Copy link

I managed to install firefox in version 95. The problem is, widevine has no build to arm64.... So is not possible to install drm on firefox. I've tried to install chromium, but i got segementation fault every time I try to run it.

I'm really trying to make it work. This free tier in oracle is perfect for neko (24gb of ram and 4 cpu cores)

@m1k1o
Copy link
Owner

m1k1o commented Sep 30, 2022

So this is working just DRM is not working. That should be a separate issue.

@m1k1o m1k1o closed this as completed Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants