/srv/irclogs.ubuntu.com/2020/04/18/#ubuntustudio.txt

bashfulrobotOvenWerks: I just wanted to be able to run a command against a particular device and knowmifnit was muted or not.01:39
OvenWerksamixer can do that... with the correct parse of the output ;)04:16
LucaHello everybody! I am here again after I re-installed the 20.04 version which is working super well. I have solved the no-sound problem, but now I have a problem with Jack09:49
LucaHere the log from Jack: Sat Apr 18 11:49:08 2020: Starting jack server...Sat Apr 18 11:49:08 2020: JACK server starting in realtime mode with priority 10Sat Apr 18 11:49:08 2020: self-connect-mode is "Don't restrict self connect requests"Sat Apr 18 11:49:08 2020: Acquired audio card Audio0Sat Apr 18 11:49:08 2020: creating alsa driver ...09:50
Lucahw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bitSat Apr 18 11:49:08 2020: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periodsSat Apr 18 11:49:08 2020: ALSA: final selected sample format for capture: 32bit integer little-endianSat Apr 18 11:49:08 2020: ERROR: ALSA: cannot set period size to 1024 frames for captureSat Apr 1809:50
Luca11:49:08 2020: ERROR: ALSA: cannot configure capture channelSat Apr 18 11:49:08 2020: Released audio card Audio0Sat Apr 18 11:49:08 2020: ERROR: Cannot initialize driverSat Apr 18 11:49:08 2020: ERROR: JackServer::Open failed with -1Sat Apr 18 11:49:08 2020: ERROR: Failed to open serverSat Apr 18 11:49:10 2020: Saving settings to09:50
Luca"/home/luca/.config/jack/conf.xml" ...qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1903, resource id: 12700633, major code: 40 (TranslateCoords), minor code: 009:50
StevenJayCohenWhat device do you have set as default in Ubuntu Studio Control10:08
Lucaone sec that it asks me to update my system10:11
LucaStevenJayCohen: I cannot open the Ubuntu Studio Control10:45
LucaAnd I got a crash: https://imgur.com/ucmqqiV.png10:48
StevenJayCohenCan you launch it after an update and a reboot? I had issues with it that were solved by an update11:03
StevenJayCohenSorry for the slow reply, making coffee11:03
LucaStevenJayCohen: Updated and Rebooted, but still the same11:08
StevenJayCohenHow about qJackCtl?11:08
LucaFor reference about the crash: https://imgur.com/Eyo4Jtm.png11:10
LucaOk, I am having multiple problems with QJackCtl, and I absolutely need to find a way to have it working. Definitely problems with this laptop of mine, but this is what I have got right now11:11
LucaWhen I try to start QJackCtl I get the following error: Sat Apr 18 13:11:15 2020: Starting jack server...Sat Apr 18 13:11:15 2020: JACK server starting in realtime mode with priority 10Sat Apr 18 13:11:15 2020: self-connect-mode is "Don't restrict self connect requests"Sat Apr 18 13:11:15 2020: Acquired audio card Audio0Sat Apr 18 13:11:15 2020:11:12
Lucacreating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bitSat Apr 18 13:11:15 2020: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periodsSat Apr 18 13:11:15 2020: ALSA: final selected sample format for capture: 32bit integer little-endianSat Apr 18 13:11:15 2020: ERROR: ALSA: cannot set period size to 102411:12
Lucaframes for captureSat Apr 18 13:11:15 2020: ERROR: ALSA: cannot configure capture channelSat Apr 18 13:11:15 2020: Released audio card Audio0Sat Apr 18 13:11:15 2020: ERROR: Cannot initialize driverSat Apr 18 13:11:15 2020: ERROR: JackServer::Open failed with -1Sat Apr 18 13:11:15 2020: ERROR: Failed to open serverSat Apr 18 13:11:16 2020: Saving11:12
Lucasettings to "/home/luca/.config/jack/conf.xml" ...11:12
LucaBasically, I noticed that I have this problem with more or less all kernels after 5.3.0-18 (QJackCtl started with Ubuntu Studio 19.10)11:13
StevenJayCohenWhat's your audio hardware?11:16
LucaStevenJayCohen: the lspci command says "Multimedia audio controller: Intel Corporation Device 02c8"11:20
StevenJayCohenDoes this happen in a new user as well (without your settings, a brand new account)?11:26
LucaWell, this is a out-of-the-box installation11:31
StevenJayCohen<Luca "Well, this is a out-of-the-box i"> It takes 3 minutes for you to confirm11:32
LucaI bought a computer exactly like this one (Lenovo C640) in December, installed Ubuntu 19.10 and had Jack working. After, the computer broken, I bought another one of the same type, and now I have problems with more or less all OS11:33
LucaStevenJayCohen: how can I try to make a brand new account?11:33
StevenJayCohenAdd a user and log into that user11:34
LucaStevenJayCohen: Ok, just tried to switch account to a brand-new one and I have the same problem with jack11:37
StevenJayCohenYour audio hardware? What is it?11:38
LucaStevenJayCohen: I cannot retrieve the model as the command "aplay -l" doesn't show any sound device: https://imgur.com/oPeFimw.png11:50
LucaIt's a Realtek Alc+something11:51
LucaMaybe an Alc882, but I am not sure11:53
LucaWait, I go to windows and check11:58
StevenJayCohenHave you filed a bug on this?11:59
LucaStevenJayCohen: sorry, I am unable to retrieve the specific Realtek sound card type12:08
LucaHowever, this is the model: https://www.lenovo.com/gb/en/laptops/yoga/yoga-c-series/Yoga-C640/p/88YGC60130012:10
oerhekslspci should tell.12:26
oerheksadding: set-card-profile 0 HiFi to /etc/pulse/default.pa seems to solve it.12:27
oerhekshttps://forum.manjaro.org/t/lenovo-yoga-c640-sound/126933/212:27
oerheksinteresting that you shared the specs only now.12:28
Lucaoerheks: lspci says "Multimedia audio controller: Intel Corporation Device 02c8"12:28
oerheksno, it should say xxxx:yyyy as number12:28
LucaI don't know. Here is the log of the command: https://imgur.com/v6zdsxR.png12:30
oerheksodd...12:31
LucaThere are very many odd things with this machine of mine. I just don't understand if there is some serious hardware problem specifically on this machine12:32
oerhekssee if that manjaro fix works for you12:32
LucaYep, I reboot now and see12:33
Lucathanks for now12:33
LucaThe fix didn't resolve the problem12:35
LucaShould I try to downgrade my kernel to the one that was working (UbuntuStudio 19.10 - 5.3.0-18), so to see if it still works with that kernel?12:36
oerheksthere is no downgrade possible.12:42
oerheksyou are on 20.04?12:42
Lucayes 20.0412:43
StevenJayCohenAnd 19.10 works?12:44
LucaAnd 19.10 worked in this respect (although there was another kind of problem)12:45
Lucaoerheks: can I not just download the kernel and install it?12:45
StevenJayCohenThen you could refer to 19.10 report the issue and wait for the  .1 update12:45
LucaStevenJayCohen: sorry, I did not understand what you mean12:46
StevenJayCohenWhat's more important a working machine or making the newest version work today?12:46
Lucain 19.10, it worked everything perfectly, apart that there was no sound coming our of my computer at all. OvenWerks and I tried to go through this problem, but it was like a magical problem: everything seemed to work just fine, but still no sound12:47
StevenJayCohenAnd if you change out the interface for another one?12:48
LucaA working machine. But it is not working properly in Ubuntu 18.04, 19.10, Ubuntu Studio 19.10 nor 20.04 :)12:48
LucaStevenJayCohen What do you mean by changing interface?12:48
StevenJayCohenThe device that Jack is using to talk to your mic and instruments12:49
LucaEither Ubuntu 18.04 and 19.10, if I remember correctly, had both sound and Jack working, although I kept having a choppy sound ot of Jack12:49
LucaStevenJayCohen: well, I have none right now.12:50
StevenJayCohenAnd before you installed you tested by running it from the USB live and had no issues?12:50
LucaStevenJayCohen: I can't answer that, as I didn't try actually. But I can now if you want12:51
StevenJayCohenNo just wondering how the system broke and what the original working state was12:53
LucaWell, I have problems with jack with more or less all kernels after 5.3.0-something. It's really a recurrent problems among different OS.12:54
oerhekslong bugreport, no fix.. that 02c8 device is not supported.. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/185043912:55
LucaAnd before 5.3.0-something, I have a Choppy Jack sound12:55
ubottuLaunchpad bug 1850439 in linux (Ubuntu) "No sound on ASUS UX534FT" [Undecided,Confirmed]12:55
oerheksi wonder why you have choppy sound, nobody got it working12:56
Lucaweird enough, 5 months ago, when I bought this machine for the first time, everything just worked fine. That's very incredible12:56
StevenJayCohenSo some piece of hardware you own has issues with all newer software. I don't think we're going to be able to fix it here if it's always broken12:57
StevenJayCohenI would say revert back to that original os12:57
Lucaoerheks , I was able to have it working multiple times hacking here and there (of course, randomly hacking as I don't really understand what I write), Just kept being choppy12:57
StevenJayCohenGo back to the last stable state12:57
LucaStevenJayCohen: "that original os", I really wished I knew which one was12:58
LucaI asked online how to retrieve information on old versions. That time I installed Ubuntu 19.10 from the official website. Now, the release from that same website doesn't work12:59
LucaIt looks more that that time I was just lucky12:59
Luca@oer13:00
Lucaoerheks: thank you for having searched for the bug!13:00
StevenJayCohenOn any Ubuntu mirror, you can grab an old is with an older kernel. Test it via USB key before install. Find a good state. Install that. Use Clonezilla to make a backup. Then upgrade. If it breaks restore from Clonezilla.13:08
StevenJayCohenOld OS*13:08
LucaStevenJayCohen, oerheks: Guys, I know that this makes no sense, but I just booted with kernel 5.3.0-18-lowlatency and now it works13:10
LucaEvent the Ubuntu Studio Controls13:10
Lucahttps://imgur.com/PgWswHL.png13:11
StevenJayCohenMake a fresh backup now13:12
LucaI have now other problems :D13:12
Luca"Establishing connection to PulseAudio. Pease wait..."13:13
StevenJayCohenUbuntu Studio Controls should do that for you13:20
LucaGuys! We are proceeding very well!! I have sound a Jack working13:23
LucaStevenJayCohen: how can I make a backup now?13:24
StevenJayCohenInstall deja dupe from the app store13:25
StevenJayCohenOnce installed, it will be needed backup13:25
StevenJayCohenNamed*13:25
LucaSuper good thanks. I do that now13:26
LucaNow I have a choppy sound. Somebody wanna try to solve that with me? This is the last step from having a completely working machine and being happy13:29
StevenJayCohenMy guess, somehow you have started multiple Jack sessions so the same time13:38
StevenJayCohenDrop all Jack sessions in qJackCtl13:39
StevenJayCohenCheck in Ubuntu Studio Control to be sure it is stopped there too13:39
StevenJayCohenThen reboot13:39
StevenJayCohenThen ONLY start Jack from Ubuntu Studio Control13:40
LucaStevenJayCohen: to drop all Jack sessions I just press the "Stop" button, or should I also do something else?14:22
OvenWerksLuca: not getting sound and jack complaining about 1024 being to low sounds like audio is going to hdmi or that your system sound is hard tied to hdmi14:23
OvenWerkstry setting jack to 4096 buffer size and see if jack runs14:24
LucaOvenWerks: hi! Now Jack runs fine and I can hear sound from both pulsaudio and jack. My last problem is that Jack makes sound choppy14:25
OvenWerksgood14:27
StevenJayCohenLuca: follow OvenWerks request, set Jack to 409614:28
LucaAt this point, however, I would consider the option that my system is hard tied to hdmi (whatever this means). Is there a way to understand it?14:28
OvenWerksopps hes gone.14:31
OvenWerksLuca: looking at the way your devices are layed out, all of your internal devices including hdmi are listed as card 014:32
LucaOvenWerks, StevenJayCohen: Much progress I suppose. I followed both suggestions, rebooted and set 409614:32
LucaI pressed "Start or Restart Jack" from the Controls14:33
StevenJayCohenStill choppy?14:33
LucaI opened youtube, and played a video. It works fine14:33
LucaDows it mean it is working?14:33
OvenWerksit means it is working at a large buffer14:33
OvenWerksThat may be ok for most thing14:34
LucaHow can we prove it? Meaning -> what is a Jack-dependent audio software here that I can see if it works?14:34
StevenJayCohenYou can set Jack lower one step at a time and restart the jack server until you hear choppiness. When you hear choppiness, go back up one setting.14:34
StevenJayCohenWait, what audio software do you use that requires JACK?14:35
OvenWerksbut (from reading the back scroll) if this hardware is known for similar problems. It sounds to me like they have tied the hdmi sync together with the onboard sync14:36
LucaUsually SuperCollider. That will be my final proof :D14:36
OvenWerksand hdmi generally askes for 409614:36
OvenWerksthere are some very cheap audio devices that will work better.14:36
LucaOvenWerks, I don't understand what that means, but anyway you're guess worked14:36
StevenJayCohenLuca: You may want some SuperCollider specific support at this point. You can find them at this link: https://join.slack.com/t/scsynth/shared_invite/enQtMzk3OTY3MzE0MTAyLTFmMTliMmU0NjIwYzgyZGY1MjgxNGI2MGUxMTNlMWVhZWQzZjFmOTJhNzg2NDdmNzZmM2JiYTkyMjRiNDBiOTk14:38
StevenJayCohenThat's a supercollider Slack channel14:39
LucaOk, I tried that with Blender and it worked! Technically Blender is Jack-depending. So super thank you everybody!!14:39
LucaStevenJayCohen: that's very useful, thank you14:39
LucaThank you everybody for your time and patience14:39
StevenJayCohenBe well Luca, stay safe!14:39
LucaI'll have to write all this down somewhere for people in the future looking why their Lenovo c640 isn't working14:40
OvenWerkshttps://www.amazon.ca/Adapter-CableCreation-External-Microphone-Compatible/dp/B0776QNHKD/ref=sr_1_17?crid=MFDFYK32ZBKS&keywords=usb+audio+adaptor&qid=1587220762&sprefix=usb+audio%2Caps%2C293&sr=8-1714:40
LucaStevenJayCohen: Yes, you too!14:40
StevenJayCohenOvenWerks: I missed that all of the devices were at 0 on that one14:40
OvenWerksis an example of something thatwill work at least down to 64 sample buffer14:40
OvenWerksI have found them for as low as 10 cents14:41
OvenWerks(and cost $5 to ship :P)14:41
StevenJayCohenI've gotten spoiled with my Audient Interface, can do 32 without xruns14:41
OvenWerksbut they all look to be around $10 any more14:44
OvenWerksStevenJayCohen: even though they are all on card 0, they should be able to operate incependantly14:45
OvenWerksI would say on this hardware they have chosen to use one clock for all14:46
OvenWerksI have seen stuff like this before or the oposite way. I had a laptop where the bult in mic was 48k only. but the audio i/o jack could be 44k1 as well and the hardware allowed for setting the SR there.14:47
OvenWerksIf the SR was set to 44k1 everything worked but the mic had a static-y sound. Set the SR to 48k and it was fine.14:48
LucaOvenWerks, StevenJayCohen: Just wanted to report that now everything is working even a 1024. Can't understand why, but it works great. Thanks15:11
StevenJayCohengreat15:19
shaban238OvenWerks hi! if i setup 256 buffer size in ubuntustudiocontrol and than hit apply auio settings, when i open qjackctl preferences i notice that the buffersize there its still 1024. within the DAW anyway its 256. i mean, it looks normal but should it visually change it also in qjackctl?20:20
OvenWerksit depends on where you look in qjackctl20:26
shaban238qjackctl/srtup/parameters20:27
shaban238setup*20:27
OvenWerksin the messages status window in the status tab you should see the real numbers20:27
OvenWerkssetup is just what qjackctl will use the next time it starts20:27
OvenWerks*starts jack20:28
shaban238ah ok thank you :)20:28

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