You are not logged in.
Here is a dilemma:
Arch's latest qt4 version is 4.3.0
traverso has fatal bugs with qt4 4.3.0, which can't be solved by their devs at this moment.
Please refer to this page for this problem:
http://traverso-daw.org/compilation.html
Actually you can manually remove the version checking for qt4 in this PKGBUILD and compile again. The resulting binary can still run with Arch's current qt4-4.3.0 but I can't guarantee that it will be very stable since they documented the fatal bugs on their web page. Otherwise you have to do the manually qt4 version rollback to get around this.
Hope this problem will get away soon.
Last edited by shinlun (2007-07-21 15:46:18)
Offline
Thanx again
Offline
I've been having an issue with hydrogen (0.9.3 from extra) for the past couple days and am completely stumped. I can't hear any sounds from the drumkits save for the click track using any of the available sound servers and drivers. Everything was working up until this started, and I haven't make any changes to any files that might be responsible.
I get the following error messages for all the samples of the drumkit:
FLACFile_real [load] Error in process_until_end_of_stream()
[ERROR] SongReader [readSong] Error loading sample: /usr/share/hydrogen/data/drumkits/GMkit/kick_Dry_b.flac not found
[WARNING] Hydrogen [audioEngine_renderNote] NULL sample for instrument Kick. Note velocity: 0.85703
The .flac files are there, and I can play them in Totem so flac support is good to go. One thing that puzzles me is that I can't change drumkits. I tried a few after this first started happening, but each time I try to load a new one I get a segfault. I've searched around but couldn't come up with anything.
Anyone have any ideas?
Offline
It might have something to do with this:
http://archlinux.org/pipermail/arch-dev … 01302.html
You could try to recompile it from the source to see if this problem goes away.
Offline
Any chance of updating rtkernel in repo? (kernel-2.6.22.1-rt9)
Offline
Any chance of updating rtkernel in repo? (kernel-2.6.22.1-rt9)
pkgname=kernel26rt
_basekernel=2.6.22
_kernpatchset=1
_patchver=rt9
pkgver=2.6.22.1.rt9
pkgrel=1
pkgdesc="The Linux Kernel and modules with Ingo Molnar's Realtime Preemption patch"
arch=(i686 x86_64)
url="http://people.redhat.com/~mingo/realtime-preempt"
license=('GPL')
backup=('boot/kconfig26rt' etc/mkinitcpio.d/${pkgname}.preset)
depends=('module-init-tools' 'mkinitcpio>=0.5.13')
install=kernel26rt.install
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$_basekernel.$_kernpatchset.bz2
http://people.redhat.com/mingo/realtime-preempt/patch-$_basekernel.$_kernpatchset-$_patchver
config config.x86_64
logo_linux_clut224.ppm
logo_linux_mono.pbm
logo_linux_vga16.ppm
kernel26rt.preset
mkinitcpio-kernel26rt.conf)
build() {
[ "${CARCH}" = "i686" ] && KARCH=i386
[ "${CARCH}" = "x86_64" ] && KARCH=x86_64
cd $startdir/src/linux-$_basekernel
# add upstream patch from 2.6.22 series
patch -Np1 -i ../patch-$_basekernel.$_kernpatchset || return 1
# add realtime patch
patch -Np1 -i ../patch-$_basekernel.$_kernpatchset-$_patchver || return 1
# remove the extraversion from Makefile
sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|;s|-rt||g' Makefile
# Arch logo!
cp ../logo_linux_clut224.ppm drivers/video/logo/
cp ../logo_linux_mono.pbm drivers/video/logo/
cp ../logo_linux_vga16.ppm drivers/video/logo/
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
else
# get rid of the 'i' in i686
carch=`echo $CARCH | sed 's|i||'`
cat ../config | sed "s|#CARCH#|$carch|g" >./.config
fi
# build the full kernel version to use in pathnames
. ./.config
_kernver="${_basekernel}${CONFIG_LOCALVERSION}"
# load configuration
yes "" | return 1
make menuconfig
#make gconfig
#make xconfig
# build!
make bzImage modules || return 1
mkdir -p $startdir/pkg/{lib/modules,boot}
make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
cp System.map $startdir/pkg/boot/System.map26rt
cp arch/$KARCH/boot/bzImage $startdir/pkg/boot/vmlinuz26rt
install -D -m644 Makefile \
$startdir/pkg/usr/src/linux-${_kernver}/Makefile
install -D -m644 kernel/Makefile \
$startdir/pkg/usr/src/linux-${_kernver}/kernel/Makefile
install -D -m644 .config \
$startdir/pkg/usr/src/linux-${_kernver}/.config
install -D -m644 .config $startdir/pkg/boot/kconfig26rt
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel
for i in acpi asm-generic asm-$KARCH config linux math-emu media net pcmcia scsi sound video; do
cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
done
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers $startdir/pkg/usr/src/linux-${_kernver}
cp -a scripts $startdir/pkg/usr/src/linux-${_kernver}
# fix permissions on scripts dir
chmod og-w -R $startdir/pkg/usr/src/linux-${_kernver}/scripts
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/.tmp_versions
cp arch/$KARCH/Makefile $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
if [ "$CARCH" = "i686" ]; then
cp arch/$KARCH/Makefile.cpu $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
fi
cp arch/$KARCH/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
# add headers for lirc package
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video
cp drivers/media/video/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
cp -a drivers/media/video/$i/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
done
# add dm headers
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
cp drivers/md/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
# add inotify.h
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/linux
cp include/linux/inotify.h $startdir/pkg/usr/src/linux-${_kernver}/include/linux/
# add CLUSTERIP file for iptables
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/ipv4/netfilter/
cp net/ipv4/netfilter/ipt_CLUSTERIP.c $startdir/pkg/usr/src/linux-${_kernver}/net/ipv4/netfilter/
# add vmlinux
cp vmlinux $startdir/pkg/usr/src/linux-${_kernver}
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
done
if [ "${KARCH}" = "i386" ]; then
mkdir ${startdir}/pkg/usr/src/linux-${_kernver}/include/asm-x86_64
cp -a include/asm-x86_64/tsc.h ${startdir}/pkg/usr/src/linux-${_kernver}/include/asm-x86_64
else
mkdir ${startdir}/pkg/usr/src/linux-${_kernver}/include/asm-i386
cp -a include/asm-i386/tsc.h ${startdir}/pkg/usr/src/linux-${_kernver}/include/asm-i386
fi
cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
chown -R root.root $startdir/pkg/usr/src/linux-${_kernver}
cd $startdir/pkg/lib/modules/${_kernver} && \
(rm -f source build; ln -sf ../../../usr/src/linux-${_kernver} build)
# for binary modules make prepare, not needed anymore in .22 kernels
# cd $startdir/pkg/lib/modules/${_kernver}/build
# make prepare
# install fallback mkinitcpio.conf file and preset file for kernel
install -m644 -D $startdir/src/${pkgname}.preset $startdir/pkg/etc/mkinitcpio.d/${pkgname}.preset || return 1
install -m644 -D $startdir/src/mkinitcpio-$pkgname.conf $startdir/pkg/etc/mkinitcpio.d/$pkgname-fallback.conf || return 1
# set correct depmod command for install
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26rt.install
echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${startdir}/pkg/etc/mkinitcpio.d/${pkgname}.kver
}
btw. don't forget update kernel26rt.install file
Last edited by ArchHK (2007-08-04 00:06:29)
Offline
It might have something to do with this:
http://archlinux.org/pipermail/arch-dev … 01302.htmlYou could try to recompile it from the source to see if this problem goes away.
Thanks! I Wasn't aware of the flac update. Recompiled and everything's working again.
cheers,
Last edited by somedrew (2007-08-04 02:43:19)
Offline
Ah. Thanks a lot for the PKGBUILD. I forgot that I posted and ended up making one myself, but this one looks better (all the ARCH stock patches and everything, w00t). I'll definitely give it a try.
Offline
will this kernel-2.6.22.1-rt9 be adding or updated in the proaudio repo?
For some reason, the PKGBUILD never works for me.
Offline
what exactly doesn't work?
Offline
building the kernel.
Using any of the PKGBUILD for any kernel doesn't compile for me.
I've tried many time with all different kernels so I just pray that someone builds the package and I just install it like the earlier rt kernel.
Offline
also, rebuilding Hydrogen from extra fails.
# makepkg
==> Making package: hydrogen 0.9.3-4 (Sun Aug 5 01:15:20 EDT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found hydrogen-0.9.3.tar.gz in build dir
-> Found hydrogen.desktop in build dir
-> Found hydrogen-gcc-4.1.patch in build dir
-> Found hydrogen-0.9.3-flac113.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> tar -xf hydrogen-0.9.3.tar.gz
==> Starting build()...
patching file src/lib/xml/tinyxml.h
patch unexpectedly ends in middle of line
patching file src/lib/FLACFile.cpp
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 171.
1 out of 2 hunks FAILED -- saving rejects to file src/lib/FLACFile.cpp.rej
==> ERROR: Build Failed. Aborting...
shinlun, this is what happens with checksum from extra repo:
# makepkg
==> Making package: hydrogen 0.9.3-4 (Sun Aug 5 17:42:16 EDT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading hydrogen-0.9.3.tar.gz
--17:42:17-- http://heanet.dl.sourceforge.net/source … 9.3.tar.gz
=> `hydrogen-0.9.3.tar.gz'
Resolving heanet.dl.sourceforge.net... ICE default IO error handler doing an exit(), pid = 24723, errno = 0
193.1.193.66, 2001:770:18:aa40::c101:c142
Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,771,792 (2.6M) [application/x-gzip]
100%[===============================================>] 2,771,792 91.00K/s ETA 00:00
17:42:47 (91.18 KB/s) - `hydrogen-0.9.3.tar.gz' saved [2771792/2771792]
-> Found hydrogen.desktop in build dir
-> Found hydrogen-gcc-4.1.patch in build dir
-> Found hydrogen-0.9.3-flac113.patch in build dir
==> Validating source files with md5sums
hydrogen-0.9.3.tar.gz ... Passed
hydrogen.desktop ... FAILED
hydrogen-gcc-4.1.patch ... FAILED
hydrogen-0.9.3-flac113.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
removed checksum and used your patch for flac:
# makepkg
==> Making package: hydrogen 0.9.3-4 (Sun Aug 5 17:46:30 EDT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found hydrogen-0.9.3.tar.gz in build dir
-> Found hydrogen.desktop in build dir
-> Found hydrogen-gcc-4.1.patch in build dir
-> Found hydrogen-0.9.3-flac113.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> tar -xf hydrogen-0.9.3.tar.gz
==> Starting build()...
patching file src/lib/xml/tinyxml.h
patch unexpectedly ends in middle of line
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- flac_file.cpp.orig 2007-06-07 21:44:46.000000000 +0800
|+++ flac_file.cpp 2007-06-07 21:47:03.000000000 +0800
--------------------------
File to patch:
this is the old flac patch:
# makepkg
==> Making package: hydrogen 0.9.3-4 (Sun Aug 5 17:47:45 EDT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found hydrogen-0.9.3.tar.gz in build dir
-> Found hydrogen.desktop in build dir
-> Found hydrogen-gcc-4.1.patch in build dir
-> Found hydrogen-0.9.3-flac113.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> tar -xf hydrogen-0.9.3.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
patching file src/lib/xml/tinyxml.h
patch unexpectedly ends in middle of line
patching file src/lib/FLACFile.cpp
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 171.
1 out of 2 hunks FAILED -- saving rejects to file src/lib/FLACFile.cpp.rej
==> ERROR: Build Failed. Aborting...
this is after doing what you suggested.
Last edited by funkmuscle (2007-08-05 17:56:17)
Offline
also, rebuilding Hydrogen from extra fails.
# makepkg
==> Making package: hydrogen 0.9.3-4 (Sun Aug 5 01:15:20 EDT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found hydrogen-0.9.3.tar.gz in build dir
-> Found hydrogen.desktop in build dir
-> Found hydrogen-gcc-4.1.patch in build dir
-> Found hydrogen-0.9.3-flac113.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> tar -xf hydrogen-0.9.3.tar.gz
==> Starting build()...
patching file src/lib/xml/tinyxml.h
patch unexpectedly ends in middle of line
patching file src/lib/FLACFile.cpp
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 171.
1 out of 2 hunks FAILED -- saving rejects to file src/lib/FLACFile.cpp.rej
==> ERROR: Build Failed. Aborting...
The patches work fine here with 0.9.3 source code. Maybe you are using a previously-modified PKGBUILD for it lacks checksum fields; try to check out the latest one from the abs tree. Also you are using a source tarball in the same directory with PKGBUILD; delete that one and let makepkg download it from the net to see if the patches work. I guess you might be using a custom patched source tarball for I see no reason why you removed the checksum fields.
Offline
I get zero xruns with latency at 5.33msec using the earlier rt kernel and everything works great.
I'll stick with it for now then.
Tahnx for the offer m00tp01nt.
Offline
for Hydrogen, the reason the checksum were removed is because they failed. whenever a checksum fails, I remove it from the PKGBUILD. Never had an issue with that ever.
Did what you said shinlun, this is what I get, and yes, Hydrogen is from abs:
# makepkg
==> Making package: hydrogen 0.9.3-4 (Sun Aug 5 12:39:22 EDT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading hydrogen-0.9.3.tar.gz
--12:39:23-- http://heanet.dl.sourceforge.net/source … 9.3.tar.gz
=> `hydrogen-0.9.3.tar.gz'
Resolving heanet.dl.sourceforge.net... 193.1.193.66, 2001:770:18:aa40::c101:c142
Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
-> Found hydrogen.desktop in build dir
-> Found hydrogen-gcc-4.1.patch in build dir
-> Found hydrogen-0.9.3-flac113.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> tar -xf hydrogen-0.9.3.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
patching file src/lib/xml/tinyxml.h
patch unexpectedly ends in middle of line
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- flac_file.cpp.orig 2007-06-07 21:44:46.000000000 +0800
|+++ flac_file.cpp 2007-06-07 21:47:03.000000000 +0800
--------------------------
File to patch:
Offline
I am curious about which file doesn't pass the md5 checksum for you because I just double-checked these fields and they are all OK.(it seems that your patch files got some problems from the dump).
Anyway try these steps in order:
1. rm -rf the hydrogen directory altogether from the abs tree
2. execute 'abs' to sync again
3. 'makepkg -C' to clean up your source file cache
4. now makepkg for hydrogen again
Good luck!
Offline
Hmm. Maybe it has something to do with the arch stock patches. I'm using the kernel from proaudio right now and it's pretty much xrun free, at least better than the one I compiled. I did get one, when I set the period too low-- this shortly spiked to 18 from a backend driver (this worries me a little). Any suggestions on how to reduce latency while keeping the xruns away? It could just be my pc too, single core, pentium4 2.4GHz.
Edit:
Yep. Just got a reading of 2(31) running qjackctl for 13 minutes with amSynth. I'm not sure where to go from here.
Last edited by m00tp01nt (2007-08-05 17:44:20)
Offline
m00tp01nt
I'm using an AMD single core 1.7GHZ.
I did run the hdparm app. I also don't use as must software. I'm a guitarist so I use the VST plugins for guitar, Hydrogen(when it works) for drums and Ardour.
Also Rosegarden and Seq24. Very rarely use synths.
Offline
That's weird then. Hdparm is a problem for me, but that would be for a different thread I suppose. Thanks for the reply though.
Offline
no probs!
Offline
hey shinlun,
does this mean anything?:
***************
*** 161,176 ****
}
set_metadata_ignore_all();
- set_filename( sFilename.c_str() );
- State s=init();
- if( s != FLAC__FILE_DECODER_OK ) {
ERRORLOG( "Error in init()" );
}
- if ( process_until_end_of_file() == false ) {
- ERRORLOG( "Error in process_until_end_of_file(). Filename: " + m_sFilename );
}
}
--- 160,175 ----
}
set_metadata_ignore_all();
+ FLAC__StreamDecoderInitStatus s=init(sFilename.c_str() );
+ if(s!=FLAC__STREAM_DECODER_INIT_STATUS_OK) {
ERRORLOG( "Error in init()" );
}
+ if ( process_until_end_of_stream() == false ) {
+ ERRORLOG( "[load] Error in process_until_end_of_stream()" );
}
+
}
that's what's in the "FLACFile.cpp.rej" file.
I get that after I try to run patch.
Last edited by funkmuscle (2007-08-06 12:07:49)
Offline
Ok it means a lot to me You are using my patch created for hydrogen qt4 branch(0.9.4), which doesn't work with 0.9.3. You can delete all the files under the hydrogen directory and execute 'abs' again to get the right patches from Arch's CVS. There shouldn't be any md5 checksum error for current hydrogen package.
Offline
the patch you gave is for the hydrogen-snapshot which uses qt4.
I've set my profile for qt4 since the hydrogen 0.9.3 stopped working.
Offline
I've given up on Hydrogen.
What ever I try doesn't work. I've tried the snapshot and arch-cvs. none works. I can pacman -S hydrogen, it installs, launches but can't load drumkits. getting flac errors.
but......I found this software Gneutronica which is a midi drum sequencer and works great with Qsynth and drum sf2 files.
Offline
@funkmuscle:
I just filed a bug report for this so if you can't get around it just wait for the dev to update the binary.
I noticed that you updated the makepkg dump in your post and all of the patches don't pass the md5 checksum. It's no wonder your build never passed the patching stage. You can delete all the files under the hydrogen directory and use 'abs' to sync again, if you are still get files which don't pass the checksum, then it's very very ...strange. And, no, you can't apply my patch for 0.9.4 snapshot against 0.9.3; it won't work.
Offline