[LAD] transport/timebase calculations

2010-07-11 Thread James Morris
Hi, I can't see what's wrong with the calculations I'm performing for timebase/transport in my JACK app. I'm not sure where the error lies. I keep looking and looking at it, changing bits, experimenting, and still not getting the desired result. Everything is playing too slow. For example, @

[LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Ralf Mardorf
Hi :) today I compared a default Ubuntu Studio with and without the proprietary NVIDIA driver. Note that for Ubuntu Studio 2 tests failed because of time out errors, but even the tests that were passed with success are significantly less good, than the tests with openSUSE, were I set up audio

Re: [LAD] transport/timebase calculations

2010-07-11 Thread Gabriel M. Beddingfield
Hi Jamees, On Sun, 11 Jul 2010, James Morris wrote: Hi, I can't see what's wrong with the calculations I'm performing for timebase/transport in my JACK app. I'm not sure where the error lies. I keep looking and looking at it, changing bits, experimenting, and still not getting the desired

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Robin Gareus
Hi Ralf, You are comparing a banana and an orange to find out which one is sweeter. Given the nature of the problem it would help a lot to have as little differences between the systems under test, otherwise it's impossible to track it down. I hazard a guess that it's Ubuntu's 2.6.32

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Ralf Mardorf
Hi Robin :) On Sun, 2010-07-11 at 17:11 +0200, Robin Gareus wrote: Hi Ralf, You are comparing a banana and an orange to find out which one is sweeter. Given the nature of the problem it would help a lot to have as little differences between the systems under test, otherwise it's impossible

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Arnout Engelen
On Sun, Jul 11, 2010 at 04:53:14PM +0200, Ralf Mardorf wrote: today I compared a default Ubuntu Studio with and without the proprietary NVIDIA driver. OK, so the proprietary driver seems to yield better 'worst latency' values compared to nouveau. That's kind of odd, anything X-related would

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Ralf Mardorf
On Sun, 2010-07-11 at 17:21 +0200, Arnout Engelen wrote: On Sun, Jul 11, 2010 at 04:53:14PM +0200, Ralf Mardorf wrote: today I compared a default Ubuntu Studio with and without the proprietary NVIDIA driver. OK, so the proprietary driver seems to yield better 'worst latency' values

[LAD] Is anyone using monobristol 0.60.1?

2010-07-11 Thread Mike Cookson
I am using KX Studio. Latest Mono version is 2.4.4 from SVN, though the latest version is 2.6.4. Latest monobristol version from repository, 0.40.5, works, but bristol version there is 0.60.1. I compiled latest monobristol (0.60.1) with defaults and installed to /usr/local. It worked when

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Robin Gareus
On 07/11/2010 05:18 PM, Ralf Mardorf wrote: Hi Robin :) On Sun, 2010-07-11 at 17:11 +0200, Robin Gareus wrote: Hi Ralf, You are comparing a banana and an orange to find out which one is sweeter. Given the nature of the problem it would help a lot to have as little differences between the

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Ralf Mardorf
On Sun, 2010-07-11 at 18:07 +0200, Robin Gareus wrote: The whole output of 'ps -eo...' will be tooo long. Just have a look and check for high priority processes that are different on both systems. If you have rtirq installed: '/etc/init.d/rtirq status' will show the same list but only

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Niels Mayer
On Sun, Jul 11, 2010 at 7:53 AM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: I'll test what happens if two sound cards become one virtual sound card, http://www.jrigg.co.uk/linuxaudio/ice1712multi.html and before doing this I need to test if the second, new second hand card from Ebay isn't

Re: [LAD] transport/timebase calculations

2010-07-11 Thread James Morris
On 11 July 2010 16:02, Gabriel M. Beddingfield gabrb...@gmail.com wrote: Everything is playing too slow. For example, @ 120bpm 4/4 time, the second (or third) bar starts almost an entire beat too late. Please could someone take a look at the calculations and see if there's something

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Ralf Mardorf
I don't run desktop effects, obscure deamons, screen savers, firewalls and there are no USB devices connected etc.. The NVIDIA 7200 GS already is a replacement for the ATI Radeon X1250, I'm not able to buy a new card all the times and the issues don't seem to be caused by the graphics, but e.g.

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Niels Mayer
On Sun, Jul 11, 2010 at 11:36 AM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: This howto, http://www.jrigg.co.uk/linuxaudio/ice1712multi.html , is less confusing, why isn't it good for my Envy24 cards? On the quick I couldn't find a howto among your links. It's perfectly fine for the 1712,

Re: [LAD] transport/timebase calculations

2010-07-11 Thread James Morris
Now, for your rolling transport counter code... 262        pos-tick += (int32_t) 263            (nframes * pos-ticks_per_beat * pos-beats_per_minute 264                            / ((double)pos-frame_rate * 60.0f)); I think this suffers from truncation error.  It assumes that whenever the

Re: [LAD] transport/timebase calculations

2010-07-11 Thread James Morris
On 11 July 2010 23:09, Gabriel M. Beddingfield gabrb...@gmail.com wrote: On Sun, 11 Jul 2010, James Morris wrote: can't say i exactly understand this bbt_offset. i'd already seen it in the jack docs, and not really made sense of it there... but i've not seen it used in source code in various

Re: [LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

2010-07-11 Thread Ralf Mardorf
On Sun, 2010-07-11 at 12:02 -0700, Niels Mayer wrote: It's perfectly fine for the 1712, and the audio sync probably has nothing to do with midi jitter. Yep, I just wanted to underline that at the moment this are two cards, but one virtual. Unfortunately no kernel-rt is boot-able for my Ubuntu