<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
This time I take an alternate route. Lets see if I can start jack even
without PA.<br>
<br>
1: pasuspender qjackctl<br>
2: Press "start" on the qjackctl ui.<br>
<br>
3: Success.<br>
<br>
However, now my system is back to 2005 control status. This might be
fine for some users but not for me as now I can't use skype and any
apps that are not jack aware without running the oss-&gt;jack or
alsa-&gt;jack wrappers.<br>
<br>
Still, if the startup command for the qjackctl icon in the
"Applications-&gt;Sound &amp; Video" menu had "pasuspender" infront of
it out of the box I would probably be happy as a normal user until I
had to get access to skype or some other non jack aware app. A
relatively small price to pay.<br>
<br>
System load is stable at less than 10%. No sign of hald or dbus
implementation bugs here.<br>
<br>
Winner Jack. Pulse audio gets high points for allowing Jack to take
control of the system.<br>
<br>
Ding, Ding, Ding. Prepare for round 4.<br>
<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">Patrick Shirkey
Boost Hardware Ltd
</pre>
<br>
On 08/06/2009 03:52 PM, Patrick Shirkey wrote:
<blockquote cite="mid:4A7A99DE.2050104@boosthardware.com" type="cite">
  <pre wrap="">Round two.

I decide to restart pulse audio pulseaudio - D

Now I get a kernel oops.

Time to reboot.



Kernel failure message 1:
------------[ cut here ]------------
WARNING: at sound/core/pcm_lib.c:1525 snd_pcm_period_elapsed+0x4f/0x2a8 
[snd_pcm]() (Tainted: P        W )
Hardware name: Compaq Presario CQ40 Notebook PC
BUG? (!(substream) || !(substream)-&gt;runtime)
Modules linked in: vmnet ppdev parport_pc parport vsock vmci vmmon 
snd_dummy michael_mic arc4 ecb wl(P) lib80211_crypt_tkip lib80211 vfat 
fat usb_storage fuse rfcomm sco bridge stp llc bnep l2cap sunrpc 
cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput 
snd_hda_codec_atihdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec 
ata_generic pata_acpi btusb uvcvideo snd_hwdep snd_pcm videodev joydev 
v4l1_compat bluetooth v4l2_compat_ioctl32 snd_timer jmb38x_ms snd pcspkr 
pata_atiixp soundcore r8169 snd_page_alloc i2c_piix4 video memstick 
sdhci_pci sdhci mii mmc_core output wmi radeon drm i2c_algo_bit i2c_core 
[last unloaded: vmnet]
Pid: 0, comm: swapper Tainted: P        W  2.6.29.6-213.fc11.x86_64 #1
Call Trace:
&lt;IRQ&gt;  [&lt;ffffffff8104883f&gt;] warn_slowpath+0xbc/0xf0
  [&lt;ffffffff8104058f&gt;] ? default_wake_function+0x12/0x14
  [&lt;ffffffff8105c8ed&gt;] ? autoremove_wake_function+0x16/0x39
  [&lt;ffffffff81029f7f&gt;] ? default_spin_lock_flags+0x9/0xe
  [&lt;ffffffff813ac07c&gt;] ? _spin_lock_irqsave+0x32/0x3b
  [&lt;ffffffffa017bc17&gt;] snd_pcm_period_elapsed+0x4f/0x2a8 [snd_pcm]
  [&lt;ffffffffa03e92ad&gt;] ? snd_card_dummy_pcm_timer_function+0x0/0x96 
[snd_dummy]
  [&lt;ffffffffa03e9332&gt;] snd_card_dummy_pcm_timer_function+0x85/0x96 
[snd_dummy]
  [&lt;ffffffff81051e67&gt;] run_timer_softirq+0x19e/0x224
  [&lt;ffffffff81063094&gt;] ? getnstimeofday+0x5f/0xb3
  [&lt;ffffffff8104df6f&gt;] __do_softirq+0x94/0x155
  [&lt;ffffffff8101274c&gt;] call_softirq+0x1c/0x30
  [&lt;ffffffff810138ce&gt;] do_softirq+0x52/0xb9
  [&lt;ffffffff8104db92&gt;] irq_exit+0x53/0x90
  [&lt;ffffffff81022464&gt;] smp_apic_timer_interrupt+0x8e/0xa7
  [&lt;ffffffff81012123&gt;] apic_timer_interrupt+0x13/0x20
