/srv/irclogs.ubuntu.com/2021/01/16/#ubuntustudio.txt

Jesse-DavidHey. Having issues with Ubuntu Studio controls. This is a fresh install on another PC of mine. At first it wouldn't set CPU govern to performance, but otherwise worked fine. Now it won't even open without crashing after about 10 seconds. Ubuntu studio xfce 20.04.00:43
OvenWerksJesse-David: can you run controls from the commandline? maybe some text will be instructive00:45
Jesse-DavidYes I ran it already and posted the lines to paste.ubuntu.com and pastebin00:45
Jesse-Davidhttps://pastebin.com/Z500NWkb00:46
OvenWerksit should be studio-controls not ubuntustudio-controls I think.00:47
OvenWerksEickmeyer[m]: ^^^ ??00:47
Jesse-Davidhmm, not showing up as studio-controls00:47
OvenWerksolder then00:48
Jesse-DavidMust be some kind of bridge bug, only because when it was working and I tried to run ardour and reaper, it would fail to find the jack devices00:53
OvenWerksjust a thought, maybe try a killall -9 autojack00:53
OvenWerksthen see if it starts/runs00:54
Jesse-Davidsame issue: JackSocketClientChannel read fail00:54
OvenWerksThose lines are not important00:55
OvenWerksit is the lines at the end the pythonm traceback lines00:55
OvenWerks di you ctrl C out of it?00:55
Jesse-Davideach time yea00:56
OvenWerksdoes the GUI come up?00:56
Jesse-Davidhttps://pastebin.com/N44ufrPw00:56
Jesse-Davidit does00:56
Jesse-Davidit freezes instantly though00:56
OvenWerksinteresting00:57
OvenWerksstudio-controls has changed quite a bit since then (yes the name too). If you enable the backports ppa on ubuntustudio-installer  and do apt update and apt dist-upgrade you should get the new one01:01
Jesse-DavidMmm, yes but isnt 20.10 KDE now?01:01
OvenWerksyou would still have 20.0401:01
OvenWerksand still xfce01:02
OvenWerksMy problem is that I do not have a copy of the same -controls package as you do even though I am also using 20.0401:02
OvenWerksso the line numbers and debuging has changed since then01:03
OvenWerksThe newer version is also much more robust01:06
Jesse-DavidOkay it seems to be working. But I cannot set the CPU governor to stay at performance01:08
OvenWerksThis is after a reboot?01:09
Jesse-DavidThat would be ideal, give me a moment haha01:10
Jesse-DavidOkay did a hard reset. But it seems to have the same issue.01:13
=== acheronuk is now known as RikMills
OvenWerksuname -a says what01:13
Jesse-DavidLinux Jesseaudiovideo 5.4.0-62-lowlatency #70-Ubuntu SMP PREEMPT Tue Jan 12 13:48:21 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux01:13
OvenWerksso it should be able to change to performance then01:14
OvenWerksWhich CPU do you have?01:18
Jesse-DavidAMD ryzen 5 260001:19
OvenWerksOk, I don't have experience with that... let me try something01:21
Jesse-Davidlet me check the code, maybe I can set a parameter01:21
OvenWerksMy son has an AMD cpu and performance works there.01:22
OvenWerksI am not sure how to tell which ones from remote though :)01:23
Jesse-David # System tweaks01:27
Jesse-David    def get_performance(self):01:27
Jesse-David        '''Checks for current cpu governor'''01:27
Jesse-David        in_performance = False01:27
Jesse-David        if os.path.isfile("/sys/devices/system/cpu/cpufreq/policy0/scaling_governor"):01:27
Jesse-David            with open("/sys/devices/system/cpu/cpufreq/policy0/scaling_governor", "r") as perform_file_test:01:27
Jesse-David                for line in perform_file_test:01:27
Jesse-David                    if re.match("performance", line.rstrip()):01:27
Jesse-David                        in_performance = True01:27
Jesse-David        return in_performance01:27
Jesse-DavidIf I change it to true, will it force it performance each time?01:27
OvenWerksno01:28
OvenWerksI am assuming that is in studio-controls itself?01:29
Jesse-Davidyea01:29
OvenWerksthat would just make you think you are in performance01:29
OvenWerks when you may not be01:29
Jesse-DavidOkay wait, this may be the reason behind this01:30
Jesse-Daviddef set_governor(self, enable):01:30
Jesse-David        if enable == True:01:30
Jesse-David            gov = "performance"01:30
Jesse-David        else:01:30
Jesse-David            if os.path.exists("/sys/devices/system/cpu/intel_pstate"):01:30
Jesse-David                gov = "powersave"01:30
Jesse-David            else:01:30
Jesse-David                gov = "ondemand"01:30
Jesse-David        subprocess.run(["/usr/bin/pkexec", "/usr/sbin/ubuntustudio-system", gov], shell=False)01:30
OvenWerkspkexec /usr/sbin/studio-system performance01:31
OvenWerksthat should set performance01:31
OvenWerksI do not know if you have cpufreq installed or not01:33
Jesse-Davidapparently not01:35
Jesse-Davidthought I did01:35
OvenWerksyou shouldn't have to have it installed for controls to set performance01:35
Jesse-DavidAVAILABLE="/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors01:36
OvenWerksthe only purpose is for you to be able to find out what the governor is using01:36
Jesse-Davidhere let me show you the code, I believe I do need it installed01:37
Jesse-Davidread governors < $AVAILABLE01:37
Jesse-David  case "$GOVERNOR" in01:37
Jesse-David    performance)01:37
Jesse-David      case $governors in01:37
Jesse-David        *performance*)01:37
Jesse-David          GOVERNOR="performance"01:37
OvenWerksyeah that doesn't use cpufreq01:39
Jesse-DavidWell the previous code above it is what I put earlier01:40
Jesse-Davidanyways apparently my studio controls didnt upgrade properly01:40
OvenWerksWhat makes you think that?01:40
Jesse-Davidhe following packages have been kept back:01:41
Jesse-David  ubuntustudio-controls ubuntustudio-installer01:41
Jesse-David0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.01:41
Jesse-DavidAnd then when I try to upgrade01:41
Jesse-DavidThe following packages have unmet dependencies:01:41
Jesse-David ubuntustudio-controls : Depends: studio-controls but it is not going to be installed01:41
Jesse-DavidE: Broken packages01:41
OvenWerkstry apt install studio-controls01:41
Jesse-DavidDifferent versions?01:42
OvenWerksThat should not happen... but... Eickmeyer[m] ^^^ why would that happen?01:42
Jesse-DavidOkay yeah, that changed.01:43
Jesse-DavidIll do a reboot and see if it fixes the issue01:43
Jesse-Davidbut I had the older version of Ubuntu studio controls on my fresh install01:43
OvenWerksstudio-controls is the new ubuntustudio-controls01:43
Jesse-Davidmight want to change that out in the ubuntu studio installer01:43
OvenWerksI think it has been... but maybe not back then01:44
Jesse-DavidNo I mean I just installed 20.04 like a week ago on this computer01:44
Jesse-DavidFresh download too01:44
Jesse-Davidbrb01:45
bebemama[m]hello everyone .. how can i add desktop icons to ubuntu stodio (Gnome3)16:39
sakrecoer[b]it's been intense, but i'm getting there! the beat is on everything is saved, reloadable and a lot easier then it seemed 3 days ago!17:48
sakrecoer[b]<rgh "I personally never use the modul"> this was quite determining. "modular" in tahy context opened my mind for different ideas about the morular: i never thought of DAWs as potentially modular. Only synthesis.19:07
Eickmeyer[m]<bebemama[m] "hello everyone .. how can i add "> Ubuntu Studio does not use GNOME. It uses Xfce (20.04 and prior) or Plasma (20.10 and later). For help with GNOME, please go to #freenode_#ubuntu:matrix.org. Please also note, that Ubuntu Studio Installer does not magically transform your flavor of Ubuntu into Ubuntu Studio, but simply adds-on its benefits.20:11
rghbebemama: but it's a shell extension.20:35
rghUse either apt or the gnome extension website.20:36
sakrecoer[b]it feels really strange to have to relearn thungs that are assumed to be "basic"20:36
rghPro tip. Drag and drop from desktop to apps doesn't work with this extension20:36
sakrecoer[b]first it's like taking an elderly shower. then it is like finding a youth fountain20:38
sakrecoer[b]11 years ago i went through a similar process with my fonts. i'm blessed to get an opportunity to be that humble again with sounds20:40
rghany problems ?20:41
rgh徒 𝖘𝖊𝖙𝖙𝖔 セット: did you see unfa on yt ?20:41
rghfoss audio production20:41
sakrecoer[b]Unfa is a hero!20:41
sakrecoer[b]i certianly did!20:42
rghpro tip chat.unfa.xyz20:42
rghofc he's a manjaro person ...20:42
rghnobody is perfect20:42
sakrecoer[b]but if it wasn't for your interactions rgh,  I don't think i would have been ready.20:42
rghwhat do you mean ?20:43
sakrecoer[b]<rgh "what do you mean ?"> you said "modular" in a context i was not familiar with that thinking... i'm sorry, it's no more spectacular... it's just exactly what i needed to get my brain where it neede to be20:44
rghjack audio makes your computer a studio, basically20:46
sakrecoer[b]unfa teached me midi im ardour, but what good is midi if i don't understand how to route it to my synths?20:46
sakrecoer[b]* unfa teached me midi in ardour, but what good is midi if i don't understand how to route it to my synths?20:47
rghwhich synths do you have actually ?20:47
rghOH NO .. someone in unfa's chat is running both cadence and studio controls20:48
* rgh is in #ubuntu-studio-offtopic:matrix.org 20:49
sakrecoer[b]i don't think this is off-topic.21:08
sakrecoer[b]<rgh "which synths do you have actuall"> i have a new crush right now: MDA-j(soemthing)x21:09
sakrecoer[b]ugly as fudge, and tasty as fudge21:09
rghI was thinking hardware lol21:10
sakrecoer[b]oh, that's off topic21:10
sakrecoer[b]right now all the hardware i have is in boxes21:10
sakrecoer[b]except the soundcard: phase8821:10
sakrecoer[b]rack version21:11
sakrecoer[b]firewire21:11
rghoh, hardware question : is it possible to connect two of the same usb devices but have them named differently ?21:17
rghlike controller_1 and controller_221:17
rghasking for a friend21:17
rghactually a random person in chat.kx.studio21:17
sakrecoer[b]i have 2 usb midi thingies and they are named by default (same name that is printed)21:33
rghyes and the question was, can you make them show up with different names21:34
rghI found this, but I dunno if that applies for this case21:34
rghhttps://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices21:34
sakrecoer[b]sorry, I don't know. when robots show up at my door AND introduce themselves, i call them by their name.21:53
OvenWerksrgh they will show up as name and name_1 or something like that21:59
OvenWerksThere are a lot of usb audio things out there called "Device"21:59
OvenWerksrgh: I don't know if there would be a udev rule that could read the usb serial number (or of those are unique even) and set the name at that point22:03
OvenWerksto be honest I do not know if it is possible to name or rename a USB audio device22:03
rghMaybe it's something that should be offloaded to jack?22:04
OvenWerksrgh: JACK? the jack master device needs to be known before JACK can start.22:11
rghOvenWerks: something with jack metadata? I'm just wildy guessing here22:12
OvenWerksif you mean devices that show up through JACK clients, that would be on the CL for zita-ajbridge22:12
rghWell the use case is as follows22:12
rghUser has two midi controllers.22:13
rghSame hardware22:13
rghConnect both.22:13
rghHow can one know which device is which in the jack graph? By looking22:13
rghThe user says they both show up as Controller22:14
rghI was just curious. Maybe there was already a solution to this.22:15
OvenWerksbut before zita-ajbridge can be run you have to know which device to change the name of.22:22
OvenWerksone should be Controller and the other Controller_122:22
OvenWerksbut which is which?22:22
OvenWerksnormally the first one to be plugged in will be Controller and the second Controller_122:23
OvenWerksFine, but what happens when both are pluuged in at boot? (probably the most common case)22:24
OvenWerksI get the idea that you mean JACK as used by studio-controls in this case, otherwise is does not really make sense22:25
OvenWerksrgh: Assuming this is a feature request for Studio Controls, consider it submitted22:31
OvenWerksrgh, provided I can find some unique number for each device that remains constant over power cycling, I should be able to do that.22:32
rghI looked modinfo and-USB-audio22:33
OvenWerksrgh: I am not at my dev computer probably for the weekend, where I have two or three USB devices that all show up as "Device"22:33
rghOh thank you autocorrect22:33
rghThanks autocorrect for murdering my text22:34
rghAnd thanks OvenWerks for looking into this 😃22:34
OvenWerksrgh: would it be possible to get the output of: cat /proc/asound/Controller*/usbid23:13
OvenWerksrgh: also maybe same after reboots and power cycle to make sure they stay the same23:15
OvenWerksrgh: mine appear to be very different numers, but even though they use the same chip, I think they are different manufactures23:16
OvenWerksrgh: also look at: https://gist.github.com/Aishou/f39c2f970c6db20e1845925c5cc0890e23:21
OvenWerksI do not know if that would help with alsa/jack or just pulse23:21
thor18hello I'm trying to fix an issue with a new dell xps 13, it does not seem to detect the wifi adapter on my laptop23:54
thor18I've tried installing bcmwl-kernel-source but it did not work23:55
thor18I've also tried disabling secure boot in bios23:55
thor18I've restarted multiple times and updated the linux-firmware23:56
thor18It says that my system has no proprietary drivers (because there was no way of getting internet during installation)23:57
thor18but it also can't find any of these drivers and says that there are no updates to be made23:57
thor18https://paste.ubuntu.com/p/g3Cpp5c7tS/23:59
thor18It seems to me like there is no network controller detected on my machine23:59

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