No audio after install (works on live usb)

Hello,

i have recently tried linux for the first time, it was Manjaro with GNOME 24.0.3 and i loved it, so i went and installed it to dual boot with windows 11 (can’t fully ditch it :frowning: )

Everything went fine, but after i installed Manjaro the sound is not working there. It looks as if it were playing, but no sound is coming from either of speakers.

I have googled around for people with similar problems and disabled Windows’s “fast boot” that could cause this issue, but it didn’t help.

I also saw that people post their outputs of inxi -Aazyx when trying to look for the problem on these forums, so i went back to live USB and this was the output of it:

Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: c3:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: c3:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: c3:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.9.5-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
    ~                                                                                                                                                 ✔

Then i booted back into the installed version, and the output is this:

Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: c3:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: c3:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: c3:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.9.9-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl

As you may see, the only difference is that live usb that has sound working is using PipeWire v: 1.0.7 and API: ALSA v: k6.9.5-1-MANJARO, while the installed version is using PipeWire v: 1.2.1 and API: ALSA v: k6.9.9-1-MANJARO

Now my first thought would be to downgrade pipewire to 107 or somehow use that different ALSA API, but i am not sure how and also, perhaps this is not a good idea at all, and maybe i should do something different, maybe just change some configuration somewhere or something, as instinct would tell me that higher version of PipeWire/ALSA API would support at least the same audio cards as the older versions.

Could someone advice?

anyone?

Please post more information about audio devices detected in pipewire-pulse

pactl list cards

and ALSA

sudo alsa-info.sh --upload

hello, thanks for the response

pactl list cards

Card #49
	Name: alsa_card.pci-0000_c3_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HD-Audio Generic at 0x905c8000 irq 107"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:c3:00.1"
		device.description = "Rembrandt Radeon High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_c3_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "9403190"
		device.product.id = "0x1640"
		device.product.name = "Rembrandt Radeon High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "47"
		object.id = "49"
		object.serial = "49"
		object.path = "alsa:acp:Generic"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0x905c8000 irq 107"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100800"
		alsa.id = "Generic"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 3, sources: 0, priority: 11600, available: no)
		pro-audio: Pro Audio (sinks: 3, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 1300, latency offset: 0 usec, availability group: HDMI/DP,pcm=8, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=8"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, latency offset: 0 usec, availability group: HDMI/DP,pcm=7, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=7"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): HiFi
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): HiFi

