You are not logged in.
Hello,
I'm having trouble playing multiple sounds at the same time.
For example I can play just sound from mplayer or mpg123 but not at the same time. If I'm playing mplayer the sound will come out fine but trying to play a song in mpg123 it will segfault.
Sound from youtube does not work at all...
I have a NVidia GTX 660 hooked up to my HDMI TV.
Let the troubleshooting begin....
Thank you.
Offline
Did you look into the wiki?
https://wiki.archlinux.org/index.php/sound_system
( Especially at the troubleshooting sections from ALSA or pulseaudio; there's some info about simultanous playback, hdmi etc there - also different ways to test what exactly isn't working are described )
Do you have pulseaudio installed or are you just using ALSA / something else?
Offline
yes I've had a look there. tried the troubleshooting stuff but they didn't seem to work...
I have both ALSA and pulseaudio installed
Offline
pacman -S pulseaudio-alsa
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
If pulseaudio-alsa is installed and you didn't break the alsa configuration, then most applications shouldn't even be able to fight over the sound card.
Did you try renaming all (local AND per-user) asound.conf files and reinstalling the original from the pulseaudio-alsa package?
Offline
If pulseaudio-alsa is installed and you didn't break the alsa configuration, then most applications shouldn't even be able to fight over the sound card.
Did you try renaming all (local AND per-user) asound.conf files and reinstalling the original from the pulseaudio-alsa package?
I've installed pulseaudio-alsa already
i removed ~/.asounrdrc and /etc/asound.conf
and reinstalled pulseaudio-alsa
sound stopped working
I put
pcm.!default {
type hw
card 1
device 7
}
back in my .asoundrc and returned to my state of having one sound at a time (mplayer/mpg123) no youtube...
Offline
Unless you're set on using plain ALSA for some reason, you probably should leave asoundrc alone and make pulseaudio use that card/device instead.
The pulseaudio examples page can be especially helpful here. From the looks of your asound.conf you seem to have figured out where your sound is supposed to go already - since that's working with ALSA...? What further steps to make pusleaudio use it did you try yet?
https://wiki.archlinux.org/index.php/Pu … o/Examples
Manually configuring PulseAudio to detect the Nvidia HDMI
Having identified which HDMI device is working, PulseAudio can be forced to use it via an edit to /etc/pulse/default.pa:
# load-module module-alsa-sink device=hw:1,7
where the 1 is the card and the 7 is the deivce found to work in the previous section
restart pulse audio
$ pulseaudio -k
$ pulseaudio --startopen the sound settings manager, make sure that under the hardware tab the graphics cards HDMI audio is set to "Digital Stereo (HDMI) Output" ( My graphics card audio is called "GF100 High Definition Audio Controller"
Then, open the output tab. There should now be two HDMI outputs for the graphics card. Test which one works by selecting one of them, and then using a program to play audio. For example, use VLC to play a movie, and if it does not work, then select the other.
Last edited by whoops (2015-02-05 07:07:02)
Offline
heri0n, if you ping me (Rasi) on freenode I am sure we can get pulseaudio running properly in a few minutes ![]()
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Just tried this... no luck
I've also removed my .asoundrc if that makes a difference.
I assume the # should be removed at the front which would make it a comment...
Waiting for a reply Rasi.. ![]()
Unless you're set on using plain ALSA for some reason, you probably should leave asoundrc alone and make pulseaudio use that card/device instead.
The pulseaudio examples page can be especially helpful here. From the looks of your asound.conf you seem to have figured out where your sound is supposed to go already - since that's working with ALSA...? What further steps to make pusleaudio use it did you try yet?
https://wiki.archlinux.org/index.php/Pu … o/Examplesarchlinux wiki wrote:Manually configuring PulseAudio to detect the Nvidia HDMI
Having identified which HDMI device is working, PulseAudio can be forced to use it via an edit to /etc/pulse/default.pa:
# load-module module-alsa-sink device=hw:1,7
where the 1 is the card and the 7 is the deivce found to work in the previous section
restart pulse audio
$ pulseaudio -k
$ pulseaudio --startopen the sound settings manager, make sure that under the hardware tab the graphics cards HDMI audio is set to "Digital Stereo (HDMI) Output" ( My graphics card audio is called "GF100 High Definition Audio Controller"
Then, open the output tab. There should now be two HDMI outputs for the graphics card. Test which one works by selecting one of them, and then using a program to play audio. For example, use VLC to play a movie, and if it does not work, then select the other.
Offline
Quick update... Everything works dandy with headphones.. just no sound out of my tv...
Offline
Can anyone help me please...
I'm trying to get off windows... don't make me go back to ubuntu... lol
Also whenever I try pavucontrol it just hangs on trying to connect...
and all my pactl commands give me connection refused
but pacmd works..
Offline