Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: JACK audio server / Realtime Kernel / Rosegarden

  1. #1
    Join Date
    Jul 2008
    Location
    Pottstown PA, US
    Posts
    150

    Default JACK audio server / Realtime Kernel / Rosegarden

    Hello everyone!

    Hope you are all doing well!

    A little back story is in order...
    Looking for a Open Source music composition editor similar to Sibelius.

    I found and settled on Rosegarden.

    Sound card is Creative Audigy 2 Platinum EX. I also have a midi keyboard which I would like to use with rosegarden.

    After downloading rosegarden, I found out in order to use the MIDI sequencer, I have to compile and install a real time kernel.

    I finally got my kernel configured and installed, recompiled all the video/Ethernet drivers etc (after about a dozen tries )

    Now on to the issue...

    As root, I can run the JACK audio server with realtime priority (as it is needed by Rosegarden) with the command

    jackd -R -dalsa &

    it starts up and seems to run.

    Then as a regular user, I try to connect to the JACK audio server using the qjackctl application. Qjackctl loads, but cannot seem to connect to the jack server, giving me the message "UNABLE TO CONNECT TO SERVER AS CLIENT"

    HOWEVER, using the same procedure above as root, I can connect to the jack audio server with qjackctl.

    Rosegarden will start as a regular user but will also not connect to the JACK audio server (therefore: no sound or midi sequencer)

    Ive tried running Rosegarden as root (I didnt like having to do that), but get a similar error.

    Through some googling, Ive found that JACK clients (qjackctl, rosegarden etc.) must be executed by the same user who launched the JACK server. -- no problem...Except I cannot run a realtime application as a regular user.

    I read online that regular users can start realtime applications using the LSM module (whatever that is, I couldnt find all that much).

    So my question is, how do I start the jack audio server in realtime mode as a regular user? if that is not possible...Is there a way to configure JACK so that it is started by root, but allows clients launched by regular users to connect?

    Sorry for not including the exact error messages as right now I am at work.

    Any help/comments would be greatly appreciated! Thanks in advance!
    Desktop| opensuse11.3| Core2Q Q9450 | nVidia GeForce 8800 GT
    Server| Arch | mythtv 024 | Core2D E7500| nVidia GT210
    HTPC| opensuse11.3 | mythtv 024| Atom 330 | ASUS AT3IONT-I Deluxe | nVidia ION
    Laptop| System76 | opensuse11.3| Core2D P8600 | nVidia 9300M

  2. #2
    Join Date
    Sep 2008
    Location
    St Louis, MO USA
    Posts
    398

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    Have you checked out the Jacklab project? They've got a bunch of pages on the openSUSE wiki on setting up openSUSE for proaudio work with JACK et al. I'm running it right now and it works great.

    You can't connect to a root JACK server with user apps. I think your problem is that you haven't edited your pam limits.conf. It's very simple, and it enables a normal user to run audio apps at high privileges, like root can. This is documented in the wiki.

    I'll post a link later when I get time.
    Dell Inspiron 530 - C2Q@2.4Ghz; 6GB RAM; openSUSE 11.2 x86_64; KDE 4.4.1
    Dell Inspiron 1440 - C2D@2.2Ghz; 4GB RAM; openSUSE 11.2 x86; KDE 4.4.1
    Dell Latitude D531 - AMD Turion X2 64@2.0Ghz; 2GB RAM; Linux Mint 8

  3. #3
    Join Date
    Jul 2008
    Location
    Pottstown PA, US
    Posts
    150

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    thank you very much for the prompt response! Ill take a look and advise
    Desktop| opensuse11.3| Core2Q Q9450 | nVidia GeForce 8800 GT
    Server| Arch | mythtv 024 | Core2D E7500| nVidia GT210
    HTPC| opensuse11.3 | mythtv 024| Atom 330 | ASUS AT3IONT-I Deluxe | nVidia ION
    Laptop| System76 | opensuse11.3| Core2D P8600 | nVidia 9300M

  4. #4
    Join Date
    Jul 2008
    Location
    Pottstown PA, US
    Posts
    150

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    the file to which you refer is /etc/security/limits.conf?

    I was looking at that yesterday but wrote it off...

    From what i get from the wiki...all i have to do is add the following lines to limits.conf and then logout/login?

    @audio - rtprio 90
    @audio - nice 15
    @audio - memlock 4000000
    Desktop| opensuse11.3| Core2Q Q9450 | nVidia GeForce 8800 GT
    Server| Arch | mythtv 024 | Core2D E7500| nVidia GT210
    HTPC| opensuse11.3 | mythtv 024| Atom 330 | ASUS AT3IONT-I Deluxe | nVidia ION
    Laptop| System76 | opensuse11.3| Core2D P8600 | nVidia 9300M

  5. #5
    Join Date
    Jul 2008
    Location
    Pottstown PA, US
    Posts
    150

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    zak89 -- Thanks for the help, I got it working. Took a little while playing with the jack connections...then i finally got a sound out of rosegarden. looking forward to playing with it more! Thanks again!
    Desktop| opensuse11.3| Core2Q Q9450 | nVidia GeForce 8800 GT
    Server| Arch | mythtv 024 | Core2D E7500| nVidia GT210
    HTPC| opensuse11.3 | mythtv 024| Atom 330 | ASUS AT3IONT-I Deluxe | nVidia ION
    Laptop| System76 | opensuse11.3| Core2D P8600 | nVidia 9300M

  6. #6
    Join Date
    Sep 2008
    Location
    St Louis, MO USA
    Posts
    398

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    Glad you got it working! Sorry I didn't get back to you, but it sounds like you've got it all figured out anyway!

    By the way, did you add your user account to the audio group? That should have been on the same wiki page.

    Enjoy the world of linux pro-audio! By the way, if you have questions or problems, stop by the Jacklab forums at forum.jacklab.net. I hang out there pretty regularly, and there's a whole crew of linux audiophiles there supporting multimedia production on openSUSE.

    Have a lot of fun!
    Dell Inspiron 530 - C2Q@2.4Ghz; 6GB RAM; openSUSE 11.2 x86_64; KDE 4.4.1
    Dell Inspiron 1440 - C2D@2.2Ghz; 4GB RAM; openSUSE 11.2 x86; KDE 4.4.1
    Dell Latitude D531 - AMD Turion X2 64@2.0Ghz; 2GB RAM; Linux Mint 8

  7. #7
    Join Date
    Jul 2008
    Location
    Pottstown PA, US
    Posts
    150

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    I ended up using the @audio group (if it aint broke...dont fix it)

    I was up until almost 4 in the morning and the moment I got sound to come out of the d*mned thing I figured i would quit while I was ahead, so I will be diving in tonight to see what it can do.

    Thanks for the link to the forum, Im certain Ill be in there checking things out (probably asking questions too)
    Desktop| opensuse11.3| Core2Q Q9450 | nVidia GeForce 8800 GT
    Server| Arch | mythtv 024 | Core2D E7500| nVidia GT210
    HTPC| opensuse11.3 | mythtv 024| Atom 330 | ASUS AT3IONT-I Deluxe | nVidia ION
    Laptop| System76 | opensuse11.3| Core2D P8600 | nVidia 9300M

  8. #8

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    Can anyone offer some other help pages that I can read? This jacklab.net is now closed.

    JackLab has closed

    I have similar errors and can not start or connect to JACK via qjackctl.

  9. #9

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    I also have the same problem. Would be nice if somebody could help.

  10. #10
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,061

    Default Re: JACK audio server / Realtime Kernel / Rosegarden

    Have you followed the ways as described here? Configuring pam is a must to use realtime-priorities as a user.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •