/srv/irclogs.ubuntu.com/2020/08/13/#ubuntustudio-devel.txt

OvenWerksOk, just looking now. ...00:01
OvenWerksmore problems than jackd not starting00:01
OvenWerkswhich desktop?00:01
OvenWerks is pulse installed?00:01
OvenWerksThe calls using pactl are failing00:02
OvenWerks" Connection refused"00:02
OvenWerkswhat does .log/jack/jackdbus.log look like? I expect it says no access to the device00:03
OvenWerksif pactl can't connect to pulse via dbus, it is a good guess jack can't either00:04
OvenWerksEickmeyer: ^^^00:05
OvenWerksthat may be a logind/systemd difference in dbus instance00:06
EickmeyerI believe it was Gnome, but I'll check with Plasma as well.00:07
EickmeyerAnd, yes, Pulse is definitely installed.00:07
OvenWerksif the gnome desktop on fedora is the same as on ubuntu, logout and in will not work. a reboot each time probably.00:10
OvenWerksgnome never realy shuts down their logind session properly... or maybe opens a second one on top of the first. either way pulse ends up on another instance of dbus. also make sure that pulse is set up as a user process not system00:12
* OvenWerks goes to spend time with wife00:12
EickmeyerOK, maybe that's it. Will keep investigating.00:20
EickmeyerJust a lot on my plate at the moment.00:21
EickmeyerOvenWerks: It has the same problem in Plasma. It seems as though it's shutting-down Pulse, but then Pulse isn't coming back for whatever reason.00:44
EickmeyerBingo: W: [pulseaudio] module-jack-sink.c: JACK error >Cannot use real-time scheduling (RR/15) (1: Operation not permitted)<00:46
OvenWerksEickmeyer: thats pretty much normal and should not stop things from working01:14
OvenWerksEickmeyer: do you have autospawn = yes in client.conf in /etc/pulse/?01:21
OvenWerksbecause pulseaudio -k kills pulse and expects it to respawn01:22
OvenWerkscadence turns that off)01:22
OvenWerksEickmeyer: something to try:01:31
OvenWerkskillall autojack01:31
OvenWerksps ax |grep autojack should show no autojack running01:31
OvenWerksthen use -controls to start jack again.01:32
OvenWerksthis should start another instance of autojack. If this works... we may have to go back to  /etc/xdg/autostart/autojack.desktop01:33
OvenWerksanyway, it seems dbus related01:34
EickmeyerOvenWerks: Interesting... autospawn=no is set in Fedora by default. :S02:01
EickmeyerNever had this issue before.02:01
EickmeyerOvenWerks: That method did not work. I'm guessing we've got some new dbus stuff that's messing up our flow. Unfortunately, if it's in Fedora now, then that means it'll land in Ubuntu in the future.02:42
OvenWerksEickmeyer: it seems carla is to blame for things freezing up... but I am not sure why. I think there is also a problem with jack itself because once carla messes things up, restarting jack does not clear the problem.15:10
OvenWerksso if carla freezes, nothing that reads or changes the graph works (qjackctl, jack_lsp, -controls, etc)15:11
OvenWerkseven after restarting jack.15:11
OvenWerksso there is something left in memory... This looks like a problem with either jack itself or libjack.15:13
OvenWerksthat is aside from the problem with carla :) I actually think if the problem in jack/libjack was taken care of, the problem with carla would at least be less of a problem.15:16
OvenWerksEickmeyer: with regard to the different way pulse may be set up from one system to the next, I feel that is a small problem.15:17
OvenWerksit means we go from: kill pulse and expect it to reset itself15:18
OvenWerksto: kill pulse, check if it is running, start it if not.15:19
EickmeyerOvenWerks: Yeah, it's more complicated than that, unfortunately.15:21
OvenWerkshave they also gone from user based to system based?15:23
EickmeyerI'm not following.15:23
OvenWerkspulse can be run as a system service so that if there is more than one user logged in at the same time they all have access to the audio device.15:24
OvenWerksit does limit pulse's operation which is why it is normally not done.15:24
OvenWerksit may also be that the respawn setting is done by systemd rather than pulse itself.15:25
EickmeyerHmmm... not sure. Seems to be a user service, but I'm not 100% sure. 15:25
OvenWerksyou should find it either in /lib/systemd/  system or user15:26
OvenWerksls /lib/systemd/user/pulse*15:27
EickmeyerI'm rebooting into Fedora to find out. That seems to have had to be a systemwide change proposal, and I saw nothing.15:30
EickmeyerFedora doesn't make changes like that without making it a big deal.15:32
OvenWerksso far carla 2.1 has shown no problems.... 15:55
* OvenWerks notes that carla 2.2 uses juce and maybe uses juce libs to talk to jack15:55
OvenWerkscertainly juce is the big difference from 2.1 to 2.215:56
EickmeyerHmmmm.....15:56
EickmeyerPerhaps I should package Cadence if only for catia, i.e. not making the cadence binary available.15:57
OvenWerksI like that 2.2 handles jack restarts but I can't recommend carla as a replacement for patchage/qjackctl if we ship 2.215:58
OvenWerkscatia _should_ be out on it's own "soon".15:58
OvenWerksbut falktx is pretty busy these days15:59
OvenWerksI think patchage has sprouted python3 in the mean time too. but it may not be in debian yet. (and I could be wrong)16:00
OvenWerksif catia has the same trouble as carla... it does use the same patchbay code after all, all bets are off16:01
EickmeyerYeah, but you've got to remember that Carla is primarily a plugin host, so it makes sense for it to use juce.16:01
EickmeyerNew patchage is not yet in Debian.16:05
EickmeyerLooks like it's being worked on.16:05
OvenWerkswith so many things using juce, finding bugs is worth while.16:10
EickmeyerAlso remember that Carla 2.2 is just an RC at this point, he's still working on it.16:10
OvenWerksyup.16:11
EickmeyerOvenWerks: in Fedora, pulseaudio is a user service.16:24
OvenWerksgood.16:24
Eickmeyerhttps://paste.centos.org/view/3b3522ac16:25
EickmeyerThat's the log.16:25
OvenWerksmaybe we can use systemd commands to stop start.16:26
EickmeyerAlso this: https://paste.centos.org/view/61979ad116:27
EickmeyerI'm wondering if Jack is the issue.16:27
EickmeyerEither way, that's two separate machines I've tried now with Fedora that are experiencing the exact same issue with studio-controls.16:30
OvenWerksassume starting jack with -controls so max ports should be 2k or so16:30
OvenWerksJack::JackGraphManager::AssertPort(jack_port_id_t): Assertion `port_index < fPortMax' failed.16:32
EickmeyerIs that the issue right there?16:33
OvenWerksbut I see other problems anyway. from the stuff you shared with me before, pactl is not able to communicate with pulse.16:34
OvenWerksyes an assert is always a fail and dump.16:34
OvenWerksbut there are other things: [pulseaudio] module-alsa-card.c: Failed to find a working profile.16:35
OvenWerksmodule alsacard should have already been unloaded16:35
OvenWerksfrom your autojack logfile that did not happen because pactl got a permision denied when it tried to do things with pulse. It looks like a dbus permission denied16:36
OvenWerksI have seen reports of similar things in the ardour forums16:37
EickmeyerHmmm....16:37
OvenWerkswe may need to stop the systemd pulse and directly start our own, but I think others have found a solution without16:40
OvenWerksI will do some research... but it may take a while16:40
Eickmeyerok16:42
OvenWerksin the mean time maybe remove carla 2.2 from backports16:57
EickmeyerOk, can do.16:57
OvenWerksI am not sure what to do with groovy... will 2.2 see a fix and release?16:58
OvenWerksI can't do a bug from here for that, maybe later I can reboot to groovy and do it there.16:59
EickmeyerWell, you can always report your findings upstream to https://github.com/falktx/carla17:00
OvenWerksI suspect that it is not just unplugging USB devices but other graph changes as well17:00
EickmeyerBecause this issue isn't a packaging error, so it's completely beyond my control. Falktx doesn't watch launchpad for bugs.17:00
EickmeyerAnd while launchpad can watch github issues, github cannot watch launchpad bugs.17:01
EickmeyerSo I'd rather any bug reporting go straight to falktx's github.17:01
OvenWerks314 issues :P17:01
EickmeyerYep, but you've got to remember that a lot of those are support questions and feature requests, not actual bugs.17:02
EickmeyerGithub issues don't differentiate that like Launchpad and Bugzilla do.17:02
EickmeyerIt's up to the repo owner on github to tag issues as actual bugs, feature requests, support questions, or discussions.17:03
OvenWerkswhy can't github put dates on things? (26days ago...) a proper time stamp date time would be better.17:07
EickmeyerHover over it and it will give you the date.17:07
OvenWerkshmm, there is a commit 12 hours ago, "Alternative/better way to find all audio ports in juce plugins"17:10
EickmeyerThat might be the fix, but we won't know for a while.17:11
EickmeyerThis actually might be a good discussion to have in #lad.17:11
OvenWerkshttps://github.com/falkTX/Carla/issues/123717:22
OvenWerksI will now clone master and build to see if it works better17:22
EickmeyerOk.17:23
OvenWerksProblem still exists17:47
OvenWerksthis is painful... I have to reboot every time I kick this bug.19:59
EickmeyerOvenWerks: Yikes.21:39
EickmeyerWell, I've deleted it from the PPA, so if you "sudo apt autoremove carla && sudo apt update && sudo apt clean && sudo apt install carla" it should downgrade you.21:39
OvenWerksit is too bad it doesn't happen every time.23:06
OvenWerksI managed to downgrade thankyou.23:07
OvenWerksI have 2.1 installed and 2.2 built that I can run from the source directory. So I can compare23:08
tewardEickmeyer: i need a list of packages you need updated.23:59
tewardnever got a ping from you that I can see23:59
tewardunless the Internet fubar'd23:59
Eickmeyerteward: On telegram.23:59
EickmeyerOnly two so far, no updates at this time since I can handle most of those myself.23:59
tewardoh NOW it arrived23:59
tewardnever arrived before heh23:59
EickmeyerHahaha23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!