Page 1 of 2

Audio devices fail

Posted: Tue Feb 18, 2025 5:30 am
by caspar
Some time ago my computer started to fail:
When I turn on the computer, no audio devices are detected.
The utility "Sound card selection" sees sound cards (both Azalia and HDMI) but does not output sound when testing.
The pavucontrol mixer does not show sound cards in the configuration.

If I reboot the computer, the audio devices appear and work normally.
I did not find any difference in QSI after boot on and after reboot.

QSI after boot:

Code: Select all

System:
  Kernel: 6.1.0-31-amd64 [6.1.128-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-31-amd64 root=UUID=<filter> ro nosplash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto January 21  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: M5A78L-M LX3 v: Rev X.0x serial: <superuser required>
    BIOS: American Megatrends v: 1401 date: 05/05/2016
CPU:
  Info: model: AMD Athlon II X2 250 bits: 64 type: MCP arch: K10 level: v1 built: 2009-13
    process: AMD 45nm family: 0x10 (16) model-id: 6 stepping: 3 microcode: 0x10000C8
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 256 KiB desc: d-2x64 KiB; i-2x64 KiB
    L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 3000 min/max: 800/3000 boost: disabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 3000 2: 3000 bogomips: 12055
  Flags: ht lm nx pae sse sse2 sse3 sse4a svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling; PBRSB-eIBRS: Not
    affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] vendor: Hightech Information System
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale-2 code: Evergreen
    process: TSMC 32-40nm built: 2009-15 pcie: gen: 2 speed: 5 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 01:00.0 chip-ID: 1002:6779 class-ID: 0300
    temp: 45.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 model: Samsung built: 2010 res: 1920x1080 hz: 60 dpi: 305
    gamma: 1.2 size: 160x90mm (6.3x3.54") diag: 801mm (31.5") ratio: 16:9 modes: max: 1920x1080
    min: 720x400
  API: OpenGL v: 4.5 Mesa 22.3.6 renderer: AMD CAICOS (DRM 2.50.0 / 6.1.0-31-amd64 LLVM 15.0.6)
    direct-render: Yes
