LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-24-2012, 06:00 PM   #1
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Rep: Reputation: 41
pulseaudio with alsa configuration?


Hi,

I have a sound card that uses hda_intel that apparently only works with pulseaudio installed. I tried to remove pulseaudio and just use alsa directly, but I could not get any sound out.

After reinstalling pulseaudio, none of the programs using the alsa backend work anymore even though they worked before I removed pulseaudio.

I'm not sure how pulseaudio and alsa are connected, so could someone shed some light on this area?

here are some command outputs:
Code:
brian-linux:~ # lsmod | grep snd
snd_seq_dummy           2102  0
snd_pcm_oss            53391  0
snd_mixer_oss          20225  1 snd_pcm_oss
snd_seq                66675  1 snd_seq_dummy
snd_seq_device          7770  2 snd_seq_dummy,snd_seq
snd_hda_codec_realtek   356587  1
snd_hda_codec_hdmi     28023  1
snd_hda_intel          28773  4
snd_hda_codec         108050  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               7772  1 snd_hda_codec
snd_pcm               104468  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              26774  2 snd_seq,snd_pcm
snd                    84374  20 snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               8782  1 snd
snd_page_alloc          9569  2 snd_hda_intel,snd_pcm
Code:
lspci | grep Audio
00:01.1 Audio device: ATI Technologies Inc Device 1714
00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01) <-- it's this one
if you need anything else, just ask.


thanks,
rabbit2345
 
Old 08-24-2012, 06:30 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
you do not need pulseaudio to get your card working, configure alsa properly and that is it
 
Old 08-24-2012, 07:07 PM   #3
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
Quote:
00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01)
This is a controller, not a sound card. Are you using HDMI?

Alex Brinister
 
Old 08-25-2012, 09:40 AM   #4
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Original Poster
Rep: Reputation: 41
Hi,

I do have 2 audio devices installed, one real one, and one HDMI. The second one is the real audio device.

And how would I configure ALSA if I removed pulseaudio? When I removed pulseaudio, I manually loaded snd_hda_intel like it is now, but still I could not get any sound to play.

here is my audio codec:
Code:
brian-linux:~ # cat /proc/asound/Generic_1/codec#0 | head -1
Codec: Realtek ALC269VB
I see that it is a realtek based card, so why is hda_intel being used?

thanks,
rabbit2345
 
Old 08-25-2012, 10:26 AM   #5
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
snd_hda_intel is the generic sound driver. Have you tried any ALSA utilities, like alsamixer? That is a very useful one. You should not need PulseAudio when using ALSA. If you have PulseAudio, then ALSA just defers everything to the Pulse daemon. I have Pulse and ALSA running on my system. I can manipulate volume using both. They are pretty much two different things which have been made to be compatible. Try using alsamixer to unmute everything. That could be the issue.

Alex Brinister
 
Old 08-25-2012, 02:14 PM   #6
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Original Poster
Rep: Reputation: 41
Hi,

I tried maxing out every channel I could find, but there is still no sound for some applications.

How exactly do pulseaudio and alsa interact? Is it like program -> alsa -> pulseaudio? And if pulseaudio has an alsa api wrapper, then how can I direct the sound to pulseaudio's alsa wrapper, rather than alsa itself?


thanks,
rabbit2345
 
Old 08-28-2012, 05:01 PM   #7
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Original Poster
Rep: Reputation: 41
Hi,

I managed to get my sound back by reinstalling everything again. I still have no idea what is going in as far as sound goes in linux. The old config files are identical to the stock ones, so how can one work perfectly and the other not at all? Either way, if someone managed to screw up their sound system like I did, just reinstall everything to fix it.


good luck,
rabbit2345
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can I remove pulseaudio and use alsa MooseMagnet Linux - Software 5 05-12-2014 10:12 AM
How do I tell pulseaudio not to change my alsa mixer settings? TITiAN Linux - Desktop 10 05-11-2012 10:36 AM
Installed/removed pulseaudio, lost ALSA jefm Debian 10 03-22-2012 04:32 PM
Alsa to pulseaudio to Alsa - skype only problem Weber Kai Slackware 0 01-27-2012 07:23 PM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration