Problem Description
When I Press Shift+V to record my voice while learning (or also click the button) Anki just hangs.
System Description
- Arch Linux, Hyprland and also Plasma DE.
- anki 26.05-1
What I tried
(I’ll freely admit I didn’t understand everything, I’m not a developer, I used Claude to guide me along)
I ran Anki with the Command RUST_LOG=debug anki and reproduced the error. Gota
Python module truststore is not installed. System certificate store and custom SSL certificates may not work. See:
https://github.com/ankitects/anki/issues/3016``
Starting Anki 26.05...
2026-07-05 07:31:11,096:INFO:aqt.mediasrv: Serving on ``http://127.0.0.1:40849``
Starting main loop...
2026-07-05T05:31:11.618096Z DEBUG connecting to 88.99.58.246:443
2026-07-05T05:31:11.659869Z DEBUG connected to 88.99.58.246:443
2026-07-05T05:31:11.705809Z DEBUG fetching meta...
2026-07-05T05:31:11.705945Z DEBUG pooling idle connection for ("https", ``sync3.ankiweb.net``)
2026-07-05T05:31:11.705969Z DEBUG reuse idle connection for ("https", ``sync3.ankiweb.net``)
2026-07-05T05:31:11.705981Z DEBUG meta remote=SyncMeta { modified: TimestampMillis(1783228169553), schema: Timestam
pMillis(1774679408739), usn: Usn(5006), current_time: TimestampSecs(1783229471), server_message: "", should_continu
e: true, host_number: 3, empty: false, media_usn: Usn(21239), v2_scheduler_or_later: false, v2_timezone: false, col
lection_bytes: 0 }
2026-07-05T05:31:11.706008Z DEBUG meta local=SyncMeta { modified: TimestampMillis(1783228169553), schema: Timestamp
Millis(1774679408739), usn: Usn(5006), current_time: TimestampSecs(1783229471), server_message: "", should_continue
: true, host_number: 0, empty: false, media_usn: Usn(0), v2_scheduler_or_later: true, v2_timezone: true, collection
_bytes: 12726272 }
2026-07-05T05:31:11.753282Z DEBUG pooling idle connection for ("https", ``sync3.ankiweb.net``)
2026-07-05T05:31:11.753301Z DEBUG meta remote=SyncMeta { modified: TimestampMillis(1783228169553), schema: Timestam
pMillis(1774679408739), usn: Usn(5006), current_time: TimestampSecs(1783229471), server_message: "", should_continu
e: true, host_number: 3, empty: false, media_usn: Usn(21239), v2_scheduler_or_later: false, v2_timezone: false, col
lection_bytes: 0 }
2026-07-05T05:31:11.753323Z DEBUG meta local=SyncMeta { modified: TimestampMillis(1783228169553), schema: Timestamp
Millis(1774679408739), usn: Usn(5006), current_time: TimestampSecs(1783229471), server_message: "", should_continue
: true, host_number: 0, empty: false, media_usn: Usn(0), v2_scheduler_or_later: true, v2_timezone: true, collection
_bytes: 12726272 }
2026-07-05T05:31:11.753331Z DEBUG fetched state=ClientSyncState { required: NoChanges, server_message: "", host_num
ber: 3, new_endpoint: None, local_is_newer: false, usn_at_last_sync: Usn(5006), server_usn: Usn(5006), pending_usn:
Usn(-1), server_media_usn: Usn(21239) }
2026-07-05T05:31:11.754044Z DEBUG begin change check folder_mod=1773718689074 db_mod=1773718689074
2026-07-05T05:31:11.754056Z DEBUG skip check
2026-07-05T05:31:11.754105Z DEBUG media sync complete
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/noerro
rs
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/mathto
ols
and when I pressed record I got:
Qt info: Using Qt multimedia with FFmpeg version n8.1.2 GPL version 3 or later
and it hangs.
I then proceeded with QT_MEDIA_BACKEND=gstreamer and got the same thing, except in the last line it said Using Qt multimedia with gstreamer.
I then tried multiple things Claude suggested to get more verbose output of the error, but nothing ever came. Just this last Qt info line and hanging.
I then checked systemctl --user status xdg-desktop-portal-hyprland systemctl --user status xdg-desktop-portaland systemctl --user status xdg-desktop-portal-gtk and all three were fine.
I then did
sudo gdb -p " | head -1) -batch -ex "thread apply all bt" 2>&1 | tee /tmp/anki_bt.txt and gave the file (around 1200 lines) to Claude, which then explained stuff I didn’t understand and said try QT_AUDIO_BACKEND=pulseaudio anki and lo and behold, it worked.