Linux no sound fix

How To Fix No Sound in Ubuntu?

Ubuntu launched its new release after every two years, and the current latest version is Ubuntu 22.04.1. With the rolling releases, there might be some common sound-related problems. The problems will not allow you to utilize the sound feature of Ubuntu properly.

This guide will list the possible sound issues and their solutions on Ubuntu.

Let’s get started with the issues.

Common Issues With Sound in Ubuntu

First, we’d start with the common sound issues you can face in Ubuntu, including the following.

Low Sound Issue: This is the most common issue in Ubuntu, and this could be because of the low-set audio levels.

No Sound: Some users also reported not receiving the audio at all, and this could be a hardware issue, however, no need to worry because if it is a software problem, then it can be fixed, as discussed in the below section.

Fixing the Low Sound Issues in Ubuntu

There are multiple methods to fix the “Low audio problems” in Ubuntu, including the following.

Check System’s Volume Settings

Before doing anything, you should check the system’s volume settings, for sometimes the audio is set to low as default, so click on the activities in the top right corner of your desktop. It can also be accessed by pressing the “window” key.

Now type “sound” in the search bar.

A new window will now open where you can see an interface like this and when you do, make sure the system volume is loud enough to meet your needs and activate the “Over-Amplification” from there.

Alternatively, you can increase the volume from your desktop, so look for the audio icon in the top-right corner and increase the system volume.

If the problem is still there, use this command to open up the ALSA mixer to fix it.

Now look closely at the bottom of the bars, where “MM” is written, and with that, it means muted, so to change it, you need to use the Arrow keys. To navigate, use the arrow keys and press the “M” key to change its status to “OO, ” meaning it is unmuted.

You can select the sound card (if you wish to change it, just in case) by pressing the “F6” key.

The low sound problem should now be fixed, and if it isn’t, we will reload the ALSA (advanced Linux sound architecture), which has reportedly fixed all the sound-related problems in Ubuntu for most users.

Читайте также:  Linux process status by pid

Fixing the No Sound Issue in Ubuntu

Ubuntu’s “no-sound” problem can be fixed by utilizing following method.

Install the PulseAudio volume control

The PulseAudio is a volume control tool for Ubuntu that can work with ALSA and is installed by executing this command:

$ sudo apt-get install pavucontrol

Now, start its service using this command.

Now, it should work, but if it doesn’t, execute this command to kill all PulseAudio processes and reload ALSA.

$ pulseaudio -k && sudo alsa force-reload

The system should now be free from all sound problems.

Conclusion

Having no sound in Ubuntu feels a bit off, and fixing the problem could take hours, especially for new users, and eventually, they have to re-install the system, which is the worst thing to do. This guide teaches how they can fix sound-related problems in Ubuntu.

Источник

I cannot hear any sounds on the computer

If you cannot hear any sounds on your computer, for example when you try to play music, go through the following troubleshooting tips.

Make sure that the sound is not muted

Open the system menu and make sure that the sound is not muted or turned down.

Some laptops have mute switches or keys on their keyboards — try pressing that key to see if it unmutes the sound.

You should also check that you have not muted the application that you are using to play sound (for example, your music player or movie player). The application may have a mute or volume button in its main window, so check that.

Also, you can check the volume slider in the Sound panel:

  1. Open the Activities overview and start typing Sound .
  2. Click on Sound to open the panel.
  3. Under Volume Levels , check that your application is not muted. The button at the end of the volume slider toggles Mute on and off.

Check that the speakers are turned on and connected properly

If your computer has external speakers, make sure that they are turned on and that the volume is turned up. Make sure that the speaker cable is securely plugged into the “output” audio socket on your computer. This socket is usually light green in color.

Some sound cards can switch between the socket they use for output (to the speakers) and the socket for input (from a microphone, for instance). The output socket may be different when running Linux, Windows or Mac OS. Try connecting the speaker cable to a different audio socket on your computer.

A final thing to check is that the audio cable is securely plugged into the back of the speakers. Some speakers have more than one input, too.

Check that the correct sound device is selected

