fabiofalci / sconsify

A spotify console application
https://fabiofalci.github.io/sconsify
Apache License 2.0
566 stars 26 forks source link

Can start playing a song, but no sound. #108

Open D06E opened 5 years ago

D06E commented 5 years ago

I can start playing a song but there is no sound coming.

ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed

Additional Info: https://imgur.com/SEXjz73

fabiofalci commented 5 years ago

Can you check if this doesn't fix your problem?

https://unix.stackexchange.com/questions/479058/audacity-doesnt-work-with-pulseaudio-anymore/479470#479470

It did for me. Also, I see that there is a new version of alsa-lib 1.1.7-2 (on my archlinux) but I haven't tested yet.

D06E commented 5 years ago

Just to clarify, I should try to downgrade my alsa-lib from 1.1.7 to 1.1.6?

fabiofalci commented 5 years ago

Yes, downgrade to alsa lib to 1.1.6.

D06E commented 5 years ago

Thanks for your help. It guess this works but I have not found a way to go back to 1.1.6 yet.

fabiofalci commented 5 years ago

What distro are you using?

D06E commented 5 years ago

Manjaro i3 Community Edition. It's a new install, so I don't have a previous alsa-lib file on my drive.

/var/cache/pacman/pkg/alsa-lib-1.1.6-1-x86_64.pkg.tar.xz <- that file is missing for me.

fabiofalci commented 5 years ago

Ok, I guess you need to build the package then. Something like this should do:

$ wget https://git.archlinux.org/svntogit/packages.git/snapshot/packages-0b0e7fc07cdc2bcf0b083dfbc38e4a7c484b2bc1.tar.gz
$ tar xvf packages-0b0e7fc07cdc2bcf0b083dfbc38e4a7c484b2bc1.tar.gz 
$ cd packages-0b0e7fc07cdc2bcf0b083dfbc38e4a7c484b2bc1/trunk/
$ makepkg -s
$ sudo pacman -U alsa-lib-1.1.6-1-x86_64.pkg.tar.xz

The file https://git.archlinux.org/svntogit/packages.git/snapshot/packages-0b0e7fc07cdc2bcf0b083dfbc38e4a7c484b2bc1.tar.gz is from the commit of 1.1.6 as you can see here https://git.archlinux.org/svntogit/packages.git/commit/trunk/PKGBUILD?h=packages/alsa-lib&id=0b0e7fc07cdc2bcf0b083dfbc38e4a7c484b2bc1

D06E commented 5 years ago

Again, thanks for the help! I was able to downgrade, but I still have no sound.