Anki Fails to launch on arm64 Linux

Hi distodev,

I use Anki also on Fedora Asahi on M2 MBA. It works fine, but as dae already linked, you need to use the Python wheels binaries and you cannot use the packaged binaries that you can find on the website or GitHub release page.

After successful installation, this is how I start up Anki:

export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor
export QT_QPA_PLATFORM=wayland
export ANKI_WAYLAND=1
export DISABLE_QT5_COMPAT=1

nohup anki >/dev/null 2>&1 & disown

Not all of it is strictly needed, so try it out on your own but I needed to set at least the first environment variable to get sharp text inside Anki, otherwise it was close to unreadable. Now it works great!

Of course, it would be even greater if Fedora packaged a recent version of Anki. As I don’t really use Python a lot, the installation process was not great. But the packaged version, while it does work fine on aarch64, is far too old.