Some computers have multiple “sound devices” installed. Some of these are capable of outputting sound and some are not, so you should check that you have the correct sound device selected. This might involve some trial-and-error to choose the right one.

  1. Open the Activities overview and start typing Sound .
  2. Click on Sound to open the panel.
  3. Under Output , select an Output Device and click the Test button to see if it works. You might need to try each available device.

Check that the sound card was detected properly

Your sound card may not have been detected properly probably because the drivers for the card are not installed. You may need to install the drivers for the card manually. How you do this depends on the type of the card.

Читайте также:  What is setenv linux

Run the lspci command in the Terminal to find out what sound card you have:

  1. Go to the Activities overview and open a Terminal.
  2. Run lspci with administrative privileges ; either type sudo lspci and type your password, or type su , enter the root (administrative) password, then type lspci .
  3. Check if an audio controller or audio device is listed: in such case you should see the make and model number of the sound card. Also, lspci -v shows a list with more detailed information.

You may be able to find and install drivers for your card. It is best to ask on support forums (or otherwise) for your Linux distribution for instructions.

If you cannot get drivers for your sound card, you might prefer to buy a new sound card. You can get sound cards that can be installed inside the computer and external USB sound cards.

More Information

You can choose the displayed language by adding a language suffix to the web address so it ends with e.g. .html.en or .html.de.
If the web address has no language suffix, the preferred language specified in your web browser’s settings is used. For your convenience:
[ Change to English Language | Change to Browser’s Preferred Language ]

The material in this document is available under a free license, see Legal for details.
For information on contributing see the Ubuntu Documentation Team wiki page. To report errors in this documentation, file a bug.

Источник

Как исправить отсутствие звука в Ubuntu и Linux Mint

Как исправить отсутствие звука в Ubuntu и Linux Mint

Нет звука в свежей установке Ubuntu? Видите только фиктивный вывод? Без проблем. Вот несколько методов, с помощью которых вы можете попробовать пофиксить проблему отсутствия звука в Ubuntu и других дистрибутивах Linux

Как это происходит с каждым новым выпуском Ubuntu, вы устанавливаете или обновляете свою ось до свежей версии Ubuntu и сталкиваетесь с рядом проблем. Но всегда есть способ преодолеть эти не большие, но досадные неприятности.

Одна из наиболее распространенных проблем — отсутствие звука после установки Ubuntu. Есть несколько причин отсутствия звука в Ubuntu, но я расскажу о тех приемах, которые сработали в моем случае.

Давайте же пристальнее рассмотрим те шаги, с помощью которых я исправил подобную проблему и как можете исправить ее вы.

Различные способы исправить отсутствие звука в Ubuntu

Причины отсутствия звука в Ubuntu могут быть совершенно разными. И, так как решение зависит от типа проблемы, я предлагаю получить некоторую информацию о вашей системе, особенно об оборудовании, связанным со звуком.

Сначала установите инструмент inxi:

Теперь проверьте информацию о системе, машине и аудио с помощью этой команды:

Вы должны увидеть примерно такую ​​информацию:

 Host: itsfoss Kernel: 5.4.0-18-generic x86_64 bits: 64 
 Desktop: Gnome 3.35.91 Distro: Ubuntu 20.04 LTS (Focal Fossa) 
 Type: Laptop System: Dell product: XPS 13 9360 v: N/A 
 Mobo: Dell model: 05JK94 v: A00 serial: 
 UEFI: Dell v: 2.13.0 date: 11/14/2019 
 Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel 
 Sound Server: ALSA v: k5.4.0-18-generic

Присмотритесь к аудио части вышеприведенного вывода. Он сообщает, что это Intel Sunrise Point-LP HD Audio, и у него есть драйвер Linux snd_hda_intel, и звук обслуживается Alsa. Эта информация может быть полезна на некоторых этапах устранения неполадок со звуком.

Исправление фиктивного вывода в настройках звука

Первый шаг, чисто, что называется, «для отчистки совести», проверьте, не замьючен ли звук. Убедившись в этом, перейдите в Настройки звука:

Читайте также:  Wifi hotspot on kali linux

В настройках звука вы обнаружите, что здесь практически ничего нет, кроме фиктивного выхода. Довольно неприятно. Это означает, что ваша звуковая карта даже не распознается. Ба-дум-тс!

