View previous topic :: View next topic |
Author |
Message |
db_404 Guru
Joined: 05 Dec 2002 Posts: 336
|
Posted: Wed Nov 17, 2004 5:52 pm Post subject: Jackd 0.99 not starting |
|
|
I'm having problems with the current stable version of jackd.
This version recentlywent 'stable' and I now get
Code: |
$ jackd -d alsa
jackd 0.99.0
Copyright 2001-2003 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
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
Illegal instruction
|
As opposed to
Code: |
$ jackd -d alsa
jackd 0.98.1
Copyright 2001-2003 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
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
|
Under 0.98.1 - I reverted back to 0.98.1 in order to have a working system, I have a SB Live with a seemingly OK ALSA. It also seems like the ebuilt forces various compile flags (.e.g -ffast-math -funroll-loops -fprefetch-loop-arrays -O3) although it doesn't look like this has changed since 0.98.1 so I doubt it is the problem. |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Thu Nov 18, 2004 2:04 am Post subject: |
|
|
Well something is wrong at the compiler level. I can't imagine any other
way that you can generate an illegal instruction.
Try
Code: | # CFLAGS="" emerge jack-audio-connection-kit |
to rule this out. |
|
Back to top |
|
|
db_404 Guru
Joined: 05 Dec 2002 Posts: 336
|
Posted: Thu Nov 18, 2004 4:06 pm Post subject: |
|
|
It appears it doesn't like the march=althon - I edited the ebuild to remove that flag and now it runs. Of course now ardour won't build (looks like it's due to having 2.6 headers), but other than that..... |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Thu Nov 18, 2004 6:34 pm Post subject: |
|
|
What is your CPU? Is it an athlon tbird or an XP? |
|
Back to top |
|
|
db_404 Guru
Joined: 05 Dec 2002 Posts: 336
|
Posted: Thu Nov 18, 2004 6:42 pm Post subject: |
|
|
Its a tbird (an old and rather hot running 750Mhz.) |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Fri Nov 19, 2004 7:21 am Post subject: |
|
|
try march=athlon-tbird instead. I wouldnt be surprised if other apps
have problems too :/ |
|
Back to top |
|
|
db_404 Guru
Joined: 05 Dec 2002 Posts: 336
|
Posted: Fri Nov 19, 2004 7:08 pm Post subject: |
|
|
Oh, 0.99 is still broken for me - I was just being optimistic and hadn't given it a real test.
Interestingly I downloaded the 0.99 sources and installed form outside portage -and it works just fine (yes really tested it this time - up to and including recording through Ardour)- so I've no idea what's up with that.
I'll try the athlon-tbird march and see if that helps.
Thanks. |
|
Back to top |
|
|
db_404 Guru
Joined: 05 Dec 2002 Posts: 336
|
Posted: Fri Nov 19, 2004 9:57 pm Post subject: |
|
|
No, athlon-tbird doesn't help - it's definitely something in the ebuild though as a build from tgz works just fine. |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Fri Nov 19, 2004 10:20 pm Post subject: |
|
|
Ok, I'll try the ebuild on my tbird later for you. But the compile options
in the source may not enable optimizations that are creating the illegal
instructions. |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Fri Nov 19, 2004 10:22 pm Post subject: |
|
|
BTW can you show me your use flags?
Code: | # emerge -pv jack-audio-connection-kit |
|
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3442 Location: Gainesville, Florida
|
Posted: Mon Nov 22, 2004 12:57 pm Post subject: |
|
|
Try this boot line, and see if that helps:
jackd -d alsa -p2048 -r 48000 -S
-S forces it to try 16 bits first.
That line gives me:
wrc@mymachine ~ $ jackd -d alsa -p2048 -r 48000 -S
jackd 0.99.0
Copyright 2001-2003 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
loading driver ..
apparent rate = 48000
creating alsa driver ... hw:0|hw:0|2048|2|48000|0|0|nomon|swmeter|-|16bit
control device hw:0
configuring for 48000Hz, period = 2048 frames, buffer = 2 periods
--------------------------------------------------------------------------
with no xruns.
This is with an Athlon-xp 1700, so you might need to adjust it a bit. man:jackd in a Konqueror browser window url address line explains all the options on a nice html page instead of the konsole, and what they do.
Do you get any xruns?
wrc1944 _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.9.1 USE=experimental python3_11 |
|
Back to top |
|
|
db_404 Guru
Joined: 05 Dec 2002 Posts: 336
|
Posted: Mon Nov 22, 2004 5:34 pm Post subject: |
|
|
Use flags are:
Code: |
Calculating dependencies ...done!
[ebuild R ] media-sound/jack-audio-connection-kit-0.99.0 +alsa (-altivec) +caps -debug -doc -jack-tmpfs +oss -portaudio 0 kB
|
BTW it's not really installed, I let it install and ended up installing from the tgz over the top of the portage installed files.
make.conf is:
Code: |
CFLAGS="-march=athlon-tbird -O3 -pipe"
|
It works perfectly with a jackd built 'by hand' from source (i.e. configure, make, make install), 0.99 definitely helps with some of the problems I was having with NPTL (which was a documented issue in previous versions of jack).
In answer to the other comment, yes I do get xruns - but I think that is more due to being a slower cpu, they only really occur at times of high cpu usage, or when really piling on the effects plugins. |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Tue Nov 23, 2004 12:41 am Post subject: |
|
|
You want that jack-tmpfs flag if /tmp is mounted on a jounrlaing FS
like reiser or ext3.
Still haven't had a chance to try on my tbird. |
|
Back to top |
|
|
|