Page 4 of 16
Re: KXStudio FAQ
Posted: Thu Jul 19, 2012 1:55 am
by luster
More on trying to get 'audacity' to recognize 'jack' in MXStudio/ubuntu12.04amd64.
There was no “audacity.cfg” file at location: ~/.config/audacity-data/audacity.cfg
In fact, there was no ~/.config/audacity-data/
So, I created the location and the file as specified. It made no difference, 'audacity' still fails to see 'jack' and still stops 'jack'.
There was an “audacity.cfg” file at this location: ~/.audacity-data/audacity.cfg
This is the one I edited that keeps being overwritten with each run of 'audacity'.
I did find another “audacity.cfg” file at location: /usr/share/kxstudio/config/audacity-data/audacity.cfg
It is dated Thu 26 Apr 2012 01:52:37 PM MDT
And contains
[AudioIO]
RecordingDevice=JACK Audio Connection Kit: system
Host=JACK Audio Connection Kit
PlaybackDevice=JACK Audio Connection Kit: system
RecordChannels=2
[GUI]
ShowSplashScreen=0
The contents are as falkTX specified above. The size of that file is 182 bytes. But I noticed that the file I wrote (with 'gedit') is 210 bytes. I don't understand this. Maybe there is extra white space? I copy/pasted that 182 byte file in case there was a difference. It made no difference.
I created another user account, thinking maybe I broke something during the install. It has the same problem with 'audacity' failing to recognize 'jack'
I'm stumped. Maybe this should move out of the KXStudio FAQ thread?
Re: KXStudio FAQ
Posted: Thu Jul 19, 2012 8:06 am
by Scary Hallo
luster wrote:More on trying to get 'audacity' to recognize 'jack' in MXStudio/ubuntu12.04amd64.
Jack can see audacity only while playback or recording and the name is 'portaudio' afaik. That means if you press the 'play'-button, there should appear a new portaudio-device in catia. It will disapear, when you press the stop button.
Correct me if I'm wrong
Re: KXStudio FAQ
Posted: Thu Jul 19, 2012 8:51 am
by luster
Jack can see audacity only while playback or recording and the name is 'portaudio' afaik. That means if you press the 'play'-button, there should appear a new portaudio-device in catia. It will disapear, when you press the stop button.
Correct me if I'm wrong
That is correct. But I am not getting 'audacity' to see 'jack'. And more importantly, 'audacity' is killing 'jack' when started.
I knew this about audacity. I did actually start recording in 'audacity', paused it, then started 'jack' on the off chance that this may have had something to do with the issue, but I was grasping at straws.
I managed to get 'audacity' to remain running at the same time as 'jack' ('audacity' still did not see 'jack') but the system became unstable and several applications crashed, plus sound did not work in other applications. This causes me to recall all the trouble I had with 'pulseaudio' in 10.04. Maybe I'll look at stopping 'pulseaudio' first in the morning.
Re: KXStudio FAQ
Posted: Sun Jul 22, 2012 8:37 pm
by luster
Resolved!
KXStudio has been exonerated.
I've had success with getting Audacity to be aware of Jack in my installation of KXStudio over ubuntustudio12.04amd64.
I finally narrowed down the problem. The problem appears to lie with the soundcard hardware, though it has worked in the past with ubuntustudio10.04amd64. (I've used the soundcard extensively--though I did find that I had to disable PulseAudio to get any meaningful audio uptime.)
Here's how I did it: I ran the ubuntustudio12.04amd64 live DVD, "try ubuntustudio without changing anything", and started Jack with QjackCtl. Next, I started Audacity. Jack immediately crashed.
This told me that the problem was with either the ubuntustudio12.04 or my hardware, and not with KXStudio.
Next, I booted back into the HDD-installed OS, and monitored messages from QjackCtl while starting Audacity. This led me to suspect that Jack was failing to talk to the soundcard. Excerpt below:
Messages from QjackCtl (running KXStudio/ubuntustudio12.04amd64 from HDD):
Code: Select all
10:04:40.606 Patchbay deactivated.
10:04:40.621 Statistics reset.
10:04:40.629 ALSA connection change.
10:04:40.636 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
10:05:03.969 D-BUS: JACK server is starting...
Sun Jul 22 10:05:03 2012: Starting jack server...
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
10:05:03.974 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).
Sun Jul 22 10:05:03 2012: JACK server starting in realtime mode with priority 10
Sun Jul 22 10:05:03 2012: control device hw:0
Sun Jul 22 10:05:03 2012: control device hw:0
Sun Jul 22 10:05:03 2012: Acquired audio card Audio0
Sun Jul 22 10:05:03 2012: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Sun Jul 22 10:05:03 2012: control device hw:0
Sun Jul 22 10:05:03 2012: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
Sun Jul 22 10:05:03 2012: ALSA: final selected sample format for capture: 16bit little-endian
Sun Jul 22 10:05:03 2012: ALSA: use 2 periods for capture
Sun Jul 22 10:05:03 2012: ALSA: final selected sample format for playback: 16bit little-endian
Sun Jul 22 10:05:03 2012: ALSA: use 2 periods for playback
Sun Jul 22 10:05:03 2012: graph reorder: new port 'system:capture_1'
Sun Jul 22 10:05:03 2012: New client 'system' with PID 0
Sun Jul 22 10:05:03 2012: graph reorder: new port 'system:capture_2'
Sun Jul 22 10:05:03 2012: graph reorder: new port 'system:playback_1'
Sun Jul 22 10:05:03 2012: graph reorder: new port 'system:playback_2'
Sun Jul 22 10:05:05 2012: Saving settings to "/home/test/.config/jack/conf.xml" ...
10:05:06.239 JACK connection change.
10:05:06.240 Server configuration saved to "/home/test/.jackdrc".
10:05:06.240 Statistics reset.
10:05:06.268 Client activated.
10:05:06.296 JACK connection graph change.
Sun Jul 22 10:05:06 2012: New client 'qjackctl' with PID 2551
[b][Edit: I STARTED AUDACITY AT THIS TIME][/b]
10:05:30.901 XRUN callback (1).
10:05:32.304 XRUN callback (1 skipped).
10:05:35.997 XRUN callback (3).
10:05:36.114 Shutdown notification.
10:05:36.139 Client deactivated.
10:05:36.140 D-BUS: JACK server was stopped (org.jackaudio.service aka jackdbus).
Cannot read socket fd = 19 err = Success
JackSocketClientChannel read fail
Cannot write socket fd = 17 err = Broken pipe
Cannot write socket fd = 17 err = Broken pipe
Cannot read socket fd = 17 err = Broken pipe
Could not read result type = 7
Sun Jul 22 10:05:35 2012: [1m[31mERROR: JackProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out[0m
Sun Jul 22 10:05:35 2012: [1m[31mERROR: Driver is not running[0m
Sun Jul 22 10:05:35 2012: [1m[31mERROR: Cannot create new client[0m
Sun Jul 22 10:05:36 2012: [1m[31mERROR: Unknown request 4294967295[0m
Sun Jul 22 10:05:36 2012: [1m[31mERROR: Abort
Thanks falkTX for your speedy help (as always!). I'll do some checking into your suggestions; I'd love to learn to make videos, if it's not too complicated, since time is always short. But Youtube needs more vids of KXStudio!!
brian
Re: KXStudio FAQ
Posted: Sun Jul 29, 2012 7:03 pm
by Thad E Ginathom
briandc wrote:- now that I have a setup that I really like, and I want to be able to reinstall it quickly if I should ever lose it (heaven forbid!) what is the best/safest way? Is it sufficient to save a copy of my home folder?
Useful tools:
Remastersys Backup --- the idea is to make your own
distribution looking just like your system does right now. It is limited in size to the capacity of one DVD, so don't include your music. Very useful for installation milestone points. You can store ISOs on an external drive so you don't have to be burning DVDs all the time. Do check (another machine, or another partition) that your Remastersys backup
does reinstall your system the way you want it. A virtual-machine test is good, but does not ensure the DVD will work for that
real install when you need it.
APTonCD --- backs up all the applications you have downloaded. You can reinstall from from the CD and then just update them over the net. Saves downloading
everything every time you reinstall from scratch.
A
tar archive of all the .something files/directories in your home directory can get you out of trouble ...and into it if it is too old and you loose stuff.
Ubuntu Tweak --- useful tool for being able to backup all the desktop settings and stuff.
Grsync --- graphic front end to rsync. My everyday backup tool. Just copies the new/changed files. Useful whenever you need to keep two sets of files in sync.
... and keep a tar backup of your root file system and your home directory.
Call me paranoid? It's because I know how stupid I can be: I learnt the hard way!
Re: KXStudio FAQ
Posted: Sun Jul 29, 2012 9:59 pm
by briandc
Thad E Ginathom wrote:briandc wrote:- now that I have a setup that I really like, and I want to be able to reinstall it quickly if I should ever lose it (heaven forbid!) what is the best/safest way? Is it sufficient to save a copy of my home folder?
Useful tools:
Remastersys Backup --- the idea is to make your own
distribution looking just like your system does right now. It is limited in size to the capacity of one DVD, so don't include your music. Very useful for installation milestone points. You can store ISOs on an external drive so you don't have to be burning DVDs all the time. Do check (another machine, or another partition) that your Remastersys backup
does reinstall your system the way you want it. A virtual-machine test is good, but does not ensure the DVD will work for that
real install when you need it.
APTonCD --- backs up all the applications you have downloaded. You can reinstall from from the CD and then just update them over the net. Saves downloading
everything every time you reinstall from scratch.
A
tar archive of all the .something files/directories in your home directory can get you out of trouble ...and into it if it is too old and you loose stuff.
Ubuntu Tweak --- useful tool for being able to backup all the desktop settings and stuff.
Grsync --- graphic front end to rsync. My everyday backup tool. Just copies the new/changed files. Useful whenever you need to keep two sets of files in sync.
... and keep a tar backup of your root file system and your home directory.
Call me paranoid? It's because I know how stupid I can be: I learnt the hard way!
Hi Thad,
I know what you mean.. That bit about "saving your data" is wise advice indeed..
Of all your suggestions, do you do all of them? Or do you have a preference?
Up till now, I've only done DVD backups of the home directory, and I've considered trying gfl (Ghost for linux) but haven't yet. I suppose some methods are more "complete" than others, or more reliable..
brian
Re: KXStudio FAQ
Posted: Mon Jul 30, 2012 3:22 am
by wolftune
Wow, I appreciate all the backup suggestions. I definitely want to get secure on this myself, as I've now worked out a pretty good system that I'm very happy with.
One question: I looked at all these tools a bit before (though I wasn't clear about them all. These descriptions here are very useful). I decided to go with "Back In Time"
also Déjà Dup looks interesting. How do these relate to the tools you mentioned? Is Back In Time basically comparable functionality as Grsync? Back In Time is nice for native KDE qt support…
Re: KXStudio FAQ
Posted: Mon Jul 30, 2012 10:37 am
by Capoeira
wolftune wrote:I decided to go with "Back In Time"
also Déjà Dup looks interesting. How do these relate to the tools you mentioned? Is Back In Time basically comparable functionality as Grsync? Back In Time is nice for native KDE qt support…
I used them both. they are mainly rsync based. backintime is a perfect solution, you can configure it just the way you want. Dejá Dub makes the decisons for you, very few configuration options
Re: KXStudio FAQ
Posted: Mon Jul 30, 2012 9:50 pm
by Thad E Ginathom
Does back-in-time allow you to go to a given point in your backup history?
Back in working days I used to do that with off-site-stored tapes, one every day over the month, with monthlies kept for every. As an individual I am much more casual, and yes, that has cost me, which is embarrassing for an ex-pro!
I don't look for that kind of time-sensitive backup for data: I just look to have the latest, and grsync gives me that very easily. I backup to two external hdds, one of which is
supposed to be out of my house and get swapped around every week or so.
For the system, the first two tools I mention get a lot of use when I'm trying a new distribution, or a new version etc. I hate the way a brand-new Ubuntu ISO spends about an hour updating as it installs... First milestone, Ubuntu Studio, clean install. Second milestone, with KXStudio basics. Third milestone: KXStudio more stuff, and so on. Having a Remastersys Backup of each of these stages can save a lot of time when something hasn't worked out: you can go cleanly back to a previous point.
One can also use those ISOs to build virtual machines --- which are fine for messing around with desktops, look and feel and stuff, but not at all fine for anything to do with actual sound.
Of course, no data is involved at these stages: I keep that in file partitions/systems that are quite separate to / or /home, so it is relatively safe, and accessible to any Linux install on the machine. It also means that / and /home backups, of whatever kind, are relatively small. Even Thunderbird mail database is not in my home directory: just instructions in the thunderbird ini file to find it. Even some stuff that looks as if it is in the home directory is symbolic links to elsewhere. I mean do do that with wine sometime. ((But since Cool Edit Pro got temperamental on me and stopped working (even in native XP

) the only thing I do with wine is solitaire! But oh, I miss CEP ... I've haven't seen anything to beat its combination of straightforward interface and easily-used power; Audacity doesn't come even close.))
Having only been a systems manager, not a developer, I never needed to get into
version control --- a whole other other other story.
Re: KXStudio FAQ
Posted: Mon Jul 30, 2012 10:26 pm
by wolftune
Yes, Back In Time allows you to go back to previous versions.
Re: KXStudio FAQ
Posted: Sat Aug 04, 2012 5:52 pm
by briandc
Ok, I'm ready to do a RemasterSys backup. According to the website
http://www.remastersys.com/ubuntu.html Ubuntu users would already have it installed in the system. I think that doesn't include Ubuntu Studio though (nor KXStudio) since I can't find it.
Should I install the Debian version instead? It looks to require a few extra packages: squashfs-modules and either aufs-modules or unionfs-modules.
Anyone try this on KXStudio?
brian
Re: KXStudio FAQ
Posted: Sat Aug 04, 2012 7:22 pm
by wolftune
I suggest using Muon Package Manager in KXStudio (or if you are in a non-KDE system, it would be Synaptic instead)
This lets you search for available packages and install and manage them easily.
You can also install "Muon Software Center" or "Ubuntu Software Center" if you want to have a more flashy GUI app for exploring software.
The way to find the right package is to search in Muon for remastersys, and then you can just choose it and install (choose the main package and any required other packages will get marked automatically as well)