Ardour could not start JACK

I just installed and when i run then configure then tell it to start it says:
Ardour could not start JACK
There are several possible reasons:

  1. You requested audio parameters that are not supported…
  2. JACK is running as another user.

Please consider the possibilities, and perhaps try different parameters.

There are no other users and i set everything to minimum (i know it works though cuz on windows with guitar tracks my settings are the same) and when i run jack control from the menu it says:

Could not connect to JACK server as client.

  • Overall operation failed.
  • Server communication error.
    Please check the messages window for more info.

When i go to messages it says:

19:54:53.539 Patchbay deactivated.
19:54:53.540 Statistics reset.
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
19:54:53.599 ALSA connection graph change.
19:54:53.797 ALSA connection change.
19:55:42.677 Startup script…
19:55:42.678 artsshell -q terminate
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
sh: artsshell: not found
19:55:43.082 Startup script terminated with exit status=32512.
19:55:43.082 JACK is starting…
19:55:43.082 /usr/bin/jackd -dalsa -dhw:0 -r44100 -p1024 -n2
19:55:43.092 JACK was started with PID=16619.
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
jackdmp 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 server starting in realtime mode with priority 10
Cannot lock down memory area (Cannot allocate memory)
audio_reservation_init
Acquire audio card Audio0
creating alsa driver … hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA ATI SB at 0xfbbf4000 irq 16
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Cannot use real-time scheduling (RR/10)(1: Operation not permitted)
AcquireSelfRealTime error
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
19:55:50.234 Could not connect to JACK server as client. - Overall operation failed. - Server communication error. Please check the messages window for more info.

Whats wrong with it and how do i fix???

Unfortunately, Jack2 does not clearly report the failure here. Your problem is that you are attempting to run JACK in realtime mode (which is the RIGHT thing to do) but your machine is not correctly set up for this. Please see http://jackaudio.org/linux_rt_config for more information (this page is linked from the JACK FAQ page)

Followed all instructions to the letter and logged out and back in several times with the same results. Any other ideas???

Which distribution are you running?
What does ‘ulimit -l ; ulimit -r’ say?
What’s the jack error message this time?