* Re: snd-hdsp oddities
@ 2004-07-02 12:56 ico-rDkNP/OoUoU
2004-07-02 13:15 ` Re: [linux-audio-dev] " Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: ico-rDkNP/OoUoU @ 2004-07-02 12:56 UTC (permalink / raw)
To: alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
linux-audio-dev-oG0YroN0ZiqENrSoib9kfje48wsgrGvP
Cc: ico-rDkNP/OoUoU
> Shouting "DON'T USE 2.6" isn't a good solution. Though, we need to
> inform to "set LD_ASSUME_KERNEL as a workaround"...
Pardon my ignorance but how does one do this? As a part of the config before compiling kernel or?
Also, any ideas on the odd behavior of the hdspmixer? (see my other post)
Ico
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Re: [linux-audio-dev] snd-hdsp oddities 2004-07-02 12:56 snd-hdsp oddities ico-rDkNP/OoUoU @ 2004-07-02 13:15 ` Takashi Iwai [not found] ` <s5hwu1m8s8t.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Takashi Iwai @ 2004-07-02 13:15 UTC (permalink / raw) To: ico; +Cc: alsa-devel, linux-audio-dev At Fri, 2 Jul 2004 12:56:06 +0000, <ico@fuse.net> wrote: > > > Shouting "DON'T USE 2.6" isn't a good solution. Though, we need to > > inform to "set LD_ASSUME_KERNEL as a workaround"... > > Pardon my ignorance but how does one do this? As a part of the > config before compiling kernel or? No, just set the environment variable like export LD_ASSUME_KERNEL=2.4.19 (better globally) and start jack. That's all. In this way, glibc chooses LinuxThreads instead of NPTL. > Also, any ideas on the odd behavior of the hdspmixer? (see my other post) Not checked yet... Did hdspmixer work on any versions correctly on your system? Takashi ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <s5hwu1m8s8t.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org>]
* Re: [Alsa-devel] Re: snd-hdsp oddities [not found] ` <s5hwu1m8s8t.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org> @ 2004-07-02 13:55 ` Florian Schmidt 0 siblings, 0 replies; 6+ messages in thread From: Florian Schmidt @ 2004-07-02 13:55 UTC (permalink / raw) To: The Linux Audio Developers' Mailing List Cc: tiwai-l3A5Bk7waGM, ico-rDkNP/OoUoU, alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Fri, 02 Jul 2004 15:15:46 +0200 Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org> wrote: > At Fri, 2 Jul 2004 12:56:06 +0000, > <ico-rDkNP/OoUoU@public.gmane.org> wrote: > > > > > Shouting "DON'T USE 2.6" isn't a good solution. Though, we need to > > > inform to "set LD_ASSUME_KERNEL as a workaround"... > > > > Pardon my ignorance but how does one do this? As a part of the > > config before compiling kernel or? > > No, just set the environment variable like > export LD_ASSUME_KERNEL=2.4.19 > (better globally) and start jack. That's all. yes, every jack client needs to be started with this env var set [additionally to the jack server], too.. otherwise it's not sufficient.. flo P.S.: so add export LD_ASSUME_KERNEL=2.4.19 to your ~/.bashrc or even to your ~/.profile -- Palimm Palimm! http://affenbande.org/~tapas/wiki ^ permalink raw reply [flat|nested] 6+ messages in thread
* snd-hdsp oddities @ 2004-07-02 0:22 ico-rDkNP/OoUoU 2004-07-02 2:16 ` Paul Davis 0 siblings, 1 reply; 6+ messages in thread From: ico-rDkNP/OoUoU @ 2004-07-02 0:22 UTC (permalink / raw) To: linux-audio-dev-oG0YroN0ZiqENrSoib9kfje48wsgrGvP, alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Cc: ico-rDkNP/OoUoU Hi all, I am using the latest 2.6.7 kernel (tried also 2.6.5) but with hdsp I cannot select anything lower than 1024x2 buffer settings in jackd without having massive xruns. Asoundrc is fine, modprobe.conf is fine too. The hdsp runs fine with the aforementioned settings but anything lower simply is horrible. The kernel is patched with all kinds of mm patches but I am not currently using -r option nor the realtime module (a bit scared of freezing my machine :-). Is this the best one can do in user-space? Any help is greatly appreciated! Best wishes, Ico ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: snd-hdsp oddities @ 2004-07-02 2:16 ` Paul Davis [not found] ` <200407020216.i622GdaC002355-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Paul Davis @ 2004-07-02 2:16 UTC (permalink / raw) To: The Linux Audio Developers' Mailing List Cc: ico-rDkNP/OoUoU, alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f >I am using the latest 2.6.7 kernel (tried also 2.6.5) but with hdsp I cannot s >elect anything lower than 1024x2 buffer settings in jackd without having massi >ve xruns. Give up on 2.6 for now. If you can't give up on it, then at least run all (audio) apps with the environment variable LD_ASSUME_KERNEL set to 2.4.19. When the dust settles from the kernel and NPTL, 2.6 will be more viable. Right now, even though it works for some people, its not a generally viable platform for realtime audio. --p ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <200407020216.i622GdaC002355-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>]
* Re: [Alsa-devel] Re: snd-hdsp oddities [not found] ` <200407020216.i622GdaC002355-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> @ 2004-07-02 9:40 ` Takashi Iwai [not found] ` <s5h7jtmags3.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Takashi Iwai @ 2004-07-02 9:40 UTC (permalink / raw) To: Paul Davis Cc: ico-rDkNP/OoUoU, alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, The Linux Audio Developers' Mailing List At Thu, 01 Jul 2004 22:16:39 -0400, Paul Davis wrote: > > >I am using the latest 2.6.7 kernel (tried also 2.6.5) but with hdsp I cannot s > >elect anything lower than 1024x2 buffer settings in jackd without having massi > >ve xruns. > > Give up on 2.6 for now. If you can't give up on it, then at least run > all (audio) apps with the environment variable LD_ASSUME_KERNEL set to > 2.4.19. > > When the dust settles from the kernel and NPTL, 2.6 will be more > viable. Right now, even though it works for some people, its not a > generally viable platform for realtime audio. Hmm, except for some sched policy setting problems on NPTL, I don't see bigger problem than 2.4+preempt kernel. For some people, 2.4+preempt might work _casually_ better than 2.6, but it can happen vice versa. Shouting "DON'T USE 2.6" isn't a good solution. Though, we need to inform to "set LD_ASSUME_KERNEL as a workaround"... Takashi ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <s5h7jtmags3.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org>]
* Re: [Alsa-devel] Re: snd-hdsp oddities [not found] ` <s5h7jtmags3.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org> @ 2004-07-02 11:26 ` Florian Schmidt [not found] ` <20040702132644.3697ed1d-1azMibUuNldkksQ3EBHwWw@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Florian Schmidt @ 2004-07-02 11:26 UTC (permalink / raw) To: The Linux Audio Developers' Mailing List Cc: tiwai-l3A5Bk7waGM, ico-rDkNP/OoUoU, alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Paul Davis On Fri, 02 Jul 2004 11:40:28 +0200 Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org> wrote: > > When the dust settles from the kernel and NPTL, 2.6 will be more > > viable. Right now, even though it works for some people, its not a > > generally viable platform for realtime audio. > > Hmm, except for some sched policy setting problems on NPTL, I don't > see bigger problem than 2.4+preempt kernel. For some people, > 2.4+preempt might work _casually_ better than 2.6, but it can happen > vice versa. > > Shouting "DON'T USE 2.6" isn't a good solution. Though, we need to > inform to "set LD_ASSUME_KERNEL as a workaround"... Yes, but i wonder: many other people use NPTL for many kinds of applications w/o problems.. The jack source code is too complex for me to really find my way through it, but maybe someone might consider summing up how jack handles threads and provide pointers into the source at the relevant spots.. Maybe NPTL isn't at fault, but jack.. Also, i think it would be very useful to have simplified test case which shows the "erraneous" behaviour of jack/NPTL.. flo -- Palimm Palimm! http://affenbande.org/~tapas/wiki ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20040702132644.3697ed1d-1azMibUuNldkksQ3EBHwWw@public.gmane.org>]
* Re: [Alsa-devel] Re: snd-hdsp oddities [not found] ` <20040702132644.3697ed1d-1azMibUuNldkksQ3EBHwWw@public.gmane.org> @ 2004-07-02 12:30 ` Takashi Iwai 0 siblings, 0 replies; 6+ messages in thread From: Takashi Iwai @ 2004-07-02 12:30 UTC (permalink / raw) To: Florian Schmidt Cc: ico-rDkNP/OoUoU, alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, The Linux Audio Developers' Mailing List, Paul Davis At Fri, 2 Jul 2004 13:26:44 +0200, Florian Schmidt wrote: > > On Fri, 02 Jul 2004 11:40:28 +0200 > Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org> wrote: > > > > When the dust settles from the kernel and NPTL, 2.6 will be more > > > viable. Right now, even though it works for some people, its not a > > > generally viable platform for realtime audio. > > > > Hmm, except for some sched policy setting problems on NPTL, I don't > > see bigger problem than 2.4+preempt kernel. For some people, > > 2.4+preempt might work _casually_ better than 2.6, but it can happen > > vice versa. > > > > Shouting "DON'T USE 2.6" isn't a good solution. Though, we need to > > inform to "set LD_ASSUME_KERNEL as a workaround"... > > Yes, but i wonder: many other people use NPTL for many kinds of > applications w/o problems.. The jack source code is too complex for me > to really find my way through it, but maybe someone might consider > summing up how jack handles threads and provide pointers into the > source at the relevant spots.. Maybe NPTL isn't at fault, but jack.. Well, it's hard to determine at this point. It could be a bug of pthread_setschedparm() on NPTL. > Also, i think it would be very useful to have simplified test case > which shows the "erraneous" behaviour of jack/NPTL.. Yes, definitely. Takashi ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-07-02 13:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-02 12:56 snd-hdsp oddities ico-rDkNP/OoUoU
2004-07-02 13:15 ` Re: [linux-audio-dev] " Takashi Iwai
[not found] ` <s5hwu1m8s8t.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org>
2004-07-02 13:55 ` [Alsa-devel] " Florian Schmidt
-- strict thread matches above, loose matches on Subject: below --
2004-07-02 0:22 ico-rDkNP/OoUoU
2004-07-02 2:16 ` Paul Davis
[not found] ` <200407020216.i622GdaC002355-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2004-07-02 9:40 ` [Alsa-devel] " Takashi Iwai
[not found] ` <s5h7jtmags3.wl-UC7Roit8zEholqkO4TVVkw@public.gmane.org>
2004-07-02 11:26 ` Florian Schmidt
[not found] ` <20040702132644.3697ed1d-1azMibUuNldkksQ3EBHwWw@public.gmane.org>
2004-07-02 12:30 ` Takashi Iwai
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.