alsa installed but no sound
Installed alsa
Also tried using pavucontrol Lots of options, but no sound... I think I need to change my default sound card... |
Have you ran alsamixer and poked around in there?
|
Yes, I've poked around extensively there. Quite confused.
All of my sound cards are being recognized, yet I'm getting no output from my monitor. Any suggestions? Thanks! |
Have you made sure the sound isn't set to "mute" in whatever volume control is provided? Fedora used to have something in System Preferences. It seems silly, but I've seen distros that actually install like that!
|
Thank you for your suggestion. I am fairly certain the system is not muted.
Perhaps the following code will help shine a light on what's going on. Code:
[root@localhost user]# lspci -nnk | grep -i -A7 audio Code:
[root@localhost user]# lsmod | grep snd Code:
[root@localhost user]# aplay -l Code:
[root@localhost user]# dmesg | grep -iC 3 "audio" |
A few very IMPORTANT things you left out
WHAT IS THE OPERATING SYSTEM? and its version ! WHAT is the desktop?? gnome is VERY different than KDE for sound |
My apologies.
Operating system is Fedora 24 Version 4.8.8-200 Code:
uname -a Thanks! |
Quote:
|
What is your default soundcard? Try creating a file ~/.asoundrc to define what sound card you want ALSA to default to. Assuming you want to use your computer's soundcard and not HDMI (you don't actually specify which you want, so I'm assuming), the file should contain something like this:
Code:
defaults.ctl.card 0 Once logged back in, re-check ALSA mixer to ensure volumes are up and everything's non muted. Then open pavucontrol and check the Configuration tab: turn OFF the HDMI device and activate the Built-In Audio option (a likely setting is Analog Stereo Duplex, such that your internal soundcard is serving both input and output). Check the Output Devices tab: make sure your output device is set to your speakers or headphones or whatever it is you want sound from (again, you have not specified this in your question, so I'm assuming). Leave pavucontrol open so you can see output levels. Open some sound application (you don't specify in your question what you are testing with). Go into its preferences and make sure it's using Pulse Audio as its output device. If no Pulse is listed, fallback on ALSA. Play some sound. In general, this is a pretty good overview of the Linux Audio experience, from understanding to configuring to troubleshooting. It may be helpful: http://slackermedia.info/handbook/do...?id=linuxaudio |
Try this:
Code:
alsactl init && alsactl store |
Try this:
Code:
alsactl init && alsactl store |
Thank you all for your suggestions.
notKlaatu - I made the file as you suggested and I was able to choose my default sound card. After a reboot (I'm no non-rebootian), I am hearing sound for the first time. One thing I do find curious though is under Configuration, I am getting sound on the profile Digital Stereo (HDMI2) Output Since I know I don't have any HDMI ports currently being used, I find it odd that it's mislabelled. Under the Output Devices tab, It does say HDMI / DisplayPort 2 (plugged in), but it threw me for a bit. Thanks again! |
Similar issue solved with ~/.asoundrc file
# Persistent Audio issue in Fedora 39
## Overview - After a reboot, suddenly I had no sound at all in Chrome. I had previously had similar issues in Fedora 37 and 38, which after a lot of messing around with various PulseAudio and Pipewire services and configuration finally were resolved (by which I mean sound started working again in Chrome and sox), though it was never clear to me what had fixed it. I should mention, in addition, that the sound has not worked for me in Firefox since about Fedora 36 a couple of years ago! And when I said 'resolved', it still did not work in Firefox. - However, it nearly always seems to work in VLC 3, but does not work in the VLC 4.0 preview. - - The Gnome sound settings panel reports 'No Output Devices' and 'No Input Devices'. - Also no sound from sox, which reported as follows: Code:
17:00: ~ ⦿ sox --version Code:
17:09: ~ ⦿ hostnamectl - I do seem to have an audio device configured: Code:
17:03: ~ ⦿ lspci|grep -i audio - I am now tending to think this is probably a deeper issue. The only app I can get to play audio is VLC 3. Chrome, Firefox and RhythmBox have none. - Just to say, of course I have checked my levels/muting in `alsamixer`! - I'm now feeling a bit stuck and don't know what to try. Any ideas please? ## Update - I followed the advice from **notKlaatu** on https://www.linuxquestions.org/quest...nd-4175594359/ to create the file Code:
~/.asoundrc Code:
17:52: ~ ⧓ play -n synth pl G2 pl B2 pl D3 pl G3 pl D4 pl G4 delay 0 .05 .1 .15 .2 .25 remix - fade 0 4 .1 norm -1play WARN alsa: can't encode 0-bit Unknown or not applicable - So thank you notKlaatu! But the bigger question is, why has this been happening in the first place and why is it still not fully resolved, with sound in some apps but not others, and the audio device not being detected by pavucontrol and Gnome Sound Settings? |
Quite unfortunately, Firefox requires pulse, even though pipewire and other methods provide superior quality. However, ~3.5 MiB pulseaudio is not required if you start Firefox with apulse, a ~130.0 KiB package which provides "PulseAudio emulation intended to be used with Firefox and Skype".
|
All times are GMT -5. The time now is 08:33 PM. |