Recently installed Manjaro into a new PC, and I’ve found that the only audio output from Line-out is a constant high-pitched noise.
If there is nothing making sound, there is no noise, however.
I’ve tried rebooting and running from my live USB.
I’m still new to Linux and Manjaro, so it’s probably something obvious. Any clues?
output from pacmd dump:
### Configuration dump generated at Fri Jun 9 22:38:09 2023
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_26_00.1" card_name="alsa_card.pci-0000_26_00.1" name
reg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling
=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="1" name="pci-0000_28_00.4" card_name="alsa_card.pci-0000_28_00.4" name
reg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling
=no card_properties="module-udev-detect.discovered=1"
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-cli-protocol-unix
load-module module-null-sink sink_name=auto_null sink_properties='device.description="Dummy Output"'
set-sink-volume auto_null 0x10000
set-sink-mute auto_null no
suspend-sink auto_null yes
set-source-volume auto_null.monitor 0x10000
set-source-mute auto_null.monitor no
suspend-source auto_null.monitor yes
set-card-profile alsa_card.pci-0000_26_00.1 off
set-card-profile alsa_card.pci-0000_28_00.4 off
set-default-sink auto_null
set-default-source auto_null.monitor
### EOF
output from inxi -Fazy
System:
Kernel: 6.1.31-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=647bf194-318b-469e-8d99-d9b404bbfd96 rw quiet splash
udev.log_priority=3
Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450 GAMING PLUS MAX (MS-7B86) v: 3.0
serial: <superuser required> UEFI: American Megatrends v: H.50
date: 11/07/2019
CPU:
Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
desc: 2x16 MiB
Speed (MHz): avg: 2604 high: 4166 min/max: 2200/4208 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4034 2: 2200
3: 2200 4: 2200 5: 2099 6: 2200 7: 2200 8: 4166 9: 3600 10: 2100 11: 2056
12: 2200 bogomips: 86437
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP104 [GeForce GTX 1070 Ti] vendor: ASUSTeK driver: nvidia
v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-05) arch: Pascal code: GP10x process: TSMC 16nm
built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 26:00.0
chip-ID: 10de:1b82 class-ID: 0300
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 101 s-size: 483x272mm (19.02x10.71")
s-diag: 554mm (21.82")
Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 102
size: 477x268mm (18.78x10.55") diag: 547mm (21.54") modes: N/A
API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce GTX 1070
Ti/PCIe/SSE2 direct-render: Yes
Audio:
Device-1: NVIDIA GP104 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 26:00.1 chip-ID: 10de:10f0 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 28:00.4 chip-ID: 1022:1487 class-ID: 0403
API: ALSA v: k6.1.31-2-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: 0.3.70 status: off with: wireplumber status: active
tools: pw-cli,wpctl
Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: N/A modules: r8169 pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168
class-ID: 0200
Device-2: ICS Advent USB 10/100 LAN driver: cdc_ether type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 0fe6:9900
class-ID: 0a00 serial: <filter>
IF: enp40s0f3u1c2 state: unknown speed: 100 Mbps duplex: half mac: <filter>
Drives:
Local Storage: total: 119.03 GiB used: 47.34 GiB (39.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37120G
size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: B1D1 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Kingston model: DataTraveler G3
size: 7.24 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.0
spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: PMAP
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 111.49 GiB size: 109.18 GiB (97.93%)
used: 47.34 GiB (43.4%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 47.6 C mobo: N/A gpu: nvidia temp: 43 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 291 Uptime: 44m wakeups: 0 Memory: available: 15.57 GiB
used: 3.57 GiB (23.0%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
pkgs: 1340 libs: 434 tools: pamac pm: flatpak pkgs: 0 Shell: Zsh v: 5.9
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.27
PulseAudio has detected 2 onboard onboard audio devices correctly but they are turned off
set-card-profile alsa_card.pci-0000_26_00.1 off
set-card-profile alsa_card.pci-0000_28_00.4 off
inxi
data shows 1st device (NVIDIA GP104) for digital HDMI audio output has bus-ID: 26:00.1
2nd device (AMD Starship/Matisse HD Audio) for analog audio to jack sockets has bus-ID: 28:00.4
Use this command to change PulseAudio profile to enable audio playback analog audio jacks on motherboard
pactl set-card-profile alsa_card.pci-0000_28_00.4 output:analog-stereo
If audio playback is still not working as expected, please post more information about ALSA audio settings
amixer --card=1
Can you post the output of alsamixer
?
Make sure you have sof-firmware
installed first.
AMD desktop system does not need sof-firmware
drivers
Package sof-firmware
has been included on all Manjaro ISOs for over a year, to support digital array microphones on Intel laptops
I used the command pactl set-card-profile alsa_card.pci-0000_26_00.4 output:analog-stereo
and got Failure: no such entity
but I then tried it with 28_00.4 and that did nothing.
output of amixer --card=1:
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 0 [0%] [-64.00dB] [off]
Front Right: Playback 0 [0%] [-64.00dB] [off]
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 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
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 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',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 '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 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 28 [61%] [12.00dB] [on]
Front Right: Capture 28 [61%] [12.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [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]
Do you have the right sound card selected ?
According to the inxi, even though this has an NVIDIA card and is an AMD based system, it looks like it still using snd_hda_intel
driver. You may try this at your own risk; from the terminal, run;
echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf
echo "blacklist snd_soc_skl" | sudo tee -a /etc/modprobe.d/blacklist.conf
reboot!
NVIDIA GP104 card only has digital audio outputs
Null response with no error suggests command worked as intended
Please post more information about PulseAudio configuration
pacmd dump; pactl list sinks
I expect data to confirm PulseAudio has replaced inaudible auto_null sink (Dummy Output) with analog output sink for audio jacks
ALSA controls for card 1 are good for audio playback to rear jack sockets, but Headphone output is muted because Auto-Mute Mode is enabled
Auto-mute is useful for laptop systems so that built-in speakers are muted when headphones are plugged in, but it can be an annoyance for desktop systems
To disable Auto-Mute:
amixer --card=1 sset ‘Auto-Mute Mode’ Disabled
Before sof-firmware
was required to support Cortana survelliance microphones, all onboard audio devices used driver snd_hda_intel
AMD and Intel Desktop systems continue to use snd_hda_intel because there are no internal microphones
AMD laptops with Audio Coprocessor for digital microphones use acp drivers instead of sof
Modprobe option dmic_detect
was deprecated in 2020 and doesn’t even work on Intel laptops
Blacklisting driver snd_soc_skl
for Intel skylake systems is not needed
someone got mixed up
pactl set-card-profile alsa_card.pci-0000_28_00.4 output:analog-stereo
Thanks for the selective quote, but OP seems to have worked around my typo from the omitted context and has already used that command