Running Anki on Arch via the AUR repository. Using the latest compiled package, but still can’t record my voice.
Here’s the output of the error:
[avantbored@avantbored ~]$ anki
Starting Anki 25.07.2...
Wayland support is disabled by default due to bugs:
https://github.com/ankitects/anki/issues/1767
You can force it on with an env var: ANKI_WAYLAND=1
Fontconfig warning: using without calling FcInit()
2025-07-10 16:33:40,460:INFO:aqt.mediasrv: Serving on http://127.0.0.1:43305
Starting main loop...
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/noerrors
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/mathtools
Qt info: Using Qt multimedia with FFmpeg version n7.1.1 GPL version 3 or later
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or director
The error is stating that a shared library is missing, when Qt was looking for FFmpeg. Do you happen to know whether FFmpeg has been installed? I do not know anything about Arch Linux (although I know about other flavours). Perhaps this article might be of help.
Has mplayer been installed? That seems to be the program that uses libvdpau.
The error is complaining about a shared library libvdpau_nvidia.so installed. Can you check?
I used this command on my Linux Mint system: ldconfig -p | grep libvdpau.
Another thing you can try is the following.
Find out where your FFmpeg program is installed: whereis ffmpeg .
Find out whether it does indeed depend on the library that is supposed to be missing: ldd /usr/bin/ffmpeg | grep libvdpau . (Replace the file path with the one returned from your whereis command.
Check to see whether the link that you seek exists on your system: locate libvdpau | grep nvidia . On my system — and looking through some Internet searches — it seems that the file you seek is in fact a symbolic link to a version-specific libvdpau_nvidia.so . Does the locate command return any references to libvdpau_nvidia libraries? One or two may have version numbers at the end of its name. See this article, but it references Debian, not Arch Linux.
That article gives some ideas for linking the shared library, which might help.
Did you check whether mpv is installed? It is one of the packages that requires libvdpau.so. It might set things up for you, if you do not have it installed already.
Anki uses QtMultimedia for recording, so the issue is likely in Qt/your distro’s available nvidia libraries. It’s probably not connected to mpv, since you said you can play audio.