[00:43] <Jesse-David> Hey. 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:45] <OvenWerks> Jesse-David: can you run controls from the commandline? maybe some text will be instructive
[00:45] <Jesse-David> Yes I ran it already and posted the lines to paste.ubuntu.com and pastebin
[00:46] <Jesse-David> https://pastebin.com/Z500NWkb
[00:47] <OvenWerks> it should be studio-controls not ubuntustudio-controls I think.
[00:47] <OvenWerks> Eickmeyer[m]: ^^^ ??
[00:47] <Jesse-David> hmm, not showing up as studio-controls
[00:48] <OvenWerks> older then
[00:53] <Jesse-David> Must 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 devices
[00:53] <OvenWerks> just a thought, maybe try a killall -9 autojack
[00:54] <OvenWerks> then see if it starts/runs
[00:54] <Jesse-David> same issue: JackSocketClientChannel read fail
[00:55] <OvenWerks> Those lines are not important
[00:55] <OvenWerks> it is the lines at the end the pythonm traceback lines
[00:55] <OvenWerks>  di you ctrl C out of it?
[00:56] <Jesse-David> each time yea
[00:56] <OvenWerks> does the GUI come up?
[00:56] <Jesse-David> https://pastebin.com/N44ufrPw
[00:56] <Jesse-David> it does
[00:56] <Jesse-David> it freezes instantly though
[00:57] <OvenWerks> interesting
[01:01] <OvenWerks> studio-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 one
[01:01] <Jesse-David> Mmm, yes but isnt 20.10 KDE now?
[01:01] <OvenWerks> you would still have 20.04
[01:02] <OvenWerks> and still xfce
[01:02] <OvenWerks> My problem is that I do not have a copy of the same -controls package as you do even though I am also using 20.04
[01:03] <OvenWerks> so the line numbers and debuging has changed since then
[01:06] <OvenWerks> The newer version is also much more robust
[01:08] <Jesse-David> Okay it seems to be working. But I cannot set the CPU governor to stay at performance
[01:09] <OvenWerks> This is after a reboot?
[01:10] <Jesse-David> That would be ideal, give me a moment haha
[01:13] <Jesse-David> Okay did a hard reset. But it seems to have the same issue.
[01:13] <OvenWerks> uname -a says what
[01:13] <Jesse-David> Linux 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/Linux
[01:14] <OvenWerks> so it should be able to change to performance then
[01:18] <OvenWerks> Which CPU do you have?
[01:19] <Jesse-David> AMD ryzen 5 2600
[01:21] <OvenWerks> Ok, I don't have experience with that... let me try something
[01:21] <Jesse-David> let me check the code, maybe I can set a parameter
[01:22] <OvenWerks> My son has an AMD cpu and performance works there.
[01:23] <OvenWerks> I am not sure how to tell which ones from remote though :)
[01:27] <Jesse-David>  # System tweaks
[01:27] <Jesse-David>     def get_performance(self):
[01:27] <Jesse-David>         '''Checks for current cpu governor'''
[01:27] <Jesse-David>         in_performance = False
[01: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 = True
[01:27] <Jesse-David>         return in_performance
[01:27] <Jesse-David> If I change it to true, will it force it performance each time?
[01:28] <OvenWerks> no
[01:29] <OvenWerks> I am assuming that is in studio-controls itself?
[01:29] <Jesse-David> yea
[01:29] <OvenWerks> that would just make you think you are in performance
[01:29] <OvenWerks>  when you may not be
[01:30] <Jesse-David> Okay wait, this may be the reason behind this
[01:30] <Jesse-David> def 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:31] <OvenWerks> pkexec /usr/sbin/studio-system performance
[01:31] <OvenWerks> that should set performance
[01:33] <OvenWerks> I do not know if you have cpufreq installed or not
[01:35] <Jesse-David> apparently not
[01:35] <Jesse-David> thought I did
[01:35] <OvenWerks> you shouldn't have to have it installed for controls to set performance
[01:36] <Jesse-David> AVAILABLE="/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
[01:36] <OvenWerks> the only purpose is for you to be able to find out what the governor is using
[01:37] <Jesse-David> here let me show you the code, I believe I do need it installed
[01:37] <Jesse-David> read governors < $AVAILABLE
[01:37] <Jesse-David>   case "$GOVERNOR" in
[01:37] <Jesse-David>     performance)
[01:37] <Jesse-David>       case $governors in
[01:37] <Jesse-David>         *performance*)
[01:37] <Jesse-David>           GOVERNOR="performance"
[01:39] <OvenWerks> yeah that doesn't use cpufreq
[01:40] <Jesse-David> Well the previous code above it is what I put earlier
[01:40] <Jesse-David> anyways apparently my studio controls didnt upgrade properly
[01:40] <OvenWerks> What makes you think that?
[01:41] <Jesse-David> he following packages have been kept back:
[01:41] <Jesse-David>   ubuntustudio-controls ubuntustudio-installer
[01:41] <Jesse-David> 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
[01:41] <Jesse-David> And then when I try to upgrade
[01:41] <Jesse-David> The following packages have unmet dependencies:
[01:41] <Jesse-David>  ubuntustudio-controls : Depends: studio-controls but it is not going to be installed
[01:41] <Jesse-David> E: Broken packages
[01:41] <OvenWerks> try apt install studio-controls
[01:42] <Jesse-David> Different versions?
[01:42] <OvenWerks> That should not happen... but... Eickmeyer[m] ^^^ why would that happen?
[01:43] <Jesse-David> Okay yeah, that changed.
[01:43] <Jesse-David> Ill do a reboot and see if it fixes the issue
[01:43] <Jesse-David> but I had the older version of Ubuntu studio controls on my fresh install
[01:43] <OvenWerks> studio-controls is the new ubuntustudio-controls
[01:43] <Jesse-David> might want to change that out in the ubuntu studio installer
[01:44] <OvenWerks> I think it has been... but maybe not back then
[01:44] <Jesse-David> No I mean I just installed 20.04 like a week ago on this computer
[01:44] <Jesse-David> Fresh download too
[01:45] <Jesse-David> brb
[16:39] <bebemama[m]> hello everyone .. how can i add desktop icons to ubuntu stodio (Gnome3)
[17:48] <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!
[19:07] <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.
[20:11] <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:35] <rgh> bebemama: but it's a shell extension.
[20:36] <rgh> Use 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] <rgh> Pro tip. Drag and drop from desktop to apps doesn't work with this extension
[20:38] <sakrecoer[b]> first it's like taking an elderly shower. then it is like finding a youth fountain
[20:40] <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 sounds
[20:41] <rgh> any problems ?
[20:41] <rgh> 徒 𝖘𝖊𝖙𝖙𝖔 セット: did you see unfa on yt ?
[20:41] <rgh> foss audio production
[20:41] <sakrecoer[b]> Unfa is a hero!
[20:42] <sakrecoer[b]> i certianly did!
[20:42] <rgh> pro tip chat.unfa.xyz
[20:42] <rgh> ofc he's a manjaro person ...
[20:42] <rgh> nobody is perfect
[20:42] <sakrecoer[b]> but if it wasn't for your interactions rgh,  I don't think i would have been ready.
[20:43] <rgh> what do you mean ?
[20:44] <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 be
[20:46] <rgh> jack audio makes your computer a studio, basically
[20: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:47] <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] <rgh> which synths do you have actually ?
[20:48] <rgh> OH NO .. someone in unfa's chat is running both cadence and studio controls
[20:49]  * rgh is in #ubuntu-studio-offtopic:matrix.org 
[21:08] <sakrecoer[b]> i don't think this is off-topic.
[21:09] <sakrecoer[b]> <rgh "which synths do you have actuall"> i have a new crush right now: MDA-j(soemthing)x
[21:09] <sakrecoer[b]> ugly as fudge, and tasty as fudge
[21:10] <rgh> I was thinking hardware lol
[21:10] <sakrecoer[b]> oh, that's off topic
[21:10] <sakrecoer[b]> right now all the hardware i have is in boxes
[21:10] <sakrecoer[b]> except the soundcard: phase88
[21:11] <sakrecoer[b]> rack version
[21:11] <sakrecoer[b]> firewire
[21:17] <rgh> oh, hardware question : is it possible to connect two of the same usb devices but have them named differently ?
[21:17] <rgh> like controller_1 and controller_2
[21:17] <rgh> asking for a friend
[21:17] <rgh> actually a random person in chat.kx.studio
[21:33] <sakrecoer[b]> i have 2 usb midi thingies and they are named by default (same name that is printed)
[21:34] <rgh> yes and the question was, can you make them show up with different names
[21:34] <rgh> I found this, but I dunno if that applies for this case
[21:34] <rgh> https://help.ubuntu.com/community/UbuntuStudio/UsbAudioDevices
[21:53] <sakrecoer[b]> sorry, I don't know. when robots show up at my door AND introduce themselves, i call them by their name.
[21:59] <OvenWerks> rgh they will show up as name and name_1 or something like that
[21:59] <OvenWerks> There are a lot of usb audio things out there called "Device"
[22:03] <OvenWerks> rgh: 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 point
[22:03] <OvenWerks> to be honest I do not know if it is possible to name or rename a USB audio device
[22:04] <rgh> Maybe it's something that should be offloaded to jack?
[22:11] <OvenWerks> rgh: JACK? the jack master device needs to be known before JACK can start.
[22:12] <rgh> OvenWerks: something with jack metadata? I'm just wildy guessing here
[22:12] <OvenWerks> if you mean devices that show up through JACK clients, that would be on the CL for zita-ajbridge
[22:12] <rgh> Well the use case is as follows
[22:13] <rgh> User has two midi controllers.
[22:13] <rgh> Same hardware
[22:13] <rgh> Connect both.
[22:13] <rgh> How can one know which device is which in the jack graph? By looking
[22:14] <rgh> The user says they both show up as Controller
[22:15] <rgh> I was just curious. Maybe there was already a solution to this.
[22:22] <OvenWerks> but before zita-ajbridge can be run you have to know which device to change the name of.
[22:22] <OvenWerks> one should be Controller and the other Controller_1
[22:22] <OvenWerks> but which is which?
[22:23] <OvenWerks> normally the first one to be plugged in will be Controller and the second Controller_1
[22:24] <OvenWerks> Fine, but what happens when both are pluuged in at boot? (probably the most common case)
[22:25] <OvenWerks> I get the idea that you mean JACK as used by studio-controls in this case, otherwise is does not really make sense
[22:31] <OvenWerks> rgh: Assuming this is a feature request for Studio Controls, consider it submitted
[22:32] <OvenWerks> rgh, provided I can find some unique number for each device that remains constant over power cycling, I should be able to do that.
[22:33] <rgh> I looked modinfo and-USB-audio
[22:33] <OvenWerks> rgh: 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] <rgh> Oh thank you autocorrect
[22:34] <rgh> Thanks autocorrect for murdering my text
[22:34] <rgh> And thanks OvenWerks for looking into this 😃
[23:13] <OvenWerks> rgh: would it be possible to get the output of: cat /proc/asound/Controller*/usbid
[23:15] <OvenWerks> rgh: also maybe same after reboots and power cycle to make sure they stay the same
[23:16] <OvenWerks> rgh: mine appear to be very different numers, but even though they use the same chip, I think they are different manufactures
[23:21] <OvenWerks> rgh: also look at: https://gist.github.com/Aishou/f39c2f970c6db20e1845925c5cc0890e
[23:21] <OvenWerks> I do not know if that would help with alsa/jack or just pulse
[23:54] <thor18> hello I'm trying to fix an issue with a new dell xps 13, it does not seem to detect the wifi adapter on my laptop
[23:55] <thor18> I've tried installing bcmwl-kernel-source but it did not work
[23:55] <thor18> I've also tried disabling secure boot in bios
[23:56] <thor18> I've restarted multiple times and updated the linux-firmware
[23:57] <thor18> It says that my system has no proprietary drivers (because there was no way of getting internet during installation)
[23:57] <thor18> but it also can't find any of these drivers and says that there are no updates to be made
[23:59] <thor18> https://paste.ubuntu.com/p/g3Cpp5c7tS/
[23:59] <thor18> It seems to me like there is no network controller detected on my machine