&lt;EOI&gt;  [&lt;ffffffff81029424&gt;] ? native_safe_halt+0xb/0xd
  [&lt;ffffffff81017d30&gt;] ? default_idle+0x51/0x7c
  [&lt;ffffffff81017e92&gt;] ? c1e_idle+0x124/0x12b
  [&lt;ffffffff810102a1&gt;] ? cpu_idle+0x68/0xb3
  [&lt;ffffffff813a5f21&gt;] ? start_secondary+0x199/0x19e
---[ end trace 402b79ba4387e7da ]---


Kernel failure message 2:
WARNING: at sound/core/pcm_lib.c:1525 snd_pcm_period_elapsed+0x4f/0x2a8 
[snd_pcm]() (Tainted: P        W )
Hardware name: Compaq Presario CQ40 Notebook PC
BUG? (!(substream) || !(substream)-&gt;runtime)
Modules linked in: vmnet ppdev parport_pc parport vsock vmci vmmon 
snd_dummy michael_mic arc4 ecb wl(P) lib80211_crypt_tkip lib80211 vfat 
fat usb_storage fuse rfcomm sco bridge stp llc bnep l2cap sunrpc 
cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput 
snd_hda_codec_atihdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec 
ata_generic pata_acpi btusb uvcvideo snd_hwdep snd_pcm videodev joydev 
v4l1_compat bluetooth v4l2_compat_ioctl32 snd_timer jmb38x_ms snd pcspkr 
pata_atiixp soundcore r8169 snd_page_alloc i2c_piix4 video memstick 
sdhci_pci sdhci mii mmc_core output wmi radeon drm i2c_algo_bit i2c_core 
[last unloaded: vmnet]
Pid: 30047, comm: firefox Tainted: P        W  2.6.29.6-213.fc11.x86_64 #1
Call Trace:
&lt;IRQ&gt;  [&lt;ffffffff8104883f&gt;] warn_slowpath+0xbc/0xf0
  [&lt;ffffffff8104058f&gt;] ? default_wake_function+0x12/0x14
  [&lt;ffffffff81029f7f&gt;] ? default_spin_lock_flags+0x9/0xe
  [&lt;ffffffff813ac07c&gt;] ? _spin_lock_irqsave+0x32/0x3b
  [&lt;ffffffffa017bc17&gt;] snd_pcm_period_elapsed+0x4f/0x2a8 [snd_pcm]
  [&lt;ffffffffa03e92ad&gt;] ? snd_card_dummy_pcm_timer_function+0x0/0x96 
[snd_dummy]
  [&lt;ffffffffa03e9332&gt;] snd_card_dummy_pcm_timer_function+0x85/0x96 
[snd_dummy]
  [&lt;ffffffff81051e67&gt;] run_timer_softirq+0x19e/0x224
  [&lt;ffffffff81063094&gt;] ? getnstimeofday+0x5f/0xb3
  [&lt;ffffffff8104df6f&gt;] __do_softirq+0x94/0x155
  [&lt;ffffffff8101274c&gt;] call_softirq+0x1c/0x30
  [&lt;ffffffff810138ce&gt;] do_softirq+0x52/0xb9
  [&lt;ffffffff8104db92&gt;] irq_exit+0x53/0x90
  [&lt;ffffffff81022464&gt;] smp_apic_timer_interrupt+0x8e/0xa7
  [&lt;ffffffff81012123&gt;] apic_timer_interrupt+0x13/0x20
&lt;EOI&gt; &lt;4&gt;---[ end trace 402b79ba4387e7d9 ]---


Kernel failure message 3:
------------[ cut here ]------------
WARNING: at sound/core/pcm_lib.c:1525 snd_pcm_period_elapsed+0x4f/0x2a8 
[snd_pcm]() (Tainted: P        W )
Hardware name: Compaq Presario CQ40 Notebook PC
BUG? (!(substream) || !(substream)-&gt;runtime)
Modules linked in: vmnet ppdev parport_pc parport vsock vmci vmmon 
snd_dummy michael_mic arc4 ecb wl(P) lib80211_crypt_tkip lib80211 vfat 
fat usb_storage fuse rfcomm sco bridge stp llc bnep l2cap sunrpc 
cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput 
snd_hda_codec_atihdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec 
ata_generic pata_acpi btusb uvcvideo snd_hwdep snd_pcm videodev joydev 
v4l1_compat bluetooth v4l2_compat_ioctl32 snd_timer jmb38x_ms snd pcspkr 
pata_atiixp soundcore r8169 snd_page_alloc i2c_piix4 video memstick 
sdhci_pci sdhci mii mmc_core output wmi radeon drm i2c_algo_bit i2c_core 
[last unloaded: vmnet]
Pid: 0, comm: swapper Tainted: P        W  2.6.29.6-213.fc11.x86_64 #1
Call Trace:
&lt;IRQ&gt;  [&lt;ffffffff8104883f&gt;] warn_slowpath+0xbc/0xf0
  [&lt;ffffffff8104058f&gt;] ? default_wake_function+0x12/0x14
  [&lt;ffffffff8105c8ed&gt;] ? autoremove_wake_function+0x16/0x39
  [&lt;ffffffff81029f7f&gt;] ? default_spin_lock_flags+0x9/0xe
  [&lt;ffffffff813ac07c&gt;] ? _spin_lock_irqsave+0x32/0x3b
  [&lt;ffffffffa017bc17&gt;] snd_pcm_period_elapsed+0x4f/0x2a8 [snd_pcm]
  [&lt;ffffffffa03e92ad&gt;] ? snd_card_dummy_pcm_timer_function+0x0/0x96 