Card #50
	Name: alsa_card.pci-0000_c3_00.6
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0x905c0000 irq 108"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:c3:00.6"
		device.description = "Family 17h/19h HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_c3_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "9503107"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "47"
		object.id = "50"
		object.serial = "50"
		object.path = "alsa:acp:Generic_1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0x905c0000 irq 108"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Realtek ALC257"
		alsa.components = "HDA:10ec0257,17aa50d8,00100001"
		alsa.id = "Generic_1"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi (Headphones, Mic1, Mic2): Play HiFi quality Music (Headphones, Mic1, Mic2) (sinks: 1, sources: 2, priority: 8500, available: no)
		HiFi (Mic1, Mic2, Speaker): Play HiFi quality Music (Mic1, Mic2, Speaker) (sinks: 1, sources: 2, priority: 8400, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: HiFi (Mic1, Mic2, Speaker)
	Ports:
		[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "speaker"
				device.icon_name = "audio-speakers"
				card.profile.port = "0"
			Part of profile(s): HiFi (Mic1, Mic2, Speaker)
		[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): HiFi (Mic1, Mic2, Speaker), HiFi (Headphones, Mic1, Mic2)
		[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "2"
			Part of profile(s): HiFi (Mic1, Mic2, Speaker), HiFi (Headphones, Mic1, Mic2)
		[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, availability group: Headphone, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Headphone"
				device.icon_name = "audio-headphones"
				card.profile.port = "3"
			Part of profile(s): HiFi (Headphones, Mic1, Mic2)

alsa-info.sh is uploaded to http://alsa-project.org/db/?f=68e165e327910301d242f9ac09eb1787f9101f4f

but during the alsa-info it gavme these 2 errors:

cat: /tmp/alsa-info.hCvsbfzd8T/sdwstatus.tmp: No such file or directory
cat: '/sys/module/snd_soc_ps_mach/parameters/*': No such file or directory
/usr/bin/alsa-info.sh: line 679: tree: command not found
/usr/bin/alsa-info.sh: line 679: tree: command not found
/usr/bin/alsa-info.sh: line 679: tree: command not found
Uploading information to www.alsa-project.org ... Done!

also, i have noticed that when i start the system, the sound does not work i have found that this can make it work:

  • with no sound i go to alsamixer in terminal
  • move a little bit every single one of existing knobs on every sound card
  • exit the alsamixer
  • click on the speaker icon and then i finally find that the volume slider is down to muted level - now i can move it up and the sound comes

before the knob-moving in alsa mixer this volume knob is not muted and when i move it no sound comes up no matter what

i can’t believe i’m the only one with this issue :smiley:

You need to install tree:

pamac install tree (don’t use sudo with this command)

wow, thank you for the response, it works! i wonder what could have gone wrong, i have simply installed a fresh os on a new computer

also, it is incredibly strange, why would a volume/sound card need a command to list directory in a tree view? would you happen to know? i am honestly curious

tree was only for the alsa-info.sh script to function properly.
It would not be required by any part of the actual sound system.
I suspect that it was actually the sync that fixed the issue.

To see all package transactions from today

grep "$(date -I)" /var/log/pacman.log

Or to send it straight to a paste

grep "$(date -I)" /var/log/pacman.log | curl -F 'file=@-' https://0x0.st

it could be! i ran the command and see some entries related to alsamixer like

 [ALPM] upgraded alsa-card-profiles (1:1.2.3-1 -> 1:1.2.5-0)
 [ALPM] upgraded pipewire (1:1.2.3-1 -> 1:1.2.5-0)
 [ALPM] upgraded pipewire-alsa (1:1.2.3-1 -> 1:1.2.5-0)
 [ALPM] upgraded lib32-pipewire (1:1.2.3-1 -> 1:1.2.5-0)
 [ALPM] upgraded pipewire-pulse (1:1.2.3-1 -> 1:1.2.5-0)
 [ALPM] upgraded pipewire-audio (1:1.2.3-1 -> 1:1.2.5-0)

thank you anwyays!

Without more of the output its difficult to make an informed guess.
It could be those (or other) updates … just updated software fixing some bug.
It could also be that you were in a partial-upgrade state until now.
In whatever case … it still would make the most sense that the sync/upgrade was the fix - which you got while installing tree - but not that the package tree did any fixing itself.

You had marked my reply as the solution, however I have unmarked it as it was not the solution to the original problem, just instructions for installing tree so that you could run sudo alsa-info.sh --upload without an error message.

If the original problem is resolved to your satisfaction, please mark as the solution the reply that was most responsible for fixing the problem. Or, if you fixed it yourself, create a post summarising what you did to resolve the issue and mark that as the solution.

Otherwise, if the original issue isn’t resolved, just leave this thread unsolved and hopefully someone with more knowledge regarding ALSA/audio will step in & provide assistance.

well, it was sorted out outside of the thread scope, by some of the updates i guess, really hard to guess. i did not do anything in particular. i run updates every time i get chance to, so it was probably quite a coincidence that one of today’s updates fixed this issue and after restart (to test whether the tree did anything) it worked

i have marked @cscs’s answer as correct as it is explains what probably happened

1 Like

Sometimes an update breaks something, even after it has been run through Unstable & Testing branches without any apparent issues, and the next update magically fixes it. And whatever caused the problem remains a mystery until the end of time…

Anyway, I’m glad you got it sorted out & your audio is working again :smiley:

1 Like

[Stable Update] 2024-10-01 - Kernels, Plasma 6.1.5, KDE Gear 24.08.1, LibreOffice, Virtualbox 7.1 - #171 by philm

I might check and backport it to testing tomorrow.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.