Everything is installed via pip
in a conda environment, see below:
Python 3.10.13 | packaged by conda-forge | (main, Oct 26 2023, 17:57:40) [GCC 12.3.0] on linux
(base) mal@debian:~$ pip list
Package Version
------------------------- ----------
anki 23.10.1
aqt 23.10.1
archspec 0.2.1
attrs 23.1.0
beautifulsoup4 4.12.2
blinker 1.7.0
boltons 23.0.0
Brotli 1.0.9
certifi 2023.11.17
cffi 1.15.1
charset-normalizer 2.0.4
click 8.1.7
conda 23.11.0
conda-content-trust 0.2.0
conda-libmamba-solver 23.11.1
conda-package-handling 2.2.0
conda_package_streaming 0.9.0
cryptography 41.0.3
decorator 5.1.1
distro 1.8.0
Flask 3.0.0
Flask-Cors 4.0.0
idna 3.4
itsdangerous 2.1.2
Jinja2 3.1.2
jsonpatch 1.32
jsonpointer 2.1
jsonschema 4.20.0
jsonschema-specifications 2023.11.2
libmambapy 1.5.3
Markdown 3.5.1
MarkupSafe 2.1.3
menuinst 2.0.1
orjson 3.9.10
packaging 23.1
pip 23.3
platformdirs 3.10.0
pluggy 1.0.0
ply 3.11
protobuf 4.25.1
pycosat 0.6.6
pycparser 2.21
pyOpenSSL 23.2.0
PyQt5 5.15.10
PyQt5-sip 12.13.0
PyQtWebEngine 5.15.6
PySocks 1.7.1
referencing 0.32.0
requests 2.31.0
rpds-py 0.13.2
ruamel.yaml 0.17.21
ruamel.yaml.clib 0.2.6
Send2Trash 1.8.2
setuptools 68.0.0
sip 6.7.12
soupsieve 2.5
tomli 2.0.1
tqdm 4.65.0
truststore 0.8.0
urllib3 1.26.18
waitress 2.1.2
Werkzeug 3.0.1
wheel 0.41.2
zstandard 0.19.0
(base) mal@debian:~$ anki
Preparing to run...
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mal/.drirc: No such file or directory.
libGL: using driver apple for 9
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mal/.drirc: No such file or directory.
libGL: MESA-LOADER: device is not located on the PCI bus
libGL: using driver apple for 9
libGL: MESA-LOADER: dlopen(/usr/lib/aarch64-linux-gnu/dri/apple_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mal/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mal/.drirc: No such file or directory.
drmOpenDevice: node name is /dev/dri/renderD128
drmOpenDevice: open result is 11, (OK)
drmGetBusid returned 'NULL'
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mal/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
Starting main loop...
[44322:44322:1217/035133.994776:FATAL:page_allocator_internals_posix.h(169)] Check failed: . : Invalid argument (22)
Qt warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 180, resource id: 4194305, major code: 20 (GetProperty), minor code: 0
Qt warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 181, resource id: 4194305, major code: 20 (GetProperty), minor code: 0
mpv not found, reverting to mplayer
[44324:44324:1217/035134.007491:FATAL:page_allocator_internals_posix.h(169)] Check failed: . : Invalid argument (22)
[44326:44326:1217/035134.010685:FATAL:page_allocator_internals_posix.h(169)] Check failed: . : Invalid argument (22)
[44329:44329:1217/035134.502782:FATAL:page_allocator_internals_posix.h(169)] Check failed: . : Invalid argument (22)
[44330:44330:1217/035134.543800:FATAL:page_allocator_internals_posix.h(169)] Check failed: . : Invalid argument (22)
[44331:44331:1217/035134.552980:FATAL:page_allocator_internals_posix.h(169)] Check failed: . : Invalid argument (22)
ignored late js callback <bound method AnkiWebView._onHeight of <aqt.toolbar.BottomWebView object at 0xffff681eda20>>
ignored late js callback <bound method TopWebView.set_body_height of <aqt.toolbar.TopWebView object at 0xffff6bab7d90>>
Has anyone succeeded in getting Anki desktop (any somewhat recent version) working on aarch64/linux? I’ve tried building from source, using the system python distribution, flatpak. Blank screen (or worse) on all.
Building from source ninja dumps a very large number of errors and no amount of verbose flags seem to let me see what is actually failing (some massive list of js libraries +mathjax or something).