You are not logged in.
Hi, I am using a relatively new archlinux install, and have been able to diagnose and troubleshoot most of the problems I have encountered. Being a fresh linux user I am unsure if this problem is on my end, but here it is:
I use the program Anki to study flashcards, and some of these flashcards come with audio, the audio portion of the application does not seem to be working. It is not listed in the program applications for sound, while others, such as firefox are and provide sound just fine. I am not sure where to start with this problem, any help would be much appreciated.
Apologies for the little amount of information provided, I'm not sure what would help.
Last edited by archlinuxuser154 (2019-10-03 00:30:44)
Offline
Check the optional dependencies of the anki package, you will want to install either mpv or mplayer (though apparently prefence should lie with mpv, it is also generally more actively updated)
Offline
I have MPV currently installed. How would I enable it, then?
Offline
MPV's config seems to be correct. I still do not see anki listed in the Audio Volume > applications tab. Still no output
Offline
Terminal output when using anki from a terminal? What does
sudo fuser -v /dev/snd/*give you? Post the outputs in [ code ][ /code ] tags without the spaces
Offline
Terminal output when using anki from a terminal? What does
sudo fuser -v /dev/snd/*give you? Post the outputs in [ code ][ /code ] tags without the spaces
[tristan@black mpv]$ anki
qt: Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen factors.
QT_SCALE_FACTOR to set the application global scale factor.
[tristan@black ~]$ sudo fuser -v /dev/snd/*
[sudo] password for tristan:
USER PID ACCESS COMMAND
/dev/snd/controlC0: tristan 960 F.... pulseaudio
tristan 248989 F.... speaker-test
tristan 266606 F.... speaker-test
tristan 267397 F.... speaker-test
tristan 267949 F.... speaker-test
tristan 271221 F.... speaker-test
/dev/snd/controlC1: tristan 960 F.... pulseaudio
/dev/snd/controlC2: tristan 960 F.... pulseaudio
/dev/snd/pcmC0D0p: tristan 248989 F...m speaker-test
tristan 266606 F...m speaker-test
tristan 267397 F...m speaker-test
tristan 267949 F...m speaker-test
tristan 271221 F...m speaker-test
/dev/snd/timer: tristan 248989 f.... speaker-test
tristan 266606 f.... speaker-test
tristan 267397 f.... speaker-test
tristan 267949 f.... speaker-test
tristan 271221 f.... speaker-testOffline
Where are you spawning so many speaker-tests? They will block pulse from accessing your device.
I've installed it now and it works, do you actually actively attempt to listen to something? Anki will only open the mpv stream when audio has to be actively played back (as it uses mpv for this, the relevant audio stream will come from mpv not from anki) I picked a random stack with actual audio and told it to tell me about the solution.
Also please edit your thread title of the initial post and include anki as part of it, so that the title actually defines what application you are having issues with
Offline
Where are you spawning so many speaker-tests? They will block pulse from accessing your device.
I've installed it now and it works, do you actually actively attempt to listen to something? Anki will only open the mpv stream when audio has to be actively played back (as it uses mpv for this, the relevant audio stream will come from mpv not from anki) I picked a random stack with actual audio and told it to tell me about the solution.
Also please edit your thread title of the initial post and include anki as part of it, so that the title actually defines what application you are having issues with
Tried playing the audio after closing a bunch of firefox windows, noticed mpv Media Player appearing briefly, was able to switch the default program to my headphones and unmuted. Thank you, fixed.
Offline
Glad to hear please mark as [SOLVED] by prepending to the title, so that people might find a solution here should they stumble over the same problem
Offline