Dominique Michel wrote:

>> While all the above functions work, MIDI playback whilst there is 
>> significant hard disk activity causes a complete system lock-up )-: (see 
>> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952 ).
>>
>> Can anyone suggest a known good sound card for hardware MIDI playback, 
>> mic and line in that doesn't cause a system lock-up like reported with 
>> the EMU10K1 based cards?
>>
> An emu10k1 sound card must do it just fine, I think at you have a hardware 
> problem or a bad configuration.
 > > You have 256Mb ram, how big is the soundfont?

-rwxr-xr-x 1 root root 7557598 2005-12-26 13:03 8mbgmsfx.sf2

The sound font loads onto the sound card, so isn't resident in main RAM.

 > Harddisk activity can come from swaping, so which wm are you using?

I've reproduced the problem under kwin, twm and no window manager.

 > I would use a light one as fluxbox or xfwm with so little ram.
 > Are you sure at the program you are using is configured to use the
 > synth in the emu10k1 and not a softsynth?

Yes, running aplaymidi -p17:0, playmidi -a and kmid using port 17:0

$ aplaymidi -l
  Port    Client name                      Port name
  14:0    Midi Through                     Midi Through Port-0
  16:0    EMU10K1 MPU-401 (UART)           EMU10K1 MPU-401 (UART)
  17:0    Emu10k1 WaveTable                Emu10k1 Port 0
  17:1    Emu10k1 WaveTable                Emu10k1 Port 1
  17:2    Emu10k1 WaveTable                Emu10k1 Port 2
  17:3    Emu10k1 WaveTable                Emu10k1 Port 3


> 
> lock-up -> check which modules are loaded, if the soundfont is loaded and the 
> IRQs.
> # lsmod  | grep snd
> # asfxload <your-soundfont.sf2>
> # cat /proc/interrupts
> 
> Dominique

As previously mentioned, I can cause the lock-up even without any 
graphical desktop loaded.

$ lsmod|grep snd
snd_emu10k1_synth       6912  0
snd_emux_synth         30496  1 snd_emu10k1_synth
snd_seq_virmidi         6912  1 snd_emux_synth
snd_seq_midi_emul       5920  1 snd_emux_synth
snd_seq_dummy           3812  0
snd_seq_oss            28672  0
snd_seq_midi            8128  0
snd_seq_midi_event      6976  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                46224  9 
snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_emu10k1           101444  2 snd_emu10k1_synth
snd_rawmidi            22560  3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_ac97_codec         82720  1 snd_emu10k1
snd_ac97_bus            2368  1 snd_ac97_codec
snd_pcm_oss            35936  0
snd_mixer_oss          15872  1 snd_pcm_oss
snd_pcm                74500  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device          7756  8 
snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              20836  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          9512  2 snd_emu10k1,snd_pcm
snd_util_mem            4608  2 snd_emux_synth,snd_emu10k1
snd_hwdep               8676  2 snd_emux_synth,snd_emu10k1
snd                    48100  15 
snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
soundcore               9216  1 snd

asfxload is working correctly - the MIDI playback is silent if I omit 
asfxload between boot-up and attempting to play MIDI files.

$ cat /proc/interrupts
            CPU0
   0:   14821358          XT-PIC  timer
   1:      15016          XT-PIC  i8042
   2:          0          XT-PIC  cascade
   7:          1          XT-PIC  parport0
   8:          4          XT-PIC  rtc
  10:     122818          XT-PIC  ohci_hcd:usb2, uhci_hcd:usb3, eth0
  11:       1638          XT-PIC  ehci_hcd:usb4, EMU10K1
  12:     186965          XT-PIC  ohci_hcd:usb1
  14:    6970023          XT-PIC  ide0
  15:     879896          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0


Others have reported the problem at 
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
so I don't think that it's a problem unique to me.

Regards...


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to