Debian Jessie - Have Pulseaudio and ALSA installed. Everything is unmuted and settings show sound outputting but no sound actually playing.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Debian Jessie - Have Pulseaudio and ALSA installed. Everything is unmuted and settings show sound outputting but no sound actually playing.
I just installed Debian 8.3 (Jessie) on my computer. I'm using my default motherboard sound card which is an HDA Intel PCH and the chip is Realtek ALC1150. Everything in the settings->sound panel appears correctly. When I plug in my headphones, the headphones output pops up and if I play a youtube video or a default ALSA sound, it pops up in the "applications" tab as playing. However nothing actually comes through my headphones.
Everything is unmuted and I have been spending a lot of time messing with the configuration. The correct card is default for both ALSA and Pulseaudio. I'm a little lost on where to go from here.
Even just doing a simple test with aplay does not output any sound. I entered:
aplay /usr/share/sound/alsa/From_Center.wav
it says in the command line it is playing, but I can't hear anything out of my headphones.
I had the same problem when I installed Wheezy. I finally solved my problem when I installed pavucontrol (pulseaudio volume control), which is not installed when pulseaudio is installed (on Wheezy).
My suggestion is to check to see that you have pavucontrol installed, then run it.
I agree with installing pavucontrol. Pulseaudio is unintuitive, and can be difficult to configure without it. You need to check the output devices tab and see what it sees, and configure them properly, with the proper device set as default and not muted there. Then play something and check the playback tab and see what is there.
I recently had the same problem and tried all kinds of proposed solutions including the above. What finally worked for me was executing:
Code:
$ alsactl init
Don't know if the sound starting to work was the result of the cumulative changes or not as I haven't done another install since. Give it a try and post back.
All, thanks for the responses. I tried installing pavucontrol as mentioned, it was not already installed. Then I launched the application. I noticed in the "playback" tab that the system sounds were muted. So I increased the volume there. Then the output devices showed my graphics card (Radeon HDMI) as the first device. I removed that and now only the built-in analog stereo is showing. With the port drop down box showing "headphones."
Everything looks good. I see the sound bar again increase when I play a sound or adjust the volume, but nothing from my headphones. I know that the headphones work. No doubt about it. The connection must be good since it detects when the headphones are actually plugged in.
There are a multitude of options in configuration for the built in audio. The profile I selected was "Analog Stereo Output" which I think is correct?
Also norobro, I tried to do
Code:
alsactl init
and it looks like it ran fine here is what it output:
Code:
Found hardware: "HDA-Intel" "Realtek ALC1150" "HDA:10ec0900,1462d968,00100001" "0x1462" "0xd968"
Hardware is initialized using a generic method
HDMI involves audio as well as video. You may need to re-enable that, I'm not sure where the audio is being sent. But the built-in audio should be the headphones, although I'm not sure. I can't see your computer. Analog Stereo out should be the correct profile. YOu don't need to enable system sounds, those are just the beeps and sounds for stuff like connecting drives, etc. That has nothing to do with audio playback.
Are your headphones plugged into the Realtek card directly? Are you sure the jack isn't damaged?
I'm pretty sure the jack isn't damaged, the same result happens when I put it in the back channel jack, which is directly connected to the motherboard. Also is it okay if only system sounds is showing in the playback panel? Should anything else show?
Only what is being played should show there. If nothing is playing, nothing shows. When playback starts, it should show up there. If nothing shows there, then pulseaudio doesn't know about it, and you'll hear nothing.
alsactl init is only usefule to initialize the first card that alsa detects and you have yet to reveal it.
pls show
Code:
aplay -L
aplay -l
I would not be surprised if hdmi is the first card detected. Leaping ahead if you find that is the case, and assuming you need the inbuilt card....then here is one way to swap it ....full reboot to test the aplay commands
/etc/modprobe.d/alsa-base.conf
(remove any intel entries and have this as last entry pls)
Quote:
options snd_hda_intel index=1
again....this is to swap the inbuilt for the hdmi so inbuilt grabs index=0 on reboot
another way of checking your index values is just run
That's not going to work. The onboard audio (Realtek ALC1150) uses the same snd-hda-intel module. There are ways to accomplish what you want, but let's see the alsa info first to see if we need to go down that road.
To the Original Poster....sorry about that distraction but you have yet to reply.
I like to keep it simple....if you agree I know what I am talking about continue with my requests but if you believe you need to provide even more information then seasons request for a link to your alsa info is also fine.
I still suspect your index=0 card is hdmi and a simple swap will fix your issues.
@seasons I don't have his hw but I do have same module for hdmi and analog
We all learn here so don't let me stop you from offering useful info in the future ...
My apologies. I stand corrected. I'm just wondering why that changes the indices when both devices use the same module :?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.