• meow@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    29 minutes ago

    I once had a problem with my sound, then i remembered that my headphones weren’t plugged in. That was the only time i had no sound in linux

  • Natanox@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    37
    ·
    1 day ago

    Ever since Pipewire was introduced my sound just… works. Aside from missing drivers (super rarely) I have absolutely no issues.

    • NOPper@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 day ago

      I got super deep into synths and Linux audio years ago, and right around the same one Pipewire was starting to go mainstream. Shit just worked man!

    • Rai@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      16 hours ago

      I was shocked when sound started coming out of my portable monitor via HDMI when I first installed Pop… I don’t need sound, I just want my dedicated server to run!

  • quediuspayu@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    48
    arrow-down
    1
    ·
    2 days ago

    There’s always sound.

    It takes one second to start and there is some crackling with plenty of forum posts explaining how to fix these things going back to 2005 that are no longer relevant because the sound uses something with a different name now.

    BUT THERE’S ALWAYS SOUND!

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      26
      ·
      2 days ago

      If a sound plays but there’s no audio server to receive it and convert it to an analog signal, does it make a sound?

    • FauxLiving@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 day ago

      there is some crackling with plenty of forum posts explaining how to fix these things going back to 2005 that are no longer relevant because the sound uses something with a different name now.

      This is almost always because your pipewire buffers are too small (because of the defaults erring on the side of low latency) and so when the CPU is busy the buffers empty and you get some crackling. Use pw-top to see all of your devices and sources, next to the devices you should see a number in the QUANT column. Chances are that this is really low (or 1)

      You can change your minimum buffer (pipewire calculates this by setting a ‘quantum’), temporarily with :

      pw-metadata -n settings 0 clock.min-quantum 512
      

      You can edit /etc/pipewire/pipewire.conf and add a line under the [clocks] section:

      default.clock.min-quantum = 512
      

      Restart pipewire for the setting to take effect:

      systemctl --user restart pipewire
      

      (If your sound ever just dies for no reason, restarting pipewire is often all you need to do)

      Use the temporary setting to increase the number. Lower number means a shorter buffer so, you get less audio latency in exchange for the risk of the buffer emptying. I don’t have much problem with 256, but sometimes Proton adds some extra CPU overhead and I’ll bump it up to 512.

      • quediuspayu@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        I’m saving your comment for when I’ll reinstall the operating system in a few days. Thanks.

        Any advice on the other issue that mutes all notification sounds? Last time I checked there were plenty of posts on how to disable power savings on pulse but not for pipewire.

        • FauxLiving@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          19 hours ago

          That would depend on the notification application that you’re using.

          Give me any details that you can think of. Software version, things you’ve tried, etc. I’ll look into it after work

          Do sounds work sometimes and then stop or is it that they’re playing but the output is set to muted by default?

          • quediuspayu@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            1
            ·
            18 hours ago

            Thank you!

            It always takes about one second to start any sound after staying silent for a little while. I managed to figure out it was a power savings mode putting the service to sleep and not waking up fast enough, for pulse it seems to be as easy as to change a true for a false to a power savings option inside a config file, I guess that in pipewire is the same but I couldn’t find the option, that line probably needs to be added somewhere and I’m not sure where and what to write exactly.

            The part about the muted notifications was because all the sounds shorter than one second end before the thing wakes up.

  • HorreC@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    I spend more time dealing with my partners windows machine when it does an update getting their audio up and back to what it was, then I have with linux in 8 years (at least). And I did a major change from deb based into redhat base. And I dont even think its a bleeding edge distro issue, as I do run a Nobara system and that is based on fedora (which is still considered bleeding edge for the most part).

  • dewritoninja@pawb.social
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    I had a laptop with the opposite problem, it would just screech at full volume from the deepest pits of computer hell

  • phar@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    I had some issues in pre-2019 between alsa and pulse. I don’t think I have had any sound issues since then

    • Rose@slrpnk.net
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Long ago, I had SoundBlaster Live! soundcard which was perfectly capable of mixing audio on hardware under ALSA, which in my mind meant that all of the userland sound daemon nonsense could go straight to hell for all I cared. Earlier, EsounD never worked right and no app supported it directly and the wrapper utility was a hassle when it even worked. Then came PulseAudio. I could get buuutttery smooth audio on direct ALSA or laggy barely working audio on Pulse. Absolute hog.

      Sure, nowadays the situation is better. But back in the day, for me, the answer to “why isn’t the sound working?” was usually “you tried to use anything but direct ALSA”.

      • davidgro@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Funny. My experience was the exact opposite. Maybe it was bad defaults which I never managed to fix, but I could never get two apps to use sound at the same time, which meant until Pulse became the standard and fixed everything, it was always constant battles between aRts, ESD, and apps that used neither.

      • phar@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        I have not made the switch to Linux in the days where I still had a dedicated sound card. But I had extremely similar circumstances without a dedicated sound card. So I definitely believe you