Rosegarden JAck problems

Asked by walksponsored

Hi i installed Ubuntu 9.04 ona laptop via WUBI and have installed plenty of working programs. Now Rosegarden doesn't work.

1. I installed Ubuntu Studio as it said it would help with the low latency (i still get that message after installing it).

2. Jack doesn't work for Rosegarden, if i type qjackctl and then start rosegarden jack doesn't display an error message but i still get the low latency message and there is still no sound.

3. Hydrogen works fine, and this uses similar things to rosegarden.

so i reinstalled my whole wubi 9.04 linux and i still have no sound in rosegarden. Here are some of the messages i get;

From Rosegarden upon starting i get this;

[QUOTE]Failed to connect to JACK audio server.
Rosegarden could not connect to the JACK audio server. This probably means the JACK server is not running.
If you want to be able to play or record audio files or use plugins, you should exit Rosegarden and start the JACK server before running Rosegarden again.[/QUOTE]

And there's no sound in Rosegarden,

If i type "jack" into my terminal i get;

[QUOTE] :~$ jack
This is jack 3.1.1 (C)2004 Arne Zellentin <email address hidden>
 *warning* You have no standard location set, putting files into the current
           directory. Please consider setting base_dir in ~/.jack3rc.
 *info* matching dir found: ./jack-023bfd01
 *error* cdparanoia failed - could not read CD's TOC. [/QUOTE]

So i found through browsing random webpages that i can use "qjackctl"

[QUOTE] :~$ qjackctl
Connection failure: Connection refused
pa_context_connect() failed: Connection refusedSuspending PulseAudio
Connection failure: Connection refused

        (and from jack itself)

ERROR - JACK AUDIO CONNECTION KIT
Could not connect to JACK server as client.
- Overall operation failed.
- Unable to connect to server.
Please check the messages window for more info

       (from the "messages" window in jack)

13:06:51.077 Patchbay deactivated.
13:06:51.804 Statistics reset.
13:06:51.829 Startup script...
13:06:51.830 artsshell -q terminate
13:06:51.839 ALSA connection graph change.
sh: artsshell: not found
13:06:52.650 Startup script terminated with exit status=32512.
13:06:52.651 JACK is starting...
13:06:52.653 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
13:06:52.673 JACK was started with PID=7118.
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread -1210808640, from thread -1210808640] (1: Operation not permitted)
cannot create engine
13:06:52.730 JACK was stopped successfully.
13:06:52.731 Post-shutdown script...
13:06:52.732 killall jackd
13:06:52.856 ALSA connection change.
jackd: no process killed
13:06:53.142 Post-shutdown script terminated with exit status=256.
13:06:54.866 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.

        (NOTE: This IS from the messages window :p) [/QUOTE]

Now i'm pretty sure i uninstalled pulseaudio using this guide
[url]http://www.ubuntugeek.com/how-to-remove-pulse-audio-ubuntu-810-intrepid-ibex.html[/url]
[URL="http://www.ubuntugeek.com/how-to-remove-pulse-audio-ubuntu-810-intrepid-ibex.html"][/URL]
and it worked apart from the very end where is says
[QUOTE]Finally Your asoundrc’s under your Home Directory are still configured for Pulse.

Go to your home directory using the following command

cd ~

cp .asound* yourfilename

    rm .asound*[/QUOTE]

though i assume that is trivial.

Also, i still get this message.
[QUOTE] System timer resolution is too low
Rosegarden was unable to find a high-resolution timing source for MIDI performance.
You may be able to solve this problem by loading the RTC timer kernel module. To do this, try running sudo modprobe snd-rtctimer in a terminal window and then restarting Rosegarden.
Alternatively, check whether your Linux distributor provides a multimedia-optimized kernel. See [url]http://rosegarden.wiki.sourceforge.net/Low+latency+kernels[/url] for notes about this. [/QUOTE]

I have ubuntu studio installed and i thought that would alleviate the problem, which it didn't.

Quite a difficult problem here, sincerely appreciate any help.

Amabo Te. (:

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
walksponsored (sponsoredwalk) said :
#1

Ok, after about 15 hours of googling and worrying about the fact that i should of been studying i have come pretty close but i stil need help.

THE GOOD: I got sound out of Rosegarden!!!
This brave soul who went to the trouble of writing up a guide should be regarded in high esteem by all,

[url]http://www.linuxquestions.org/questions/linuxquestions.org-member-success-stories-23/setting-up-rosegarden-for-midi-music-in-linux-ubuntu-8.04-697198/[/url]

I wish more guides were written this way, well only for the really weird or hard stuff you want to install. I never usually have any issues because the standard ubuntu walkthru's are really easy to follow.

THE BAD: This is using ALSA!!!
Now it should be using JACK and i would have no problem bending the rules and using alsa but you'll see why i need jack in the next section (the ugly).

So i worked through the jibberish (to me) that is a user-manual and found that to use jack with rosegarden i was supposed to type the following into terminal, i never seen that i was supposed to do it in a specific order it was pure chance that it happened and i seriously think that the people who are in charge of JACK have a lot to account for, i'm not the only one who has problems with it and i have found countless posts with people having issues with it.

First this,
[QUOTE] jackd -d alsa -d hw -r 44100 -p 2048 -n 2 [/QUOTE]
Then in a new terminal tab,
[QUOTE]qjackctl[/QUOTE]

That way i got no error messages saying jack wasn't working. HOWEVER, there was still NO SOUND!!!

THE UGLY: I could care less about all of the above if i could find a way to bend the rules further and record the song i made on Rosegarden to a file, any file... I have a sweet setup, it's mixed with Hydrogen and i have for the first time gotten this program to work (over a year on a slow computer so never had this horse power b4:()

Is there a way to record the music that plays out of my speakers to a file? Audacity records no sound or wont even allow me to record. Sound Recorder doesn't allow me to record any sound either, only emptiness. I have no option in either of the programs to record from the mixer or anything like that.

(btw when i export the midi file it only plays a snare drum hitting repeatedly, i didn't make it AND ROSEGARDEN DOES NOT ALLOW RECORDING TO A TRACK WITHIN ROSEGARDEN WHEN U USE ALSA!)

Please help!!!

Amabo Te :(:(:(:confused::P:P:P

Revision history for this message
nokangaroo (nokangaroo-deactivatedaccount-deactivatedaccount) said :
#2

You should probably do a second install of Ubuntustudio on a separate partition (a real install, not WUBI). If you have done this much troubleshooting already, this shouldn't be a problem. Make the partition small, just for using Rosegarden, and keep your WUBI install.

Can you help with this problem?

Provide an answer of your own, or ask walksponsored for more information if necessary.

To post a message you must log in.