Hello,
i assembled my current pc a few months ago, having in dual boot Windows 10 and Debian 12: while i managed to make audio devices work on Windows, i couldn't on Debian (this is just to say that they work). Specifically, i'm using the following ports and devices for audio:
- on the front, a microphone and an output jacks are both used by my headphones;
- on the rear, there are three jacks (green, red and blue), and only the green one is connected to my soundbar.
My operating system is Debian 12, on kernel 6.6.13.
The sound card is integrated on the motherboard (Asus prime B450M A-II).
There's also the gpu's sound card, which isn't of my interest and is probably ignored (it's not showed as device in the settings).
I have almost no knowledge in making audio work on linux, i just tried to follow all other guides or discussions i found (none of which worked), and tried to understand the ALSA/pulseAudio/etc. stuff. If i understood correctly, Alsa is the audio driver (which i'm using, probably not being any alternative); as audio server, i'm using pipeWire/pipeWire-pulse/pipeWire-jack/wirePlumber, having installed the apt packages pipewire, pipewire-pulse, pipewire-jack, wireplumber; also, the services wireplumpber, pipewire, pipewire-pulse are all running.
Here are some commands i saw others report for information on the system:Volumes are up - amixer says it and also, when i play something, from the settings, from any selected sound device, i can see the blue bar indicating that some sound is being played, although i can't hear anything:
Actually, lately I managed to hear some sounds, but in a strange way:
1. after booting the computer, there's no sound; from the settings, currently my visible devices are:
- line out - family 17h (models 00h-00fh) HD Audio Controller [with the line-out icon]
- 17h (models 00h-00fh) HD Audio Controller Pro [with the headphones icon]
- 17h (models 00h-00fh) HD Audio Controller Pro 1 [with the headphones icon] 2. from pavucontrol -> configuration tab, i select the "Pro Audio" profile for my sound card
- now two new headphones devices are visible, identical to the old ones, so now i have two pairs of "... Audio Controller Pro" and "...Audio Controller Pro 1"; also, the last "...Audio Controller Pro" is selected as current device
3. now i can hear sounds from my headphones
4. i try to switch to any other of the visible devices, and now no device is playing audio, even if then i go back to the previous selection;
5. from pavucontrol, i undo the "Pro Audio" profile and put back the "Stereo Output" one
6. no audio yet, but one "...Audio Controller Pro 1" device is removed, and i remain with only 3 (plus the line-out which never goes away)
7. i put back "Pro Audio" profile and again, audio works from the same headphones, and two new "...Audio Controller Pro" and "..."Audio Controller Pro 1" are added
...so "Pro Audio" adds 2 devices and "Stereo Output" removes one, and the list keeps growing while i switch; and when i put "Pro Audio" i hear something, but i can't control from which device. When i switch the current device from the settings, instead, if i pick the only line-out one, pavucontrol goes automatically back to "Stereo Output", while if i pick any other "...Audio Controller Pro" one it remains on "Pro Audio" - anyway, no sound can be heard until I deselect and select "Pro Audio" again.
Actually sometimes, after booting, sound only comes from speakers and not from headphones, with the same thing of switch "Pro Audio" on and off.
I don't know if it could have something to do with assigning devices/ports/channels, like in JACK (i tried to look at the hdaJackRetask software but i don't know how to use it to fix my problem); maybe my computer is incorrectly detecting and assigning the active devices, and maybe the "Pro Audio" configuration does something about it which goes around my problem.
Thank you in advance for any help
i assembled my current pc a few months ago, having in dual boot Windows 10 and Debian 12: while i managed to make audio devices work on Windows, i couldn't on Debian (this is just to say that they work). Specifically, i'm using the following ports and devices for audio:
- on the front, a microphone and an output jacks are both used by my headphones;
- on the rear, there are three jacks (green, red and blue), and only the green one is connected to my soundbar.
My operating system is Debian 12, on kernel 6.6.13.
The sound card is integrated on the motherboard (Asus prime B450M A-II).
There's also the gpu's sound card, which isn't of my interest and is probably ignored (it's not showed as device in the settings).
I have almost no knowledge in making audio work on linux, i just tried to follow all other guides or discussions i found (none of which worked), and tried to understand the ALSA/pulseAudio/etc. stuff. If i understood correctly, Alsa is the audio driver (which i'm using, probably not being any alternative); as audio server, i'm using pipeWire/pipeWire-pulse/pipeWire-jack/wirePlumber, having installed the apt packages pipewire, pipewire-pulse, pipewire-jack, wireplumber; also, the services wireplumpber, pipewire, pipewire-pulse are all running.
Here are some commands i saw others report for information on the system:
Code:
$ inxi -FxxxrzSystem: Kernel: 6.6.13+bpo-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: GNOME v: 43.9 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM3 v: 43.0 Distro: Debian GNU/Linux 12 (bookworm)Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required> Mobo: ASUSTeK model: PRIME B450M-A II v: Rev X.0x serial: <superuser required> UEFI: American Megatrends v: 4401 date: 09/04/2023CPU: Info: 8-core model: AMD Ryzen 7 1700 bits: 64 type: MT MCP smt: enabled arch: Zen rev: 1 cache: L1: 768 KiB L2: 4 MiB L3: 16 MiB Speed (MHz): avg: 1850 high: 3000 min/max: 1550/3000 boost: enabled cores: 1: 2897 2: 1550 3: 1280 4: 1550 5: 2700 6: 1326 7: 1550 8: 2560 9: 2303 10: 1550 11: 1357 12: 1342 13: 1550 14: 1550 15: 1550 16: 3000 bogomips: 96003 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svmGraphics: Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ZOTAC driver: nvidia v: 535.183.01 arch: Pascal pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 09:00.0 chip-ID: 10de:1b81 class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: gnome-shell driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia display-ID: :1 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26") s-diag: 583mm (22.95") Monitor-1: HDMI-0 res: 1920x1080 dpi: 94 size: 520x320mm (20.47x12.6") diag: 611mm (24.04") modes: N/A API: OpenGL v: 4.6.0 NVIDIA 535.183.01 renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 direct-render: YesAudio: Device-1: NVIDIA GP104 High Definition Audio vendor: ZOTAC driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 8 bus-ID: 09:00.1 chip-ID: 10de:10f0 class-ID: 0403 Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 0b:00.3 chip-ID: 1022:1457 class-ID: 0403 API: ALSA v: k6.6.13+bpo-amd64 status: kernel-api with: aoss type: oss-emulator Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: pluginNetwork: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200 IF: enp8s0 state: down mac: <filter> IF-ID-1: docker0 state: down mac: <filter> IF-ID-2: enx3aa238047f9e state: unknown speed: -1 duplex: half mac: <filter> IF-ID-3: wlx3c52a12da1b8 state: down mac: <filter>Bluetooth: Device-1: Realtek 802.11ac NIC type: USB driver: btusb,rtw_8821cu bus-ID: 1-9:3 chip-ID: 0bda:c820 class-ID: e001 serial: <filter> Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2 sub-v: f098 hci-v: 4.2 rev: 75b8Drives: Local Storage: total: 931.51 GiB used: 81.26 GiB (8.7%) ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P3PSSD8 size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: P9CR40A temp: 36.9 C scheme: GPTPartition: ID-1: / size: 121.54 GiB used: 81.23 GiB (66.8%) fs: ext4 dev: /dev/nvme0n1p5 ID-2: /boot/efi size: 96 MiB used: 32.6 MiB (34.0%) fs: vfat dev: /dev/nvme0n1p3Swap: ID-1: swap-1 type: partition size: 977 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p6Sensors: System Temperatures: cpu: 33.6 C mobo: N/A gpu: nvidia temp: 42 C Fan Speeds (RPM): N/A gpu: nvidia fan: 0%Repos: Packages: 2701 pm: dpkg pkgs: 2698 pm: snap pkgs: 3 Active apt repos in: /etc/apt/sources.list 1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware 2: deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware 3: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware 4: deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware 5: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware 6: deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware 7: deb http://deb.debian.org/debian bookworm-backports main contrib non-free Active apt repos in: /etc/apt/sources.list.d/docker.list 1: deb [arch=amd64] https://download.docker.com/linux/debian bookworm stable Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main Active apt repos in: /etc/apt/sources.list.d/spotify.list 1: deb http://repository.spotify.com stable non-free Active apt repos in: /etc/apt/sources.list.d/virtualbox.list 1: deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bookworm contrib Active apt repos in: /etc/apt/sources.list.d/vscode.list 1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable mainInfo: Processes: 403 Uptime: 1h 15m wakeups: 0 Memory: 15.53 GiB used: 5.56 GiB (35.8%) Init: systemd v: 252 target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Shell: Bash v: 5.2.15 running-in: gnome-terminal inxi: 3.3.26
Code:
$ aplay -l**** List of PLAYBACK Hardware Devices ****card 0: Generic [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: Generic [HD-Audio Generic], device 1: ALC897 Digital [ALC897 Digital] Subdevices: 0/1 Subdevice #0: subdevice #0card 1: NVidia [HDA NVidia], device 3: HDMI 0 [EK240Y C] Subdevices: 1/1 Subdevice #0: subdevice #0card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0
Code:
$ aplay -Lnull Discard all samples (playback) or generate zero samples (capture)lavrate Rate Converter Plugin Using Libav/FFmpeg Librarysamplerate Rate Converter Plugin Using Samplerate Libraryspeexrate Rate Converter Plugin Using Speex Resamplerjack JACK Audio Connection Kitoss Open Sound Systempipewire PipeWire Sound Serverpulse PulseAudio Sound Serverspeex 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 spacializationdefault Default ALSA Output (currently PipeWire Media Server)hw:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog Direct hardware device without any conversionshw:CARD=Generic,DEV=1 HD-Audio Generic, ALC897 Digital Direct hardware device without any conversionsplughw:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog Hardware device with all software conversionsplughw:CARD=Generic,DEV=1 HD-Audio Generic, ALC897 Digital Hardware device with all software conversionssysdefault:CARD=Generic HD-Audio Generic, ALC897 Analog Default Audio Devicefront:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog Front output / inputsurround21:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog 2.1 Surround output to Front and Subwoofer speakerssurround40:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog 4.0 Surround output to Front and Rear speakerssurround41:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog 4.1 Surround output to Front, Rear and Subwoofer speakerssurround50:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog 5.0 Surround output to Front, Center and Rear speakerssurround51:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakerssurround71:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakersiec958:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Digital IEC958 (S/PDIF) Digital Audio Outputdmix:CARD=Generic,DEV=0 HD-Audio Generic, ALC897 Analog Direct sample mixing devicedmix:CARD=Generic,DEV=1 HD-Audio Generic, ALC897 Digital Direct sample mixing deviceusbstream:CARD=Generic HD-Audio Generic USB Stream Outputhw:CARD=NVidia,DEV=3 HDA NVidia, EK240Y C Direct hardware device without any conversionshw:CARD=NVidia,DEV=7 HDA NVidia, HDMI 1 Direct hardware device without any conversionshw:CARD=NVidia,DEV=8 HDA NVidia, HDMI 2 Direct hardware device without any conversionshw:CARD=NVidia,DEV=9 HDA NVidia, HDMI 3 Direct hardware device without any conversionsplughw:CARD=NVidia,DEV=3 HDA NVidia, EK240Y C Hardware device with all software conversionsplughw:CARD=NVidia,DEV=7 HDA NVidia, HDMI 1 Hardware device with all software conversionsplughw:CARD=NVidia,DEV=8 HDA NVidia, HDMI 2 Hardware device with all software conversionsplughw:CARD=NVidia,DEV=9 HDA NVidia, HDMI 3 Hardware device with all software conversionshdmi:CARD=NVidia,DEV=0 HDA NVidia, EK240Y C HDMI Audio Outputhdmi:CARD=NVidia,DEV=1 HDA NVidia, HDMI 1 HDMI Audio Outputhdmi:CARD=NVidia,DEV=2 HDA NVidia, HDMI 2 HDMI Audio Outputhdmi:CARD=NVidia,DEV=3 HDA NVidia, HDMI 3 HDMI Audio Outputdmix:CARD=NVidia,DEV=3 HDA NVidia, EK240Y C Direct sample mixing devicedmix:CARD=NVidia,DEV=7 HDA NVidia, HDMI 1 Direct sample mixing devicedmix:CARD=NVidia,DEV=8 HDA NVidia, HDMI 2 Direct sample mixing devicedmix:CARD=NVidia,DEV=9 HDA NVidia, HDMI 3 Direct sample mixi
Code:
$ lsmod | grep sndsnd_seq_dummy 12288 0snd_hrtimer 12288 1snd_seq 114688 7 snd_seq_dummysnd_seq_device 16384 1 snd_seqsnd_hda_codec_realtek 192512 1snd_hda_codec_generic 114688 1 snd_hda_codec_realteksnd_hda_codec_hdmi 94208 1snd_hda_intel 61440 3snd_intel_dspcfg 36864 1 snd_hda_intelsnd_intel_sdw_acpi 16384 1 snd_intel_dspcfgsnd_hda_codec 225280 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realteksnd_hda_core 147456 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realteksnd_hwdep 20480 1 snd_hda_codecledtrig_audio 12288 2 snd_hda_codec_generic,asus_wmisnd_pcm 192512 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_coresnd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcmsnd 155648 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcmsoundcore 16384 1 snd
Code:
$ amixerSimple 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]
Actually, lately I managed to hear some sounds, but in a strange way:
1. after booting the computer, there's no sound; from the settings, currently my visible devices are:
- line out - family 17h (models 00h-00fh) HD Audio Controller [with the line-out icon]
- 17h (models 00h-00fh) HD Audio Controller Pro [with the headphones icon]
- 17h (models 00h-00fh) HD Audio Controller Pro 1 [with the headphones icon] 2. from pavucontrol -> configuration tab, i select the "Pro Audio" profile for my sound card
- now two new headphones devices are visible, identical to the old ones, so now i have two pairs of "... Audio Controller Pro" and "...Audio Controller Pro 1"; also, the last "...Audio Controller Pro" is selected as current device
3. now i can hear sounds from my headphones
4. i try to switch to any other of the visible devices, and now no device is playing audio, even if then i go back to the previous selection;
5. from pavucontrol, i undo the "Pro Audio" profile and put back the "Stereo Output" one
6. no audio yet, but one "...Audio Controller Pro 1" device is removed, and i remain with only 3 (plus the line-out which never goes away)
7. i put back "Pro Audio" profile and again, audio works from the same headphones, and two new "...Audio Controller Pro" and "..."Audio Controller Pro 1" are added
...so "Pro Audio" adds 2 devices and "Stereo Output" removes one, and the list keeps growing while i switch; and when i put "Pro Audio" i hear something, but i can't control from which device. When i switch the current device from the settings, instead, if i pick the only line-out one, pavucontrol goes automatically back to "Stereo Output", while if i pick any other "...Audio Controller Pro" one it remains on "Pro Audio" - anyway, no sound can be heard until I deselect and select "Pro Audio" again.
Actually sometimes, after booting, sound only comes from speakers and not from headphones, with the same thing of switch "Pro Audio" on and off.
I don't know if it could have something to do with assigning devices/ports/channels, like in JACK (i tried to look at the hdaJackRetask software but i don't know how to use it to fix my problem); maybe my computer is incorrectly detecting and assigning the active devices, and maybe the "Pro Audio" configuration does something about it which goes around my problem.
Thank you in advance for any help
Statistics: Posted by papum — 2024-07-04 15:11 — Replies 1 — Views 41