View Full Version : [xubuntu] 11.10 fglrx + jackd pain

April 12th, 2012, 05:59 PM
Hello there!

As the title suggests, I've got problems regarding the use of fglrx and jackd. My current system is Xubuntu 11.10 64 bits, with radeon hd 6670, fglrx installed with jockey.

Now, using onboard sound and the free radeon driver, I can easily operate jack at -n128 -p2, no xruns. When I try the same with fglrx installed, I get constant x-runs raining in at medium rate, it gets worse when I do anything that might run graphics bus usage or like that, like opening/moving windows, scrolling etc...as said, with radeon driver: no pain at all. With fglrx, the xrun-**** happen even at very high latencies, like 2048 frames/period, though less often then.

I've tried the "threadirqs" bootoption, & chrt the interrupts of soundchip and rtc in the 80's - no difference! Using Jack2 in synchronous mode with "-S" option, using Jack1, ...

Now where you kick in: to prevent having to have a second ubuntu installation just for running stuff that needs jackd, what else could I do, in order to be able to use fglrx capas (opengl 4 rocks!) and jackd at low latencies x-run free?

any ideas welcome, however hacky they might be! ...and yes, I know people recommend not using proprietary drivers for realtime audio, but I want to do realtime music/audio visualizations somewhere in near future, and radeon's opengl 2.1 sucks...

April 12th, 2012, 07:22 PM
I'm just curious

cat /proc/interrupts

April 12th, 2012, 10:59 PM
Not been running jack in this session:

0: 73 9 IO-APIC-edge timer
1: 0 2 IO-APIC-edge i8042
7: 0 0 IO-APIC-edge parport0
8: 1 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 2 2 IO-APIC-edge i8042
16: 37239 5184 IO-APIC-fasteoi uhci_hcd:usb3
17: 0 0 IO-APIC-fasteoi uhci_hcd:usb4, uhci_hcd:usb6
18: 10480 10892 IO-APIC-fasteoi ata_piix, ata_piix, uhci_hcd:usb7
22: 2 1 IO-APIC-fasteoi ehci_hcd:usb1
23: 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5
42: 15270 14 PCI-MSI-edge eth0
43: 104 107 PCI-MSI-edge hda_intel
44: 17 14 PCI-MSI-edge hda_intel
45: 23932 30680 PCI-MSI-edge fglrx[0]@PCI:1:0:0
NMI: 0 0 Non-maskable interrupts
LOC: 162267 163600 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RES: 466438 478963 Rescheduling interrupts
CAL: 2020 830 Function call interrupts
TLB: 1179 1565 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 10 10 Machine check polls
ERR: 0
MIS: 0
After running for a test nothing really changed. I've just noticed I could run jack with -n1024 without xrun (probably because priority was set to 70 instead of default from my experiments), -n256 with very few. I need -256 or -n128 _without_ glitches, though :(

Edit: int 43 should be the onboard soundcard. I'll try a PCI soundcard tomorrow, maybe I've better luck with that!

April 14th, 2012, 11:24 AM
Hi, you could also try an nVidia video card, and disable
the radeon in the bios. Gamers upgrade video cards like bankers
change socks, so a good deal should be easy to find :popcorn:

April 14th, 2012, 02:04 PM
No thanks, please no nvidia. I'll rather buy a larger hdd, and use another installation with the free driver for jack stuff!

Living in Vain something might change with newer Kernels/fglrx version....