Anki not working properly on arch!

when i run anki after installing from the official website i get this output:

Anki starting...
Initial setup...
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Preparing to run...
libEGL warning: DRI2: failed to authenticate
libEGL warning: MESA-LOADER: failed to open swrast: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: DRI2: failed to authenticate
libEGL warning: MESA-LOADER: failed to open swrast: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

Qt warning: Xcb EGL gl-integration initialize failed 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Starting main loop...
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QQuickWidget::resizeEvent() no QRhi 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QQuickWidget::resizeEvent() no QRhi 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QQuickWidget::resizeEvent() no QRhi 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QQuickWidget::resizeEvent() no QRhi 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QQuickWidget::resizeEvent() no QRhi 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create temporary context 
Qt warning: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt warning: QRhiGles2: Failed to create context 
Qt warning: Failed to create QRhi for QBackingStoreRhiSupport 
Qt warning: QQuickWidget: Failed to get a QRhi from the top-level widget's window 
Qt warning: QQuickWidget::resizeEvent() no QRhi 
[1]    4085 segmentation fault (core dumped)  anki

if anyone needs more info i will add it

do you have the relevant llvm15* packages installed? i think you should consider one of the AUR packages also. strange, since mine works with libLLVM-16.so already

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.