Removing multiple HDMI devices and surround channels?

I ran aplay --list-pcms and got all of these:

null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
sysdefault:CARD=X18XR18
    X18/XR18, USB Audio
    Default Audio Device
front:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    Front output / input
surround21:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=X18XR18,DEV=0
    X18/XR18, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=X18XR18
    X18/XR18
    USB Stream Outputµ

Is there a way to remove all but the Behringer XR audio device, including all the XR surround outputs? I don’t need them as all I want to have is the XR as the only audio device.

or to make it easier ot view, here is a Helvum screenshot:

Yes, there is, but then the Behringer XR would stop playing too, so this sounds like an XY problem so could you describe in plain English without using any technical terms, in one short sentence:

What are you trying to accomplish?

:thinking:

Well tbh, what I want to do is quite clearly written in the OP - remove all the devices and have the XR as the only operational audio interface, without getting all the rest of them appearing in Helvum and Qjackctl.

Understood: you want to disable all the HDMI outputs and the dummy driver and keep the rest.

pacmd

is the tool you need.

You need to suspend the sinks you don’t want there and test in Helvium and when you get the right config, edit /etc/pulse/default.pa for a permanent fix.

For more info, have a look here…

:crossed_fingers:

If you only want to use one audio device you could turn off the pipewire socket and services
and configure QjackCtl settings to use the device in JACK

1 Like

Thanks guys - just a couple of follow up questions please:
@Fabby I’ll try that - and is there a way to somehow force the system (or the default if you like) sampling and buffer to 128/48000? I have a windows (under WINE) app that I cannot alter it in as it is “locked” to whatever the system is.

@nikgnomic thanks for that - just need to ask how does one turn it off? I’m assuming CLI so if you would be kind enough to pass on the command please? I’ve had too many times where I’ve done something wrong there hahaha!

pacmd is not found (in CLI)?

EDIT: Damn I forgot to write in I am using Pipewire - sorry…not sure if that makes a difference?

1 Like

The usual command to stop the required services would be

systemctl --user stop pipewire.socket pipewire.service pipewire-media-session.service

and to turn services back on again when JACK session has ended

systemctl --user start pipewire.socket pipewire-media-session.service

But there might be more services running to be included in this command

use this command to check for additional services

systemctl --user list-unit-files | grep pipewire | awk '{print $1" - "$2}'
1 Like

This is what I get:
pipewire-media-session.service - enabled
pipewire-pulse.service - disabled
pipewire.service - disabled
pipewire-pulse.socket - enabled
pipewire.socket - enabled

To include the additional socket and service in the previous commands

systemctl --user stop pipewire.socket pipewire-pulse.socket pipewire.service pipewire-pulse.service pipewire-media-session.service
systemctl --user start pipewire.socket pipewire-pulse.socket pipewire-pulse.service

thanks nikgnomic!

Now if only I can figure how to set the default system to 128/48000 still hunting that one. I cannot seem to get it away from 256/48000

That would be a completely new topic, therefore, I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

:innocent:
P.S. In the future, please don’t forget to come back to your question after your issue has been solved and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

1 Like

Yes I usually would do that, but I wasn’t really sure I had a solution to the original OP tbh…stuff was still not working out as it should have according to instructions above.

Your action is fair, and it IS probably the answer, that I am not adept enough to implement it properly is neither your fault nor the posters :slight_smile:

Yes I will post the buffer/sample rate question separately as you suggest.

So yeah, I am totally cool with your action :+1:

1 Like

You should be able to set either QjackCtl or Cadence or JACK start command to:

  • Sample Rate - 48000Hz
  • Frames/Period - 256
  • Periods/Buffer - 3

to get JACK running without xruns

If you have any issues starting or running JACK, try this script to check system is configured for realtime audio – realtimeconfigquickscan
and post the response in a new topic

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.