Jouni Rinne | 1 Aug 07:45 2008

Re: Jack svn issues

Rui Nuno Capela kirjoitti:
> hi Jouni,
> 
> On Fri, July 18, 2008 07:16, Jouni Rinne wrote:
>> 2) Qsynth-0.3.3 seems to have severe trouble with multiple engines. If it
>> is started with two engines, autoconnection enabled, Qsynth does not get
>> any connection to jackd, but exits with an error. If started with two
>> engines and autoconnection *disabled*, sometimes the same thing happens,
>> sometimes not. I'm sorry, I haven't been able to figure out why this
>> behaviour is not consistent...
>>
>> (Rui, if you are reading this: could you please in the next Qsynth
>> version change the default setting of Audio > Auto Connect JACK Outputs
>> to false, when creating new engines? So I don't have to remember to
>> uncheck it every time.)
>>
> 
> i'm somewhat reluctant to change the default, qsynth's jack auto-connect
> option is set as is as it ever was since its inception and that is quite
> some time (5 years now:)
>

OK, I understand that :)

> re. your issues with jackd 0.112, i'll suggest you try change your setup
> from scratch and test what else is causing the trouble. start with a bare
> minimal and then retest step by step until things start to break apart.
> 
> for example: start with a plain minimal jackd command line, without midi
> support (eg. -Xnone), and don't start lashd or anything else as i think
(Continue reading)

James Evans | 1 Aug 15:13 2008
Picon

Problems building jack from svn

Hi,

I've just installed FFADO 2.0 beta6 and compiled JACK from the 0.109.2
source no problem. However, running jackd -d firewire gives me:

firewire ERR: Incompatible libffado version! (libffado 1.999.36-)
cannot load driver module firewire

It's been suggested (FFADO-user list and FFADO install docs) that I
build jack from svn. I get the following though (configure seems fine,
make throws errors):

./configure output:
http://pastebin.com/m78857572

make output:
http://pastebin.com/m346203d6

I'm running Debian Etch (2.6.23-rt1 kernel)

Any help appreciated.

Cheers,

Jim.
--

-- 
James Evans
w: www.jamesevans.net
e: info <at> jamesevans.net
t: +44 (0) 117 904 1486
(Continue reading)

Juuso Alasuutari | 1 Aug 17:11 2008
Picon

Re: Problems building jack from svn

James Evans wrote:
> It's been suggested (FFADO-user list and FFADO install docs) that I
> build jack from svn. I get the following though (configure seems fine,
> make throws errors):
> 
> ./configure output:
> http://pastebin.com/m78857572
> 
> make output:
> http://pastebin.com/m346203d6

What architecture are you building on? Looks like you need to define 
__USE_UNIX98 before including pthread.h. Try this patch:

Index: jack/engine.h
===================================================================
--- jack/engine.h	(revision 2761)
+++ jack/engine.h	(working copy)
 <at>  <at>  -21,6 +21,9  <at>  <at> 
  #ifndef __jack_engine_h__
  #define __jack_engine_h__

+/* For pthread_rwlock_t */
+#define __USE_UNIX98
+
  #include <jack/jack.h>
  #include <jack/internal.h>
  #include <jack/driver_interface.h>
Juuso Alasuutari | 1 Aug 18:05 2008
Picon

Re: Problems building jack from svn

James Evans wrote:
> Hi Juuso,
> 
> Thanks for your quick reply.
> 
> Sorry I did put this is my first post, not sure if you're not seeing the
> bottom of it for some reason:
> 
> I'm running Debian Etch (2.6.23-rt1 kernel)

I did see it, I just quoted a part of your post. The kernel should be fine.

> I've applied the patch and get the same think happen albeit the error
> (obviously) reports a different line number now:
> 
> ../jack/engine.h:82: error: expected specifier-qualifier-list before
> 'pthread_rwlock_t'

OK, want to go hunting? :) Try adding '#define __USE_UNIX98' right above 
'#include <pthread.h>' to these files in jack/: jack.h, thread.h, 
internal.h, port.h, and driver.h. Do it one file at a time to make sure 
you spot the correct one; I'd start with jack.h.

Juuso
Edwin van den Oetelaar | 1 Aug 18:45 2008

Simple Client example may be not a correct example (broken)

Hello Everybody,

I am trying to understand the simple_client, but I think this example is 
broken.

