<SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Post by MrEen »

Actually, we have enough info already. See xenopeek's post here, and just change all the version numbers to 1:13.99.1-1ubuntu3.2 as the security repo has that version.

If you need clarification on what I'm saying, just leave it till tomorrow.

Have a good night. :D

EDIT: If you go ahead with the change, you'll also need to rm ~/.config/pulse/client.conf to allow pulseaudio to run again for testing.
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Post by bubbus »

Alright! So just to make sure (there's so much code here for my weak rookie eyes), the first thing to run is

Code: Select all

apt install libpulse-mainloop-glib0=1:13.99.1-1ubuntu3.2 libpulse0=1:13.99.1-1ubuntu3.2 libpulsedsp=1:13.99.1-1ubuntu3.2 pulseaudio=1:13.99.1-1ubuntu3.2 pulseaudio-module-bluetooth=1:13.99.1-1ubuntu3.2 pulseaudio-utils=1:13.99.1-1ubuntu3.2
followed by

Code: Select all

rm ~/.config/pulse/client.conf
correct? Should I reboot at any point?
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Post by MrEen »

EDIT: Actually, before running that command, do run apt update first, then proceed.

That looks perfect, and yes reboot when done. If the audio works straight away, everything should be solved. We might need a little config adjustment, or it's possible it's not the update that breaks pulseaudio for you but some other reason. At least we know we can get back to working by stopping pulseaudio again if necessary.
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Post by bubbus »

Finally got around to doing this! Sound still works after rebooting!
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Post by MrEen »

Yeah!

Terribly sorry I lead you down the wrong path for so long. It's been such an issue with Zenbooks recently I thought for sure that's what your issue was.

Glad we finally got it figured out!!! :D
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Post by MrEen »

Now be aware that the pulseaudio update will return to your Update Manager. I would suggest just skipping it until a higher version is released. If you blacklist it, you won't see when the new version arrives I believe.
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are detected

Post by bubbus »

Terribly sorry I lead you down the wrong path for so long.
Hey dude no apology necessary! Thanks so much for the help!!
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by MrEen »

If you happen to check back in and see this in the next day or two, do you have any snaps installed in your system? I was looking through the changelogs for pulseaudio and found a chunk of stuff added to disable snaps from doing certain operations in the sound system. I was thinking maybe they got a little aggressive with the code and stopped too much from happening. As this only is affecting some users, I was wondering if only snap users are affected.

If you're not sure, you can check with snap list in the terminal.
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by bubbus »

Hello again!

I ran into a weird boot loop issue that I think was caused by my root partition filling up (I misread the tutorial when sizing partitions during the install process, haha). I fixed that by changing the size of/moving some partitions around, but now my sound has once again mysteriously disappeared! I installed the newest pulseaudio update (which came out since we first resolved this issue) but after rebooting sound is still gone. I came back to this thread to retry the code we had that worked, but it seems to have not worked this time around. Here's what I ran:

Code: Select all

tee ~/.config/pulse/client.conf <<<'autospawn = no'
pulseaudio -k
sudo fuser -v /dev/snd/*
aplay -D hw:1,0 /usr/share/sounds/alsa/Front_Center.wav
I recall at some point the cards got switched around while we were trying different approaches, but I think messing around with partitions somehow caused it to switch back to the way it was before. I ran dmesg as well:

Code: Select all

karl@Bibbus:~$ dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[    0.300100] ACPI: Added _OSI(Linux-Dell-Video)
[    0.300101] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.300102] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[    0.675949] integrity: Loading X.509 certificate: UEFI:db
[    0.675979] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.675979] integrity: Loading X.509 certificate: UEFI:db
[    0.676008] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.676009] integrity: Loading X.509 certificate: UEFI:db
--
[    3.039302] systemd[1]: Found device SAMSUNG MZVLB1T0HALR-00000 Home\x20linux\x20partition.
[    3.040584] snd_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
[    3.040783] snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 2
[    3.042566] mc: Linux media interface: v0.10
--
[    3.116540] MCE: In-kernel MCE decoding enabled.
[    3.117953] uvcvideo 3-2:1.0: Entity type for entity Microsoft Extended Controls Uni was not initialized!
[    3.117956] uvcvideo 3-2:1.0: Entity type for entity Realtek Extended Controls Unit was not initialized!
--
[    3.164612] uvcvideo: Found UVC 1.50 device USB2.0 HD IR UVC WebCam (13d3:56cb)
[    3.178247] uvcvideo 3-2:1.2: Entity type for entity Microsoft Extended Controls Uni was not initialized!
[    3.178250] uvcvideo 3-2:1.2: Entity type for entity Extension 9 was not initialized!
--
                (Note that use of the override may cause unknown side effects.)
[    3.303482] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[    3.307237] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    3.307404] snd_hda_intel 0000:03:00.6: enabling device (0000 -> 0002)
[    3.328393] acp_pdm_mach acp_pdm_mach.0: dmic-hifi <-> acp_rn_pdm_dma.0 mapping ok
[    3.357871] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    3.358457] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input11
[    3.358883] EDAC amd64: Node 0: DRAM ECC disabled.
--
                (Note that use of the override may cause unknown side effects.)
[    3.364707] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    3.364710] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.364713] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.364714] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    3.364715] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    3.364716] snd_hda_codec_realtek hdaudioC1D0:      Headset Mic=0x19
[    3.364718] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    3.397288] iwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
--
                (Note that use of the override may cause unknown side effects.)
[    3.767757] input: HD-Audio Generic Headset Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input12
[    3.767838] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input13
[    3.865239] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Not entirely sure if I'm barking up the right metaphorical tree.

I also ran the snap list code as soon as I saw your post but that gives me

Code: Select all

bash: snap: command not found
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by MrEen »

If deleting the files in /home/YourUserName/.config/pulse then running pulseaudio -k in the terminal doesn't fix this, run the curl command again:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by bubbus »

I'm not seeing a ~/.config/pulse directory under /home/username, do you mean the files in /etc/pulse?
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by MrEen »

No. An WTH?
tee ~/.config/pulse/client.conf <<<'autospawn = no'
Mind you. if you've deleted it already, it won't recreate it until it plays sound.

Let's just get the big output again, and see what we're dealing with. :D
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by MrEen »

Well, the output looked perfect. Did sudo fuser -v /dev/snd/* return any lines with something other than pulseaudio?

Let's see pacmd list-sinks as well, but I doubt that's going to help.
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by bubbus »

fuser just gives pulseaudio:

Code: Select all

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  karl       1258 F.... pulseaudio
/dev/snd/controlC1:  karl       1258 F.... pulseaudio
/dev/snd/pcmC1D0c:   karl       1258 F...m pulseaudio
/dev/snd/timer:      karl       1258 f.... pulseaudio
pacmd gives

Code: Select all

1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_03_00.6.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 100.14 ms
	card: 2 <alsa_card.pci-0000_03_00.6>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC294 Analog"
		alsa.id = "ALC294 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfe7c0000 irq 64"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by MrEen »

Ahh crud. This stuff again:

Code: Select all

		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
Did you try a full shutdown from within Windows, before booting Mint?
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by bubbus »

That did not work, unfortunately
User avatar
MrEen
Level 20
Level 20
Posts: 11896
Joined: Mon Jun 12, 2017 8:39 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by MrEen »

Okay, let's see ls -la ~/.config/pulse ls -la ~/.pulse and cat ~/.asoundrc. The last 2 will probably just throw errors.
bubbus
Level 2
Level 2
Posts: 51
Joined: Mon Jul 06, 2020 3:10 pm

Re: <SOLVED> No sound on new install of Mint 20 Cinnamon on zenbook 14 from headphones or speakers; sound cards are dete

Post by bubbus »

yep, second two error'd:

Code: Select all

karl@Bibbus:~$ ls -la ~/.config/pulse
total 60
drwx------  2 karl karl  4096 Jul 21 14:07 .
drwxr-xr-x 23 karl karl  4096 Jul 21 20:50 ..
-rw-------  1 karl karl 12288 Jul  6 15:45 b76cc7b1bbdc489e93909d2043031de8-card-database.tdb
-rw-------  1 karl karl     1 Jul 21 20:58 b76cc7b1bbdc489e93909d2043031de8-default-sink
-rw-------  1 karl karl    42 Jul 21 20:58 b76cc7b1bbdc489e93909d2043031de8-default-source
-rw-------  1 karl karl 12288 Jul 21 13:46 b76cc7b1bbdc489e93909d2043031de8-device-volumes.tdb
-rw-------  1 karl karl 12288 Jul 21 20:50 b76cc7b1bbdc489e93909d2043031de8-stream-volumes.tdb
-rw-rw-r--  1 karl karl    15 Jul 21 14:07 client.conf
-rw-------  1 karl karl   256 Jul  5 16:04 cookie
karl@Bibbus:~$ ls -la ~/.pulse
ls: cannot access '/home/karl/.pulse': No such file or directory
karl@Bibbus:~$ cat ~/.asoundrc
cat: /home/karl/.asoundrc: No such file or directory
Post Reply

Return to “Hardware Support”