Can't get sound in Ubuntu despite detecting sound devices?

Abstract: Resolve Ubuntu silence when devices are detected by correcting the active audio sink in settings or pavucontrol and ensuring application-specific volumes are unmuted.

Created: 2026-08-27 by

Sound failure in Ubuntu while devices appear detected usually stems from incorrect audio routing, muted channels, or PulseAudio/PipeWire service conflicts. Verify the active sink in pavucontrol, ensure no applications are holding exclusive control, and restart the audio daemon to resolve most silent output issues without requiring a system reinstall.

Verify Active Audio Sink and Output Device

The most common reason for silence despite hardware detection is that the operating system has routed audio to the wrong output device or a disconnected HDMI monitor. Modern Linux distributions use PulseAudio or PipeWire as the sound server, and these services may default to a dummy output if the primary card is busy or misconfigured. You must explicitly select the correct analog or digital output in the graphical interface before assuming a driver failure. Open your application menu and search for "Sound Settings." Navigate to the Output tab. Here you will see a list of available devices. Click on each device to test it. If you see an "Idle" status next to a device but no sound plays when testing, the system is not sending data to it. Often, users accidentally select an HDMI display that has no speakers attached. Select the device labeled with your motherboard chipset (e.g., Realtek, Conexant) or your USB headset. Ensure the volume slider for that specific device is not at zero and that the mute icon is not active. If the graphical settings do not resolve the issue, use the command line to inspect the current sink. Run the following command to list all sinks:
pactl list sinks short
Look for the line starting with *. This asterisk indicates the currently active sink. If the active sink is not the one you intend to use, you can switch it manually using the index number provided in the first column. For example, to switch to sink index 1, run:
pactl set-default-sink 1
This immediate change often restores sound without needing a reboot. If the list is empty or only shows a "Dummy Output," the kernel modules for your sound card may not have loaded correctly, which requires deeper troubleshooting.

Check Application-Specific Volume Controls

Ubuntu’s default mixer sometimes hides individual application volumes behind the global system volume. An application might be playing audio, but its specific channel could be muted or lowered to zero within the sound server. The GNOME Control Center provides a basic overview, but it lacks granular control over per-application routing. To fix this, install and launch pavucontrol, known as the PulseAudio Volume Control tool. Install the utility if it is not already present by running:
sudo apt install pavucontrol
Once open, go to the "Playback" tab. Play any audio source, such as a YouTube video or a music file. You should see the application listed here with a moving volume bar. If the bar is moving but you hear nothing, check the small speaker icon next to the application name. It may be set to "Mute." Additionally, verify the "Port" dropdown for that application. Sometimes an app defaults to a different output port than the system-wide setting. Change the port to match your desired speaker or headphone jack. Switch to the "Output Devices" tab in pavucontrol. Ensure that the correct device is not marked as "Failed" or "Suspended." If a device is suspended, click on it and force it to resume. This tab also allows you to see exactly which stream is being sent to which physical port, helping you diagnose if the signal is getting lost between the software layer and the hardware driver.

Restart the Audio Server Services

Corrupted state files or hung processes within the audio daemon can cause persistent silence even after correcting settings. Restarting the service clears the memory cache and forces a re-initialization of the sound cards. In older Ubuntu versions using PulseAudio, you would kill the user-space process. In newer versions utilizing PipeWire, the approach differs slightly depending on the backend configuration. For PulseAudio, stop the service by running:
pulseaudio -k
PulseAudio will automatically restart shortly after being killed. If you are using PipeWire, which is the default in Ubuntu 22.04 and later, you need to restart the wireplumber session manager and the pipewire service itself. Execute the following commands:
systemctl --user restart wireplumber
systemctl --user restart pipewire
systemctl --user restart pipewire-pulse
After restarting these services, wait a few seconds for the desktop environment to reconnect to the audio server. Test your audio again. This step resolves issues where the audio server holds onto a stale connection with a USB device that was plugged in during boot but is now inactive.

Investigate Kernel Module and Driver Issues

If none of the previous steps work, the problem likely lies at the kernel level. The Linux kernel uses specific drivers for sound hardware, typically ALSA (Advanced Linux Sound Architecture). Check if the relevant modules are loaded by listing them:
lsmod | grep snd
You should see modules like snd_hda_intel for standard HD audio or snd_usb_audio for USB devices. If you see snd_soc_skl or similar, ensure the module is not blacklisted in /etc/modprobe.d/. If the modules are missing, you may need to reload them manually using modprobe. However, be cautious, as unloading critical audio modules can crash your session. Check the system logs for errors related to sound initialization. Use the following command to filter journal entries for audio-related failures:
dmesg | grep -i snd
Look for messages indicating "codec init failed" or "cannot open device." These errors suggest a firmware mismatch or a bug in the current kernel version. In such cases, updating your system packages via sudo apt update && sudo apt upgrade may pull in a newer kernel with better hardware support. See our guide on Solving No Sound Issue in Ubuntu: A Tech Support Guide for more detailed driver-specific fixes.

Frequently Asked Questions

Why does my sound cut out randomly after a few minutes?

This is often caused by power-saving features turning off the audio codec to save energy. You can disable this by creating a udev rule or modifying the alsa-base configuration to prevent autosuspend on the USB or PCI audio device.

How do I reset PulseAudio configuration files?

Delete the user-specific configuration directory located at ~/.config/pulse/ and ~/.pulse/. When you restart PulseAudio, it will regenerate fresh configuration files with default settings, clearing any corrupted parameters.

Can Bluetooth headphones cause sound device detection conflicts?

Yes, if a Bluetooth device is paired but not connected properly, it may appear as an available sink but fail to accept audio streams. Ensure the device is actively connected in the Bluetooth settings before selecting it as the output device in Sound Settings.

What should I do if HDMI audio works but analog speakers do not?

This indicates the driver is working, but the analog port is either disabled in the BIOS, physically damaged, or muted in the ALSA mixer. Check the alsamixer utility to ensure the "Front" or "Line Out" channels are unmuted and raised above zero.

Does upgrading Ubuntu fix sound problems permanently?

Upgrading often includes newer kernels that contain updated drivers for recent hardware releases. However, if the issue is caused by a custom configuration error or a third-party PPA conflict, an upgrade alone may not resolve it without manual intervention.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More