r/ManjaroLinux 12d ago

Tech Support Bitwig and Power save mode

Gemini had me running around in circles, I want Bitwig 6 to run full power, but after a while the cpu got throttled. I have a nice powerful gaming machine, so... Gemini solved this:

powersave
Max locked memory         unlimited            unlimited            bytes

Use code with caution.

The terminal executed flawlessly with zero errors. Your system is now in a pristine, safe, and minimalist state:

  • The unnecessary mess is gone: No broken boot services, no temporary script files, and no password exceptions are left behind on JohnnyWinter [JohnnyWinter log]. Your boot path is 100% stock.
  • Your diagnostic tool is perfectly preserved: check-audio is cleanly active. You can use your Right Arrow key ( ) to run it whenever you want a quick snapshot of your hardware.
  • Your audio privileges are locked in: Your memory paths are safely set to unlimited, which is the exact fix that allowed you to drop your Bitwig 6 buffer smoothly back down to 512 samples.
  • The terminal executed flawlessly with zero errors. Your system is now in a pristine, safe, and minimalist state:The unnecessary mess is gone: No broken boot services, no temporary script files, and no password exceptions are left behind on JohnnyWinter [JohnnyWinter log]. Your boot path is 100% stock. Your diagnostic tool is perfectly preserved: check-audio is cleanly active. You can use your Right Arrow key ( → ) to run it whenever you want a quick snapshot of your hardware. Your audio privileges are locked in: Your memory paths are safely set to unlimited, which is the exact fix that allowed you to drop your Bitwig 6 buffer smoothly back down to 512 samples.

--- BUT the f.... powersave couldn't be resolved! I don't want powersave! Any ideas?

2 Upvotes

2 comments sorted by

2

u/nikgnomic 12d ago

To disable power-saving mode for the snd_hda_intel module, add the following parameters to /etc/modprobe.d/alsa-base.conf:

options snd_hda_intel power_save=0 power_save_controller=N

https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture/Troubleshooting#Power_saving

To disable node suspension in WirePlumber, add this snippet to ~/.config/wireplumber/wireplumber.conf.d/disable-suspension.conf

monitor.alsa.rules = [
  {
    matches = [
      {
        # Matches all sources
        node.name = "~alsa_input.*"
      },
      {
        # Matches all sinks
        node.name = "~alsa_output.*"
      }
    ]
    actions = {
      update-props = {
        session.suspend-timeout-seconds = 0
      }
    }
  }
]
# bluetooth devices
monitor.bluez.rules = [
  {
    matches = [
      {
        # Matches all sources
        node.name = "~bluez_input.*"
      },
      {
        # Matches all sinks
        node.name = "~bluez_output.*"
      }
    ]
    actions = {
      update-props = {
        session.suspend-timeout-seconds = 0
      }
    }
  }
]

https://wiki.archlinux.org/title/PipeWire/Troubleshooting#Noticeable_audio_delay_or_audible_pop/crack_when_starting_playback