When the upgrade to 24.04 LTS was officially released, I did the upgrade and since then, I have a problem with the sound, which was previously working. I use an analogue headphone/microphone set on the front audio panel and speakers on the rear panel.
After the upgrade, no audio was working, and the audio sinks in the control centre only offered me digital audio sinks like my SPDIF outout or HDMI, but no analog audio anymore. Analogue audio source is missing, too.
My PC is quite old: CPU is a i5-4670 on a Asus H97-Plus board. The Chipset is Intel H97, the audio is Realtek ALC887.
When I reboot and chose the old kernel 5.15.0-119 in the GRUB menu instead of the standard kernel 6.8.0-41, I can chose analog audio (at least the headphones work, not the speakers, no matter what I chose in the settings as output). Besides chosing the older kernel, I did not change anything in any settings besides selecting the older kernel.
With kernel 6.8.0-41, aplay and wpctl status give me the following output:
user@hostname:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 1: ALC887-VD Digital [ALC887-VD Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
user@hostname:~$ wpctl status
PipeWire 'pipewire-0' [1.0.5, user@hostname, cookie:2899989627]
└─ Clients:
32. pipewire [1.0.5, user@hostname, pid:2827]
34. WirePlumber [1.0.5, user@hostname, pid:2826]
35. WirePlumber [export] [1.0.5, user@hostname, pid:2826]
47. xdg-desktop-portal [1.0.5, user@hostname, pid:3049]
48. PulseAudio systray [1.0.5, user@hostname, pid:3359]
49. QPulse [1.0.5, user@hostname, pid:3354]
50. Plasma-PulseAudio [1.0.5, user@hostname, pid:3189]
51. wpctl [1.0.5, user@hostname, pid:31522]
Audio
├─ Devices:
│ 42. Built-in Audio [alsa]
│
├─ Sinks:
│ * 54. Dummy Output [vol: 1.00]
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Video
├─ Devices:
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
user@hostname:~$
With kernel 5.15.0-119, I get the following output:
user@hostname:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: HDMI [HDA Intel HDMI], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA Intel HDMI], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA Intel HDMI], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: PCH [HDA Intel PCH], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: PCH [HDA Intel PCH], Gerät 1: ALC887-VD Digital [ALC887-VD Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
user@hostname:~$ wpctl status
PipeWire 'pipewire-0' [1.0.5, user@hostname, cookie:345985031]
└─ Clients:
32. pipewire [1.0.5, user@hostname, pid:2946]
34. WirePlumber [1.0.5, user@hostname, pid:2943]
35. WirePlumber [export] [1.0.5, user@hostname, pid:2943]
51. xdg-desktop-portal [1.0.5, user@hostname, pid:3163]
52. PulseAudio systray [1.0.5, user@hostname, pid:3479]
53. QPulse [1.0.5, user@hostname, pid:3468]
54. Plasma-PulseAudio [1.0.5, user@hostname, pid:3306]
55. wpctl [1.0.5, user@hostname, pid:4299]
Audio
├─ Devices:
│ 42. Built-in Audio [alsa]
│ 43. Built-in Audio [alsa]
│
├─ Sinks:
│ * 48. Built-in Audio Analog Stereo [vol: 1.03]
│
├─ Sink endpoints:
│
├─ Sources:
│ * 49. Built-in Audio Analog Stereo [vol: 0.29]
│
├─ Source endpoints:
│
└─ Streams:
Video
├─ Devices:
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
user@hostname:~$
The remarkable difference I see:
With both kernels, analog audio is shown with aplay -l, however it is card 0 device 0 with kernel 6.8.0 and card 1 device 0 with kernel 5.15.0.
wpctl status recognizes one built-in audio device [alsa] with kernel 6.8.0 and two built-in audio devices [alsa] with kernel5.15.0
Any hints how to find and fix the problem?
After the upgrade, no audio was working, and the audio sinks in the control centre only offered me digital audio sinks like my SPDIF outout or HDMI, but no analog audio anymore. Analogue audio source is missing, too.
My PC is quite old: CPU is a i5-4670 on a Asus H97-Plus board. The Chipset is Intel H97, the audio is Realtek ALC887.
When I reboot and chose the old kernel 5.15.0-119 in the GRUB menu instead of the standard kernel 6.8.0-41, I can chose analog audio (at least the headphones work, not the speakers, no matter what I chose in the settings as output). Besides chosing the older kernel, I did not change anything in any settings besides selecting the older kernel.
With kernel 6.8.0-41, aplay and wpctl status give me the following output:
user@hostname:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 1: ALC887-VD Digital [ALC887-VD Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
user@hostname:~$ wpctl status
PipeWire 'pipewire-0' [1.0.5, user@hostname, cookie:2899989627]
└─ Clients:
32. pipewire [1.0.5, user@hostname, pid:2827]
34. WirePlumber [1.0.5, user@hostname, pid:2826]
35. WirePlumber [export] [1.0.5, user@hostname, pid:2826]
47. xdg-desktop-portal [1.0.5, user@hostname, pid:3049]
48. PulseAudio systray [1.0.5, user@hostname, pid:3359]
49. QPulse [1.0.5, user@hostname, pid:3354]
50. Plasma-PulseAudio [1.0.5, user@hostname, pid:3189]
51. wpctl [1.0.5, user@hostname, pid:31522]
Audio
├─ Devices:
│ 42. Built-in Audio [alsa]
│
├─ Sinks:
│ * 54. Dummy Output [vol: 1.00]
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Video
├─ Devices:
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
user@hostname:~$
With kernel 5.15.0-119, I get the following output:
user@hostname:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: HDMI [HDA Intel HDMI], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA Intel HDMI], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA Intel HDMI], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: PCH [HDA Intel PCH], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: PCH [HDA Intel PCH], Gerät 1: ALC887-VD Digital [ALC887-VD Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
user@hostname:~$ wpctl status
PipeWire 'pipewire-0' [1.0.5, user@hostname, cookie:345985031]
└─ Clients:
32. pipewire [1.0.5, user@hostname, pid:2946]
34. WirePlumber [1.0.5, user@hostname, pid:2943]
35. WirePlumber [export] [1.0.5, user@hostname, pid:2943]
51. xdg-desktop-portal [1.0.5, user@hostname, pid:3163]
52. PulseAudio systray [1.0.5, user@hostname, pid:3479]
53. QPulse [1.0.5, user@hostname, pid:3468]
54. Plasma-PulseAudio [1.0.5, user@hostname, pid:3306]
55. wpctl [1.0.5, user@hostname, pid:4299]
Audio
├─ Devices:
│ 42. Built-in Audio [alsa]
│ 43. Built-in Audio [alsa]
│
├─ Sinks:
│ * 48. Built-in Audio Analog Stereo [vol: 1.03]
│
├─ Sink endpoints:
│
├─ Sources:
│ * 49. Built-in Audio Analog Stereo [vol: 0.29]
│
├─ Source endpoints:
│
└─ Streams:
Video
├─ Devices:
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
user@hostname:~$
The remarkable difference I see:
With both kernels, analog audio is shown with aplay -l, however it is card 0 device 0 with kernel 6.8.0 and card 1 device 0 with kernel 5.15.0.
wpctl status recognizes one built-in audio device [alsa] with kernel 6.8.0 and two built-in audio devices [alsa] with kernel5.15.0
Any hints how to find and fix the problem?
Comment