# Anki not starting on Linux (Segmentation fault) - Solution: qt5 worked!

**URL:** <https://forums.ankiweb.net/t/anki-not-starting-on-linux-segmentation-fault-solution-qt5-worked/41809>\
**Category:** Help\
**Created:** [February 29, 2024, 4:28pm UTC](https://forums.ankiweb.net/t/anki-not-starting-on-linux-segmentation-fault-solution-qt5-worked/41809 "2024-02-29T16:28:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![johanna](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@johanna](https://forums.ankiweb.net/u/johanna)\
**Post date:** [February 29, 2024, 4:28pm UTC](https://forums.ankiweb.net/t/anki-not-starting-on-linux-segmentation-fault-solution-qt5-worked/41809/1 "2024-02-29T16:28:19Z")

</div>

When I try to start anki from the terminal, I get this error:

Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix  
Qt debug: doh set to “” – SystemOnly  
Starting main loop…  
Qt warning: Failed to create swapchain: -3  
Qt warning: Failed to create new swapchain  
Qt warning: Failed to create swapchain for window flushed with an RHI-enabled backingstore  
Segmentation fault (core dumped)

---

<div class="post-metadata">

**Author:** ![NameLessGO](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/namelessgo/32/34298_2.png) [@NameLessGO](https://forums.ankiweb.net/u/NameLessGO)\
**Post date:** [February 29, 2024, 6:07pm UTC](https://forums.ankiweb.net/t/anki-not-starting-on-linux-segmentation-fault-solution-qt5-worked/41809/2 "2024-02-29T18:07:24Z")

</div>

Which Linux distro are you on?

Which version is your Anki? [Latest](https://apps.ankiweb.net/) is 23.12.1

---

<div class="post-metadata">

**Author:** ![johanna](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@johanna](https://forums.ankiweb.net/u/johanna)\
**Post date:** [February 29, 2024, 7:11pm UTC](https://forums.ankiweb.net/t/anki-not-starting-on-linux-segmentation-fault-solution-qt5-worked/41809/3 "2024-02-29T19:11:21Z")

</div>

I have ubuntu 22.04 and my anki is the latest

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [March 1, 2024, 9:35am UTC](https://forums.ankiweb.net/t/anki-not-starting-on-linux-segmentation-fault-solution-qt5-worked/41809/4 "2024-03-01T09:35:09Z")

</div>

qt6 may also work with a different video driver: [Display Issues - Anki Manual](https://docs.ankiweb.net/platform/linux/display-issues.html)

---

<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:** [March 31, 2024, 9:35am UTC](https://forums.ankiweb.net/t/anki-not-starting-on-linux-segmentation-fault-solution-qt5-worked/41809/5 "2024-03-31T09:35:34Z")

</div>

Closed on March 31, 2024, 9:35am UTC

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