Linux: Pulseaudio issue

Configure and optimize you computer for Audio.
Post Reply New Topic
RELATED
PRODUCTS

Post

I've an issue with Pulseaudio and my external USB sound card.

The card works fine with ALSA. But I get the following errro when running pulseaudio:

Code: Select all

E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-Yamaha_Corporation_Steinberg_CMC-CH_YMHFF32115A3136473243052545-00" card_name="alsa_card.usb-Yamaha_Corporation_Steinberg_CMC-CH_YMHFF32115A3136473243052545-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module.c: Failed to load module "module-alsa-sink" (argument: "device=hw:0"): initialization failed.

Output from cat /proc/asound/modules

Code: Select all

 0 snd_usb_audio
 1 snd_usb_audio

output from aplay -l

Code: Select all

**** Lista över PLAYBACK hårdvaruenheter ****
kort 0: Pro [FastTrack Pro], enhet 0: USB Audio [USB Audio]
  Underordnade enheter: 1/1
  Underordnad enhet nr. 0: subdevice #0
kort 0: Pro [FastTrack Pro], enhet 1: USB Audio [USB Audio #1]
  Underordnade enheter: 1/1
  Underordnad enhet nr. 0: subdevice #0

And this is the content of /etc/pulse/default.pa

Code: Select all


.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794)
.ifexists module-switch-on-connect.so
load-module module-switch-on-connect
.endif

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GSettings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gsettings.so
.nofail
load-module module-gsettings
.fail
.endif


### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Block audio recording for snap confined packages unless they have
### the "pulseaudio" or "audio-record" interfaces plugged.
.ifexists module-snap-policy.so
load-module module-snap-policy
.endif

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input
load-module module-alsa-sink device=hw:0




Anyone ?

Post

bump

Post

Try the search function in your package manager, using
'plugin' as the keyword. Do the same search,
but with alsa, and then jack There may be a couple
plugins that will help tie things together.

Pulse might latch on to your motherboard sound, so compare
alsamixer with your pulse volume control. If the fasttrack is muted
in alsa, an existing plugin likely wouldn't send on the audio to pulse

Lots of pulse questions-answers:

https://www.freedesktop.org/wiki/Softwa ... Audio/FAQ/

https://wiki.archlinux.org/index.php/Pu ... leshooting

My only pulse experience is when it is the default
audio output for google-chrome-stable. I remove it from daw setups.

An audio hardware help forum is here,
where more experienced pulse users might help:

https://www.linuxmusicians.com/viewforu ... 6bcfbaefca

Cheers

Post

I think the problem is that the machine detects wrong device as the primary one. I've to run:

Code: Select all

alsa force-reload
to get the Fast Track sound card as primary device.

That fix the problem for alsa. But pulseaudio.

The later detects the right device. But it's not set as the default first one.

Post

/etc/modprobe.d/blacklist.conf

lets you add undesired kernel module to the blacklist text file,
find your motherboard soundchip kernel module using lsmod command,
snd_hda_codec_generic is common, and there may be several variants
or a different brand chipset to block'

and you can comment it out as desired, when needed:

(portion of a blacklist below)

#blacklist arcfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist cyblafb

Should be specific examples in net searches.
The blackist.conf may vary in location, based
on a distro's setuo.
Cheers

Post

Thanks !

The issue with that solution is that both my external soundcard (Fast Track Pro) AND an USB MIDI controller (Steinberg CMC) shows up as "snd_usb_audio"

Below is teh contant of /proc/asound/modules

Code: Select all

 0 snd_usb_audio
 1 snd_usb_audio
What happens is that on startup the CMC controller is loaded as 0 and the soundcard as 1.

alsa force-relaod fix this issue. But pulseaudioi still picks the wrong device(e.g the Steinberg controller).

As you can see in this error message when running pulseaudio:

Code: Select all

E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-Yamaha_Corporation_Steinberg_CMC-CH_YMHFF32115A3136473243052545-00" card_name="alsa_card.usb-Yamaha_Corporation_Steinberg_CMC-CH_YMHFF32115A3136473243052545-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module.c: Failed to load module "module-alsa-sink" (argument: "device=hw:0"): initialization failed.


Post

You might sell both, and get a Native Instruments
Komplete Audio 6, which has audio and midi
in one unit, and is known to work well in linux.
Cheers

Post Reply

Return to “Computer Setup and System Configuration”