Skip to content

JamesDSP loses audio in random fashion #283

Description

@nikallian

Hi,

as the title says, and every time I have to select "Relink Audio Pipeline" in order to have the audio back. This is happening mostly in Firefox.

my system configuration.

pactl info                                                                                                                                                                              
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 16540
Tile Size: 65472
Server Name: PulseAudio (on PipeWire 1.4.10)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_09_00.4.analog-stereo

inxi -Aazy                                                                                                                                                                        
Audio:
  Device-1: NVIDIA GP106 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 07:00.1 chip-ID: 10de:10f1 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 09:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.18.12-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.4.10 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl

Default Source: alsa_output.pci-0000_09_00.4.analog-stereo.monitor
Cookie: 6ee9:e95e

Any help would be highly appreciated because I like very much the effects and equalizer of JamesDSP.

Thank you!

Activity

  1. NecktiedHummingbird commented on Mar 7, 2026

    @NecktiedHummingbird

    Maybe you have the same issue I had.

    I had the following log entries in journalctl journalctl --user -u pipewire

    Mär 07 08:42:19 XX pipewire[1528]: pw.port: 0x55f24cec3ff0: mix use buffers failed: -22 (Das Argument ist ungültig)
    Mär 07 08:42:19 XX pipewire[1528]: pw.link: (76.0.0 -> 115.0.0) allocating -> error error use input buffers: -22 (Das Argument ist ungültig) (-22) (paused-paused)
    Mär 07 08:42:19 XX pipewire[1528]: pw.port: 0x55f24ced1d50: mix use buffers failed: -22 (Das Argument ist ungültig)
    Mär 07 08:42:19 XX pipewire[1528]: pw.link: (76.1.0 -> 115.1.0) allocating -> error error use input buffers: -22 (Das Argument ist ungültig) (-22) (paused-paused)
    

    In english this is:

    Mär 07 08:42:19 XX pipewire[1528]: pw.port: 0x55f24cec3ff0: mix use buffers failed: -22 (The argument is invalid)
    Mär 07 08:42:19 XX pipewire[1528]: pw.link: (76.0.0 -> 115.0.0) allocating -> error error use input buffers: -22 (The argument is invalid) (-22) (paused-paused)
    Mär 07 08:42:19 XX pipewire[1528]: pw.port: 0x55f24ced1d50: mix use buffers failed: -22 (The argument is invalid)
    Mär 07 08:42:19 XX pipewire[1528]: pw.link: (76.1.0 -> 115.1.0) allocating -> error error use input buffers: -22 (The argument is invalid) (-22) (paused-paused)
    

    I fixed it with an default sample-rate.
    Here is how I did:

    Create a default sample-rate ~/.config/pipewire/pipewire.conf.d/sample-rate.conf for 48khz:

    context.properties = {
        default.clock.rate = 48000
        default.clock.allowed-rates = [ 48000 ]
    }
    

    Restart pipewire with systemctl --user restart pipewire wireplumber (or reboot if you want to be fully sure)

    Now your Firefox audio should work again without getting lost.

  2. nikallian commented on Mar 7, 2026

    @nikallian
    Author

    @NecktiedHummingbird

    Hi and thanks for your reply.

    Well, I had these settings (along with the wireplumber resolution set to 24bit) nut I removed them in an attempt to troubleshoot the problem with the intermittent audio absence in Firefox.

    The only difference is that in my settings I had also set the rest of the allowed sample rates.

    But I had a progress in my attempts to resolve the problem. My distro is Manjaro which is Arch based and in the AUR repo there are 3-4 different versions of jamesDSP. I started testing all the available versions and now I stuck on jamesDSP-pipewire-bin which seems to work so far but I don't know why.

    I will restore the samples rates (using your fixed config) and the resolution and test again.

    Regards

  3. NecktiedHummingbird commented on Mar 7, 2026

    @NecktiedHummingbird

    Hmm, I always use pipewire-bin from AUR as well.
    But maybe I have another idea.
    At the same routine I updated everything including some driver and all my disabled audio devices, including the nvidia hdmi audio controller, got re-eanbled again. At the same step where I created my default sample-rate I also disabled all devices once again.
    So maybe there lies the problem? Maybe try disable all not needed devices as well, once the problem reoccurs.
    Otherwise I am out of options, but glad it is currently working for you!

  4. nikallian commented on Mar 7, 2026

    @nikallian
    Author

    @NecktiedHummingbird

    So it seems that this version must be the correct one. I use KDE's system settings to disable the audio devices I don't need (namely Nvidia's HDMI).

    That's my sound panel

    Image

    Is there some other way to make sure these devices are completely off ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions