/srv/irclogs.ubuntu.com/2021/09/22/#ubuntustudio-devel.txt

EickmeyerOvenWerks: studio-controls crashes in the live session if it has no config file. I'll throw a bug report as soon as I can.'17:53
OvenWerksEickmeyer: can anything write to the home directory when running this way?17:54
EickmeyerYes, we should be able to.17:54
EickmeyerGranted, it gets erased on reboot (goes to ram).17:55
OvenWerksram is fine17:55
EickmeyerI'm filing a bug report because we're beyond beta freeze.17:56
EickmeyerBeta is tomorrow.17:56
OvenWerkson the iso does .config exist? I am guessing ./config/autojack does not but it should be created in convert17:56
Eickmeyer~/.config does exist for any and all users.17:57
Eickmeyermkdir -p (or equivalent) is good for this use case.17:57
OvenWerksI am wondering if running convert on startup before autojack runs would help.17:57
EickmeyerYou mean, put it in the autojack-start I made?17:58
OvenWerksyes, if it runs before anything else, it checks to make sure ~/.config/autojack exists and creats it if not.18:02
OvenWerksthen it writes a config file18:02
EickmeyerThat would work. Bug is filed, bug 194460718:04
ubottuBug 1944607 in studio-controls (Ubuntu) "Studio Controls crashes if run in live session" [High, New] https://launchpad.net/bugs/194460718:04
OvenWerksEickmeyer: pushed, do you want to look at autojack-start to make sure it makes sense?18:11
EickmeyerI'll take a look at it in a sec.18:17
OvenWerksrelease as 2.2.3 if it looks right18:18
EickmeyerOvenWerks: It didn't work.18:21
OvenWerkscan you run convert from commandline?18:22
EickmeyerYep. Let me get you the output.18:22
Eickmeyer[m]$ convert-studio-controls... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/a7ed038ab80a8c516ce2efeac4b11af3d33e3af1)18:24
EickmeyerOvenWerks: ^18:24
Eickmeyer(Matrix makes for a good pastebin)18:25
OvenWerksI am just looking at the autojack code and it looks like we log stdout but not stderr18:25
EickmeyerInteresting.18:26
OvenWerksthis has been why pastes people have left in issues have not shown the error18:26
EickmeyerThat makes sense.18:27
OvenWerksThis is tricky. The obvious fix is to test for 'none' at that line... but there should never be a device called none and to get to that line there would have to be18:33
OvenWerksEickmeyer: if there is a USB device plugged in at boot and no config file, that USB device will become jack master by default.18:34
OvenWerksis that good or bad?18:34
EickmeyerShouldn't it be internal audio as master by default?18:35
EickmeyerI mean, unless that's too complicated to do.18:35
OvenWerksEickmeyer: sorry, it only does that if it can't find anythng else to use as default18:39
OvenWerksSo that is fine18:39
EickmeyerYes, that's 100% OK.18:39
OvenWerksso if someone has their on board audio disabled in bios...18:40
EickmeyerImagine...18:40
OvenWerksBut it looks like we add the usbdev even if it is 'none'18:40
OvenWerksI actually used to disable the internal audio... I only turned it back on so I could test things.18:41
EickmeyerWell, I mean, if that's what it takes and doesn't fundamentally break anything.18:41
OvenWerksEickmeyer:  I have: if def_config['USBDEV'] not in devicelist and def_config['USBDEV'] != 'none':18:43
EickmeyerThat *should* work.18:43
OvenWerksI am wondering if that is effectively: if def_config['USBDEV'] not (in devicelist and def_config['USBDEV'] != 'none'):18:44
OvenWerkschanging to: if def_config['USBDEV'] != 'none' and def_config['USBDEV'] not in devicelist:18:45
OvenWerksEickmeyer: it works as is in 20.04 :P18:55
* OvenWerks thinks python may have changed18:55
Eickmeyer[m]I'm talking about the live session prior to any config being made.18:56
OvenWerksthat is what I am testing18:56
Eickmeyer[m]That's very possible. We've got 3.9 in Impish.19:01
OvenWerksOk braces to check coming up :P19:04
Eickmeyer[m]Sounds good.19:09
OvenWerksuploaded can you try that one?19:10
OvenWerksEickmeyer: ^^19:11
Eickmeyer[m]OvenWerks: Working on it now.19:13
Eickmeyer[m]OvenWerks: I directly ran it, no good. Same issue.19:18
Eickmeyer[m]$ convert-studio-controls... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/73a602032dcd8d7ac51069ebaa4cf19033e16bd6)19:18
OvenWerksok. so something else is adding a 'none' device19:21
OvenWerksEickmeyer[m]: another try.19:28
EickmeyerOk19:28
Eickmeyer[m]OvenWerks: Still no good.... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/cbbd2f5720c4fac429d420d8c5c08816d6a53bc6)19:31
OvenWerksEickmeyer[m]: something is happening I don't understand, I have added some debugging lines19:48
OvenWerksEickmeyer[m]: do you actually have a device called none,0,0?19:49
Eickmeyer[m]OvenWerks: Looking. What command would show that?19:49
Eickmeyer[m](I'm running it in a VM)19:49
OvenWerksaplay -l19:50
Eickmeyer[m]**** List of PLAYBACK Hardware Devices ****19:50
Eickmeyer[m]card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]19:50
Eickmeyer[m]  Subdevices: 1/119:50
Eickmeyer[m]  Subdevice #0: subdevice #019:50
OvenWerksThat should be ok19:51
OvenWerkshowever, on the off chance there is such a thing, I guess I should check for that. But before that. I would like to see the output of what I just did19:53
Eickmeyer[m]Ok. I'll look at your latest commit.19:53
Eickmeyer[m]OvenWerks: Using what you did:19:56
Eickmeyer[m]$ convert-studio-controls... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/a3ffccf88d14b3d6cec8a7314ad61d9642bd53ac)19:56
OvenWerksit says it think you have a device named none... I need to check that more. another upload coming soon19:59
Eickmeyer[m]Ok.20:00
Eickmeyer[m]I've got this one as release blocking. The release team wasn't happy when I told them that.20:00
OvenWerksEickmeyer[m]: what does tyhis get? cat /proc/asound/card*/id20:06
Eickmeyer[m]I82801AAICH20:07
OvenWerksthat should give I82801AAICH,0,0 as default device20:08
Eickmeyer[m]Right.20:09
OvenWerksEickmeyer[m]: another one to test (bug should be gone but printout is still needed20:18
OvenWerksAlso a paste of: ls /proc/asound/I82801AAICH or /proc/asound/card020:25
OvenWerksif either of those error, maybe: ls /proc/asound20:26
Eickmeyer[m]OvenWerks: Ok. Sorry, had a phone call.20:29
Eickmeyer[m]OvenWerks: $ ls /proc/asound/I82801AAICH20:32
Eickmeyer[m]codec97#0  id  intel8x0  pcm0c  pcm0p  pcm1c20:32
Eickmeyer[m]card0 returns same20:32
OvenWerksthat is different20:32
OvenWerksIs that an AC97 card then?20:32
OvenWerksIf so, alsa has changed the way they deal with them20:33
Eickmeyer[m]Well, it's virtual.20:33
OvenWerkseven virtual that would be a change20:34
Eickmeyer[m]It's basically a Virtualbox passthrough masquerading as an Intel chipset.20:34
OvenWerksBut that is ok. it should still be treated the same as a PCI audio device20:35
Eickmeyer[m]Agreed. Pulseaudio is OK, so perhaps some changes kept up with Alsa there. The question then is, how do we solve this in studio-controls?20:38
OvenWerksI need a new paste of my latest upload20:39
Eickmeyer[m]Ok20:41
OvenWerksI have fixed two things and need to know which one fixed your error20:41
OvenWerks(or if both failed ... sigh)20:41
Eickmeyer[m]I think it worked this time:20:42
Eickmeyer[m]convert-studio-controls... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/4a27b7d6d68028fecaade375ebf0d2e848c9ac1c)20:42
Eickmeyer[m]Trying one more time for good measure.20:42
Eickmeyer[m]We're good. \o/20:43
Eickmeyer[m]$ convert-studio-controls... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/0634de3e1806233c8d8604cc4534a6a42865e633)20:43
OvenWerksI have also fixed things for an audio card with the id 'none'20:43
Eickmeyer[m]Sweet.20:43
OvenWerksok, I should remove some of the debug messages20:43
Eickmeyer[m]Feel free to tag/release when ready, I'll get this uploaded and tell the release team we need it expedited.20:44
OvenWerksEickmeyer[m]: released20:53
Eickmeyer[m]OvenWerks: On it.20:54
OvenWerksEickmeyer[m]: that would have effected anyone without a standard hda device (if those are still shown the same way in 21.10)20:57
Eickmeyer[m]OvenWerks: Either way, it will prevent an embarrassing situation where one of our core components is utterly broken for people trying it.20:57
OvenWerksit did not help that I can not reproduce on this machine20:58
Eickmeyer[m]Yeah, I get that. This is why it's useful to have people like me around to do these smoke tests.20:59
OvenWerksI had switched two operations around and only when there is an HDA device does it work.21:00
OvenWerksIt is what comes from adding complexity to existing code21:01
OvenWerksanyway, I am likely not available for the rest of the day to more than answer21:01
Eickmeyer[m]OvenWerks: Ok, sounds good. I think I've got it from here.21:15
EickmeyerOvenWerks: Uploaded, once I get the migration email from proposed I'll be able to respin the iso.21:34
OvenWerksEickmeyer: I have heard some good talk about PW on Ardour lately. It seems latencies are much closer to expected.21:40
EickmeyerOh, that's great!21:40
OvenWerksBTW, 21.10 kernel seems to actually load the alsa module for the fireworks chip again, though performance is still unacceptable21:42
EickmeyerThat's disappointing.21:42
OvenWerksSo far as I can tell, PW still only conects to jack if jack asks for device access, so using jack for ffado and pw for everything else doesn't work21:44
OvenWerkswtay says the jack bridge can't be added manually but I would guess it can be just looking at some of the cli options for it's controller utility21:46
EickmeyerPossibly. Sounds like he's got some feature completeness to work on.21:47

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