qishibo / AnotherRedisDesktopManager

🚀🚀🚀A faster, better and more stable Redis desktop manager [GUI client], compatible with Linux, Windows, Mac.
MIT License
30.41k stars 2.56k forks source link

[Feature request] Linux arm64 build #1161

Open cmalvi opened 8 months ago

cmalvi commented 8 months ago

OS

Fedora arm64 (Asahi)

ISSUE DESCRIPTION

Tried building myself but the resulted appimage gave segmentation fault

qishibo commented 8 months ago

https://cowtransfer.com/s/b13db83af20f42 click link to check [ Another Redis Desktop Manager.1.6.2.AppImage ] or access cowtransfer.com and input extract code: w330qw to check;

try this package, build by electron-builder --project=dist -l -p never --arm64

cmalvi commented 8 months ago

Tried the appimage but same error, segmentation fault.

Maybe the problem could be the electron version used (12), due to kernel page size on asahi kernel (16k), this problem is fixed from version 19

qishibo commented 8 months ago

you can just modify the electron version in dist/package.json, then try to build the app again

cmalvi commented 8 months ago

Tried with same result. I have no idea how to solve, i'll try in the next days when I have spare time

qishibo commented 8 months ago

thx a lot, did you build in an arm Linux os? or in a x86 os

cmalvi commented 8 months ago

No only Linux arm64

On Wed, Feb 7, 2024 at 02:36, qii404 @.***(mailto:On Wed, Feb 7, 2024 at 02:36, qii404 < wrote:

thx a lot, did you build in an arm Linux os? or in a x86 os

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

cmalvi commented 7 months ago

Here an update! I've tried updating electron to v29.0.0:

EDIT: After some research i've tried to run the app without hw acceleration using --disable-gpu-compositing with the same result. Giving a look to the unpacked folder i've seen a vulkan library: at the moment there is no vulkan support in Apple gpu driver for Linux, only OpenGL

qishibo commented 7 months ago

Aha thx for your try! AppImage issues about GPU may cause this error, try this ./Another-Redis-Desktop-Manager.1.5.2.AppImage --no-sandbox every time. or run sudo sysctl kernel.unprivileged_userns_clone=1 once and then reopen Another

ref https://github.com/qishibo/AnotherRedisDesktopManager/issues/1014

cmalvi commented 7 months ago

Tried with same result

On Wed, Feb 21, 2024 at 03:39, qii404 @.***(mailto:On Wed, Feb 21, 2024 at 03:39, qii404 < wrote:

Aha thx for your try! AppImage issues about GPU may cause this error, try this ./Another-Redis-Desktop-Manager.1.5.2.AppImage --no-sandbox every time. or run sudo sysctl kernel.unprivileged_userns_clone=1 once and then reopen Another

ref #1014

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

qishibo commented 7 months ago

Giving a look to the unpacked folder i've seen a vulkan library: at the moment there is no vulkan support in Apple gpu driver for Linux, only OpenGL

so this may a reason?

cmalvi commented 7 months ago

I'm not sure because it should work disabling hw acceleration. Maybe some other packages need update to work on latest electron?