http://subversion.jackaudio.org/jack/jack2/trunk/jackmp/example-clients/simple_client.c 

I am seeing that

/* a simple state machine for this client */
volatile enum {
    Init,
    Run,
    Exit
} client_state = Init;

So that means client_state is initialised to "Init". So far so good.

At the end we wait for the state to have changed ;

while (client_state != Exit) {
#ifdef WIN32
  Sleep(1000);
#else
 sleep (1);
#endif
}

However, never in the program is client_state referenced or changed to 
Exit or any other state.
(Continue reading)

James Evans | 1 Aug 18:48 2008
Picon

Re: Problems building jack from svn

Juuso Alasuutari wrote:
> James Evans wrote:
>> Hi Juuso,
>>
>> Thanks for your quick reply.
>>
>> Sorry I did put this is my first post, not sure if you're not seeing the
>> bottom of it for some reason:
>>
>> I'm running Debian Etch (2.6.23-rt1 kernel)
> 
> I did see it, I just quoted a part of your post. The kernel should be fine.
> 
>> I've applied the patch and get the same think happen albeit the error
>> (obviously) reports a different line number now:
>>
>> ../jack/engine.h:82: error: expected specifier-qualifier-list before
>> 'pthread_rwlock_t'
> 
> OK, want to go hunting? :) Try adding '#define __USE_UNIX98' right above
> '#include <pthread.h>' to these files in jack/: jack.h, thread.h,
> internal.h, port.h, and driver.h. Do it one file at a time to make sure
> you spot the correct one; I'd start with jack.h.
> 

Yep, I'm up for a bit of hackery :) Can't do this right now but will try
this evening hopefully. Thanks again.

Jim.

(Continue reading)

Stéphane Letz | 1 Aug 18:55 2008
Picon

Re: Simple Client example may be not a correct example (broken)


Le 1 août 08 à 18:45, Edwin van den Oetelaar a écrit :

> Hello Everybody,
>
> I am trying to understand the simple_client, but I think this  
> example is broken.
>
> http://subversion.jackaudio.org/jack/jack2/trunk/jackmp/example-clients/simple_client.c
>
> I am seeing that
>
> /* a simple state machine for this client */
> volatile enum {
>   Init,
>   Run,
>   Exit
> } client_state = Init;
>
> So that means client_state is initialised to "Init". So far so good.
>
> At the end we wait for the state to have changed ;
>
> while (client_state != Exit) {
> #ifdef WIN32
> Sleep(1000);
> #else
> sleep (1);
> #endif
> }
(Continue reading)

howardiyoung | 1 Aug 19:00 2008
Picon

RME DIGI 9652 Hardware Monitor

Hello,

I think that hwmon is not working for me. The details are below but the error i experience is copied here to
save time for anyone who knows exactly what is wrong:
ALSA/Hammerfall: cannot set input monitoring (No such file or directory)

Am I wrong in thinking that the DIGI 9652 supports this?

dude <at> sopous:~$ uname -r
2.6.24.3-rt3

dude <at> sopous:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 10)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
00:09.3 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
00:0c.0 Multimedia audio controller: Xilinx Corporation RME Digi9652 (Hammerfall) (rev 03)
00:0d.0 Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)

dude <at> sopous:~$ jackd -R -d alsa --device hw:0 -H
(Continue reading)

Edwin van den Oetelaar | 1 Aug 19:12 2008

Re: Simple Client example may be not a correct example (broken)

Stéphane Letz schreef:
>
> Le 1 août 08 à 18:45, Edwin van den Oetelaar a écrit :
>
>> Hello Everybody,
>>
>> I am trying to understand the simple_client, but I think this example 
>> is broken.
>>
>> http://subversion.jackaudio.org/jack/jack2/trunk/jackmp/example-clients/simple_client.c 
>>
>>
>> I am seeing that
>>
>> /* a simple state machine for this client */
>> volatile enum {
>>   Init,
>>   Run,
>>   Exit
>> } client_state = Init;
>>
>> So that means client_state is initialised to "Init". So far so good.
>>
>> At the end we wait for the state to have changed ;
>>
>> while (client_state != Exit) {
>> #ifdef WIN32
>> Sleep(1000);
>> #else
>> sleep (1);
(Continue reading)

howardiyoung | 1 Aug 19:16 2008
Picon

Re: RME DIGI 9652 Hardware Monitor

It was a repeat! Please ignore that previous email sorry.

Gmane