I just reinstalled Ubuntu Karmic 9.10, 32bit edition, so I can take you through all the steps I did, with the fresh install.
1. I personalised my desktop, by going into System/Settings/Appearances(?) (I'm not sure how it translates, I have the norwegian desktop here.)
I chose NewWave theme, and the desert picture as background. You may ofcourse choose something else.
2. I added four, instead of two workspaces, by rightclicking the workspaces, and "user selection" (?). I also added Systemmonitor, in the upper bar, and changed it to display, ram, hd, cpu, net.
3. I opened a terminal, and did "sudo add-apt-repository ppa:nvidia-vdpau/ppa" to add nvidia, to my repositories of updates.
4. I downloaded updates. I rebooted. I went to the update mananger, and installed som nvidia updates. I checked nvidias own site, and the current non-beta version, which is 190.53. I went to Synaptic, and installed nvidia-glx-190. I rebooted. I activated the driver in "hardware drivers". I rebooted. Unfortunately it seems to be a bit of rebooting, with the nvidia drivers. Notice the fans of the nvidia card, spinning down on reboot. Very nice. The nvidia fans are so powerful, they're chilling down the whole livingroom here, while they are going. This is the G-something 250 model.
5. Ofcourse you can just skip to these steps, which deals with audio onwards.
- Then I opened up a terminal. And did the following commands.
cd /home/uwaysi ## (Exchange Uwaysi for your username.)
mkdir Sourcecode
cd Sourcecode
sudo apt-get build-dep libffado ## from http://subversion.ffado.org/wiki/Dependencies/Ubuntu
sudo apt-get install build-essential libavc1394-dev python-qt4-dev subversion libtool
svn checkout http://subversion.ffado.org/ffado/trunk ffado-svn ## from http://subversion.ffado.org/wiki/DownloadFfadoSource
cd ffado-svn
cd libffado
scons PREFIX=/usr DEBUG=False BUILD_TESTS=False ENABLE_OPTIMIZATIONS=True ENABLE_FIREWORKS=False ENABLE_MOTU=False ENABLE_DICE=True ## from http://forum.tcelectronic.com/viewtopic.php?id=4236 Peace!
sudo scons install
cd ..
cd ..
svn co http://subversion.jackaudio.org/jack/trunk/jack jack
cd jack
./autogen.sh
./configure --prefix=/usr --with-default-tmpdir=/dev/shm
make
sudo make install
6. Then comes some step who require root control. "Sudo gnome-terminal", brings up a root terminal. PS: Dont use this for quick fixes, as it may ruin the ubuntu ways of doing things. Therefore we set up the user correctly.
echo 'KERNEL=="raw1394", GROUP="audio"' > /etc/udev/rules.d/raw1394.rules
udevadm control --reload-rules
rmmod raw1394
modprobe raw1394
7.Open up System/Administration/Users. Unlock it. Add yourself to audio.
gedit /etc/security/limits.conf
8. Copy and paste the following at the end of this file.
# grant real-time privileges to members of group "audio"
@audio - rtprio 99
@audio - memlock unlimited
@audio - nice -10
9. Save. Log out, and back in.
I open up ffado-mixer, from Programs, Sound & Video. It seems to be working, reporting samplerate 48k, but the konnekt needed to be turned on before opening it, otherwise it would get stuck.
Hopefully jack will work aswell..
Open up console:
jackd -R -d firewire -n 4 -p 128
"Error (dice_eap.cpp)[ 112] init: Device does not support EAP" I think we can ignore this one.
It is time to check a jack-compliant application.
I have Renoise here, you may use your app.
I install Renoise 2.5rc1.
And Renoise is working with Jack, hurraayy!
This is all very well documented on the FFADO site.
You may also want to download http://qjackctl.sourceforge.net/
Install flash plugin also, if the browser asks.
Extract to the Sourcecode directory.
open console, cd to qjackctl-0.3.5
sudo apt-get install qt4-dev-tools
./configure --prefix=/usr
make
sudo make install
Now you can type qjackctl for some nice gui control of Jack, or go to programs/audio & video/qjackctl.
Here you can set rate (44.1k for me), and buffers, and driver to firewire. Frames 128 and periods 4, is a nice setting. And timeout can be set to 5000.
10. Getting output to jack, through pulseaudio.
AFAIK, there is not package for this yet, in the ubuntu repository, so I didn't bother, but it will be in Lucid, from what I have heard. So in a couple of months time, we can do system wide eq, and similar things, with jack.
11. I also did some further tweaks, like setting the nivida settings, to sync to vblank, Images settings high quality, antialiasing 8x, anisotropic filtering 2x, Digital Vibrance, 225.3. And saved these settings.
I also calibrated my monitor, according to a screenshot of Nvidias calibration pattern, from windows. You may want to adjust the digital vibrance, after doing this though. I also adjusted nautilus, (nautilus, from console), usersettings to show listview, and hidden files. Also set System/Settings/Appearances Visual effects, to extra.
And there you have it, The Linux Workstation, ready to baroque.
12. The perfectionist will want to compile his own kernel, with settings for multimedia, and probably turn off the swap file. www.kernelnewbies.org is a good place to start, for that. If your kernel isn't showing up when booting, try "sudo update-grub". There is also various patches, for low jitter performance, from various people, most known, is the realtime preemption patch from Ingo Molnar, and "BFS" scheduler, from Con Kolivas.
There may be information elsewhere, for further tuning aswell.
13. Installing my LADSPA plugins - Download from sourceforge.com/projcets/pxu, read the info contained in the archive.
Peace Be With You!
Uwaysi.