As a musician I try to avoid pulseaudio for producing sound (soundtracks, cd etc.)
Actually most distros that is tweaked for producing sound (AV-Linux, Gentoo-Studio) are removing pulseaudio altogether or temporarily disabling it because pulseaudio makes the latencies for sound a lot bigger. This happens because Pulseaudio moves everything to software instead of using the soundcard/chip hardware. That happened because some card chips did (I dont know if this is still the case) might have problems if there are multiple chips/cards. So actually PulseAudio is making the sound the same or a bit worse in most cases.
Have a nice day
]]>The first thing I did was to remove pulseaudio. I used the remove command plus purge. I got rid of pulseaudio and all its traces..
That was my starting point since I wanted to go with ALSA alone.
Next I ran aplay -L
card 0: PCH [HDA Intel PCH], device 0: ALC3861 Analog [ALC3861 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Next I made up a file ... /etc/modprobe.d/alsa.conf, with the following info installed. Which is taken from the aplay listing above:
Alsa.conf:
options snd-hda-intel id=Intel index=0
options snd_hda_codec_nvidia id=NVIDIA index=1
I rebooted and suddenly I had sounds. I guess with only alsa running it. As pulseaudio is now gone.
I also found that 'xterm -e alsamixer' run on a terminal sure gives and nice/easy look at what is happening.
I guess the biggest thing that worked for me was to get the system to see my Nvidia card. It was not really doing that or it wasnt doing that to hear the audio.
This arrangement with ALSA worked. So why consider anything else.
I know that people have said pulseaudio is needed for purer sound? I guess for people with complicated audio systems. But for me I have one speaker. Not very complicated. So it should be fine for me. At least I now have sound. And any kind of sound right now is a great success.
I want to thank all those who tried to help me. And who really did help as it made me look closer, and harder at what I was doing. And now if there is a way to add to what I have that would be great.
I am running ASCII version of Devuan which is really nice. I want to keep it, and the sound now adds to it comfort and easy style..
Thanks everyone..
Subdevice #0: subdevice #0
]]>/usr/share/alsa.conf.d/50-pulseaudio.conf
/usr/share/alsa.conf.d/pulse.conf
/usr/share/alsa/pulse-alsa.conf
Once that is done, you may even need an additional alsactl init, so that you get aplay output to be
$ aplay -L | grep -A2 default
-------------------------------------
default
HDA Intel PCH, ALC3861 Analog
Default Audio Device
--
sysdefault:CARD=PCH
HDA Intel PCH, ALC3861 Analog
Default Audio Device
That is a good place to be at
]]>I am beginning to wonder that no one has sound while running ascii.
I have tried other releases and windows 10 as well, and the sound system I have here runs great. No problem.
Its just this ASCII release that is giving me a hard time.
Thanks anyway guys. Lots of thanks for all that you have offered. But no luck so far.
]]>You can also install and enable volumeicon-alsa to control the sound (via alsamixer). Then you don't need pulseaudio at all ;-))
Have a nice day
Lars H
]]>I will give that a try in a bit, and I sure hope that it will work. I love this ascii release. It sure looks and works nice. But without audio I really feel lost.
Thanks again and I will let everyone know how this goes..
]]>Forget about ~/.asoundrc since card 0 is the correct default card.
This means in particular that it adds an audio control level in between alsa and actual output.
So you may well need to install pavucontrol-qt as well, as way of manipulating its controls. That GUI will then attempt to operate the alsa controls as well, with a good amount of potential for confusion.
With those control knobs, and those of qasmixer, you should hopefully be able to unmute whatever is muted and raise the volume on whatever is needed.
As an additional: if your pulseaudio sub system is not started you would start it with:
$ pulseaudio --start
Edit: spelling correction (thanks)
]]>Thanks for the input. I feel embarrassed about not understanding the home directory place. Wow. But what the heck, eh?
And on top of that my interpretation of the spelling of Q A S M I X E R was wrong too.
Anyway.. I have those two issues figured out. But no further on getting any sound in my Devuan-ascii installation..
I hope time will get something worked out here..
]]>As to ~/.asoundrc file this is unknown to me. Where does this go.
Let me translate: ~/ represents your home directory. A file with a period in front is a hidden file.
And I tried to install gas mixer but can't find it anywhere.
The package is called Q A S M I X E R. Just use small letters and no blanks.
Good luck, rolfie
]]>aplay -l gives me this:
-------------------------------------------------
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3861 Analog [ALC3861 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L | grep -A2 default gives me this:
-------------------------------------
default
Playback/recording through the PulseAudio sound server
null
--
sysdefault:CARD=PCH
HDA Intel PCH, ALC3861 Analog
Default Audio Device
As to ~/.asoundrc file this is unknown to me. Where does this go.
And I tried to install gas mixer but can't find it anywhere.
I will continue to examine the results of these queries. Maybe there is a way to get sound after all.
What/where is CARD=PCH. Can it be adjusted? Does it need to be installed?
]]>Then check with aplay -L | grep -A2 default what the "default" is tied to.
Sometimes that is wrong since "alsa" on installation binds blindly its "default" to card 0. Then it might work by telling "alsa" to use another card, eg card 1. One method for that is to add a ~/.asoundrc file with three lines:
defaults.ctl.card 1
defaults.pcm.card 1
defaults.timer.card 1
If you haven't done so, you might also want to install qasmixer for a bit of visual view and control of sound. It might be a help if it's a question of low volumes or muted controls.
]]>Nothing.. very quiet here. Not good.
The speaker system I have for this installation is very simple. Its just a Logitech arrangement of two small speakers and one larger one that does the base I guess.
It attaches to the computer with just one cable. It can even plug into my cell phone. But just one plug.
And the computer on which I want to use these speakers is a new Dell XPS 8930. All new hardware etc.. so I presume that is where the problem is.
But I have to idea how to find out where the problem is, whether its a driver I need or maybe just new speakers.
The speakers do work though as I have been using them all along on Windows 10, so I am OK there.
I have gone through the settings for sound and found a number of choices but nothing there works for me. Not a peep of sound from anything I picked..
Any thoughts please, would be great..
]]>