|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
xruns with m-audio fast track pro on fedora 8 ccrmaHi everyone,
i have posted this on the planet ccrma list before, but i don't think it's a distribution problem. I get xruns when using a m-audio fast track pro usb soundcard at 44100Hz, frames/period=64 (same with 128, i need low latency) ,periods/buffer=2 with my new laptop when i have for example freewheeling, tapeutape and jack-rack running (xruns seem to appear when the dsp load rises, i've got none when using tapeutape alone for example). Some of them were related to the latest ccrma kernel, and they disappeared with a previous one. For the other ones, i have 4 ideas : 1) latency timer : doing lspci, all the latencies show 0 , even when i set them to antoher value with setpci. But with dmesg, i can see that at startup they are set to 64. Fernando Lopez-Lezcano told me that on some hardware latency timer couldn't be changed and that 64 could be enough actually. (forgot to say that the usb irq isn't shared) So it looks like i can't do anything for that. 2) rtc : At startup i have a message from udev : Node Symlink... node /dev/rtc already exists , link to /dev/rtc0 will not overwrite it. 3) soundcard power The fast track pro can be powered by usb or by an external power supply. Mine is usb powered for now. Is this a problem ? 4) rtirq I noticed that in the rtirq script , i have these lines: RTIRQ_NAME_LIST="rtc snd usb i8042" RTIRQ_NON_THREADED="rtc snd" Do they need to be changed when using a usb soundcard ? If anyone has an idea on that... Sorry it was quite long !! Thanks Flo _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrma2008/1/22, hitmuri@... <hitmuri@...>: Hi everyone, I got this message too, but I don't know if there is any impact on the sound system. 3) soundcard power If your sound card works with USB, you can write this : RTIRQ_NAME_LIST="rtc usb i8042" RTIRQ_NON_THREADED="rtc usb" Then you restart the script and echo his status $ sudo /etc/init.d/rtirq restart $ /etc/init.d/rtirq status You will see the priority on each IRQ. Then you have to connect your sound card on the USB port wich has the best priority. If anyone has an idea on that... Hope this help you, cheers, Mysth-R -- * *************************************************************************************** * {^_^} Mysth-R {^_^} * * http://myspace.com/mysthr * http://myspace.com/aideauditive * http://mysthr.free.fr => Site dédié à l'audio sous Fedora/PlanetCCRMA. * *************************************************************************************** _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrmaThanks for answering (maybe i could have asked on the linuxmao.org forum too ;) ) . I tried to change the rtirq script but it doesn't seem to make any difference. But while looking at the rt priorities, i noticed that the highest priority for usb was given to the irq 16 and cat /proc/interrupts tells me that on irq 16 there's uhci_hcd:usb3 and NVIDIA !!! When i plug my usb soundcard , it's always on irq 20. So it looks like the highest priority is given to the graphics card . Is this the problem to solve ? Flo > 2008/1/22, hitmuri@... <hitmuri@...>: >> >> Hi everyone, >> >> i have posted this on the planet ccrma list before, but i don't think >> it's >> a distribution problem. I get xruns when using a m-audio fast track pro >> usb soundcard at 44100Hz, frames/period=64 (same with 128, i need low >> latency) ,periods/buffer=2 with my new laptop when i have for example >> freewheeling, tapeutape and jack-rack running (xruns seem to appear when >> the dsp load rises, i've got none when using tapeutape alone for >> example). >> Some of them were related to the latest ccrma kernel, and they >> disappeared >> with a previous one. For the other ones, i have 4 ideas : >> >> 1) latency timer : >> doing lspci, all the latencies show 0 , even when i set them to antoher >> value with setpci. But with dmesg, i can see that at startup they are >> set >> to 64. >> Fernando Lopez-Lezcano told me that on some hardware latency timer >> couldn't be changed and that 64 could be enough actually. >> (forgot to say that the usb irq isn't shared) >> >> So it looks like i can't do anything for that. >> >> 2) rtc : >> At startup i have a message from udev : Node Symlink... node /dev/rtc >> already exists , link to /dev/rtc0 will not overwrite it. > > > > I got this message too, but I don't know if there is any impact on the > sound > system. > > 3) soundcard power >> The fast track pro can be powered by usb or by an external power supply. >> Mine is usb powered for now. Is this a problem ? >> >> 4) rtirq >> I noticed that in the rtirq script , i have these lines: >> RTIRQ_NAME_LIST="rtc snd usb i8042" >> RTIRQ_NON_THREADED="rtc snd" >> Do they need to be changed when using a usb soundcard ? > > > If your sound card works with USB, you can write this : > > RTIRQ_NAME_LIST="rtc usb i8042" > RTIRQ_NON_THREADED="rtc usb" > > > Then you restart the script and echo his status > > $ sudo /etc/init.d/rtirq restart > $ /etc/init.d/rtirq status > > You will see the priority on each IRQ. Then you have to connect your sound > card on the USB port wich has the best priority. > > > If anyone has an idea on that... >> >> Sorry it was quite long !! >> >> Thanks >> >> Flo > > > Hope this help you, > cheers, > > Mysth-R > > > -- > * > *************************************************************************************** > * {^_^} Mysth-R {^_^} > * > * http://myspace.com/mysthr > * http://myspace.com/aideauditive > * http://mysthr.free.fr => Site dédié à l'audio sous Fedora/PlanetCCRMA. > * > *************************************************************************************** > _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrmaOn Tue, 2008-01-22 at 13:29 +0100, hitmuri@... wrote:
> Thanks for answering (maybe i could have asked on the linuxmao.org forum > too ;) ) . > > I tried to change the rtirq script but it doesn't seem to make any > difference. But while looking at the rt priorities, i noticed that the > highest priority for usb was given to the irq 16 and cat /proc/interrupts > tells me that on irq 16 there's uhci_hcd:usb3 and NVIDIA !!! > When i plug my usb soundcard , it's always on irq 20. > So it looks like the highest priority is given to the graphics card . Because it shares the interrupt with the usb controller which may have an audio card attached... What do you see in "cat /proc/interrupts" for other interrupts? Do you perhaps have another usb controller that does not share an interrupt with the graphics controller? > Is this the problem to solve ? It may be, hard to know for shure. -- Fernando > > 2008/1/22, hitmuri@... <hitmuri@...>: > >> > >> Hi everyone, > >> > >> i have posted this on the planet ccrma list before, but i don't think > >> it's > >> a distribution problem. I get xruns when using a m-audio fast track pro > >> usb soundcard at 44100Hz, frames/period=64 (same with 128, i need low > >> latency) ,periods/buffer=2 with my new laptop when i have for example > >> freewheeling, tapeutape and jack-rack running (xruns seem to appear when > >> the dsp load rises, i've got none when using tapeutape alone for > >> example). > >> Some of them were related to the latest ccrma kernel, and they > >> disappeared > >> with a previous one. For the other ones, i have 4 ideas : > >> > >> 1) latency timer : > >> doing lspci, all the latencies show 0 , even when i set them to antoher > >> value with setpci. But with dmesg, i can see that at startup they are > >> set > >> to 64. > >> Fernando Lopez-Lezcano told me that on some hardware latency timer > >> couldn't be changed and that 64 could be enough actually. > >> (forgot to say that the usb irq isn't shared) > >> > >> So it looks like i can't do anything for that. > >> > >> 2) rtc : > >> At startup i have a message from udev : Node Symlink... node /dev/rtc > >> already exists , link to /dev/rtc0 will not overwrite it. > > > > > > > > I got this message too, but I don't know if there is any impact on the > > sound > > system. > > > > 3) soundcard power > >> The fast track pro can be powered by usb or by an external power supply. > >> Mine is usb powered for now. Is this a problem ? > >> > >> 4) rtirq > >> I noticed that in the rtirq script , i have these lines: > >> RTIRQ_NAME_LIST="rtc snd usb i8042" > >> RTIRQ_NON_THREADED="rtc snd" > >> Do they need to be changed when using a usb soundcard ? > > > > > > If your sound card works with USB, you can write this : > > > > RTIRQ_NAME_LIST="rtc usb i8042" > > RTIRQ_NON_THREADED="rtc usb" > > > > > > Then you restart the script and echo his status > > > > $ sudo /etc/init.d/rtirq restart > > $ /etc/init.d/rtirq status > > > > You will see the priority on each IRQ. Then you have to connect your sound > > card on the USB port wich has the best priority. > > > > > > If anyone has an idea on that... > >> > >> Sorry it was quite long !! > >> > >> Thanks > >> > >> Flo > > > > > > Hope this help you, > > cheers, > > > > Mysth-R > > > > > > -- > > * > > *************************************************************************************** > > * {^_^} Mysth-R {^_^} > > * > > * http://myspace.com/mysthr > > * http://myspace.com/aideauditive > > * http://mysthr.free.fr => Site dédié à l'audio sous Fedora/PlanetCCRMA. > > * > > *************************************************************************************** > > > > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@... > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrmacat /proc/interrupts gives me this :On Tue, 2008-01-22 at 13:29 +0100, hitmuri@... wrote: CPU0 CPU1 0: 89731 89923 IO-APIC-edge timer 1: 151 113 IO-APIC-edge i8042 8: 0 0 IO-APIC-edge rtc0 9: 12 11 IO-APIC-fasteoi acpi 12: 42277 41891 IO-APIC-edge i8042 14: 7056 7085 IO-APIC-edge libata 15: 1376 2002 IO-APIC-edge libata 16: 11532 11641 IO-APIC-fasteoi uhci_hcd:usb3, nvidia 18: 0 0 IO-APIC-fasteoi yenta 19: 18782 18903 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7 20: 8615 8284 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5 21: 1 2 IO-APIC-fasteoi uhci_hcd:usb4, ohci1394 22: 0 0 IO-APIC-fasteoi uhci_hcd:usb6 23: 0 0 IO-APIC-fasteoi sdhci:slot0 220: 18041 18081 PCI-MSI-edge eth0 NMI: 0 0 LOC: 92078 94169 ERR: 0 MIS: 0 Actually the usb controller on which my soundcard is (IRQ 20) isn"t shared with the graphics controller. So i tried to set the priorities of the other irq so that the usb controller with my soundcard gets the highest priority I get this with /etc/init.d/rtirq status : 1047 FF 95 - 135 0.0 S< IRQ-8 rtc0 417 FF 88 - 128 0.6 S< IRQ-20 ehci_hcd:usb2, uhci_hcd:usb5 425 FF 87 - 127 0.0 S< IRQ-21 uhci_hcd:usb4, ohci1394 426 FF 86 - 126 0.0 S< IRQ-22 uhci_hcd:usb6 5 FF 50 - 90 0.0 S< softirq-high/0 6 FF 50 - 90 0.1 S< softirq-timer/0 7 FF 50 - 90 0.0 S< softirq-net-tx/ 8 FF 50 - 90 0.0 S< softirq-net-rx/ 9 FF 50 - 90 0.0 S< softirq-block/0 10 FF 50 - 90 0.3 S< softirq-tasklet 11 FF 50 - 90 0.0 S< softirq-sched/0 12 FF 50 - 90 0.0 S< softirq-hrtimer 13 FF 50 - 90 0.0 S< softirq-rcu/0 18 FF 50 - 90 0.0 S< softirq-high/1 19 FF 50 - 90 0.0 S< softirq-timer/1 20 FF 50 - 90 0.0 S< softirq-net-tx/ 21 FF 50 - 90 0.0 S< softirq-net-rx/ 22 FF 50 - 90 0.0 S< softirq-block/1 23 FF 50 - 90 0.0 S< softirq-tasklet 24 FF 50 - 90 0.0 S< softirq-sched/1 25 FF 50 - 90 0.0 S< softirq-hrtimer 26 FF 50 - 90 0.0 S< softirq-rcu/1 78 FF 50 - 90 0.0 S< IRQ-9 acpi 388 FF 50 - 90 0.0 S< IRQ-18 yenta 394 FF 50 - 90 0.1 S< IRQ-12 i8042 395 FF 50 - 90 0.0 S< IRQ-1 i8042 454 FF 50 - 90 0.1 S< IRQ-14 libata 455 FF 50 - 90 0.0 S< IRQ-15 libata 1032 FF 50 - 90 0.3 S< IRQ-220 PCI-MSI-edge eth0 1093 FF 50 - 90 0.0 S< IRQ-23 sdhci:slot0 416 FF 35 - 75 0.1 S< IRQ-19 ehci_hcd:usb1, uhci_hcd:usb7 424 FF 35 - 75 0.3 S< IRQ-16 uhci_hcd:usb3, nvidia But it doesn't make any changes, still xruns. Don't know what to do now, but at least i think i've understood new things on that sound latency and irq priorities stuff ;) . Flo
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrmaOn Tue, 2008-01-22 at 19:36 +0100, Florent Berthaut wrote:
> Fernando Lopez-Lezcano a écrit : > > On Tue, 2008-01-22 at 13:29 +0100, hitmuri@... wrote: > > > > > Thanks for answering (maybe i could have asked on the linuxmao.org forum > > > too ;) ) . > > > > > > I tried to change the rtirq script but it doesn't seem to make any > > > difference. But while looking at the rt priorities, i noticed that the > > > highest priority for usb was given to the irq 16 and cat /proc/interrupts > > > tells me that on irq 16 there's uhci_hcd:usb3 and NVIDIA !!! > > > When i plug my usb soundcard , it's always on irq 20. > > > So it looks like the highest priority is given to the graphics card . > > > > > > > Because it shares the interrupt with the usb controller which may have > > an audio card attached... > > > > What do you see in "cat /proc/interrupts" for other interrupts? Do you > > perhaps have another usb controller that does not share an interrupt > > with the graphics controller? > > > > > cat /proc/interrupts gives me this : > CPU0 CPU1 > 0: 89731 89923 IO-APIC-edge timer > 1: 151 113 IO-APIC-edge i8042 > 8: 0 0 IO-APIC-edge rtc0 > 9: 12 11 IO-APIC-fasteoi acpi > 12: 42277 41891 IO-APIC-edge i8042 > 14: 7056 7085 IO-APIC-edge libata > 15: 1376 2002 IO-APIC-edge libata > 16: 11532 11641 IO-APIC-fasteoi uhci_hcd:usb3, nvidia > 18: 0 0 IO-APIC-fasteoi yenta > 19: 18782 18903 IO-APIC-fasteoi ehci_hcd:usb1, > uhci_hcd:usb7 > 20: 8615 8284 IO-APIC-fasteoi ehci_hcd:usb2, > uhci_hcd:usb5 > 21: 1 2 IO-APIC-fasteoi uhci_hcd:usb4, ohci1394 > 22: 0 0 IO-APIC-fasteoi uhci_hcd:usb6 > 23: 0 0 IO-APIC-fasteoi sdhci:slot0 > 220: 18041 18081 PCI-MSI-edge eth0 > NMI: 0 0 > LOC: 92078 94169 > ERR: 0 > MIS: 0 > > > Actually the usb controller on which my soundcard is (IRQ 20) isn"t > shared with the graphics controller. > So i tried to set the priorities of the other irq so that the usb > controller with my soundcard gets the highest priority > > I get this with /etc/init.d/rtirq status : > 1047 FF 95 - 135 0.0 S< IRQ-8 rtc0 > 417 FF 88 - 128 0.6 S< IRQ-20 ehci_hcd:usb2, > uhci_hcd:usb5 > 425 FF 87 - 127 0.0 S< IRQ-21 uhci_hcd:usb4, > ohci1394 > 426 FF 86 - 126 0.0 S< IRQ-22 uhci_hcd:usb6 > 5 FF 50 - 90 0.0 S< softirq-high/0 > 6 FF 50 - 90 0.1 S< softirq-timer/0 > 7 FF 50 - 90 0.0 S< softirq-net-tx/ > 8 FF 50 - 90 0.0 S< softirq-net-rx/ > 9 FF 50 - 90 0.0 S< softirq-block/0 > 10 FF 50 - 90 0.3 S< softirq-tasklet > 11 FF 50 - 90 0.0 S< softirq-sched/0 > 12 FF 50 - 90 0.0 S< softirq-hrtimer > 13 FF 50 - 90 0.0 S< softirq-rcu/0 > 18 FF 50 - 90 0.0 S< softirq-high/1 > 19 FF 50 - 90 0.0 S< softirq-timer/1 > 20 FF 50 - 90 0.0 S< softirq-net-tx/ > 21 FF 50 - 90 0.0 S< softirq-net-rx/ > 22 FF 50 - 90 0.0 S< softirq-block/1 > 23 FF 50 - 90 0.0 S< softirq-tasklet > 24 FF 50 - 90 0.0 S< softirq-sched/1 > 25 FF 50 - 90 0.0 S< softirq-hrtimer > 26 FF 50 - 90 0.0 S< softirq-rcu/1 > 78 FF 50 - 90 0.0 S< IRQ-9 acpi > 388 FF 50 - 90 0.0 S< IRQ-18 yenta > 394 FF 50 - 90 0.1 S< IRQ-12 i8042 > 395 FF 50 - 90 0.0 S< IRQ-1 i8042 > 454 FF 50 - 90 0.1 S< IRQ-14 libata > 455 FF 50 - 90 0.0 S< IRQ-15 libata > 1032 FF 50 - 90 0.3 S< IRQ-220 PCI-MSI-edge eth0 > 1093 FF 50 - 90 0.0 S< IRQ-23 sdhci:slot0 > 416 FF 35 - 75 0.1 S< IRQ-19 ehci_hcd:usb1, > uhci_hcd:usb7 > 424 FF 35 - 75 0.3 S< IRQ-16 uhci_hcd:usb3, nvidia > > But it doesn't make any changes, still xruns. A more basic question... what parameters are you using when you start jackd? -- Fernando _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrmahitmuri@... wrote:
> > 4) rtirq > I noticed that in the rtirq script , i have these lines: > RTIRQ_NAME_LIST="rtc snd usb i8042" > RTIRQ_NON_THREADED="rtc snd" > Do they need to be changed when using a usb soundcard ? > no. but if you don't have or plan to use any pci soundcard (that includes any onboard chip), you can get it finer with: RTIRQ_NAME_LIST="rtc usb snd i8042" or, if you're sure which usb host controller your soundcard gets always plugged into, for instance you know it's always the second one, you can get no better that this magic: RTIRQ_NAME_LIST="rtc usb2 i8042" byee -- rncbc aka Rui Nuno Capela rncbc@... _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrma
Rui Nuno Capela a écrit :
hitmuri@... wrote: Ok I tried that but it doesn't change anything. Flo _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrmaFernando Lopez-Lezcano a écrit :
> > A more basic question... what parameters are you using when you start > jackd? > > -- Fernando > .jackdrc: /usr/bin/jackd -R -P70 -t1000 -u -dalsa -r44100 -p64 -n2 -D -Chw:0,1 -Phw:0,0 -S -i2 -o2 I've just tried ubuntu studio , and i really got less xruns than with fedora without tweaking anything. They have the 2.6.22 kernel. But i'd like to stay with fedora , ubuntu studio's packages are not up to date and completely messed up. Florent _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
|
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrma -> kernel 2.6.22 , periods/buffer = 3 , disable system bips and esd, and proper rtirq setupOn Wed, January 23, 2008 12:05, Florent Berthaut wrote: > Hartmut Noack a écrit : > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Florent Berthaut schrieb: >> >>> Fernando Lopez-Lezcano a écrit : >>> >>>> A more basic question... what parameters are you using when you >>>> start jackd? >>>> >>>> -- Fernando >>>> >>> .jackdrc: >>> >>> >>> /usr/bin/jackd -R -P70 -t1000 -u -dalsa -r44100 -p64 -n2 -D -Chw:0,1 >>> -Phw:0,0 -S -i2 -o2 >>> >> >> USB-Devices often perform much better with -n3. Furthermore I would try >> to eliminate any flag, that is not absolutely needed such as: >> >> /usr/bin/jackd -R -dhw:1 -dalsa -r44100 -p64 -n3 >> >> >> BTW: this would compute to around 4 ms latency - is that good enough >> for you? >> yeah, -n3 might help, but if this is an usb device having -p64 is surely asking for a xrun festival :) try higher buffer sizes eg. -p128 -n3 might be the best you can get stable ymmv -- rncbc aka Rui Nuno Capela rncbc@... _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrma -> kernel 2.6.22 , periods/buffer = 3 , disable system bips and esd, and proper rtirq setupHartmut Noack a écrit :-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Florent Berthaut schrieb: Argh, actually i still have audible xruns. And i don't think i'd be able to play correctly with a higher latency anyway... Think i'll have to get back to ubuntu studio ... :( Flo
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: xruns with m-audio fast track pro on fedora 8 ccrma -> kernel 2.6.22 , periods/buffer = 3 , disable system bips and esd, and proper rtirq setupIt works much better for me than the 2.6.23 2008/1/23, Florent Berthaut <hitmuri@...>:
|