You are not logged in.
Pages: 1
Hey, this is a fresh Arch install and I'm trying to get audio working. I'm following a tutorial that told me to install pavucontrol, pulseaudio, and alsa. I tried to reinstall alsa and pulseaudio several times to no avail.
(base) [bubbles@bubblesarchlinux ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0 (base) [bubbles@bubblesarchlinux ~]$ lspci | grep Audio
0a:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
0c:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio ControllerCard 0 (NVIDIA) is my connected monitor that has no-built in audio and card 1 (AMD) is the sound card from my mobo. I want to use card 1 and disable card 0 as it's never worked anyways. The file /etc/modprobe.d/alsa-base.conf doesn't exist and I don't know why. Pavucontrol GUI shows
fluctuations in volume bar signaling supposed output when doing speaker-test -c 2. Using systemctl to enable pulseaudio and pulseaudio.socket didn't work until I added the --user parameter.
(base) [bubbles@bubblesarchlinux ~]$ systemctl --user status pulseaudio
* pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2022-03-14 10:05:26 PDT; 24min ago
TriggeredBy: * pulseaudio.socket
Main PID: 1179 (pulseaudio)
Tasks: 7 (limit: 19053)
Memory: 33.7M
CPU: 457ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
|-1179 /usr/bin/pulseaudio --daemonize=no --log-target=journal
`-1473 /usr/lib/pulse/gsettings-helper
Mar 14 10:05:24 bubblesarchlinux systemd[992]: Starting Sound Service...
Mar 14 10:05:26 bubblesarchlinux pulseaudio[1179]: stat('/etc/pulse/default.pa.d'): No such file or directory
Mar 14 10:05:26 bubblesarchlinux systemd[992]: Started Sound Service.
Mar 14 10:05:26 bubblesarchlinux pulseaudio[1179]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.(base) [bubbles@bubblesarchlinux ~]$ ls -lah /etc/pulse/
total 28K
drwxr-xr-x 2 root root 4.0K Mar 14 10:09 .
drwxr-xr-x 91 root root 4.0K Mar 14 10:05 ..
-rw-r--r-- 1 root root 1.2K Feb 22 19:22 client.conf
-rw-r--r-- 1 root root 2.4K Feb 22 19:22 daemon.conf
-rw-r--r-- 1 root root 4.9K Feb 22 19:22 default.pa
-rw-r--r-- 1 root root 2.1K Feb 22 19:22 system.pa(base) [bubbles@bubblesarchlinux ~]$ pactl list cards
Card #0
Name: alsa_card.pci-0000_0a_00.1
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 120"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0a:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "1aef"
device.product.name = "GA102 High Definition Audio Controller"
device.string = "0"
device.description = "GA102 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: 38468, available: yes)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:hdmi-stereo-extra1
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, available)
Properties:
device.icon_name = "video-display"
device.product.name = "MSI G273
"
Part of profile(s): output:hdmi-stereo-extra1
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5
hdmi-output-6: HDMI / DisplayPort 7 (type: HDMI, priority: 5300, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo-extra6, output:hdmi-surround-extra6, output:hdmi-surround71-extra6
Card #1
Name: alsa_card.pci-0000_0c_00.4
Driver: module-alsa-card.c
Owner Module: 7
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcb00000 irq 105"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0c:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "1"
device.description = "Starship/Matisse 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: 6500, available: no)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 38268, available: yes)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:iec958-stereo
Ports:
analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, 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, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, 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, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, not available)
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, not available)
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+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-stereo
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo(base) [bubbles@bubblesarchlinux ~]$ pactl list sinks
Sink #0
State: SUSPENDED
Name: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1
Description: GA102 High Definition Audio Controller Digital Stereo (HDMI 2)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 6
Mute: no
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
Monitor Source: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 1"
alsa.id = "HDMI 1"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "7"
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 120"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0a:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "1aef"
device.product.name = "GA102 High Definition Audio Controller"
device.string = "hdmi:0,1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo-extra1"
device.profile.description = "Digital Stereo (HDMI 2)"
device.description = "GA102 High Definition Audio Controller Digital Stereo (HDMI 2)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, available)
Active Port: hdmi-output-1
Formats:
pcm
Sink #1
State: RUNNING
Name: alsa_output.pci-0000_0c_00.4.iec958-stereo
Description: Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
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
Monitor Source: alsa_output.pci-0000_0c_00.4.iec958-stereo.monitor
Latency: 1766480 usec, configured 1837333 usec
Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Digital"
alsa.id = "ALC1220 Digital"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "1"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcb00000 irq 105"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0c:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "iec958:1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "iec958-stereo"
device.profile.description = "Digital Stereo (IEC958)"
device.description = "Starship/Matisse HD Audio Controller Digital Stereo (IEC958)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
Active Port: iec958-stereo-output
Formats:
pcmBoth sound cards are unmuted in alsamixer and everytime I F6 to switch to the AMD sound card and reopen alsamixer, it reverts to the NVIDIA sound card. Could I please get some help with this? Thank you so much. :)
Offline
alsamixer is a mixer, it does not define where or what your default device is. You are also advised to generally use pulse tools to have a consistent controlling experience, like e.g. pavucontrol for a reference GUI application.
Where are your speakers connected to? Acccording to pulse only a digital out is available, but that could also be jack misdetection. Do you get output of you force an analog profile?
pactl set-card-profile alsa_card.pci-0000_0c_00.4 output:analog-stereo+input:analog-stereoOffline
alsamixer is a mixer, it does not define where or what your default device is. You are also advised to generally use pulse tools to have a consistent controlling experience, like e.g. pavucontrol for a reference GUI application.
Where are your speakers connected to? Acccording to pulse only a digital out is available, but that could also be jack misdetection. Do you get output of you force an analog profile?
pactl set-card-profile alsa_card.pci-0000_0c_00.4 output:analog-stereo+input:analog-stereo
I see. Nope, I ran the command and there's still no output.
Offline
What are you testing with? Repost
pactl list sinks
pactl list sink-inputsduring playback attempts. Does
speaker-test -Dhw:1,0 -c2or hw:1,1 give you output? What do you get from
amixer -c1Offline
What are you testing with? Repost
pactl list sinks pactl list sink-inputsduring playback attempts. Does
speaker-test -Dhw:1,0 -c2or hw:1,1 give you output? What do you get from
amixer -c1
I'm testing with a random YouTube video.
(base) [bubbles@bubblesarchlinux ~]$ pactl list sinks
Sink #0
State: SUSPENDED
Name: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1
Description: GA102 High Definition Audio Controller Digital Stereo (HDMI 2)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 6
Mute: no
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
Monitor Source: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 1"
alsa.id = "HDMI 1"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "7"
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 104"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0a:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "1aef"
device.product.name = "GA102 High Definition Audio Controller"
device.string = "hdmi:0,1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo-extra1"
device.profile.description = "Digital Stereo (HDMI 2)"
device.description = "GA102 High Definition Audio Controller Digital Stereo (HDMI 2)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, available)
Active Port: hdmi-output-1
Formats:
pcm
Sink #3
State: RUNNING
Name: alsa_output.pci-0000_0c_00.4.iec958-stereo
Description: Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
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
Monitor Source: alsa_output.pci-0000_0c_00.4.iec958-stereo.monitor
Latency: 21299 usec, configured 23220 usec
Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Digital"
alsa.id = "ALC1220 Digital"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "1"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcb00000 irq 105"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0c:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "iec958:1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "iec958-stereo"
device.profile.description = "Digital Stereo (IEC958)"
device.description = "Starship/Matisse HD Audio Controller Digital Stereo (IEC958)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
Active Port: iec958-stereo-output
Formats:
pcm(base) [bubbles@bubblesarchlinux ~]$ pactl list sink-inputs
Sink Input #124
Driver: protocol-native.c
Owner Module: 12
Client: 12
Sink: 3
Sample Specification: float32le 2ch 44100Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 64997 / 99% / -0.22 dB, front-right: 64997 / 99% / -0.22 dB
balance 0.00
Buffer Latency: 52403 usec
Sink Latency: 20185 usec
Resample method: copy
Properties:
application.icon_name = "brave-browser"
media.name = "Playback"
application.name = "Brave"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "35"
application.process.id = "1993"
application.process.user = "bubbles"
application.process.host = "bubblesarchlinux"
application.process.binary = "brave"
application.language = "C"
window.x11.display = ":0"
application.process.machine_id = "bcd8e53cec6b4f7ca2819935df8eb252"
application.process.session_id = "2"
module-stream-restore.id = "sink-input-by-application-name:Brave"Nope, both of those speaker tests don't give output.
(base) [bubbles@bubblesarchlinux ~]$ 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 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [off]
Front Right: Playback 87 [100%] [0.00dB] [off]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front 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 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 7 [23%] [-24.00dB] [on]
Front Right: Playback 7 [23%] [-24.00dB] [on]
Simple mixer control 'Line 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 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 39 [62%] [12.00dB] [on]
Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Capture',1
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'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear 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]Offline
amixer -c1 set 'IEC958 Default PCM',0 off
amixer -c1 set 'Surround',0 100%,100% unmute
amixer -c1 set 'Front',0 unmuteRetry the speaker-test commands after these adjustments.
Offline
The speaker-test commands still give no output after those adjustments.
Offline
amixer -c1 set 'IEC958 Default PCM',0 off amixer -c1 set 'Surround',0 100%,100% unmute amixer -c1 set 'Front',0 unmuteRetry the speaker-test commands after these adjustments.
The speaker-test commands still give no output after those adjustments. Do you know of anything else I should try? Thanks ![]()
Offline
Not really, try a newer kernel e.g. linux-mainline or use hdajackretask to check whether you are able to modify the PIN layouts appropriately. If it's a more lower level issue doing a BIOS/UEFI update might help as well.
Also can you define no outputs? Do you see that it tries (do you get the testing front left/front right messages but just don't hear anything or do you get errors?)
Which mainboard exactly?
Last edited by V1del (2022-03-17 15:49:48)
Offline
Not really, try a newer kernel e.g. linux-mainline or use hdajackretask to check whether you are able to modify the PIN layouts appropriately. If it's a more lower level issue doing a BIOS/UEFI update might help as well.
Also can you define no outputs? Do you see that it tries (do you get the testing front left/front right messages but just don't hear anything or do you get errors?)
Which mainboard exactly?
Hmm, I just did a BIOS update. Yes, I get the testing message:
(base) [bubbles@bubblesarchlinux ~]$ speaker-test -c2
speaker-test 1.2.6
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 10.933631
0 - Front Left
1 - Front Right
Time per period = 10.934101
0 - Front Left
1 - Front Right
Time per period = 10.931549
0 - Front Left
1 - Front Right
Time per period = 10.933388
0 - Front Left
1 - Front Right
Time per period = 10.935086
0 - Front Left
1 - Front Right
Time per period = 10.932592
0 - Front Left
1 - Front Right
Time per period = 10.933808
0 - Front Left
1 - Front Right
Time per period = 10.933397
0 - Front Left
1 - Front Right
^Z
[1]+ Stopped speaker-test -c2
(base) [bubbles@bubblesarchlinux ~]$ but do not hear anything despite amixer saying my sound is on max
(base) [bubbles@bubblesarchlinux ~]$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]
(base) [bubbles@bubblesarchlinux ~]$ This is on the ASUS ROG STRIX 570E-Gaming motherboard. I noticed that the amixer playback and capture have a "0" in them; does this refer to the sound card? Because sound card 1 is the one I'm trying to use, whereas sound card 0 is the one supposedly built into the monitor but has never worked. How can I force Arch to use sound card 1?
Last edited by bubbless (2022-03-17 18:31:43)
Offline
No that refers to the mixer control, e.g. there are cards with multiple "Master" controls and the ,0 would be ,1 in that case.
In any case both of these outputs will be bent over the pulse compat layer, if you want to test direct output use the speaker-test invocation specifying the device directly and the amixer invocation specifying the -c 1 to make sure you are actually talking to the card. To rule out some other things, you are absolutely certain your speakers are plugged correctly and not muted themselves? Test them on a known working system.
From a "defaults" perspective the previous outputs showed that pulseaudio is already configured correctly and all audio you start via pulse should be redirected to the actual onboard card rather than HDMI.
FWIW bit of a shot in the dark, but try
sudo alsactl initLast edited by V1del (2022-03-17 19:29:28)
Offline
No that refers to the mixer control, e.g. there are cards with multiple "Master" controls and the ,0 would be ,1 in that case.
In any case both of these outputs will be bent over the pulse compat layer, if you want to test direct output use the speaker-test invocation specifying the device directly and the amixer invocation specifying the -c 1 to make sure you are actually talking to the card. To rule out some other things, you are absolutely certain your speakers are plugged correctly and not muted themselves? Test them on a known working system.
From a "defaults" perspective the previous outputs showed that pulseaudio is already configured correctly and all audio you start via pulse should be redirected to the actual onboard card rather than HDMI.
FWIW bit of a shot in the dark, but try
sudo alsactl init
(base) [bubbles@bubblesarchlinux ~]$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
HDA NVidia, HDMI 4
HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
HDA NVidia, HDMI 5
HDMI Audio Output
hdmi:CARD=NVidia,DEV=6
HDA NVidia, HDMI 6
HDMI Audio Output
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output
sysdefault:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
Front output / input
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
HD-Audio Generic
USB Stream OutputNope, still can't hear anything with speaker tests.
(base) [bubbles@bubblesarchlinux ~]$ speaker-test -D sysdefault:CARD=Generic -c2
speaker-test 1.2.6
Playback device is sysdefault:CARD=Generic
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
1 - Front Right
Time per period = 5.648697
0 - Front Left
1 - Front Right
Time per period = 5.973592
0 - Front Left
1 - Front Right
Time per period = 5.973234
0 - Front Left
1 - Front Right
Time per period = 5.973479
0 - Front Left
1 - Front Right
Time per period = 5.972975
0 - Front Left
1 - Front Right
Time per period = 5.973321
0 - Front Left
1 - Front Right
Time per period = 5.973288
0 - Front Left
1 - Front Right
Time per period = 5.973644
0 - Front Left
^Z
[4]+ Stopped speaker-test -D sysdefault:CARD=Generic -c2
(base) [bubbles@bubblesarchlinux ~]$ speaker-test -D default -c2
speaker-test 1.2.6
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 11.092345
0 - Front Left
1 - Front Right
Time per period = 10.953467
0 - Front Left
1 - Front Right
Time per period = 10.953804
0 - Front Left
1 - Front Right
Time per period = 10.953153
0 - Front Left
1 - Front Right
Time per period = 10.953701
0 - Front Left
^Z
[5]+ Stopped speaker-test -D default -c2The speakers are actually built into the motherboard because I did not connect speakers to my pc. Before installing Arch I briefly had Windows and sound could be heard from the computer.
(base) [bubbles@bubblesarchlinux ~]$ sudo alsactl init
[sudo] password for bubbles:
Found hardware: "HDA-Intel" "Nvidia GPU 9a HDMI/DP" "HDA:10de009a,104387af,00100100" "0x1043" "0x87af"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Realtek ALC1220" "HDA:10ec1168,104387c5,00100101" "0x1043" "0x87c5"
Hardware is initialized using a generic methodSpeaker tests still produce no audible sound after initializing alsa above.
Offline
bump
Offline
Pages: 1