No sound in Ubuntu after installation - Tried a lot - nothing worked, please help. Desparate!

thesuryavivek

New Member
Joined
May 23, 2023
Messages
14
Reaction score
3
Credits
135
Hello guys,
I don't have much experience using linux, just dual booted (ubuntu 22.04 LTS) along with windows 11 on my laptop. Just wanted to use it for web development.

After installation, there is no sound in ubuntu. I googled and tried a lot of things. But, nothing seems to work.
I also use an external monitor connected with hdmi to my laptop. I don't have any extra speakers other than the in-build laptop speakers.

When I connect my external display, in the sound section of settings, the options to select an output device is only HDMI output.
When I disconnected, it's showing as "dummy output".
When the system got suspended, and after waking up it's showing nothing to select.

I googled and found out that there is some issue with the device drivers.

In windows, there are 3 drivers for sound:
  • ESAu Device @TDM mode
  • Intel Display Audio
  • Intel Smart Sound Technology
I think only the Intel SST is installed in ubuntu. But I'm not sure how to check it.
The additional drivers application is showing "no additional drivers available".

aplay -l outputs no sound card


I followed this post from ask ubuntu and changed the grub.

After changing, it outputs:
** List of PLAYBACK Hardware Devices **
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0

inxi -A
Audio:
Device-1: Intel Ice Lake-LP Smart Sound Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.19.0-42-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes

lspci -nnk | grep -A4 Audio
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Ice Lake-LP Smart Sound Technology Audio Controller [8086:34c8] (rev 30)
DeviceName: Onboard - Sound
Subsystem: Device [2782:1a21]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_icl

Please help me guys...
 


Welcome,
What's the make and full model number of your machine?
Did you disable secure boot [if not, do it now] and try a re-boot,
 
Try using Alsamixer here:


If Alsamixer doesn't help try installing PulseAudio for volume control.

 
aplay -l outputs no sound card



inxi -A
Audio:
Device-1: Intel Ice Lake-LP Smart Sound Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.19.0-42-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes

lspci -nnk | grep -A4 Audio
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Ice Lake-LP Smart Sound Technology Audio Controller [8086:34c8] (rev 30)
DeviceName: Onboard - Sound
Subsystem: Device [2782:1a21]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_icl

Please help me guys...
A primary problem is that alsa is not seeing your sound card. If it can't see it, it can't be used no matter what sound server software is running and what drivers are present.
 
Exact same thing happened to me. When I booted into windows I couldn't get sound either. This is going to sound odd, but what worked was shutting down. I shut down out of windows and booted back into Ubuntu an lo! I read this advice on a forum like this who's name I forget. I do the same when finishing up in Ubuntu.
 
A primary problem is that alsa is not seeing your sound card. If it can't see it, it can't be used no matter what sound server software is running and what drivers are present.
Agreed, I saw that too.
 
Try using Alsamixer here:


If Alsamixer doesn't help try installing PulseAudio for volume control.


This what alsamixer is showing:

1684900371973.png
 
Secure boot is already disabled. Is there anything I can try?
You still haven't told me the make and model, so i will look into my crystal ball, you mentioned W11 so I will first assume its a very new machine,
first, try and purge the motherboard bios, .. Disconnect the mains power and any peripherals connected to the machine, switch on boot Ubuntu, then press and hold the power button down for 60 seconds, then switch on , re-boot and test if It's found the sound chip,

if this fails, and the machine is less than a year old, download MX-AHS Linux and try it live to see if the sound works [MX-AHS has what is probably the biggest selection of latest drivers included]
 
You still haven't told me the make and model, so i will look into my crystal ball, you mentioned W11 so I will first assume its a very new machine,
first, try and purge the motherboard bios, .. Disconnect the mains power and any peripherals connected to the machine, switch on boot Ubuntu, then press and hold the power button down for 60 seconds, then switch on , re-boot and test if It's found the sound chip,

if this fails, and the machine is less than a year old, download MX-AHS Linux and try it live to see if the sound works [MX-AHS has what is probably the biggest selection of latest drivers included]

There is no sound in MX AHS Linux also.

Here is the neofetch output:
1684928773750.png
 
Also, I changed a lot of config files. I don't know what I was doing. So I reinstalled ubuntu again.
Now, as before, the aplay -l command is giving no sound card found error.
I tried connecting my bluetooth headphones, they worked. Only the laptop speakers are not working.
 