Audio:
  Device-1: AMD SBx00 Azalia vendor: ASUSTeK M5A78L LE driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: AMD Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM R5 230/235/235X OEM]
    vendor: Hightech Information System driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aa98 class-ID: 0403
  API: ALSA v: k6.1.0-31-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: ASUSTeK driver: alx v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: ec00 bus-ID: 02:00.0 chip-ID: 1969:10a1 class-ID: 0200
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 232.89 GiB used: 99.53 GiB (42.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3250310AS size: 232.89 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: A temp: 31.0 C
    scheme: MBR
Partition:
  ID-1: / raw-size: 43.94 GiB size: 42.95 GiB (97.74%) used: 19.83 GiB (46.2%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 180.94 GiB size: 177.54 GiB (98.12%) used: 79.7 GiB (44.9%) fs: ext4
    dev: /dev/sda6 maj-min: 8:6
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda5
    maj-min: 8:5
  ID-2: swap-2 type: zram size: 256 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 44.0 C mobo: 31.0 C gpu: radeon temp: 45.0 C
  Fan Speeds (RPM): cpu: 1520 case-1: 0
  Power: 12v: 12.38 5v: N/A 3.3v: 3.36 vbat: N/A
Repos:
  Packages: 3517 pm: dpkg pkgs: 3508 libs: 1879 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 9
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/cloudflare-client.list
    1: deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ bookworm main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  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/mx.list
    1: deb http://mirror.truenetwork.ru/mxlinux/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/yandex-browser-beta.list
    1: deb [arch=amd64] https://repo.yandex.ru/yandex-browser/deb beta main
  Active apt repos in: /etc/apt/sources.list.d/yandex-browser.list
    1: deb [arch=amd64] https://repo.yandex.ru/yandex-browser/deb stable main
Info:
  Processes: 373 Uptime: 3m wakeups: 1 Memory: 15.62 GiB used: 4.84 GiB (31.0%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
QSI after reboot:

Code: Select all

System:
  Kernel: 6.1.0-31-amd64 [6.1.128-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-31-amd64 root=UUID=<filter> ro nosplash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto January 21  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: M5A78L-M LX3 v: Rev X.0x serial: <superuser required>
    BIOS: American Megatrends v: 1401 date: 05/05/2016
CPU:
  Info: model: AMD Athlon II X2 250 bits: 64 type: MCP arch: K10 level: v1 built: 2009-13
    process: AMD 45nm family: 0x10 (16) model-id: 6 stepping: 3 microcode: 0x10000C8
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 256 KiB desc: d-2x64 KiB; i-2x64 KiB
    L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 3000 min/max: 800/3000 boost: disabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 3000 2: 3000 bogomips: 12053
  Flags: ht lm nx pae sse sse2 sse3 sse4a svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling; PBRSB-eIBRS: Not
    affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] vendor: Hightech Information System
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale-2 code: Evergreen
    process: TSMC 32-40nm built: 2009-15 pcie: gen: 2 speed: 5 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 01:00.0 chip-ID: 1002:6779 class-ID: 0300
    temp: 48.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 model: Samsung built: 2010 res: 1920x1080 hz: 60 dpi: 305
    gamma: 1.2 size: 160x90mm (6.3x3.54") diag: 801mm (31.5") ratio: 16:9 modes: max: 1920x1080
    min: 720x400
  API: OpenGL v: 4.5 Mesa 22.3.6 renderer: AMD CAICOS (DRM 2.50.0 / 6.1.0-31-amd64 LLVM 15.0.6)
    direct-render: Yes
Audio:
  Device-1: AMD SBx00 Azalia vendor: ASUSTeK M5A78L LE driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: AMD Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM R5 230/235/235X OEM]
    vendor: Hightech Information System driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aa98 class-ID: 0403
  API: ALSA v: k6.1.0-31-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: ASUSTeK driver: alx v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: ec00 bus-ID: 02:00.0 chip-ID: 1969:10a1 class-ID: 0200
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 232.89 GiB used: 99.52 GiB (42.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3250310AS size: 232.89 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: A temp: 38.0 C
    scheme: MBR
Partition:
  ID-1: / raw-size: 43.94 GiB size: 42.95 GiB (97.74%) used: 19.83 GiB (46.2%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 180.94 GiB size: 177.54 GiB (98.12%) used: 79.68 GiB (44.9%) fs: ext4
    dev: /dev/sda6 maj-min: 8:6
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda5
    maj-min: 8:5
  ID-2: swap-2 type: zram size: 256 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 35.0 C gpu: radeon temp: 48.0 C
  Fan Speeds (RPM): cpu: 1534 case-1: 0
  Power: 12v: 12.31 5v: N/A 3.3v: 3.36 vbat: N/A
Repos:
  Packages: 3517 pm: dpkg pkgs: 3508 libs: 1879 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 9
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/cloudflare-client.list
    1: deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ bookworm main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  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/mx.list
    1: deb http://mirror.truenetwork.ru/mxlinux/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/yandex-browser-beta.list
    1: deb [arch=amd64] https://repo.yandex.ru/yandex-browser/deb beta main
  Active apt repos in: /etc/apt/sources.list.d/yandex-browser.list
    1: deb [arch=amd64] https://repo.yandex.ru/yandex-browser/deb stable main
Info:
  Processes: 376 Uptime: 3m wakeups: 1 Memory: 15.62 GiB used: 5.03 GiB (32.2%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
pavucontrol configuration after boot:
Image

pavucontrol configuration after reboot:

Image

I think that some service is not starting, but I don't know which one.
I would like, if I can't eliminate this failure, then at least not reboot the computer, but restart one service.

Re: Audio devices fail

Posted: Tue Feb 18, 2025 6:42 am
by j2mcgreg
According to this site:
https://theretroweb.com/harddrives/384
your Seagate ST3250310AS HDD is seventeen years old, which exceeds its replace by date by ten years. It needs to be replaced.

Re: Audio devices fail

Posted: Tue Feb 18, 2025 11:37 am
by CharlesV
I believe you can use the following to kill and restart the service. Note, it could be pulseaudio or pipewire, so test one, and then test the other. On my machines, if you kill pulseaudio it will reestart by itself - but that is on a working system, so ?

The nice way:

Code: Select all

pulseaudio --kill; pulseaudio --start
The sure way:

Code: Select all

pkill pulseaudio; pulseaudio --start
And for pipewire:

Code: Select all

pkill pipewire; pkill pipewire-pulse; pkill wireplumber; pipewire-start


Re: Audio devices fail

Posted: Tue Feb 18, 2025 12:04 pm
by caspar
CharlesV wrote: Tue Feb 18, 2025 11:37 am I believe you can use the following to kill and restart the service. Note, it could be pulseaudio or pipewire, so test one, and then test the other. On my machines, if you kill pulseaudio it will reestart by itself - but that is on a working system, so ?
Thank you. I'll try your's methods next boot.

Re: Audio devices fail

Posted: Tue Feb 18, 2025 2:19 pm
by caspar
CharlesV, unfortunately your advice did not give a positive result. Only reboot helps. Sad, but true.

Re: Audio devices fail

Posted: Tue Feb 18, 2025 3:00 pm
by CharlesV
Next I think I would try updating to a liquorix kernel. I personally would try a 6.5.x kernel as a test. You can just roll it back if it doesnt help, but worth a try.

Re: Audio devices fail

Posted: Tue Feb 18, 2025 3:56 pm
by Stevo
The difference is between a cold start and a warm reboot?

Re: Audio devices fail

Posted: Tue Feb 18, 2025 5:14 pm
by caspar
Stevo wrote: Tue Feb 18, 2025 3:56 pm The difference is between a cold start and a warm reboot?
Yes. Audio devices work only after warm reboot

Re: Audio devices fail

Posted: Tue Feb 18, 2025 5:15 pm
by caspar
CharlesV wrote: Tue Feb 18, 2025 3:00 pm Next I think I would try updating to a liquorix kernel. I personally would try a 6.5.x kernel as a test. You can just roll it back if it doesnt help, but worth a try.
I'll try it tomorrow.

Re: Audio devices fail  [Solved]

Posted: Fri Feb 21, 2025 12:10 pm
by caspar
The problem was solved when I replaced the video card.
(The sound was output through the HDMI connector on the video card.)