You are not logged in.
Pages: 1
I am new to arch and after installing it everything seems to be fine except that the audio isn't working, it looks like i have all of the drivers and stuff, and in the kde settings it shows my audio card but its labeled as inactive with no way to enable it.
any ideas? i'm lost, if you need me to post any outputs i'll do it asap
the computer is an hp envyx360 with an amd ryzen 7 5825 and radeon renoir high definition audio controller if that helps
Last edited by brekker23 (2024-02-14 02:50:34)
Offline
$ pacman -Qs firmware<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
AMD based setups haven't made use of sof-firmware historically so I somewhat doubt d.ALT inclination to be overly fruitful.
But to properly check we need more context regardless
sudo fuser -v /dev/snd/*
sudo dmesg | grep -E 'snd|sof'
aplay -lL
pactl list cards
pactl list sinksOffline
pacman -Qs firmware
local/linux-firmware 20240115.9b6d0b08-2
Firmware files for Linux
local/linux-firmware-whence 20240115.9b6d0b08-2
Firmware files for Linux - contains the WHENCE license file which documents the vendor license detailsand
sudo fuser -v /dev/snd/*
[sudo] password for user:
USER PID ACCESS COMMAND
/dev/snd/controlC0: user 7948 F.... pulseaudio
/dev/snd/controlC1: user 7948 F.... pulseaudio
/dev/snd/controlC2: user 7948 F.... pulseaudio
/dev/snd/pcmC1D0p: user 7948 F...m pulseaudioand
sudo dmesg | grep -E 'snd|sof'
[ 5.143864] snd_rn_pci_acp3x 0000:04:00.5: enabling device (0000 -> 0002)
[ 6.477573] snd_hda_intel 0000:04:00.1: enabling device (0000 -> 0002)
[ 6.482912] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[ 6.485253] snd_hda_intel 0000:04:00.6: enabling device (0000 -> 0002)
[ 6.758695] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 6.758749] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 6.758787] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 6.758822] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 6.758846] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 6.758868] snd_hda_codec_realtek hdaudioC1D0: Mic=0x19
[ 15.162107] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])and aplay gives command not found
pactl list cards
Card #0
Name: alsa_card.pci-0000_04_00.1
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xd05c8000 irq 99"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1637"
device.product.name = "Renoir Radeon High Definition Audio Controller"
device.string = "0"
device.description = "Renoir Radeon High Definition Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
HiFi: Play HiFi quality Music (sinks: 2, sources: 0, priority: 10300, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: off
Ports:
[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, latency offset: 0 usec, not available)
Part of profile(s): HiFi
[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, not available)
Part of profile(s): HiFi
Card #1
Name: alsa_card.pci-0000_04_00.6
Driver: module-alsa-card.c
Owner Module: 8
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xd05c0000 irq 100"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04: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/19h HD Audio Controller"
device.string = "1"
device.description = "Family 17h/19h HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
HiFi (Mic1, Mic2, Speaker): Play HiFi quality Music (Mic1, Mic2, Speaker) (sinks: 1, sources: 2, priority: 41168, available: yes)
HiFi (Headphones, Mic1, Mic2): Play HiFi quality Music (Headphones, Mic1, Mic2) (sinks: 1, sources: 2, priority: 8500, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: HiFi (Mic1, Mic2, Speaker)
Ports:
[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
Part of profile(s): HiFi (Mic1, Mic2, Speaker)
[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, not available)
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)
Part of profile(s): HiFi (Mic1, Mic2, Speaker), HiFi (Headphones, Mic1, Mic2)
[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, not available)
Part of profile(s): HiFi (Headphones, Mic1, Mic2)and
pactl list sinks
Sink #0
State: RUNNING
Name: alsa_output.pci-0000_04_00.6.HiFi__Speaker__sink
Description: Family 17h/19h HD Audio Controller Speaker
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 8
Mute: no
Volume: front-left: 36700 / 56% / -15.11 dB, front-right: 36700 / 56% / -15.11 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_04_00.6.HiFi__Speaker__sink.monitor
Latency: 19313 usec, configured 18750 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC245 Analog"
alsa.id = "ALC245 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 0xd05c0000 irq 100"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04: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/19h HD Audio Controller"
device.string = "_ucm0003.hw:Generic_1"
device.buffering.buffer_size = "384000"
device.buffering.fragment_size = "192000"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: Speaker: sink"
device.profile.description = "Speaker"
alsa.mixer_device = "_ucm0003.hw:Generic_1"
device.description = "Family 17h/19h HD Audio Controller Speaker"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
[Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
Active Port: [Out] Speaker
Formats:
pcmThank you!
Offline
Mhm... random try:
pactl set-card-profile alsa_card.pci-0000_04_00.6 "HiFi (Headphones, Mic1, Mic2)"If that doesn't work. Install alsa-utils and repost
aplay -lL
amixer -c1Generally sounds like faulty jack sensing. Could also be an ucm flub in which case you could try adding
load-module module-udev-detect use_ucm=0 to the /etc/pulse/default.pa (the load-module module-udev-detect line will already be present, append the mentioned option there)
Offline
pactl set-card-profile alsa_card.pci-0000_04_00.6 "HiFi (Headphones, Mic1, Mic2)"didn't work
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
hdmi:CARD=Generic,DEV=1
HD-Audio Generic, HDMI 1
HDMI Audio Output
default:CARD=Generic_1
HD-Audio Generic, ALC245 Analog
Default Audio Device
sysdefault:CARD=Generic_1
HD-Audio Generic, ALC245 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
Front output / input
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC245 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC245 Analog [ALC245 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0and
amixer -c1
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 67 [77%] [-15.00dB] [off]
Front Right: Playback 67 [77%] [-15.00dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 0 [0%] [-17.25dB] [off]
Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'i also tried running
load-module module-udev-detect use_ucm=0 but got load-module command not found
Offline
from the output assuming it is a jack detection flub, if you revert back to the speaker profile with
pactl set-card-profile alsa_card.pci-0000_04_00.6 "HiFi (Mic1, Mic2, Speaker)"can you explicitly run
amixer -c1 set 'Auto-Mute Mode',0 'Disabled'
amixer -c1 'Speaker',0 on,ondoes that help?
Regarding the udev detect change if you read my reply again you'd note that the module-udev-detect is not a command you run but a configuration option for pulseaudio, with which you can configure pulseaudio to enumerate devices differently. After having changed said line restart pulseaudio with
systemctl --user restart pulseaudioOffline
amixer -c1 set 'Auto-Mute Mode',0 'Disabled'ran fine but
amixer -c1 'Speaker',0 on,ongave
amixer: Unknown command 'Speaker,0'...still no audio
where do i find the pulseaudio file to add the configuration line?
thank you for the help!
Offline
whoops
amixer -c1 set 'Speaker',0 on,onof course.
Generally sounds like faulty jack sensing. Could also be an ucm flub in which case you could try adding
load-module module-udev-detect use_ucm=0to the /etc/pulse/default.pa (the load-module module-udev-detect line will already be present, append the mentioned option there)
Offline
ok i did all that unfortunately still no audio though
Offline
The pactl outputs should've changed, repost them.
And FWIW, try more directly (without playing anything else)
speaker-test -Dhw:1 -c2do you not hear any noise?
Do you have a parallel Windows install? Make sure fast boot is disabled there (and double check, this is prone to get reactivated with Windows updates)
If you had and if that didn't fix it (or if you don't and still have the issue) try a (without anything else playing)
sudo alsactl init.
Which kernel are you on? Try the normal one if LTS or LTS if the normal one.
If none of those worked, I'd break out hdajackretask (alsa-tools iirc) which is a GUI for HDA cards and allows you to remap the logical wiring, you can potentially rewire so that it doesn't detect a headphone jack as perpetually connected and properly assigns the speakers.
If that fails you'd probably have to report a kernel bug.
Offline
pactl list cards
Card #0
Name: alsa_card.pci-0000_04_00.1
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xd05c8000 irq 100"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1637"
device.product.name = "Renoir Radeon High Definition Audio Controller"
device.string = "0"
device.description = "Renoir Radeon High Definition Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: off
Ports:
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
Card #1
Name: alsa_card.pci-0000_04_00.5-platform-acp_pdm_mach.0
Driver: module-alsa-card.c
Owner Module: 7
Properties:
alsa.card = "2"
alsa.card_name = "acp"
alsa.long_card_name = "HP-HPENVYx3602_in_1Laptop15_ey0xxx-Type1ProductConfigId-8A31"
alsa.driver_name = "snd_acp3x_rn"
device.bus_path = "pci-0000:04:00.5-platform-acp_pdm_mach.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.5/acp_pdm_mach.0/sound/card2"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e2"
device.product.name = "ACP/ACP3X/ACP6x Audio Coprocessor"
device.string = "2"
device.description = "ACP/ACP3X/ACP6x Audio Coprocessor"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
input:stereo-fallback: Stereo Input (sinks: 0, sources: 1, priority: 51, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: input:stereo-fallback
Ports:
analog-input: Analog Input (type: Analog, priority: 10000, latency offset: 0 usec, availability unknown)
Part of profile(s): input:stereo-fallback
Card #2
Name: alsa_card.pci-0000_04_00.6
Driver: module-alsa-card.c
Owner Module: 8
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xd05c0000 irq 101"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04: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/19h HD Audio Controller"
device.string = "1"
device.description = "Family 17h/19h HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:analog-stereo
Ports:
analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
Properties:
device.icon_name = "audio-speakers"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
Properties:
device.icon_name = "audio-headphones"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereoand
pactl list sinks
Sink #0
State: SUSPENDED
Name: alsa_output.pci-0000_04_00.6.analog-stereo
Description: Family 17h/19h HD Audio Controller Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 8
Mute: no
Volume: front-left: 39977 / 61% / -12.88 dB, front-right: 39977 / 61% / -12.88 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_04_00.6.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC245 Analog"
alsa.id = "ALC245 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 0xd05c0000 irq 101"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:04:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04: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/19h HD Audio Controller"
device.string = "front:1"
device.buffering.buffer_size = "384000"
device.buffering.fragment_size = "192000"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Family 17h/19h HD Audio Controller Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
Active Port: analog-output-speaker
Formats:
pcmi used that way of testing sound but theres still nothing, its also not a parallel install, i've messed with that in the past but not this time
i'm on the normal kernel, pardon my ignorance, how do i switch kernel to lts?
Offline
ok i tried the lts kernel to no luck,
Offline
Pages: 1