[snd_dummy]
  [&lt;ffffffffa03e9332&gt;] snd_card_dummy_pcm_timer_function+0x85/0x96 
[snd_dummy]
  [&lt;ffffffff81051e67&gt;] run_timer_softirq+0x19e/0x224
  [&lt;ffffffff81063094&gt;] ? getnstimeofday+0x5f/0xb3
  [&lt;ffffffff8104df6f&gt;] __do_softirq+0x94/0x155
  [&lt;ffffffff8101274c&gt;] call_softirq+0x1c/0x30
  [&lt;ffffffff810138ce&gt;] do_softirq+0x52/0xb9
  [&lt;ffffffff8104db92&gt;] irq_exit+0x53/0x90
  [&lt;ffffffff81022464&gt;] smp_apic_timer_interrupt+0x8e/0xa7
  [&lt;ffffffff81012123&gt;] apic_timer_interrupt+0x13/0x20
&lt;EOI&gt;  [&lt;ffffffff81029424&gt;] ? native_safe_halt+0xb/0xd
  [&lt;ffffffff81017d30&gt;] ? default_idle+0x51/0x7c
  [&lt;ffffffff81017e92&gt;] ? c1e_idle+0x124/0x12b
  [&lt;ffffffff810102a1&gt;] ? cpu_idle+0x68/0xb3
  [&lt;ffffffff813a5f21&gt;] ? start_secondary+0x199/0x19e
---[ end trace 402b79ba4387e7bd ]---

Patrick Shirkey
Boost Hardware Ltd


On 08/06/2009 03:16 PM, Patrick Shirkey wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

I finally got some time to test out the latest version of Fedora 11 for
pulse and jack interaction.

I have been wanting to do this for a few weeks as I was told by Lennart
Pottering that the latest version of pulse-audio has advanced support
for jack when running with jack2 which has logic for signalling to pulse
audio that jack is going to start running which makes pulse audio give
up control of the audio device, wait for jack to start and then
optionally reconnect to jack. The latter requiring some advanced
knowledge on connecting pulse audios sinks/sources.

The reason I had to use Fedora 11 and not Fedora 10 is because the
latest updates to pulse audio cannot be compiled on Fedora 10 due to
dependencies being out of date. I decided it was easier to update to
Fedora 11 than compile the entire system myself.

So, I have a working Fedora 11 running nice and stable for several weeks
now.

My goal is to test out the new logic in jack2 and pulseaudio as a normal
non technical user would experience things. I know how to make it work
the hard way but it would be nice for non technical users if someone
with the knowledge tested at their level and found any bugs that might
be affecting the user experience.

Pulse is running nicely in the background. I have been using skype for
the past week to do business calls.

I start jack and jack can't connect to the default audio device. I turn
off skype. Still can't connect. I kill pulseaudio with pulseaudio - k.
Still can't connect.  I check gnome-volume-control to see if any apps
are running that I forgot about. Nothing is running. I turn off
alsamixer and the gnome volume control applet in case they are hogging
the device for some unknown reason.

I double check that pulse audio is not running by scanning the output of
ps. I kill it again as root user just to make sure. Both items come up
with no mention of pulse audio running.

FYI, the version of jack installed from the default Fedora repos is
0.116.1. That means it's jack1 not jack2. So no matter what the latest
hooks for working with pulse audio and jack are not in place on the jack
side anyway.

But this doesn't matter as I don't have any audio processes running but
jackd still can't get access to the default device.

My experience leaves a lot to be desired considering that Fedora 11 is
the latest and greatest version with advanced system config from Lennart
himself and I still can't do something as simple as start jackd.

I'm not pointing any fingers. But I would like to get to the bottom of
this usability issue we currently have between pulse audio and jack.




Cheers.






   
    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Linux-audio-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a>
  </pre>
</blockquote>
</body>
</html>