snd-hdsp oddities
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
A message that is not in the archive (sent off-list or not yet received): 20040702002208.KXUI17933.smtp2.fuse.net-TAIDijpykVYqcZcGjlUOXw@public.gmane.org
Quoted 3 lines
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
Quoted 7 lines · Paul Davis
Quoted 3 lines
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_KERNELset to 2.4.19.
That is a bad attitude IMHO - if everyone follows that example, it means that 2.6 will _never_ progress. We, as kernel, developers rely completely on users running the thing to find any problems, so these types of reports are invaluable.
Ico - isn't this the same device which we recently had problems with on PCMCIA?
Signature · 11 lines
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-------------------------------------------------------
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.comA message that is not in the archive (sent off-list or not yet received): 200407020216.i622GdaC002355-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
At Thu, 01 Jul 2004 22:16:39 -0400,
Quoted 5 lines · Paul Davis
Quoted 4 lines
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.
Quoted 7 lines
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_KERNELset 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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · On Fri, 02 Jul 2004 11:40:28 +0200 Takashi Iwai…
Quoted 3 lines
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_KERNELas 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
Signature · 2 lines
Palimm Palimm! http://affenbande.org/~tapas/wiki
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Fri, 2 Jul 2004 13:26:44 +0200,
Quoted 13 lines · Florian Schmidt
Quoted 9 lines · On Fri, 02 Jul 2004 11:40:28 +0200 Takashi Iwai…
Quoted 3 lines
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.
Quoted 8 lines
Quoted 2 lines
Shouting "DON'T USE 2.6" isn't a good solution. Though, we need to inform to "set
LD_ASSUME_KERNELas 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.
Quoted 2 lines
Also, i think it would be very useful to have simplified test case which shows the "erraneous" behaviour of jack/NPTL..
Yes, definitely.
Takashi
Could you please refrain from cross posting between here and the linux-audio-dev mailing list?
For those of us who aren't on the linux-audio-dev list, we regularly get our replies rejected for no reason by the moderator there. (See attached message.)
Thanks.
Signature · 4 lines
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial coreYour request to the linux-audio-dev mailing list
Posting of your message titled "Re: [Alsa-devel] Re:
[linux-audio-dev] snd-hdsp oddities"
has been rejected by the list moderator. The moderator gave the following reason for rejecting your request:
"No reason given"
Any questions or comments should be directed to the list administrator at:
Your posts are not being rejected for "no reason," but because you need to subscribe to the list to be able to post (just like the alsa-dev list). That being said, I am cross-posting exactly for this reason, as I want to target both the subscribers of lad and alsa-dev as this pertains to both groups (especially because some of the members, such as yourself, are subscribed to just one of these).
What I can do, however, is try to use bcc fields so that way you should never see the other lists this has been cross-posted to and therefore your e-mailing client should never reply to them either. This, however will still require you to make sure that a copy of your e-mail reaches the alsa-dev list by adding it to the cc: field and therefore will ask for the same amount of attention as just removing lad list from the list of recipients...
Best wishes,
Ivica Ico Bukvic, composer & multimedia sculptor
http://meowing.ccm.uc.edu/~ico/
Quoted 14 lines
-----Original Message-----
From: Russell King [mailto:[email protected]] On Behalf Of Russell King
Sent: Monday, July 05, 2004 8:00 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Alsa-devel] snd-hdsp odditiesCould you please refrain from cross posting between here and the linux-audio-dev mailing list?
For those of us who aren't on the linux-audio-dev list, we regularly get our replies rejected for no reason by the moderator there. (See attached message.)
Quoted 7 lines
Thanks.
--
Russell KingLinux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/2.6 Serial core
-------------------------------------------------------
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