Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#1663 closed defect (invalid)

Timidity Issues on Debian

Reported by: SF/fbriere Owned by: SF/ender
Priority: normal Component: Port: Linux
Version: Keywords:
Cc: Game:


(Originally submitted on the Debian BTS, at <http://bugs.debian. org/cgi-bin/bugreport.cgi?bug=254532>)

Package: scummvm Version: 0.6.0-1 Severity: normal

After some trial and error, I finally managed to get timidity up and running. However, I'm having a hard time with scummVM and MIDI (w/ both 0.6.0 and CVS).

When I start scummVM, everything looks normal, but I don't get any MIDI output:

[fbriere] toroia:~ $ /var/tmp/fbuild.15535/scummvm/scummvm tentacle Looking for tentacle Trying to start game 'Day Of The Tentacle' ALSA client initialised [128:0] WARNING: IMuse doCommand(6) - setMasterVolume (74)!

When I shut down scummVM, I'll suddenly hear the last note that it was supposed to play, loud and clear. Then, if I start scummVM again *right then* -- behold! the MIDI output now works perfectly:

[fbriere] toroia:~ $ /var/tmp/fbuild.15535/scummvm/scummvm tentacle ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy Looking for tentacle Trying to start game 'Day Of The Tentacle' WARNING: Sound mixer initialization failed! ALSA client initialised [128:0] WARNING: IMuse doCommand(6) - setMasterVolume (74)!

I need to restart scummVM right away for this trick to work; I suspect it's the conflict on the sound device that makes it work.

Unfortunately, this means that to get MIDI to work, I have to give up on the non-MIDI sounds. It ain't so bad with non-talkies, but with games like DotT, I have to choose between the soundtrack and the dialogue. :(

Ticket imported from: #973704. Ticket imported from: bugs/1663.

Attachments (1)

.scummvmrc (2.1 KB ) - added by SF/fbriere 20 years ago.

Download all attachments as: .zip

Change History (4)

by SF/fbriere, 20 years ago

Attachment: .scummvmrc added


comment:1 by SF/ender, 20 years ago

Owner: set to SF/ender
Resolution: invalid
Status: newclosed
Summary: MIDI woesTimidity Issues on Debian

comment:2 by SF/ender, 20 years ago

As mentioned in the readme, Timidity is not recommended for ScummVM. Timidity is very buggy, has high latency, and can cause many problems like this.

If you really-really want software soundback support, try apt-get'ing fluidsynth and set it up as per the README. However, software midi emulation is generally quite immature on Linux with high latency. I recommend either using the standard adlib driver or hardware MIDI.

I personally have hardware midi on my SB Live! but I use adlib anyway. I've heard Fluidsynth can approach tolerable latency on a 1ghz+ machine, although my PIII-800 can't keep up.

comment:3 by digitall, 5 years ago

Component: --Unset--Port: Linux
Note: See TracTickets for help on using tickets.