[Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
Hi again.  I had to reinstall Linux; well maybe I didn't, but I did... my / partition ran out of room in the middle of upgrading to Debian testing.  I tried a few things, but ended up installing Debian testing to the whole disk... even where Windows was...

Anyway, I applied Ingo's patch to 2.6.22-1, I selected realtime in kernel config, I did all the kernel config stuff I always do.  This time I have Jack 0.103 by default, it's in Debian testing.  The reason I didn't use testing before was because of something with either my wireless or my soundcard, but it appears to be resolved as both work.
Now I'm seeing that hw:0 is already in use.  I rebooted and double-checked that ESD is off, system beep is turned off, no sound apps are running.  I tried removing the volume control icon from my dock, no difference.
I've had this happen enough times to know that it would fit well in a Linux audio or Jack FAQ.  But a google search once again turns up only questions and things I've already checked.  Not complaining, just saying I did some homework.
UncleJesse needs our help, boys.

My Jack I/O:

07:57:31.999 Patchbay deactivated.
07:57:32.077 Statistics reset.
07:57:32.228 MIDI connection graph change.
JACK tmpdir identified as [/dev/shm]
07:57:32.315 MIDI connection change.
07:57:33.755 Startup script...
07:57:33.755 artsshell -q terminate
JACK tmpdir identified as [/dev/shm]
can't create mcop directory
Creating link /home/chuckk/.kde/socket-UncleJesse.
07:57:34.074 Startup script terminated with exit status=256.
07:57:34.074 JACK is starting...
07:57:34.074 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
07:57:34.083 JACK was started with PID=3054 (0xbee).
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 ..
Enhanced3DNow! detected
SSE2 detected
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
the playback device "hw:0" is already in use. Please stop the application using it and run JACK again
cannot load driver module alsa
no message buffer overruns
07:57:34.147 JACK was stopped successfully.
07:57:34.148 Post-shutdown script...
07:57:34.148 killall jackd
jackd: no process killed
07:57:34.363 Post-shutdown script terminated with exit status=256.
07:57:36.142 Could not connect to JACK server as client. Please check the messages window for more info.
JACK tmpdir identified as [/dev/shm]

Thanks again.
-Chuckk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Florian Paul Schmidt-2
On Tuesday 17 July 2007, Chuckk Hubbard wrote:

> Hi again.  I had to reinstall Linux; well maybe I didn't, but I did... my /
> partition ran out of room in the middle of upgrading to Debian testing.  I
> tried a few things, but ended up installing Debian testing to the whole
> disk... even where Windows was...
>
> Anyway, I applied Ingo's patch to 2.6.22-1, I selected realtime in kernel
> config, I did all the kernel config stuff I always do.  This time I have
> Jack 0.103 by default, it's in Debian testing.  The reason I didn't use
> testing before was because of something with either my wireless or my
> soundcard, but it appears to be resolved as both work.
> Now I'm seeing that hw:0 is already in use.  I rebooted and double-checked
> that ESD is off, system beep is turned off, no sound apps are running.  I
> tried removing the volume control icon from my dock, no difference.
> I've had this happen enough times to know that it would fit well in a Linux
> audio or Jack FAQ.  But a google search once again turns up only questions
> and things I've already checked.  Not complaining, just saying I did some
> homework.

try

lsof /dev/*
lsof /dev/dsp*

maybe itr shows the culprit..

> UncleJesse needs our help, boys.
>
> My Jack I/O:
>
> 07:57:31.999 Patchbay deactivated.
> 07:57:32.077 Statistics reset.
> 07:57:32.228 MIDI connection graph change.
> JACK tmpdir identified as [/dev/shm]
> 07:57:32.315 MIDI connection change.
> 07:57:33.755 Startup script...
> 07:57:33.755 artsshell -q terminate
> JACK tmpdir identified as [/dev/shm]
> can't create mcop directory
> Creating link /home/chuckk/.kde/socket-UncleJesse.
> 07:57:34.074 Startup script terminated with exit status=256.
> 07:57:34.074 JACK is starting...
> 07:57:34.074 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
> 07:57:34.083 JACK was started with PID=3054 (0xbee).
> 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 ..
> Enhanced3DNow! detected
> SSE2 detected
> apparent rate = 44100
> creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
> control device hw:0
> the playback device "hw:0" is already in use. Please stop the application
> using it and run JACK again
> cannot load driver module alsa
> no message buffer overruns
> 07:57:34.147 JACK was stopped successfully.
> 07:57:34.148 Post-shutdown script...
> 07:57:34.148 killall jackd
> jackd: no process killed
> 07:57:34.363 Post-shutdown script terminated with exit status=256.
> 07:57:36.142 Could not connect to JACK server as client. Please check the
> messages window for more info.
> JACK tmpdir identified as [/dev/shm]
>
> Thanks again.
> -Chuckk



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

lars.luthman (Bugzilla)
In reply to this post by Chuckk Hubbard
On Tue, 2007-07-17 at 12:09 -0400, Chuckk Hubbard wrote:

> Hi again.  I had to reinstall Linux; well maybe I didn't, but I did...
> my / partition ran out of room in the middle of upgrading to Debian
> testing.  I tried a few things, but ended up installing Debian testing
> to the whole disk... even where Windows was...
>
> Anyway, I applied Ingo's patch to 2.6.22-1, I selected realtime in
> kernel config, I did all the kernel config stuff I always do.  This
> time I have Jack 0.103 by default, it's in Debian testing.  The reason
> I didn't use testing before was because of something with either my
> wireless or my soundcard, but it appears to be resolved as both work.
> Now I'm seeing that hw:0 is already in use.  I rebooted and double-checked
> that ESD is off, system beep is turned off, no sound apps are running.
> I tried removing the volume control icon from my dock, no difference.
'fuser -v /dev/snd/pcmC0*' should show you what process is hogging the
device.


-ll

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
In reply to this post by Chuckk Hubbard
Hi Federico.  I did discover that command searching for "which application" "using a device" "linux" on Google.
It was Firefox!  I had tried unsuccessfully to play a wav file from the internet earlier; now after closing and opening Firefox it's not a problem.
Now I just have:

08:14:38.741 Patchbay deactivated.
08:14:38.794 Statistics reset.
08:14:38.852 MIDI connection graph change.
JACK tmpdir identified as [/dev/shm]
08:14:39.007 MIDI connection change.
08:14:40.687 Startup script...
08:14:40.688 artsshell -q terminate
JACK tmpdir identified as [/dev/shm]
can't create mcop directory
Creating link /home/chuckk/.kde/socket-UncleJesse.
08:14:41.011 Startup script terminated with exit status=256.
08:14:41.012 JACK is starting...
08:14:41.012 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
08:14:41.034 JACK was started with PID=3313 (0xcf1).
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 ..
Enhanced3DNow! detected
SSE2 detected
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
08:14: 43.069 Server configuration saved to "/home/chuckk/.jackdrc".
08:14:43.071 Statistics reset.
08:14:43.439 Client activated.
08:14:43.443 Audio connection change.
08:14:43.485 Audio connection graph change.
08:14:43.533 XRUN callback (1).
JACK tmpdir identified as [/dev/shm]
Enhanced3DNow! detected
SSE2 detected
08:14:45.456 XRUN callback (26 skipped).
jackd watchdog: timeout - killing jackd
zombified - calling shutdown handler
08:14:46.182 Shutdown notification.
08:14:46.184 Client deactivated.
08:14:46.187 JACK was stopped successfully.
08:14:46.188 Post-shutdown script...
08:14:46.188 killall jackd
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
jackd: no process killed
08:14:46.440 Post-shutdown script terminated with exit status=256.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Florian Paul Schmidt-2
In reply to this post by Florian Paul Schmidt-2
On Tuesday 17 July 2007, Florian Schmidt wrote:

> On Tuesday 17 July 2007, Chuckk Hubbard wrote:
> > Hi again.  I had to reinstall Linux; well maybe I didn't, but I did... my
> > / partition ran out of room in the middle of upgrading to Debian testing.
> >  I tried a few things, but ended up installing Debian testing to the
> > whole disk... even where Windows was...
> >
> > Anyway, I applied Ingo's patch to 2.6.22-1, I selected realtime in kernel
> > config, I did all the kernel config stuff I always do.  This time I have
> > Jack 0.103 by default, it's in Debian testing.  The reason I didn't use
> > testing before was because of something with either my wireless or my
> > soundcard, but it appears to be resolved as both work.
> > Now I'm seeing that hw:0 is already in use.  I rebooted and
> > double-checked that ESD is off, system beep is turned off, no sound apps
> > are running.  I tried removing the volume control icon from my dock, no
> > difference. I've had this happen enough times to know that it would fit
> > well in a Linux audio or Jack FAQ.  But a google search once again turns
> > up only questions and things I've already checked.  Not complaining, just
> > saying I did some homework.
>
> try
>
> lsof /dev/*
> lsof /dev/dsp*
>
> maybe itr shows the culprit..

or maybe

fuser

with the same arguments





-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
In reply to this post by Chuckk Hubbard
Here is my kernel .config:
http://www.badmuthahubbard.com/ingo.config.txt

And the contents of /proc/interrupts:
http://www.badmuthahubbard.com/procinterrupts.txt


I wasn't sure about this ACPI stuff; I read that it's bad for latency, but I'm not keen on leaving my comp not knowing its own CPU temperature.  I don't know much about power management, though; will disabling the ACPI thermal sensor leave my laptop unguarded, or is there some other module that it would fall back on?
Any other non-obsolete suggestions welcome as well.

Thanks.
-Chuckk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
lsmod:
http://www.badmuthahubbard/lsmod.txt

On 7/17/07, Chuckk Hubbard <[hidden email]> wrote:
Here is my kernel .config:
<a href="http://www.badmuthahubbard.com/ingo.config.txt" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.badmuthahubbard.com/ingo.config.txt

And the contents of /proc/interrupts:
<a href="http://www.badmuthahubbard.com/procinterrupts.txt" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.badmuthahubbard.com/procinterrupts.txt


I wasn't sure about this ACPI stuff; I read that it's bad for latency, but I'm not keen on leaving my comp not knowing its own CPU temperature.  I don't know much about power management, though; will disabling the ACPI thermal sensor leave my laptop unguarded, or is there some other module that it would fall back on?
Any other non-obsolete suggestions welcome as well.

Thanks.
-Chuckk



--
http://www.badmuthahubbard.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
Oop:
http://www.badmuthahubbard.com/lsmod.txt

On 7/17/07, Chuckk Hubbard <[hidden email]> wrote:
lsmod:
<a href="http://www.badmuthahubbard/lsmod.txt" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.badmuthahubbard/lsmod.txt


On 7/17/07, Chuckk Hubbard <[hidden email]> wrote:
Here is my kernel .config:
<a href="http://www.badmuthahubbard.com/ingo.config.txt" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.badmuthahubbard.com/ingo.config.txt

And the contents of /proc/interrupts:
<a href="http://www.badmuthahubbard.com/procinterrupts.txt" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.badmuthahubbard.com/procinterrupts.txt


I wasn't sure about this ACPI stuff; I read that it's bad for latency, but I'm not keen on leaving my comp not knowing its own CPU temperature.  I don't know much about power management, though; will disabling the ACPI thermal sensor leave my laptop unguarded, or is there some other module that it would fall back on?
Any other non-obsolete suggestions welcome as well.

Thanks.
-Chuckk



--
<a href="http://www.badmuthahubbard.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.badmuthahubbard.com



--
http://www.badmuthahubbard.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Florian Paul Schmidt-2
In reply to this post by Chuckk Hubbard
On Tuesday 17 July 2007, Chuckk Hubbard wrote:

> Hi Federico.  I did discover that command searching for "which application"
> "using a device" "linux" on Google.
> It was Firefox!  I had tried unsuccessfully to play a wav file from the
> internet earlier; now after closing and opening Firefox it's not a problem.
> Now I just have:
>
> 08:14:38.741 Patchbay deactivated.
> 08:14:38.794 Statistics reset.
> 08:14:38.852 MIDI connection graph change.
> JACK tmpdir identified as [/dev/shm]
> 08:14:39.007 MIDI connection change.
> 08:14:40.687 Startup script...
> 08:14:40.688 artsshell -q terminate
> JACK tmpdir identified as [/dev/shm]
> can't create mcop directory
> Creating link /home/chuckk/.kde/socket-UncleJesse.
> 08:14:41.011 Startup script terminated with exit status=256.
> 08:14:41.012 JACK is starting...
> 08:14:41.012 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
> 08:14:41.034 JACK was started with PID=3313 (0xcf1).
> 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 ..
> Enhanced3DNow! detected
> SSE2 detected
> 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
> 08:14:43.069 Server configuration saved to "/home/chuckk/.jackdrc".
> 08:14:43.071 Statistics reset.
> 08:14:43.439 Client activated.
> 08:14:43.443 Audio connection change.
> 08:14:43.485 Audio connection graph change.
> 08:14:43.533 XRUN callback (1).
> JACK tmpdir identified as [/dev/shm]
> Enhanced3DNow! detected
> SSE2 detected
> 08:14:45.456 XRUN callback (26 skipped).
> jackd watchdog: timeout - killing jackd
> zombified - calling shutdown handler
> 08:14:46.182 Shutdown notification.
> 08:14:46.184 Client deactivated.
> 08:14:46.187 JACK was stopped successfully.
> 08:14:46.188 Post-shutdown script...
> 08:14:46.188 killall jackd
> cannot send request type 7 to server
> cannot read result for request type 7 from server (Broken pipe)
> cannot send request type 7 to server
> cannot read result for request type 7 from server (Broken pipe)
> jackd: no process killed
> 08:14:46.440 Post-shutdown script terminated with exit status=256.

with intel_hda, first try if playbackonly works with jack:

jackd -R -d alsa -P

or something [check manpage]..

If that works, we'll see further

--
Palimm Palimm!
http://tapas.affenbande.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
On 7/17/07, Florian Schmidt <[hidden email]> wrote:
with intel_hda, first try if playbackonly works with jack:

jackd -R -d alsa -P

or something [check manpage]..

If that works, we'll see further

Hi Florian.  Thanks for the tip; playback only does work.  I started Pure Data through Jack and ran its "test audio" patch, and got sound!  It skipped whenever I moved the mouse, so I'm guessing there's another step I'll have to look into as far as that, but it didn't kill Jack and I saw no xruns on the message window - even while hearing the skipping.

Any idea what I can do next?
I've checked out your page before, btw, it's very helpful.
-Chuckk

--
http://www.badmuthahubbard.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

lars.luthman (Bugzilla)
On Tue, 2007-07-17 at 14:24 -0400, Chuckk Hubbard wrote:

> On 7/17/07, Florian Schmidt <[hidden email]> wrote:
>         with intel_hda, first try if playbackonly works with jack:
>        
>         jackd -R -d alsa -P
>        
>         or something [check manpage]..
>        
>         If that works, we'll see further
>
> Hi Florian.  Thanks for the tip; playback only does work.  I started
> Pure Data through Jack and ran its "test audio" patch, and got sound!
> It skipped whenever I moved the mouse, so I'm guessing there's another
> step I'll have to look into as far as that, but it didn't kill Jack
> and I saw no xruns on the message window - even while hearing the
> skipping.
Then it's most likely PD's fault, i.e. something is wrong inside PD that
JACK has nothing to do with.


--ll

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Florian Paul Schmidt-2
In reply to this post by Chuckk Hubbard
On Tuesday 17 July 2007, Chuckk Hubbard wrote:

> On 7/17/07, Florian Schmidt <[hidden email]> wrote:
> > with intel_hda, first try if playbackonly works with jack:
> >
> > jackd -R -d alsa -P
> >
> > or something [check manpage]..
> >
> > If that works, we'll see further
>
> Hi Florian.  Thanks for the tip; playback only does work.  I started Pure
> Data through Jack and ran its "test audio" patch, and got sound!  It
> skipped whenever I moved the mouse, so I'm guessing there's another step
> I'll have to look into as far as that, but it didn't kill Jack and I saw no
> xruns on the message window - even while hearing the skipping.
>
> Any idea what I can do next?
> I've checked out your page before, btw, it's very helpful.
> -Chuckk

Yeah,

it's a pretty commonly known issue with some intel_hda stuff that full duplex
might not work at all or only with some special mixer settings. People have
less probs with playback only though :)

Send us the output of the command

amixer

please. Maybe some  fellow intel_hda user finds the relevant switch..

The xruns:

you wrote you installed a -rt kernel. Please run jackd with the -P option e.g.

jackd -R -P 70 -d alsa -P

And also raise the prio of the soundcard irq handler..

Flo



--
Palimm Palimm!
http://tapas.affenbande.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
On 7/17/07, Florian Schmidt <[hidden email]> wrote:
 
On Tuesday 17 July 2007, Chuckk Hubbard wrote:

> On 7/17/07, Florian Schmidt <[hidden email]> wrote:
> > with intel_hda, first try if playbackonly works with jack:
> >
> > jackd -R -d alsa -P
> >
> > or something [check manpage]..
> >
> > If that works, we'll see further
>
> Hi Florian.  Thanks for the tip; playback only does work.  I started Pure
> Data through Jack and ran its "test audio" patch, and got sound!  It
> skipped whenever I moved the mouse, so I'm guessing there's another step
> I'll have to look into as far as that, but it didn't kill Jack and I saw no
> xruns on the message window - even while hearing the skipping.
>
> Any idea what I can do next?
> I've checked out your page before, btw, it's very helpful.
> -Chuckk

Yeah,

it's a pretty commonly known issue with some intel_hda stuff that full duplex
might not work at all or only with some special mixer settings. People have
less probs with playback only though :)

Send us the output of the command

amixer

please. Maybe some  fellow intel_hda user finds the relevant switch..

The xruns:

you wrote you installed a -rt kernel. Please run jackd with the -P option e.g.

jackd -R -P 70 -d alsa -P

And also raise the prio of the soundcard irq handler..


OK, I will look into that.  In the meantime:

chuckk@UncleJesse:~$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [-9.00dB] [on]
  Front Right: Playback 25 [81%] [-9.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-46.50dB] [on]
  Front Right: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [ 0.00dB] [on]
  Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Capture Mux',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 4
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Caller ID',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Front Mic' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Off-hook',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

ken restivo-3
In reply to this post by Florian Paul Schmidt-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jul 17, 2007 at 06:20:25PM +0200, Florian Schmidt wrote:

> On Tuesday 17 July 2007, Florian Schmidt wrote:
> > On Tuesday 17 July 2007, Chuckk Hubbard wrote:
> > > Hi again.  I had to reinstall Linux; well maybe I didn't, but I did... my
> > > / partition ran out of room in the middle of upgrading to Debian testing.
> > >  I tried a few things, but ended up installing Debian testing to the
> > > whole disk... even where Windows was...
> > >
> > > Anyway, I applied Ingo's patch to 2.6.22-1, I selected realtime in kernel
> > > config, I did all the kernel config stuff I always do.  This time I have
> > > Jack 0.103 by default, it's in Debian testing.  The reason I didn't use
> > > testing before was because of something with either my wireless or my
> > > soundcard, but it appears to be resolved as both work.
> > > Now I'm seeing that hw:0 is already in use.  I rebooted and
> > > double-checked that ESD is off, system beep is turned off, no sound apps
> > > are running.  I tried removing the volume control icon from my dock, no
> > > difference. I've had this happen enough times to know that it would fit
> > > well in a Linux audio or Jack FAQ.  But a google search once again turns
> > > up only questions and things I've already checked.  Not complaining, just
> > > saying I did some homework.
> >
> > try
> >
> > lsof /dev/*
> > lsof /dev/dsp*
> >
> > maybe itr shows the culprit..
>
> or maybe
>
> fuser
>
> with the same arguments
>
>

I'll make a wild guess: either firefox or KDE.

- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGnSMMe8HF+6xeOIcRAr8oAJ4psEN4WJzaRE7DRRNortQmwavqzwCfYIIR
uYj8nxZMrIoKnD/AzxdY5SQ=
=7ZEZ
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
In reply to this post by lars.luthman (Bugzilla)
On 7/17/07, Lars Luthman <[hidden email]> wrote:
On Tue, 2007-07-17 at 14:24 -0400, Chuckk Hubbard wrote:
> Hi Florian.  Thanks for the tip; playback only does work.  I started
> Pure Data through Jack and ran its "test audio" patch, and got sound!
> It skipped whenever I moved the mouse, so I'm guessing there's another
> step I'll have to look into as far as that, but it didn't kill Jack
> and I saw no xruns on the message window - even while hearing the
> skipping.

Then it's most likely PD's fault, i.e. something is wrong inside PD that
JACK has nothing to do with.

Are you sure this isn't commercial tech support?  jk
Something similar used to happen in Windows with Pd, but only when running a patch, and then only in a window where I had Pd programmed to follow mouse movements.  I haven't yet compiled Csound, which is the other program I hope to use with Jack, but I'll check with some other program.

-Chuckk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Fernando Lopez-Lezcano
In reply to this post by Chuckk Hubbard
On Tue, 2007-07-17 at 14:24 -0400, Chuckk Hubbard wrote:

> On 7/17/07, Florian Schmidt <[hidden email]> wrote:
>         with intel_hda, first try if playbackonly works with jack:
>        
>         jackd -R -d alsa -P
>        
>         or something [check manpage]..
>        
>         If that works, we'll see further
>
> Hi Florian.  Thanks for the tip; playback only does work.  I started
> Pure Data through Jack and ran its "test audio" patch, and got sound!
> It skipped whenever I moved the mouse, so I'm guessing there's another
> step I'll have to look into as far as that, but it didn't kill Jack
> and I saw no xruns on the message window - even while hearing the
> skipping.

Try running pd with "pd -jack -rt", that will use rt scheduling in the
pd threads.

[for hda-intel you could also try 3 periods instead of 2, that sometimes
helps]

-- Fernando


> Any idea what I can do next?
> I've checked out your page before, btw, it's very helpful.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
In reply to this post by Florian Paul Schmidt-2
On 7/17/07, Florian Schmidt <[hidden email]> wrote:

it's a pretty commonly known issue with some intel_hda stuff that full duplex
might not work at all or only with some special mixer settings. People have
less probs with playback only though :)

Send us the output of the command

amixer

please. Maybe some  fellow intel_hda user finds the relevant switch..

The xruns:

you wrote you installed a -rt kernel. Please run jackd with the -P option e.g.

jackd -R -P 70 -d alsa -P

And also raise the prio of the soundcard irq handler..

Flo

Thanks, Flo, I think I got it sorted out!
I wept sorely over the duplex thing, and then I realized that it was never my intention to do duplex using the onboard sound: I just bought a Zoom H4 field mic/USB interface for input, because it also does analog preamp for line inputs and mixing of 2 sources.  My intention was to do input from this and output from the soundcard, and with Jack split between them I seem to be able to get away with 17.4 ms: -R -P70 -dalsa -dhw:0 -r44100 -p256 -n3 -D -Chw:1,0 (this taken from the qjackctl messages) - it seemed like I was getting better response with command line Jack for just playback, so I might be able to improve the 17.4 from the command line.  The 17.4 gave me no xruns while running the input through a little bit of Pd processing, too.

Your pages were a great help; I remembered your tips being far more confusing than they are now, I guess because I just have more experience with non-audio Linux.  Or maybe because I'm genuinely interested in learning all of it.  All that IRQ priority stuff made the difference.

In spite of being very busy with all the stuff I've put off to get my audio set up, I'd like to volunteer to write an html page, or perhaps a Wiki page, incorporating this info, or perhaps, if anyone else sees the benefit, to suggest simply referring Jack website FAQ-askers to Flo's page.  I think a Wiki could be good, simply because people can update it as things change, and if some people (like me) fall out of keeping up-to-date with things, others hopefully won't, and will...
I believe that if I had found a page advocating Ingo's patch, proper kernel config, and a little info on IRQ handling and chrt linked from the Jack website, I would never have shown up on this list.  Don't get all misty-eyed now.

-Chuckk

--
http://www.badmuthahubbard.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
In reply to this post by ken restivo-3
On 7/17/07, Ken Restivo <[hidden email]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'll make a wild guess: either firefox or KDE.

Hi Ken.
Good guess, it was firefox/iceweasel.  I've never bothered with KDE, and I'm currently trying to set up fluxbox.
Does anyone know if there's a way to refuse Firefox access to the soundcard?  I suppose it claims it for playing web content, which I will want to do sometimes, but other times - hopefully more times - I'd like to be working with Csound or Pd and be able to look stuff up online.

-Chuckk

--
http://www.badmuthahubbard.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

Chuckk Hubbard
In reply to this post by Fernando Lopez-Lezcano
On 7/17/07, Fernando Lopez-Lezcano <[hidden email]> wrote:
Try running pd with "pd -jack -rt", that will use rt scheduling in the
pd threads.

Beautiful.  Rock solid.  Thanks!

[for hda-intel you could also try 3 periods instead of 2, that sometimes
helps]

Yup, that seems to do it!

-Chuckk

--
http://www.badmuthahubbard.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Jackit-users] Linux reinstalled, Jack .103, Ingo's patch, config_rt, /etc/security/limits.conf edited, jack dies

ken restivo-3
In reply to this post by Chuckk Hubbard
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jul 17, 2007 at 06:33:20PM -0400, Chuckk Hubbard wrote:

> On 7/17/07, Ken Restivo <[hidden email]> wrote:
> >
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >I'll make a wild guess: either firefox or KDE.
>
>
> Hi Ken.
> Good guess, it was firefox/iceweasel.  I've never bothered with KDE, and I'm
> currently trying to set up fluxbox.
> Does anyone know if there's a way to refuse Firefox access to the
> soundcard?  I suppose it claims it for playing web content, which I will
> want to do sometimes, but other times - hopefully more times - I'd like to
> be working with Csound or Pd and be able to look stuff up online.
>

I launch jackd first, then I fire up Iceweasel.

Iceweasel gets EBUSY-blocked by jackd, and gives up.

There is supposedly some trick to get firefox to use jackplug, but I've never figured out what it is or how to get it to work. I run firefox silently instead.

I use videodl.org and mplayer to view all the youtube videos that people send me, so I don't need sound in firefox.

- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGnUo4e8HF+6xeOIcRAq2uAKDa02upYGacoQ8TqmucCB1+72YAywCg57Vl
TbAlxZFkKk67rVsPKf1Q/xQ=
=FPId
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
12