- Arch Linux
- #1 2018-02-06 04:50:27
- Pulseaudio Error Showing «No Output or Input Devices Found»
- #2 2018-02-06 07:47:03
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #3 2018-02-08 00:52:15
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #4 2018-02-08 08:37:03
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #5 2018-02-08 16:00:52
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #6 2018-02-08 17:29:28
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #7 2018-02-08 20:39:08
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #8 2018-02-08 21:23:34
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #9 2018-02-09 03:23:44
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #10 2018-02-09 10:03:11
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- #11 2018-02-10 01:59:05
- Re: Pulseaudio Error Showing «No Output or Input Devices Found»
- How To Fix No Sound in Ubuntu And Linux Mint
- Various methods to fix no audio in Ubuntu
- Fixing dummy output in sound settings
- First Alternate method to fix no sound in Ubuntu
- Second alternate method to fix no sound in Ubuntu
- Third alternate method: remove old Pulseaudio config
- Third alternate method: Try alsamixer
- Fourth alternate method to fix no audio in Ubuntu
- Fifth alternate method (specially for Lenovo Carbon X1)
Arch Linux
You are not logged in.
#1 2018-02-06 04:50:27
Pulseaudio Error Showing «No Output or Input Devices Found»
I am not able to get pulse working correctly on my server. Its driving me nuts. I am not sure what all is needed, but I have tried most of the things referenced in the above link. Alsamixer works, and after finding out that I wasn’t part of the audio group, I corrected that as well. The odd thing is, I do have output, programs can play out my speaker just fine. I just cannot control the volume and such via pulse.
#2 2018-02-06 07:47:03
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
Which programs? Is pulse running? Don’t add yourself to the audio group, it isn’t necessary and will mask potential issues. What’s your output for
during attempted playback.
#3 2018-02-08 00:52:15
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
How would I go about removing myself from the audio group if it has already been done?
Secondly, via the archlinux IRC, I believe I found a potential lead as to where the problem stems from.
I access my arch box via VNC. The device is local, but everything is done via the Remote Desktop I have created. My end goal is to be able to stream music from the arch box to a bluetooth speaker in the room.
I used to run Manjaro and had no issues doing this via the VNC so I did not see a problem with it. I dont know if that helps at all.
Back to your post.
sudo fuser -v /dev/snd/*
#4 2018-02-08 08:37:03
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
your google play music as well as your pidgin are accessing ALSA directly instead of being routed through pulseaudio. Configure them to use pulseaudio and or if they only show you ALSA devices, make sure that they are set to play back via the ‘default’ as opposed to an explicitly named device.
From pulse’s side your card is properly detected, your output programs are misconfigured.
#5 2018-02-08 16:00:52
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
your google play music as well as your pidgin are accessing ALSA directly instead of being routed through pulseaudio. Configure them to use pulseaudio and or if they only show you ALSA devices, make sure that they are set to play back via the ‘default’ as opposed to an explicitly named device.
From pulse’s side your card is properly detected, your output programs are misconfigured.
Sorry for being dense here but I’m not terribly sure how that would be done, or how that would resolve the larger issue of me not being able to actually use pulse.
#6 2018-02-08 17:29:28
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
And FWIW post the output of
should the alsa-info.sh not reveal your configuration, do you have any ALSA config files in /etc/asound.conf or
How did you install Arch?
Last edited by V1del (2018-02-08 17:38:26)
#7 2018-02-08 20:39:08
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
And FWIW post the output of
should the alsa-info.sh not reveal your configuration, do you have any ALSA config files in /etc/asound.conf or
How did you install Arch?
alsa-info.sh provided me with this
systemctl —user status pulseaudio gives me
cat /etc/asound.conf gives me the following file
And finally, I have removed myself from the audio group (my apologies, this was one of the steps I found that someone in the thread I mentioned earlier followed to remedy the issue. I was hoping it was something simple for me lol).
Thank you for you help and time on this! Hopefully I can get this thing resolved
EDIT: I Just read through your posted thread on why Pulse wont work if something else is running. That is great insight! Thank you so much for that!
Last edited by miversen33 (2018-02-08 20:43:46)
#8 2018-02-08 21:23:34
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
If pulse is not started by it’s service how do you start it? after you’ve started everything else? Anyway you should be able to use
to register it as part of your user session setup. Where are you starting pidgin and google music respectively? from autostart files for your environment? How do you log in?
#9 2018-02-09 03:23:44
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
If pulse is not started by it’s service how do you start it? after you’ve started everything else? Anyway you should be able to use
to register it as part of your user session setup. Where are you starting pidgin and google music respectively? from autostart files for your environment? How do you log in?
Right I noticed that it wasn’t running and ran
both ran without issue. I have not rebooted yet (I have been at work, and after sending this I will reboot the machine and see if it has any effect).
I login via a VNC that is started on boot via a systemd service I have created. Below is that file
I have never started pulseaudio as I was under the impression that it auto started on its own. Though obviously that has not been the case. I will edit this after restarting the machine and we will see if we have success!
Pidgin and Google Play Music are started in the xvncserver script that is called by the vncserver program. Below is that (just for giggles I guess)?
EDIT:
Still no dice sadly. Using Google Play Music, it will play directly through the computer, but pulseaudio (the applet for KDE) will not allow display any output devices.
Last edited by miversen33 (2018-02-09 04:10:50)
#10 2018-02-09 10:03:11
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
Not entirely sure on how VNC setups handle their logins, but if you unset the session bus it will mean that the pulseaudio that is being started will be unable to advertise itself over DBUS and not be found by applications anymore.You might want to look into the networking set up part https://wiki.archlinux.org/index.php/Pu … rked_audio it looks like you tried to do something with that already as you have an RTP sink.
If you still have that manjaro install somewhere, you might want to compare pulse configurations, if you need networked audio you will also have to make sure to have e.g. pulseaudio-zeroconf installed.
You might also want to post that pulse configuration, since it seems you already adjusted something.
Another thing that might help, move the startup of vivaldy from that startup file, to the KDE autostart directives. There’s a good chance that pulse is ultimately started by the KDE setup, but your vivaldy process launches before KDE has finished initializing and hence before pulse is running. (Given that the fact you are using & to start these processes which will essentially lead to the situation that the separate programs are started in parallel as opposed to in sequence.)
Alternatively make sure that pulse is started before anything else by adding it before the kdestart call, I’d guess.
Last edited by V1del (2018-02-09 11:51:30)
#11 2018-02-10 01:59:05
Re: Pulseaudio Error Showing «No Output or Input Devices Found»
Not entirely sure on how VNC setups handle their logins, but if you unset the session bus it will mean that the pulseaudio that is being started will be unable to advertise itself over DBUS and not be found by applications anymore.You might want to look into the networking set up part https://wiki.archlinux.org/index.php/Pu … rked_audio it looks like you tried to do something with that already as you have an RTP sink.
If you still have that manjaro install somewhere, you might want to compare pulse configurations, if you need networked audio you will also have to make sure to have e.g. pulseaudio-zeroconf installed.
You might also want to post that pulse configuration, since it seems you already adjusted something.
Another thing that might help, move the startup of vivaldy from that startup file, to the KDE autostart directives. There’s a good chance that pulse is ultimately started by the KDE setup, but your vivaldy process launches before KDE has finished initializing and hence before pulse is running. (Given that the fact you are using & to start these processes which will essentially lead to the situation that the separate programs are started in parallel as opposed to in sequence.)
Alternatively make sure that pulse is started before anything else by adding it before the kdestart call, I’d guess.
The link seems more about if I want to use my server speakers from a remote network device. The issue here is that I am logged into the device itself and trying to play sound on the device through the device. So not quite networked audio.
I did remove vivaldi from the xstartup. I did not know that KDE had its own autostart thing. That is super helpful
Just because I was curious, I did disable the vnc on reboot and pulse starts up with the following message.
Any idea what that is? After starting the vnc manually, still no access to pulse (even after commenting out the DBUS line)
Источник
How To Fix No Sound in Ubuntu And Linux Mint
Last updated March 23, 2020 By Abhishek Prakash 848 Comments
Brief: No audio in a fresh Ubuntu install? Only see dummy output? No worries. Here are a few methods that you can try to fix the no sound problem in Ubuntu and other Linux distributions.
As it happens with every Ubuntu release, you install or upgrade to a newer Ubuntu version and run in to a number of problems. But then, there is always a way to overcome these big little problems.
One of the most common problems faced is no sound after installing Ubuntu. While there could be several reasons for no sound in Ubuntu, I will share the tricks that worked for me.
Let’s see in steps how I fixed and how you can fix it.
Various methods to fix no audio in Ubuntu
There could be various reasons why there is no sound in Ubuntu. The fix depends on the kind of problem you have. Before you take the steps to fix it, I suggest get some information about your system, specially about the audio related hardware.
Install inxi tool first:
Now check the system, machine and audio information with this command:
You should see some information like this:
Look closely in the audio section of the above output. It tells that it is Intel Sunrise Point-LP HD Audio and it has the Linux driver snd_hda_intel and the sound is served with Alsa. This information maybe useful in some stages of your audio troubleshooting.
Fixing dummy output in sound settings
First step, just to verify, check if the sound is not muted. Once you verify this, go to Sound Settings:
In the Sound Settings, you’ll find that you have practically nothing here except a dummy output. Quite frustrating. It means that your sound card is not even recognized. Puff!
No worries. The one shot solution which fixed the sound problem for me on my Intel powered Dell Inspiron is to force reload Alsa. To do that, use the following command in terminal (Ctrl+Alt+T):
The output will be like this.
You may think that it is hanged or still in processing but it takes only couple of seconds. You can simply close it afterwards by using Ctrl+C.
Now, you need to reboot your computer. Either play some music/video files or check in the system settings to see if it worked for you.
First Alternate method to fix no sound in Ubuntu
If the above problem did not fix it for you, try reinstalling Alsa and Pulse audio in the following manner:
And force reload Alsa again:
Restart and check if sound is back or not.
Second alternate method to fix no sound in Ubuntu
Try starting Pulseaudio and see if it works:
Third alternate method: remove old Pulseaudio config
Go to your home directory and then go to the hidden config directory. Rename the directory named pulse here:
Now reboot your system. The pulse directory should be created afresh and you should have sound.
Third alternate method: Try alsamixer
Open a terminal and use the following command to open alsamixer:
You should see a screen like this:
Check if the speakers or your desired audio output is muted here. MM means mute and OO means unmute. If your desired audio output (mostly it’s speakers) or the Master is muted, unmute it.
You can exit the screen using Esc key.
Note that if alsamixer command returns error, it’s probably because you have more than one sound card. In that case, you need to specify the sound card number (refer to the inxi output I mentioned in the beginning) like this:
Fourth alternate method to fix no audio in Ubuntu
Speed dispatcher is the feature that allows your system to convert text to speech. Sometimes, it conflicts with other audio settings. If you do not need this feature, you may try disabling it as it may bring your audio back.
Open the terminal and edit speech-dispatcher file by using the following command:
In here, change RUN=yes to RUN=no . Reboot and enjoy the sound.
Fifth alternate method (specially for Lenovo Carbon X1)
A few of It’s FOSS readers mentioned that none of the above methods worked for their Lenovo Thinkpad Carbon X1 7th Gen laptop.
I looked into various places and found that this newer model has issues with Linux. While Linux kernel 5.5 and above versions has improved support for this model, it is still tricky for Ubuntu 18.04 and Mint 19 users because the kernel in use is still 5.3.
Check your Linux kernel version and if it is 5.4 or lower, try this possible workaround that is suggested by Arch Linux and Ubuntu developers.
Open the alsa configuration file (command might be different for Mint because Gedit text editor is not used in Mint):
Add the following line to the end of this file:
Save and close the file and reboot your system. You should have the audio back.
If it fixed your sound problem, you may want to fix brightness issue as well. Fixing the sound problem is definitely one of the must do things after installing Ubuntu.
If one of the above mentioned methods worked for you, please leave a comment below specifying the method that saved your day. Any other suggestions and feedback is also welcomed.
Like what you read? Please share it with others.
Источник