I'm asking here as a last resort. I've tried all (to the best of my knowledge) of the solutions on this and many other forums but none of the solutions resolved my issue. So here is some info i think might be helpful to solving my problem (i'm a total novice and have no idea what's relevant and what's not).
PS: I've installed and reinstalled alsa and pulseaudio and the sound works on windows
If you need more info let me know.
$inxi -Fxz
System:
Kernel: 5.11.0-27-generic x86_64 bits: 64 compiler: N/A
Desktop: Gnome 3.36.9 Distro: Ubuntu 20.04.3 LTS (Focal Fossa)
Machine:
Type: Laptop System: Acer product: Swift SF314-54G v: V1.17
serial: <filter>
Mobo: KBL model: Strongbow_KL v: V1.17 serial: <filter> UEFI: Insyde
v: 1.17 date: 04/16/2021
Battery:
ID-1: BAT0 charge: 39.7 Wh condition: 39.7/50.8 Wh (78%)
model: SMP-SDI3320 AC14B7K status: Not charging
CPU:
Topology: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 28800
Speed: 900 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 901 2: 900
3: 900 4: 900 5: 900 6: 900 7: 900 8: 900
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI
driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI
driver: nouveau v: kernel bus ID: 01:00.0
Display: x11 server: X.Org 1.20.13 driver: nouveau
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.0.3
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
driver: snd_soc_skl v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.11.0-27-generic
Network:
Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: 3000
bus ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives:
Local Storage: total: 236.98 GiB used: 9.19 GiB (3.9%)
ID-1: /dev/nvme0n1 vendor: Intel model: MEMPEK1J016GA size: 13.41 GiB
ID-2: /dev/sda model: P4-240 size: 223.57 GiB temp: 48 C
Partition:
ID-1: / size: 14.96 GiB used: 9.16 GiB (61.2%) fs: ext4 dev: /dev/sda8
Sensors:
System Temperatures: cpu: 48.0 C mobo: 39.0 C gpu: nouveau temp: 39 C
Fan Speeds (RPM): N/A
Info:
Processes: 264 Uptime: 3m Memory: 3.73 GiB used: 787.5 MiB (20.6%)
Init: systemd runlevel: 5 Compilers: gcc: N/A Shell: bash v: 5.0.17
inxi: 3.0.38
$dpkg -l *alsa*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-====================-============-=================>
un alsa <none> <none> (no description a>
ii alsa-base 1.0.25+dfsg-0ubuntu5 all ALSA driver confi>
ii alsa-oss 1.1.8-1 amd64 ALSA wrapper for >
ii alsa-topology-conf 1.2.2-1 all ALSA topology con>
ii alsa-ucm-conf 1.2.2-1ubuntu0.11 all ALSA Use Case Man>
ii alsa-utils 1.2.2-1ubuntu2.1 amd64 Utilities for con>
un bluez-alsa <none> <none> (no description a>
ii gstreamer1.0-alsa:amd64 1.16.2-4ubuntu0.1 amd64 GStreamer plugin >
lines 1-13/13 (END)...skipping...
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-====================-============-=========================================
un alsa <none> <none> (no description available)
ii alsa-base 1.0.25+dfsg-0ubuntu5 all ALSA driver configuration files
ii alsa-oss 1.1.8-1 amd64 ALSA wrapper for OSS applications
ii alsa-topology-conf 1.2.2-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.2-1ubuntu0.11 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.2-1ubuntu2.1 amd64 Utilities for configuring and using ALSA
un bluez-alsa <none> <none> (no description available)
ii gstreamer1.0-alsa:amd64 1.16.2-4ubuntu0.1 amd64 GStreamer plugin for ALSA
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-13/13 (END)
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-====================-============-=========================================
un alsa <none> <none> (no description available)
ii alsa-base 1.0.25+dfsg-0ubuntu5 all ALSA driver configuration files
ii alsa-oss 1.1.8-1 amd64 ALSA wrapper for OSS applications
ii alsa-topology-conf 1.2.2-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.2-1ubuntu0.11 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.2-1ubuntu2.1 amd64 Utilities for configuring and using ALSA
un bluez-alsa <none> <none> (no description available)
ii gstreamer1.0-alsa:amd64 1.16.2-4ubuntu0.1 amd64 GStreamer plugin for ALSA
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-13/13 (END)
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig>
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-====================-============-===========>
un alsa <none> <none> (no descrip>
ii alsa-base 1.0.25+dfsg-0ubuntu5 all ALSA driver>
ii alsa-oss 1.1.8-1 amd64 ALSA wrappe>
ii alsa-topology-conf 1.2.2-1 all ALSA topolo>
ii alsa-ucm-conf 1.2.2-1ubuntu0.11 all ALSA Use Ca>
ii alsa-utils 1.2.2-1ubuntu2.1 amd64 Utilities f>
un bluez-alsa <none> <none> (no descrip>
ii gstreamer1.0-alsa:amd64 1.16.2-4ubuntu0.1 amd64 GStreamer p>
~
~
~
~
~
~
~
lines 1-13/13 (END)
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-====================-============-================>
un alsa <none> <none> (no description >
ii alsa-base 1.0.25+dfsg-0ubuntu5 all ALSA driver conf>
ii alsa-oss 1.1.8-1 amd64 ALSA wrapper for>
ii alsa-topology-conf 1.2.2-1 all ALSA topology co>
ii alsa-ucm-conf 1.2.2-1ubuntu0.11 all ALSA Use Case Ma>
ii alsa-utils 1.2.2-1ubuntu2.1 amd64 Utilities for co>
un bluez-alsa <none> <none> (no description >
ii gstreamer1.0-alsa:amd64 1.16.2-4ubuntu0.1 amd64 GStreamer plugin>
~
~
~
~
~
~
~
~
~
$ sudo apt-get install --reinstall alsa-base 5.11.0-27 libasound2 alsa-utils alsa-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-modules-nvidia-450-server-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-450-server-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-modules-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-460-server-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-image-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-image-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-cloud-tools-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-450-server-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-418-server-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-470-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-390-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-418-server-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-buildinfo-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-460-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-460-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-390-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-418-server-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-hwe-5.11-cloud-tools-5.11.0-27' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-390-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-tools-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-418-server-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-image-unsigned-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-headers-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-modules-extra-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-460-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-modules-extra-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-470-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-image-unsigned-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-headers-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-470-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-buildinfo-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-cloud-tools-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-modules-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-hwe-5.11-tools-5.11.0-27' for regex '5.11.0-27'
Note, selecting 'linux-hwe-5.11-headers-5.11.0-27' for regex '5.11.0-27'
Note, selecting 'linux-signatures-nvidia-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-460-server-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-tools-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-450-server-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-470-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-signatures-nvidia-5.11.0-27-lowlatency' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-460-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-objects-nvidia-390-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-460-server-5.11.0-27-generic' for regex '5.11.0-27'
Note, selecting 'linux-modules-nvidia-460-server-5.11.0-27-lowlatency' for regex '5.11.0-27'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-image-5.11.0-27-generic : Conflicts: linux-image-unsigned-5.11.0-27-generic but 5.11.0-27.29~20.04.1 is to be installed
linux-image-5.11.0-27-lowlatency : Conflicts: linux-image-unsigned-5.11.0-27-lowlatency but 5.11.0-27.29~20.04.1 is to be installed
linux-image-unsigned-5.11.0-27-generic : Conflicts: linux-image-5.11.0-27-generic but 5.11.0-27.29~20.04.1 is to be installed
linux-image-unsigned-5.11.0-27-lowlatency : Conflicts: linux-image-5.11.0-27-lowlatency but 5.11.0-27.29~20.04.1 is to be installed
linux-modules-nvidia-390-5.11.0-27-generic : Depends: nvidia-kernel-common-390 (<= 390.144-1) but it is not going to be installed
Depends: nvidia-kernel-common-390 (>= 390.144) but it is not going to be installed
linux-modules-nvidia-390-5.11.0-27-lowlatency : Depends: nvidia-kernel-common-390 (<= 390.144-1) but it is not going to be installed
Depends: nvidia-kernel-common-390 (>= 390.144) but it is not going to be installed
linux-modules-nvidia-418-server-5.11.0-27-generic : Depends: nvidia-kernel-common-418-server (<= 418.211.00-1) but it is not going to be installed
Depends: nvidia-kernel-common-418-server (>= 418.211.00) but it is not going to be installed
linux-modules-nvidia-418-server-5.11.0-27-lowlatency : Depends: nvidia-kernel-common-418-server (<= 418.211.00-1) but it is not going to be installed
Depends: nvidia-kernel-common-418-server (>= 418.211.00) but it is not going to be installed
linux-modules-nvidia-450-server-5.11.0-27-generic : Depends: nvidia-kernel-common-450-server (<= 450.142.00-1) but it is not going to be installed
Depends: nvidia-kernel-common-450-server (>= 450.142.00) but it is not going to be installed
linux-modules-nvidia-450-server-5.11.0-27-lowlatency : Depends: nvidia-kernel-common-450-server (<= 450.142.00-1) but it is not going to be installed
Depends: nvidia-kernel-common-450-server (>= 450.142.00) but it is not going to be installed
linux-modules-nvidia-460-server-5.11.0-27-generic : Depends: nvidia-kernel-common-460-server (<= 460.91.03-1) but it is not going to be installed
Depends: nvidia-kernel-common-460-server (>= 460.91.03) but it is not going to be installed
linux-modules-nvidia-460-server-5.11.0-27-lowlatency : Depends: nvidia-kernel-common-460-server (<= 460.91.03-1) but it is not going to be installed
Depends: nvidia-kernel-common-460-server (>= 460.91.03) but it is not going to be installed
linux-modules-nvidia-470-5.11.0-27-generic : Depends: nvidia-kernel-common-470 (<= 470.57.02-1) but it is not going to be installed
Depends: nvidia-kernel-common-470 (>= 470.57.02) but it is not going to be installed
linux-modules-nvidia-470-5.11.0-27-lowlatency : Depends: nvidia-kernel-common-470 (<= 470.57.02-1) but it is not going to be installed
Depends: nvidia-kernel-common-470 (>= 470.57.02) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.