Без паники. Единственное решение, которое устранило проблему со звуком на моем Dell Inspiron с процессором Intel, — это принудительная перезагрузка Alsa. Для этого используйте в терминале следующую команду (Ctrl + Alt + T):

Вы можете подумать, что процесс подвис или все еще обрабатывается, но сам процесс занимает всего пару секунд. Вы можете просто закрыть террминал, нажав Ctrl + C.

Теперь вам нужно перезагрузить компьютер. А после: либо воспроизвести музыкальные или видеофайлы, либо заглянуть в настройки системы, что бы выяснить сработал ли этот способ.

Первый альтернативный способ исправить отсутствие звука в Ubuntu

Если прошлый способ не помог вам в устранении проблемы, попробуйте переустановить Alsa и Pulse audio следующим образом.

sudo apt-get install --reinstall alsa-base pulseaudio

И снова принудительно перезагрузите Alsa:

Перезагрузитесь и проверьте, вернулся ли звук.

Второй альтернативный способ исправить отсутствие звука в Ubuntu

Перейдите в свой домашнюю директорию, а затем перейдите в скрытый каталог конфигурации. Переименуйте здесь каталог с именем pulse:

mv ~/.config/pulse ~/.config/old_pulse

Теперь перезагрузите вашу систему. Каталог Pulse будет создан заново, и у вас должен восстановиться звук.

Третий альтернативный метод: попробуйте alsamixer

Откройте терминал и используйте следующую команду, чтобы открыть alsamixer:

Вы должны увидеть такой экран:

Проверьте, отключены ли здесь динамики или желаемый аудиовыход. MM означает отключение звука, а OO означает включение. Если желаемый аудиовыход (в основном это динамики) или мастер отключен, включите его.

Вы можете закрыть экран alsamixer, нажав клавишу Esc.

Обратите внимание: если команда alsamixer возвращает ошибку, возможно, это связано с тем, что у вас более одной звуковой карты. В этом случае вам нужно указать номер звуковой карты (см. Вывод inxi, который я упоминал в начале) следующим образом:

Четвертый альтернативный способ исправить отсутствие звука в Ubuntu

Диспетчер скорости (speed dispatcher) — это функция, которая позволяет вашей системе преобразовывать текст в речь. Иногда она конфликтует с другими настройками звука. Если вам не нужна эта функция, вы можете попробовать отключить ее, возможно это вернет вам звук.

Откройте терминал и отредактируйте файл диспетчера речи с помощью следующей команды:

sudo gedit /etc/default/speech-dispatcher

Здесь измените RUN = yes на RUN = no. Перезагрузитесь и наслаждайтесь звуком.

Пятый альтернативный метод (специально для Lenovo Carbon X1)

Некоторые из наших читателей отметили, что ни один из вышеперечисленных методов не помог их ноутбуку Lenovo Thinkpad Carbon X1 7-го поколения.

Я изучил проблему и обнаружил следующее. У этой модели есть проблемы с Linux. Хотя в ядре Linux 5.5 и более поздних версиях улучшена поддержка этой модели, но для пользователей Ubuntu 18.04 и Mint 19, в которых используется ядро ​​более ранней версии — 5.3, все еще остаются проблемы.

Проверьте версию ядра Linux, и если она 5.4 или ниже, попробуйте следующий обходной путь, предложенный разработчиками Arch Linux и Ubuntu.

Откройте файл конфигурации alsa (команда может быть другой для Mint, потому что текстовый редактор Gedit не используется в Mint):

sudo gedit /etc/modprobe.d/alsa-base.conf

Добавьте в конец этого файла следующую строку:

options snd-hda-intel dmic_detect=0

Сохраните и закройте файл и перезагрузите систему. После этих действий звук должен вернуться.

Устранение проблемы со звуком, безусловно, является одним из обязательных действий после установки Ubuntu.

Если один из вышеупомянутых методов сработал для вас, оставьте комментарий ниже, указав метод, который сэкономил вам время. Также приветствуются любые другие предложения и отзывы.

Источник

Оцените статью
Adblock
detector