help! -- unprovoked pulseaudio jack conflict

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

Lech123
Establlshed Member
Posts: 28
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

help! -- unprovoked pulseaudio jack conflict

Postby Lech123 » Sun Jun 17, 2018 11:55 am

Hi! After a long period of relatively trouble-free operation, pulseaudio has suddenly stopped working on my system and I can't seem to figure out what the heck is wrong with it.

I did not perform any updates or upgrades or downloads which may have led to the breakage, but I did some general updates afterwards, and it's still not working. (on fedora: dnf remove/reinstall/install pulseaudio jack-audio-connection-kit pavucontrol; dnf update; rebooting; fiddling around with the touchy qjackctl settings...)

Pavucontrol shows:
"Connection to Pulseaudio failed. Automatic retry in 5s (...)

AFAICG, pulseaudio suddenly stopped recognising something in the ~/.pulse/default.pa file:
load-module module-jack-sink channels=2
load-module module-jack-source channels=2
load-module module-null-sink
load-module module-stream-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-suspend-on-idle
set-default-sink jack_out
set-default-source jack_in

The above file used to work for years, but now it doesn't. If I delete it, pulse mysteriously recovers, but is useless for me because it fails to detect JACK and it fails to automatically provide any sinks or sources to interface with it.


Code: Select all

