|
|
linux-amd64-chroot-netjackIntroI was getting bored about not being able to run vst and asio stuff under gentoo amd64. There's an hardcore way to have things running : a 32 bits chrooted environment that will connect to 64 bits apps through netjack.Setup a 32 bits chroot env according to : http://www.gentoo.org/proj/en/base/amd64/howtos/chroot.xml Table of contentsInside the chrootmake.conf inside the chroot make.conf example inside the chroot
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="alsa netjack oss X jack lash"
VIDEO_CARDS="vesa"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file \
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route \
share shm softvol"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio/"/etc/modules.d/alsa inside the chroot I had to copy /etc/modules.d/alsa from the main system or get rid of some errors emerge layman and world emerge layman and configure it # emerge layman add the pro-audio overlay http://proaudio.tuxfamily.org/ update all # emerge --sync && emerge --newuse --deep world install required software (lots of time and dependancies) fst # emerge jack-audio-connection-kit wineasio fst qjackctk launch jackd # jackd -R -p128 -dalsa -dhw:0 -r44100 -p1024 -n2 jackd 0.103.0 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. loading driver .. apparent rate = 44100 creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 44100Hz, period = 1024 frames, buffer = 2 periods ALSA: final selected sample format for capture: 32bit little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 32bit little-endian ALSA: use 2 periods for playback # jacknet_client -p localhost JACK tmpdir identified as [/var/run/jack] engine sample rate: 8000 Packet Miss: (expected: 8236, got: -1) framecnt=0 Packet Miss: (expected: 8236, got: -1) framecnt=0 [...] sync = 1 (when the connection with outside is OK) # launch lashd lashd & # launch fst with a vst_plugin fst Crystal.dll yo... lets see... JACK tmpdir identified as [/var/run/jack] lash_init: Not attempting to start daemon server automatically Created project project-1 in directory /root/audio-projects/project-1 Added client 9c9cb7a0-addd-4135-8a9e-6d127a63dc5c of class Crystal to project project-1 Client 9c9cb7a0-addd-4135-8a9e-6d127a63dc5c set its name to 'Crystal' # launch qjacktl qjackctl & Outside the chrootlaunch jackd outside the chroot $ jackd -d net jackd 0.103.0 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. loading driver .. creating net driver ... net_pcm|48000|1024|3000|2|2|transport_sync:1 Waiting for an incoming packet !!! *** IMPORTANT *** Dont connect a client to jackd until the driver is attached to a clock source !!! TipsAllow localhost X clients to connect from the chroot env $ xhost local:localhost be sure to have the same jackd inside and outside the chroot or you will get errors Links
|
Login
Search
Last 10 Sites
Featured links
|