One possible fix would be try, [but I don't know if it will work with your particular machine]

sudo add-apt-repository ppa:kaihengfeng/fix-lp1869819
sudo apt-get upgrade
 
It didn't worked. Is there anything I can do?

But I want to know what's the issue? Is it sound drivers not installed? But I saw some youtuber saying alsa is the driver in linux. If so, why alsa is not detecting my in built speakers?

I would like to know...
 
ok try sudo alsa force-reload

you seem reluctant to tell us what your machine is [i did ask in my first post, also see my signature " when asking for help" ] so WE are working blind
Ice lake started out on the Xenon gold range of processors, so its been around for a while,
 
"neofetch" screenshot says:
Infinix INBOOX X1 SLIM

is the computer model.

also might have needed:
sudo apt-get update

before the "upgrade" in the commands given above.

But I saw some youtuber saying alsa is the driver in linux.
Stop watching Youtube videos for a moment which cause even more confusion.
 
I didn't spot that [although it's not the full model number]
As it's a make I know little of, I found their website, and for an engineer it's rubbish, there is no technical data , it's just a glorified advertisement, as it's a budget brand made for the Indian market.I could do with a full inxi
from the terminal run inxi -Fnxxz
 
running alsa force-reload changed nothing!

inxi -Fnxxz output:

System:
Kernel: 5.19.0-42-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.5
tk: GTK 3.24.33 wm: gnome-shell dm: GDM3
Distro: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Machine:
Type: Laptop System: Infinix product: Infinix INBOOK X1 SLIM v: N/A
serial: <superuser required>
Mobo: Infinix model: EM_IC325_200B_V1.0 serial: <superuser required>
UEFI: American Megatrends v: ICL_IC325_LPDDR4X_200B_V2.0.6 date: 11/01/2022
Battery:
ID-1: BAT0 charge: 48.0 Wh (96.0%) condition: 50.0/50.0 Wh (100.0%)
volts: 11.6 min: N/A model: Ice Lake Li-ion Battery serial: <filter>
status: Discharging
CPU:
Info: quad core model: Intel Core i5-1035G1 bits: 64 type: MT MCP
arch: Ice Lake rev: 5 cache: L1: 320 KiB L2: 2 MiB L3: 6 MiB
Speed (MHz): avg: 1200 min/max: 400/3600 cores: 1: 1200 2: 1200 3: 1200
4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 bogomips: 19046
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Iris Plus Graphics G1 vendor: nCipher Security driver: i915
v: kernel ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1
bus-ID: 00:02.0 chip-ID: 8086:8a56
Device-2: Microdia USB 2.0 Camera type: USB driver: uvcvideo
bus-ID: 3-3:2 chip-ID: 0c45:636b
Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1
compositor: gnome-shell driver: gpu: i915 display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 dpi: 158 diag: 355mm (14")
OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 22.2.5
direct render: Yes
Audio:
Device-1: Intel Ice Lake-LP Smart Sound Audio
driver: sof-audio-pci-intel-icl bus-ID: 00:1f.3 chip-ID: 8086:34c8
Sound Server-1: ALSA v: k5.19.0-42-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:34f0
IF: wlo1 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb v: 0.8 bus-ID: 3-10:4 chip-ID: 8087:0aaa
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 13.74 GiB (2.9%)
ID-1: /dev/nvme0n1 model: PCIe SSD size: 476.94 GiB speed: 31.6 Gb/s
lanes: 4 serial: <filter> temp: 31.9 C
Partition:
ID-1: / size: 182.38 GiB used: 13.67 GiB (7.5%) fs: ext4
dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 96 MiB used: 80.8 MiB (84.1%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 287 Uptime: 15m Memory: 7.51 GiB used: 2.16 GiB (28.7%)
Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.3.0 alt: 11
Packages: 1787 apt: 1778 snap: 9 Shell: Zsh v: 5.8.1
running-in: gnome-terminal inxi: 3.3.13
 
Audio:
Device-1: Intel Ice Lake-LP Smart Sound Audio
driver: sof-audio-pci-intel-icl bus-ID: 00:1f.3 chip-ID: 8086:34c8
Sound Server-1: ALSA v: k5.19.0-42-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
I can't see anything wrong there,
dose the laptop have a dedicated mute button?
 

Members online


Latest posts

Top