Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have just switched over from DVI to HDMI on a new monitor. I would like to feed the audio out over HDMI. Currently I get no audio over HDMI. Is there a setting to enable this? I am running Debian Wheezy with XFCE.
Install the PulseAudio Volume Control if it's not already installed:
# apt-get install pavucontrol
Open the application and go to the "Configuration" tab. You usually see two drop down menu buttons for "Profile", one for built-in audio, analog and the other for "High Definition Audio Controller". The later is the one you usually need to fool around with to activate sound over hdmi. To completely have all sound through hdmi, try selecting "Digital Stereo(HDMI) Output" in the High Definition Audio Controller Profile and selecting "Off" for the analog profile.
Also, double check and make sure that sound over hdmi is supported in linux for your graphics card.
Last edited by kilgoretrout; 01-12-2015 at 01:13 PM.
Thank you for the reply! I installed pavucontrol and then launched it. Upon doing so, I was presented with an error. The error is detailed in the screen capture but it basically says that the connection to PulseAudio failed. I am not an experienced Linux user but I do recall that there is an alternative sound driver (?) Alsa. Could that be my issue? If so, how do I configure which to use? Any thoughts?
In regards to the .asoundrc file. Should this be located in my home folder? I have no such file currently.
Possibly related to the HDMI issue I just noticed something odd... most menus appear fine however some application menus have text so small that it is unreadable. Examples attached.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Rep:
What sound card do you have?
Code:
aplay -l
If you have a new sound card then you'll probably have to install its appropriate drivers with apt-get install.
Once you have your sound card name do a quick search for it on the net with debian and ubuntu added.
If there are any known problems, then there should be solutions.
The ubuntu sites are helpful in my experience.
My radeon hdmi card gave me a few problems - but they were eventually sorted.
I had not stumbled on that one... thank you! I have compiled, installed and rebooted. Inside the mixer application is a list of controls (front mic, line in, surround, etc.). The only applicable control that I can see is IEC958. I have that enabled... though unlike other controls that have a level associated with it, the IEC958 does not.
Next I tried making a .asoundrc file in my home directory. I added...
Code:
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
... though I don't know what good that does since I only have one card. Regardless, it doesn't seem to have had an effect on anything.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Rep:
Quote:
Originally Posted by jorsborn
I had not stumbled on that one... thank you! I have compiled, installed and rebooted. Inside the mixer application is a list of controls (front mic, line in, surround, etc.). The only applicable control that I can see is IEC958. I have that enabled... though unlike other controls that have a level associated with it, the IEC958 does not.
Go to Configuration on Pavucontrol.
There should be two 'Profile' fields.
The top profile should have your sound card as output. Select it.
Now on your desktop, find system settings for sound. Select your hdmi sound card.
Do this while playing sound in the background.
Code:
Next I tried making a .asoundrc file in my home directory. I added...
If it doesn't work then delete it. That's what I had to do.
Hmmm.... confused. Isn't pavucontrol for pulse audio? I am using alsa. I get the same error when I launch pavucontrol (see my 2nd post for screenshot).
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Rep:
Quote:
Originally Posted by jorsborn
Hmmm.... confused. Isn't pavucontrol for pulse audio? I am using alsa. I get the same error when I launch pavucontrol (see my 2nd post for screenshot).
Pulse Audio Volume Control is PAVuControl.
It's called pavucontrol on the command line. Sorry, I should've said pulse audio.
Ensure nothing is muted on alsa and that it can see your sound card when you press F6. Increase the sound settings with the 'up' arrow on your keyboard.
I eventually got sound on one OS when I made the correct setting on pulse audio.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.