[PD] Audio I/O stuck with both ALSA and Jack

Nuno Ferreira haptic_if at sapo.pt
Sat Jan 31 00:31:40 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Melissa Corso wrote:
| Hello everyone,
|
|         I am still trying to use PD with the HDSP 9632 audio card in
linux.  Everytime I started PD with the card in linux it would not open.
I kept getting an audio I/O stuck message when trying to start PD in
linux. As suggested I tried it with ALSA and jack with the commands:
|
| pd -alsa
| pd-jack
|
| The error read as follows: using non-interleaved audio input
| Sample width set to 4 bytes
| ALSA: set input channels to 4
| snd_pcm_hw_params_set_access (output): Invalid argument
| using non-interleaved audio
| alsa: set output channels to 4
| audio I/O stuck... closing audio

I've got a similar error also with a kernel 2.6, posted a few days ago
but no one here was able to help... let's see how we do this time.

My error was a little different though, my audio I/O doesn't become
because I don't get that far, your pd seems to decide he should use
*non-interleaved audio*, mine asserts he cannot continue due to not
being able to use *interleaved audio*. Here's my output

<snip>
$ pd -alsa -nogui
snd_pcm_hw_params_set_access (input): Invalid argument
Sample width set to 2 bytes
pd: pcm.c:1101: snd_pcm_readi: Assertion `pcm->access ==
SND_PCM_ACCESS_RW_INTERLEAVED' failed.
Pd: signal 6
Aborted
</snip>

What's your PD version? And ALSA version?
Does OSS work for you if tou load compatibility modules?
Has _anyone_ been able to use PD with a 2.6 kernel yet?

|
| The alsa drivers seem to be loaded correctly during the boot. When
given the command: alsasound.start I get a message that the drivers are
loaded.

do you see any alsa related errors in the output of dmesg?
can you 'aplay $sound_file'? That would give you a soundsystem basic test...

|
| [lspmc at d68h203 lspmc]$ /etc/rc.d/init.d/alsasound start
| ALSA driver already running
| Sound driver snd-hdsp is already loaded
|
| I also tried to open both in KDE and the Arts sound server is disabled
or unchecked. I am not sure what should be checked in the gnome session
equivalent to that of the arts sound. At this point I do not know what
else I should check.  I also removed `loaded drivers:
|
| [lspmc at d68h203 lspmc]$ pd -oss
| pd: exiting
| pd: exiting
| [lspmc at d68h203 lspmc]$ /sbin/lsmod
| Module                  Size  Used by    Not tainted
| snd-hdsp               48076   0
| snd-pcm                87264   0 [snd-hdsp]
| snd-page-alloc          9876   0 [snd-hdsp snd-pcm]
| snd-hwdep               7104   0 [snd-hdsp]
| i810_audio             29048   0
| ac97_codec             17224   0 [i810_audio]
| i830                   74816   1
| agpgart                56836  11 (autoclean)
| parport_pc             19172   1 (autoclean)
| lp                      9060   0 (autoclean)
| parport                37792   1 (autoclean) [parport_pc lp]
| snd-seq-midi            5280   0 (unused)
| snd-seq-midi-event      6272   0 [snd-seq-midi]
| snd-seq                49456   0 [snd-seq-midi snd-seq-midi-event]
| snd-rawmidi            19424   0 [snd-hdsp snd-seq-midi]
| snd-seq-device          6204   0 [snd-seq-midi snd-seq snd-rawmidi]
| snd-timer              20772   0 [snd-pcm snd-seq]
| snd                    46980   0 [snd-hdsp snd-pcm snd-hwdep
snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device
snd-timer]
| soundcore               6660   6 [i810_audio snd]
| autofs                 13652   0 (autoclean) (unused)
| e100                   58020   1
| ipt_REJECT              4344   6 (autoclean)
| iptable_filter          2444   1 (autoclean)
| ip_tables              15808   2 [ipt_REJECT iptable_filter]
| sg                     37804   0 (autoclean)
| sr_mod                 18168   0 (autoclean)
| ide-scsi               12240   0
| scsi_mod              109716   3 [sg sr_mod ide-scsi]
| ide-cd                 36128   0
| cdrom                  34048   0 [sr_mod ide-cd]
| nls_iso8859-1           3516   1 (autoclean)
| nls_cp437               5148   1 (autoclean)
| vfat                   13132   1 (autoclean)
| fat                    39704   0 (autoclean) [vfat]
| keybdev                 2976   0 (unused)
| mousedev                5620   1
| hid                    24708   0 (unused)
| input                   5856   0 [keybdev mousedev hid]
| usb-uhci               27372   0 (unused)
| ehci-hcd               20808   0 (unused)
| usbcore                81152   1 [hid usb-uhci ehci-hcd]
| ext3                   73444   2
| jbd                    54228   2 [ext3]
|
| Any help would be appreciated.
|
|
| ____________________________________________________________
| Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
| http://login.mail.lycos.com/r/referral?aid=27005
|
| _______________________________________________
| PD-list mailing list
| PD-list at iem.at
| http://iem.at/cgi-bin/mailman/listinfo/pd-list
|
|

- --
"¢@æ^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAGulbvtVeyE64B6MRAmpnAJ9srlTeMJysJGOS7bfi4LgI4V0WsgCfXHQX
mpuqvbJEMzt7bLk8d0sA2kg=
=Gk8o
-----END PGP SIGNATURE-----




More information about the Pd-list mailing list