You are not logged in.
I've recently installed Arch with Plasma KDE on this machine, but no audio plays when "Headphones / Headphones" is selected. The only solution that works temporarily is going into pavucontrol and selecting "Line Out / Headphones (unplugged)", however since it is listed as unplugged I cannot set it as default and have to select it on every reboot. I would rather have audio working immediately.
My sound card is the Sound BlasterX AE-5 Pure Edition. sof-firmware is installed.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Creative [HDA Creative], device 0: CA0132 Analog [CA0132 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Creative [HDA Creative], device 1: CA0132 Digital [CA0132 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HP 2159]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
sudo dmesg | grep -iE 'snd|sof'
[ 0.000000] software IO TLB: area num 16.
[ 0.308537] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.308539] software IO TLB: mapped [mem 0x00000000d33db000-0x00000000d73db000] (64MB)
[ 5.462994] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 5.625908] snd_hda_intel 0000:04:00.0: enabling device (0000 -> 0002)
[ 5.625994] snd_hda_intel 0000:04:00.0: Disabling MSI
[ 5.625997] snd_hda_intel 0000:04:00.0: Force to non-snoop mode
[ 5.626158] snd_hda_intel 0000:0b:00.1: Disabling MSI
[ 5.626172] snd_hda_intel 0000:0b:00.1: Handle vga_switcheroo audio client
[ 5.626223] snd_hda_intel 0000:0d:00.3: enabling device (0000 -> 0002)
[ 5.727261] snd_hda_codec_ca0132 hdaudioC0D1: autoconfig for Sound BlasterX AE-5: line_outs=3 (0xb/0xf/0x10/0x0/0x0) type:line
[ 5.727270] snd_hda_codec_ca0132 hdaudioC0D1: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.727274] snd_hda_codec_ca0132 hdaudioC0D1: hp_outs=1 (0x11/0x0/0x0/0x0/0x0)
[ 5.727277] snd_hda_codec_ca0132 hdaudioC0D1: mono: mono_out=0x0
[ 5.727279] snd_hda_codec_ca0132 hdaudioC0D1: dig-out=0xc/0xd
[ 5.727282] snd_hda_codec_ca0132 hdaudioC0D1: inputs:
[ 5.727284] snd_hda_codec_ca0132 hdaudioC0D1: Mic=0x12
[ 5.727286] snd_hda_codec_ca0132 hdaudioC0D1: Line=0x13
[ 5.727289] snd_hda_codec_ca0132 hdaudioC0D1: dig-in=0xe
[ 6.187461] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[ 6.187467] snd_hda_codec_realtek hdaudioC2D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 6.187470] snd_hda_codec_realtek hdaudioC2D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 6.187472] snd_hda_codec_realtek hdaudioC2D0: mono: mono_out=0x0
[ 6.187474] snd_hda_codec_realtek hdaudioC2D0: dig-out=0x1e/0x0
[ 6.187476] snd_hda_codec_realtek hdaudioC2D0: inputs:
[ 6.187478] snd_hda_codec_realtek hdaudioC2D0: Front Mic=0x19
[ 6.187480] snd_hda_codec_realtek hdaudioC2D0: Rear Mic=0x18
[ 6.187482] snd_hda_codec_realtek hdaudioC2D0: Line=0x1a
[ 6.413640] snd_hda_codec_ca0132 hdaudioC0D1: ca0132 DSP downloaded and running
[ 16.545954] snd_hda_intel 0000:04:00.0: Too many BDL entries: buffer=1572864, period=49152
Offline
That card/driver is notorious for various troubles including the fact that jack sensing doesn't work properly/only one specific audio output port might work correctly.
If it works with a different pulse port, just add a autostart command to switch to it e.g. when using pipewire under /etc/pipewire/pipewire-pulse.conf.d/50-switchPort.conf
context.exec = [
{ path = "pactl" args = "set-sink-port alsa_cardXXX.output-stereo analog-output-lineout" }
]
Check "pactl list sinks" for the sink name you put at alsa_card_XXX and the actual port name to switch to
Online
Audio still doesn't work automatically on start up. Did I accidentally mess up the autostart command?
$ cat /etc/pipewire/pipewire-pulse.conf.d/50-switchPort.conf
context.exec = [
{ path = "pactl" args = "set-sink-port alsa_card.pci-0000_04_00.0.output-stereo analog-output-lineout" }
]
$ pactl list sinks
Sink #45
State: SUSPENDED
Name: alsa_output.pci-0000_04_00.0.analog-stereo
Description: CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 20972 / 32% / -29.69 dB, front-right: 20972 / 32% / -29.69 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_04_00.0.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
object.path = "alsa:pcm:0:front:0:playback"
api.alsa.path = "front:0"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
device.routes = "4"
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CA0132 Analog"
alsa.id = "CA0132 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Creative"
alsa.long_card_name = "HDA Creative at 0xf7404000 irq 33"
alsa.driver_name = "snd_hda_intel"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
card.profile.device = "5"
device.id = "41"
factory.name = "api.alsa.pcm.sink"
priority.driver = "1009"
priority.session = "1009"
media.class = "Audio/Sink"
node.nick = "HDA Creative"
node.name = "alsa_output.pci-0000_04_00.0.analog-stereo"
device.description = "CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus]"
device.icon_name = "audio-card-analog"
device.bus = "pci"
device.bus_path = "pci-0000:04:00.0"
node.pause-on-idle = "false"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "40"
object.serial = "45"
device.enum.api = "udev"
api.alsa.card = "0"
api.alsa.card.name = "HDA Creative"
api.alsa.card.longname = "HDA Creative at 0xf7404000 irq 33"
device.plugged.usec = "7551702"
sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:00.0/0000:04:00.0/sound/card0"
device.subsystem = "sound"
device.vendor.id = "0x1102"
device.vendor.name = "Creative Labs"
device.product.id = "0x0012"
device.product.name = "CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus]"
device.name = "alsa_card.pci-0000_04_00.0"
device.nick = "HDA Creative"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio0"
device.string = "0"
Ports:
analog-output-lineout;output-speaker: Line Out / Speaker (type: Line, priority: 9010, availability group: Legacy 3, availability unknown)
analog-output-lineout;output-headphones: Line Out / Headphones (type: Line, priority: 9009, availability group: Legacy 3, not available)
analog-output-headphones;output-speaker: Headphones / Speaker (type: Headphones, priority: 9910, availability group: Legacy 4, availability unknown)
analog-output-headphones;output-headphones: Headphones / Headphones (type: Headphones, priority: 9909, availability group: Legacy 4, available)
Active Port: analog-output-headphones;output-headphones
Formats:
pcm
Offline