pulseaudio -v --log-target=stderr
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 11.1-rebootstrapped
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 2ae6cc7e14b64920afa87fbd30554cde.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/lech/.pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-11.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: System supports high resolution timers
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 MMXEXT 3DNOW 3DNOWEXT
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/lech/.pulse/2ae6cc7e14b64920afa87fbd30554cde-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/lech/.pulse/2ae6cc7e14b64920afa87fbd30554cde-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/lech/.pulse/2ae6cc7e14b64920afa87fbd30554cde-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
I: [pulseaudio] sink.c: Created sink 0 "null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Null Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 0 "null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Null Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
I: [pulseaudio] core.c: default_source: (unset) -> null.monitor
I: [pulseaudio] core.c: default_sink: (unset) -> null
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #5; argument: "").
E: [pulseaudio] ltdl-bind-now.c: Failed to open module module-jack-sink.so: module-jack-sink.so: cannot open shared object file: No such file or directory
E: [pulseaudio] module.c: Failed to open module "module-jack-sink".
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.
I: [pulseaudio] module.c: Unloading "module-null-sink" (index: #5).
I: [pulseaudio] core.c: default_sink: null -> (unset)
I: [pulseaudio] core.c: default_source: null.monitor -> (unset)
I: [pulseaudio] sink.c: Freeing sink 0 "null"
I: [pulseaudio] source.c: Freeing source 0 "null.monitor"
I: [pulseaudio] module.c: Unloaded "module-null-sink" (index: #5).
I: [pulseaudio] module.c: Unloading "module-switch-on-port-available" (index: #4).
I: [pulseaudio] module.c: Unloaded "module-switch-on-port-available" (index: #4).
I: [pulseaudio] module.c: Unloading "module-augment-properties" (index: #3).
I: [pulseaudio] module.c: Unloaded "module-augment-properties" (index: #3).
I: [pulseaudio] module.c: Unloading "module-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloaded "module-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloading "module-stream-restore" (index: #1).
I: [pulseaudio] module.c: Unloaded "module-stream-restore" (index: #1).
I: [pulseaudio] module.c: Unloading "module-device-restore" (index: #0).
I: [pulseaudio] module.c: Unloaded "module-device-restore" (index: #0).
I: [pulseaudio] main.c: Daemon terminated.





Any help would be much appreciated.

Lech123
Establlshed Member
Posts: 28
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby Lech123 » Sun Jun 17, 2018 12:03 pm

I forgot to add that I tried to manually re-add the same settings to /etc/pulse/default.pa, avoiding doubling-up on existing settings, but with no improvement.

"dnf provides module-jack-sink.so" did not come up with any packages for Fedora 27.

User avatar
nikgnomicradio
Establlshed Member
Posts: 34
Joined: Wed Feb 07, 2018 9:31 pm
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby nikgnomicradio » Mon Jun 18, 2018 11:27 pm

Most Linux distributions need package pulseaudio-jack for the Pulseaudio sinks/sources to JACK
If that was not reinstalled with rest of audio packages would explain why Pulseaudio fails to start correctly
and why JACK cannot find module-jack-sink.so

If configuration file default.pa has: load-module module-jackdbus-detect channels=2, (from pulseaudio-jack)
And "enable D-Bus" options in QjackCtl (Misc tab) are enabled
JACK should automatically load Pulseaudio sink and source when started with no extra commands needed

can also add Pulseaudio sink/sources anytime JACK is running with:

Code: Select all

pactl load-module module-jack-sink channels=2
pactl load-module module-jack-source channels=2

I use these commands in a script called by QjackCtl "Execute script after startup" (and with the set default command you use too)

Lech123
Establlshed Member
Posts: 28
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby Lech123 » Tue Jun 19, 2018 9:42 am

Thanks,
On fedora they called it "pulseaudio-module-jack", which has kind-of brought things back, but now the jack server only starts about half of the time, and it's the same with pavucontrol.

I tried a little workaround, which seems to work for now: I force-started jack (in qjackctl) with a dummy driver instead of alsa, and then pavucontrol magically started working, then I changed the driver back to alsa and restarted jack. Race conditions? Alsa playing up? I don't know.

execute script on startup:
pulseaudio -k;
after start-up:
sleep 1 ; pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; sleep 2 ; pacmd set-default-sink jack_out; /bin/bash -c "/usr/bin/a2jmidid -e" &
on shutdown:
killall a2jmidid ; killall jackdbus

Maybe there's something not quite right in those scripts? For a long time I had to manually start a2jmidid in a terminal, because qjackctl would never start it automatically.

<rant>Now all I need are horse tranquillizers for the throbbing headache regarding the eternally flaky state of linux audio drivers. It's nice that jack and pulseaudio exist, and that there also exists a 3rd set of packages for gluing them together, but seriously? What we need is a fat "jack-o-pulse" driver to be shipped in a working state. Maybe I'm barking up the wrong tree, and should have paid more attention to the fact that the "Fedora Musician's Guide" seems to have been abandoned by the distro about 10 versions ago, and it's time to switch to a more musician-friendly distro? Even my google searches about "jack won't start" issues keep returning the same time-wasters that innocent people had 5, 6 or even 7 years ago!</rant>

Jack Winter
Establlshed Member
Posts: 262
Joined: Sun May 28, 2017 3:52 pm

Re: help! -- unprovoked pulseaudio jack conflict

Postby Jack Winter » Tue Jun 19, 2018 10:55 am

I'd contend that a competent distro ought to have ALSA/PA/JACK working together, and if it doesn't then the distro hasn't done a good job as far as this is concerned. It can be thorny to get it all working together, but it is definitely possible.
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux

Lech123
Establlshed Member
Posts: 28
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby Lech123 » Tue Jun 19, 2018 5:46 pm

Now things are worse than ever...

Code: Select all

$ pulseaudio
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server request channel<
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 20
self-connect-mode is "Don't restrict self connect requests"
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: playback device hw:0
Jack: capture device hw:0
Jack: apparent rate = 48000
Jack: frames per period = 512
Jack: JackDriver::Open capture_driver_name = hw:0
Jack: JackDriver::Open playback_driver_name = hw:0
Jack: Check protocol client = 8 server = 8
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_system val = 0
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 512
Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackDriver::SetupDriverSync driver sem in flush mode
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|-|512|3|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackEngine::ClientInternalClose ref = 0
Jack: JackEngine::ClientCloseAux ref = 0
Jack: JackEngine::ReleaseRefnum server quit
JackTemporaryException : now quits...
Released audio card Audio0
audio_reservation_finish
Jack: ~JackDriver
Cannot initialize driver
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
JackServer::Open failed with -1
Jack: Succeeded in unlocking 107341338 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
Jack: Succeeded in unlocking 1187 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: Cleaning up shared memory
Jack: Cleaning up files
Jack: Unregistering server `default'
Failed to open server
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server request channel<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server request channel<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server request channel<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server request channel<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
W: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server request channel<
W: [pulseaudio] module-jack-sink.c: JACK error >jack server is not running or cannot be started<
W: [pulseaudio] module-jack-sink.c: JACK error >JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock<
W: [pulseaudio] module-jack-sink.c: JACK error >JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock<
E: [pulseaudio] module-jack-sink.c: jack_client_open() failed.
E: [pulseaudio] module.c: Failed to load module "module-jack-sink" (argument: "channels=2"): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.



Code: Select all

19:39:57.375 Statistics reset.
19:39:57.384 ALSA connection change.
19:39:57.391 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
19:39:57.412 Startup script...
19:39:57.412 pulseaudio -k;
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
E: [pulseaudio] main.c: Failed to kill daemon: No such process
19:39:57.856 Startup script terminated with exit status=256.
19:39:58.188 D-BUS: JACK server could not be started. Sorry
Tue Jun 19 19:39:57 2018: Starting jack server...
Tue Jun 19 19:39:57 2018: Jack: Server `default' registered
Tue Jun 19 19:39:57 2018: Jack: JackConnectionManager::InitConnections size = 19050752
Tue Jun 19 19:39:57 2018: Jack: JackConnectionManager::InitClients
Tue Jun 19 19:39:57 2018: JACK server starting in realtime mode with priority 20
Tue Jun 19 19:39:57 2018: self-connect-mode is "Don't restrict self connect requests"
Tue Jun 19 19:39:57 2018: Jack: JackShmMem::new index = 0 attached = 1d740000 size = 107341338
Tue Jun 19 19:39:57 2018: Jack: JackShmMem::new placement size = 38108698
Tue Jun 19 19:39:58 2018: Jack: Succeeded in locking 107341338 byte memory area
Tue Jun 19 19:39:58 2018: Jack: JackConnectionManager::InitConnections size = 19050752
Tue Jun 19 19:39:58 2018: Jack: JackConnectionManager::InitClients
Tue Jun 19 19:39:58 2018: Jack: JackConnectionManager::InitConnections size = 19050752
Tue Jun 19 19:39:58 2018: Jack: JackConnectionManager::InitClients
Tue Jun 19 19:39:58 2018: Jack: JackShmMem::new index = 1 attached = 29b7c000 size = 1187
Tue Jun 19 19:39:58 2018: Jack: Succeeded in locking 1187 byte memory area
Tue Jun 19 19:39:58 2018: Jack: JackPosixThread::StartImp : create non RT thread
Tue Jun 19 19:39:58 2018: Jack: JackPosixThread::ThreadHandler : start
Tue Jun 19 19:39:58 2018: Jack: playback device hw:0
Tue Jun 19 19:39:58 2018: Jack: capture device hw:0
Tue Jun 19 19:39:58 2018: Jack: capture device hw:0
Tue Jun 19 19:39:58 2018: Jack: playback device hw:0
Tue Jun 19 19:39:58 2018: Jack: apparent rate = 48000
Tue Jun 19 19:39:58 2018: Jack: frames per period = 512
Tue Jun 19 19:39:58 2018: Jack: JackDriver::Open capture_driver_name = hw:0
Tue Jun 19 19:39:58 2018: Jack: JackDriver::Open playback_driver_name = hw:0
Tue Jun 19 19:39:58 2018: Jack: Check protocol client = 8 server = 8
Tue Jun 19 19:39:58 2018: Jack: JackEngine::ClientInternalOpen: name = system
Tue Jun 19 19:39:58 2018: Jack: JackEngine::AllocateRefNum ref = 0
Tue Jun 19 19:39:58 2018: Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_system val = 0
Tue Jun 19 19:39:58 2018: Jack: JackEngine::NotifyAddClient: name = system
Tue Jun 19 19:39:58 2018: Jack: JackGraphManager::SetBufferSize size = 512
Tue Jun 19 19:39:58 2018: Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Tue Jun 19 19:39:58 2018: Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Tue Jun 19 19:39:58 2018: Jack: JackDriver::SetupDriverSync driver sem in flush mode
Tue Jun 19 19:39:58 2018: Acquired audio card Audio0
Tue Jun 19 19:39:58 2018: creating alsa driver ... hw:0|hw:0|512|3|48000|0|0|nomon|swmeter|-|32bit
Tue Jun 19 19:39:58 2018: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Tue Jun 19 19:39:58 2018: Jack: JackDriver::Close
Tue Jun 19 19:39:58 2018: Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
Tue Jun 19 19:39:58 2018: Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Tue Jun 19 19:39:58 2018: Jack: JackEngine::ClientInternalClose ref = 0
Tue Jun 19 19:39:58 2018: Jack: JackEngine::ClientCloseAux ref = 0
Tue Jun 19 19:39:58 2018: Jack: JackGraphManager::RemoveAllPorts ref = 0
Tue Jun 19 19:39:58 2018: Released audio card Audio0
Tue Jun 19 19:39:58 2018: Jack: ~JackDriver
Tue Jun 19 19:39:58 2018: ERROR: Cannot initialize driver
Tue Jun 19 19:39:58 2018: Jack: no message buffer overruns
Tue Jun 19 19:39:58 2018: Jack: JackPosixThread::Stop
Tue Jun 19 19:39:58 2018: Jack: JackPosixThread::ThreadHandler : exit
Tue Jun 19 19:39:58 2018: ERROR: JackServer::Open failed with -1
Tue Jun 19 19:39:58 2018: Jack: Succeeded in unlocking 107341338 byte memory area
Tue Jun 19 19:39:58 2018: Jack: JackShmMem::delete size = 0 index = 0
Tue Jun 19 19:39:58 2018: Jack: ~JackDriver
Tue Jun 19 19:39:58 2018: Jack: Succeeded in unlocking 1187 byte memory area
Tue Jun 19 19:39:58 2018: Jack: JackShmMem::delete size = 0 index = 1
Tue Jun 19 19:39:58 2018: Jack: Cleaning up shared memory
Tue Jun 19 19:39:58 2018: Jack: Cleaning up files
Tue Jun 19 19:39:58 2018: Jack: Unregistering server `default'
Tue Jun 19 19:39:58 2018: ERROR: Failed to open server
Tue Jun 19 19:39:59 2018: Saving settings to "/home/lech/.config/jack/conf.xml" ...
19:40:00.733 ALSA active patchbay scan...
19:40:02.745 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock


Jack won't run. Pulseaudio won't run. I really don't know what to do here, apart from throwing fedora in the trash and trying Mint or Ubuntu Studio or something similar.

Lech123
Establlshed Member
Posts: 28
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby Lech123 » Tue Jun 19, 2018 6:02 pm

It just keeps getting better...
Pulseaudio somehow misidentifies the USB music keyboard...

Code: Select all

$ pulseaudio
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="0" name="usb-Evolution_Electronics_Ltd._MK-249C_USB_MIDI_keyboard-00" card_name="alsa_card.usb-Evolution_Electronics_Ltd._MK-249C_USB_MIDI_keyboard-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.
W: [pulseaudio] alsa-mixer.c: Volume element Speaker has 8 channels. That's too much! I can't handle that!
W: [pulseaudio] alsa-mixer.c: Volume element Speaker has 8 channels. That's too much! I can't handle that!
W: [pulseaudio] alsa-mixer.c: Volume element Speaker has 8 channels. That's too much! I can't handle that!


And when I unplug it:

Code: Select all

$ pulseaudio
W: [pulseaudio] alsa-mixer.c: Volume element Speaker has 8 channels. That's too much! I can't handle that!
W: [pulseaudio] alsa-mixer.c: Volume element Speaker has 8 channels. That's too much! I can't handle that!
W: [pulseaudio] alsa-mixer.c: Volume element Speaker has 8 channels. That's too much! I can't handle that!



Slightly better, but there's still some broken setting, probably hidden away in a read-only file in a secret location...

folderol
Establlshed Member
Posts: 702
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby folderol » Tue Jun 19, 2018 10:31 pm

Does your machine have systemd? and have you recently done any updates?
It is know to mess with udev these days - the reason I finally lost patience and moved to devuan.

User avatar
protozone
Establlshed Member
Posts: 172
Joined: Tue May 08, 2018 9:02 pm
Contact:

hmmm, trying to help

Postby protozone » Tue Jun 19, 2018 10:39 pm

I have found that the main thing that destroys my system(s)'s stability is allowing or complying with "autoremove" or "remove" suggestions from APT. If you accepted the invitation to remove supposedly unneeded DLL's, it probably broke stuff. That's my main experience, so I NEVER do it, no matter how humongous the list grows of supposedly unneeded files. Every time I accept the request, it destroys my whole system. If somebody knows how to disable the question, please let me know.

Maybe APT (or bleachbit's apt section) destroyed some needed dependencies.
You might try reinstalling ALSA and ALSA tools (utils?) I forget what it's called, but that fixed a system I used have problems with. I've never used Fedora, though.

User avatar
nikgnomicradio
Establlshed Member
Posts: 34
Joined: Wed Feb 07, 2018 9:31 pm
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby nikgnomicradio » Wed Jun 20, 2018 3:38 am

Lech123 wrote:<rant>Now all I need are horse tranquillizers for the throbbing headache regarding the eternally flaky state of linux audio drivers...!</rant>


I have been there a few times!
couple of times in last year pulseaudio has needed changes to configuration.
I used to need only 10 or 11 pulseaudio modules, but now I need about 15 and pulse gets temperamental if I try to remove any more

suggest you clear everything back to default and start over:
1. Get Pulseaudio running first on default settings, set any ALSA detected devices to "Off" to prevent any JACK problems later
2. Copy default Pulseaudio configurations (default.pa and daemon.conf) to ~/.config/pulse/
3. Remove unwanted Pulseaudio modules one at a time from ~/.config/pulse/default.pa and check Pulseaudio still working in pavucontrol
4. Get JACK to start and run ok ,even if missing Pulseaudio sinks/sources
5. When rest of Pulse and JACK is ok, add the Pulseaudio sinks/sources

If you can get AVLinux or Ubuntu Studio running on Live USB you can check out how Pulseaudio and JACK work together, maybe find some clues to take back to Fedora.

Lech123
Establlshed Member
Posts: 28
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland
Contact:

Re: help! -- unprovoked pulseaudio jack conflict

Postby Lech123 » Thu Jun 21, 2018 10:40 am

Thanks!

I manually deleted the /etc/pulse and ~/.pulse folders to make sure there weren't any bad configuration files left over before reinstalling pulse. Lo and behold, there was yet another hidden folder, which I missed: ~/.config/pulse so I deleted that one too, and repeated the re-installation of pulseaudio and pulseaudio-module-jack, but nothing has changed.

This seems to be the main blocker:

Code: Select all

$ pactl load-module module-jack-source
Failure: Module initialization failed

$ sudo pactl load-module module-jack-source
Connection failure: Connection refused
pa_context_connect() failed: Connection refused



Pactl even causes qjackctl to freeze for about ~15 seconds while the script silently fails.

At this point I don't have any more patience to "throw good money after bad", so I think I'll just upgrade the system. If the Fedora 28 "Jam" spin doesn't run beautifully out-of-the-box, I think it's about time to switch to another distro provider.


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 11 guests