[Solved] Upgraded from Debian 11 to 12, sound no longer working
Posted: 2024-09-15 03:12
I did an in-place upgrade from Debian 11.11 to 12.7. One issue that occurred was no sound devices being seen in KDE anymore. I dual boot, and the sound continues to work in Windows, so this is not a hardware issue. My user is in the audio group. I removed ~/.config/pulse but that did nothing; it was regenerated and I rebooted, still no sound. Aplay will list the desired device, but it will not play the test file. I would like the audio to play from the Realtek ALCS1200A device. Looking at https://wiki.debian.org/ALSA#Wrong_card_used_by_default I'm not sure what entries I would use to specify the device order, or if that's even what I would need to do to fix it. Some command output that may be helpful:
Code: Select all
joebob@DESKTOP-300RKCR:~$ cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 110
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xf7a00000 irq 112
2 [C920 ]: USB-Audio - HD Pro Webcam C920
HD Pro Webcam C920 at usb-0000:0b:00.3-4, high speed
joebob@DESKTOP-300RKCR:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HP ZR2440w]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [DELL S2522HG]
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 1: Generic [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
joebob@DESKTOP-300RKCR:~$ inxi -SAGxz
System:
Kernel: 6.1.0-25-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
Desktop: KDE Plasma v: 5.27.5 Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3080 Lite Hash Rate] driver: nvidia
v: 535.183.01 arch: Ampere bus-ID: 09:00.0
Device-2: Logitech C920 PRO HD Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 5-4:5
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
loaded: nvidia gpu: nvidia resolution: 1: 1920x1200~60Hz 2: 1920x1080~60Hz
API: OpenGL v: 4.6.0 NVIDIA 535.183.01 renderer: NVIDIA GeForce RTX
3080/PCIe/SSE2 direct-render: Yes
Audio:
Device-1: NVIDIA GA102 High Definition Audio driver: snd_hda_intel v: kernel
bus-ID: 5-4:5
Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
driver: snd_hda_intel v: kernel bus-ID: 0b:00.4
Device-3: Logitech C920 PRO HD Webcam type: USB
driver: snd-usb-audio,uvcvideo
API: ALSA v: k6.1.0-25-amd64 status: kernel-api
Server-1: PipeWire v: 0.3.65 status: active
Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
joebob@DESKTOP-300RKCR:~$ aplay /usr/share/sounds/alsa/Front_Right.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
ALSA lib pcm_pulse.c:758:(pulse_prepare) PulseAudio: Unable to create stream: Timeout
aplay: set_params:1416: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 12000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 24000
BUFFER_BYTES: 48000
TICK_TIME: [0 0]