Results 1 to 3 of 3

Thread: Sound keeps stopping on 24.04LTS

  1. #1
    Join Date
    Jun 2024
    Beans
    2

    Question Sound keeps stopping on 24.04LTS

    Hi,

    I've recently reinstalled my machine with a clean install of Ubuntu 24.04LTS. Everything is working perfectly except for the sound. My sound sound be output over HDMI to the display then my speakers plug into the display. This is so I can swap between my PS5 and my PC with sound via the channel selector on the display. The sound works for while, but after a bit it will stop. I could be watching a YouTube video, pause the video, do something else, then when I go back to play the video I'll have no sound. After this no sound works from any/all applications so I couldn't listen to Spotify etc either so it's system wide, not just Chrome that's the issue. I've done all the usual checks - I've checked the output device is the correct one, the volume is correct etc. If sound is supposed to be playing I can see the bar bounce up and down in the Settings -> Output page, so I know sound should be playing. While I'm perfectly comfortable with Linux, most of my experience is server side and I've done practically nothing with audio, so I'm a little bit stuck as to how to debug this issue. Here's as much information as I can think of providing and if anyone is able to help me I can can run whatever commands I need to to give more info.

    Here are the things I've tried to do. Force reloading ALSA doesn't help:

    Code:
    root@earth:/var/log# alsa force-reload
    Unloading ALSA sound driver modules: snd-seq-dummy snd-hrtimer snd-soc-avs snd-soc-hda-codec snd-hda-ext-core snd-soc-core snd-hda-codec-realtek snd-compress snd-hda-codec-generic snd-hda-codec-hdmi snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-usb-audio snd-hda-codec snd-hda-core snd-usbmidi-lib snd-ump snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-hrtimer snd-hda-codec-realtek snd-hda-codec-generic snd-hda-codec-hdmi snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-usb-audio snd-hda-codec snd-hda-core snd-usbmidi-lib snd-ump snd-hwdep snd-pcm snd-rawmidi snd-seq snd-seq-device snd-timer).
    Loading ALSA sound driver modules: snd-seq-dummy snd-hrtimer snd-soc-avs snd-soc-hda-codec snd-hda-ext-core snd-soc-core snd-hda-codec-realtek snd-compress snd-hda-codec-generic snd-hda-codec-hdmi snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-usb-audio snd-hda-codec snd-hda-core snd-usbmidi-lib snd-ump snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
    Reloading pipewire also doesn't resolve it:

    Code:
    andymccall@earth:~$ systemctl --now --user restart pipewire pipewire-pulse

    System:

    Code:
    root@earth:/var/log# lsb_release -a | grep Description
    Description:    Ubuntu 24.04 LTS
    Devices:

    Code:
    root@earth:~# lspci | grep udio
    00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
    01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
    List of devices under aplay:

    Code:
    root@earth:~# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 3: HDMI 0 [LC27G5xT]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
      Subdevices: 1/1
      Subdevice #0: subdevice #0

    Code:
    andymccall@earth:~$ cat /proc/asound/cards 
     0 [PCH            ]: HDA-Intel - HDA Intel PCH
                          HDA Intel PCH at 0xdf320000 irq 132
     1 [Kiyo           ]: USB-Audio - Razer Kiyo
                          Alpha Imaging Tech. Corp. Razer Kiyo at usb-0000:00:14.0-4, high speed
     2 [NVidia         ]: HDA-Intel - HDA NVidia
                          HDA NVidia at 0xdf080000 irq 17
    At the moment the only way I can get sound working again is to restart the machine, which kinda sucks!

    Please help!

  2. #2
    Join Date
    May 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Sound keeps stopping on 24.04LTS

    Anything in the output of "sudo dmesg" or /var/log file contents when this happens?

  3. #3
    Join Date
    Jun 2024
    Beans
    2

    Re: Sound keeps stopping on 24.04LTS

    There's nothing of note in dmesg or any of the log files.

    How do I restart the full audio system without rebooting? Maybe that will get it working. I think I might have been doing it wrong.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •