# Anki not working properly on arch!

**URL:** <https://forums.ankiweb.net/t/anki-not-working-properly-on-arch/35768>\
**Category:** Help\
**Created:** [October 15, 2023, 9:52am UTC](https://forums.ankiweb.net/t/anki-not-working-properly-on-arch/35768 "2023-10-15T09:52:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bug](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@bug](https://forums.ankiweb.net/u/bug)\
**Post date:** [October 15, 2023, 9:52am UTC](https://forums.ankiweb.net/t/anki-not-working-properly-on-arch/35768/1 "2023-10-15T09:52:06Z")

</div>

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

```auto
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

---

<div class="post-metadata">

**Author:** ![iliekprogrammar](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@iliekprogrammar](https://forums.ankiweb.net/u/iliekprogrammar)\
**Post date:** [October 15, 2023, 2:32pm UTC](https://forums.ankiweb.net/t/anki-not-working-properly-on-arch/35768/2 "2023-10-15T14:32:26Z")

</div>

do you have the relevant `llvm15*` packages installed? i think you should consider one of the [AUR packages](https://aur.archlinux.org/packages/anki-official-binary-bundle) also. strange, since mine works with `libLLVM-16.so` already

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [November 14, 2023, 2:33pm UTC](https://forums.ankiweb.net/t/anki-not-working-properly-on-arch/35768/3 "2023-11-14T14:33:13Z")

</div>

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