http://bugs.winehq.org/show_bug.cgi?id=20426
Summary: Lemmings Paintball: Midi music does not play. Product: Wine Version: 1.1.31 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ezekiel000@lavabit.com
Created an attachment (id=24244) --> (http://bugs.winehq.org/attachment.cgi?id=24244) Terminal output for the menu and first level completion.
In the menus and in game the midi music does not play, I have tried installing TiMidity++ as I've heard that helps with midi music in wine but it had no effect.
Ubuntu 9.04 amd64.
http://bugs.winehq.org/show_bug.cgi?id=20426
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2010-03-10 05:15:38 --- Do timidity's output ports show up in winecfg's audio tab? Typically it shows 4 output ports. Do you hear anything when using e.g. aplaymidi -p 128:0 foo.mid (128 is one of timidity's standard ports). Do you hear anything when using my interactive MCI shell (attached to bug #20232, comment #10) to play a MIDI file? (see commaents 8 and 9 about how to use it).
Old versions of Ubuntu would automatically start timidity as a daemon when installing the package. Newer ones (at leat the upcoming Lucid 10.04 does so, I don't know when they switched) have a separate package timidity-deamon. Of couse you don't need that, you can start timidity yourself in server mode (-iAD etc.), which makes it easier for you to kill it when once again it starts to eat all CPU%.
http://bugs.winehq.org/show_bug.cgi?id=20426
--- Comment #2 from David Rogers ezekiel000@lavabit.com 2010-03-10 09:45:50 --- (In reply to comment #1)
Do timidity's output ports show up in winecfg's audio tab? Typically it shows 4 output ports.
No timidity doesn't appear in winecfg.
Do you hear anything when using e.g. aplaymidi -p 128:0 foo.mid (128 is one of timidity's standard ports).
Nope I don't hear anything.
Do you hear anything when using my interactive MCI shell (attached to bug #20232, comment #10) to play a MIDI file? (see commaents 8 and 9 about how to use it).
This is what I got: ezekiel@alice:~$ wine wintest.exe mcishell fixme:ntoskrnl:KeInitializeTimerEx stub: 0x111018 0 mci.c:178: Type your commands to the MCI, end with Ctrl-Z/^D open marimba.mid alias x mci.c:188: command: open marimba.mid alias x mci.c:193: Response: 1 play x mci.c:188: command: play x fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=0, track=0 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=0, track=1 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=1, track=2 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=2, track=3 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=3, track=4 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=4, track=5 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=5, track=6 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=9, track=7 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=0, track=8 fixme:mcimidi:MIDI_mciPlay NIY: MIDI channel=0, track=9
Old versions of Ubuntu would automatically start timidity as a daemon when installing the package. Newer ones (at leat the upcoming Lucid 10.04 does so, I don't know when they switched) have a separate package timidity-deamon. Of couse you don't need that, you can start timidity yourself in server mode (-iAD etc.), which makes it easier for you to kill it when once again it starts to eat all CPU%.
I tried starting timidity in server mode then running the game but I get the same fixme messages as above and no midi music.
http://bugs.winehq.org/show_bug.cgi?id=20426
--- Comment #3 from David Rogers ezekiel000@lavabit.com 2010-03-10 09:47:29 --- Although I did notice in the terminal in which I started the timidity I got this: ezekiel@alice:~$ timidity -iAD ezekiel@alice:~$ TiMidity starting in ALSA server mode Opening sequencer port: 128:0 128:1 128:2 128:3 /dev/dsp: Device or resource busy Couldn't open dsp device (`d')
http://bugs.winehq.org/show_bug.cgi?id=20426
--- Comment #4 from Jörg Höhle hoehle@users.sourceforge.net 2010-03-10 09:56:07 --- What does aconnect -o (or -l or -lo, or -lx, I forget the exact options) report?
We need an update to the MIDI Wiki page!
On my system, aconnect (and winecfg) list one "MIDI through" port, which I believe is simply a connection to the serial port, where no HW is attached => no sound comes from that.
When either FluidSynth or Timidity are started in server mode, additional ports are seen both in winecfg and aconnect. If your aconnect shows nothing or solely that MIDI through port, then this is not a Wine bug, and you need to google to find out how to setup MIDI software synthesizer (do you have HW?) for your machine.
/dev/dsp: Device or resource busy
What other SW is using it? (lsof)
http://bugs.winehq.org/show_bug.cgi?id=20426
--- Comment #5 from David Rogers ezekiel000@lavabit.com 2010-03-10 11:14:26 --- (In reply to comment #4)
What does aconnect -o (or -l or -lo, or -lx, I forget the exact options) report?
ezekiel@alice:~/Desktop$ aconnect -o client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 128: 'TiMidity' [type=user] 0 'TiMidity port 0 ' 1 'TiMidity port 1 ' 2 'TiMidity port 2 ' 3 'TiMidity port 3 '
When either FluidSynth or Timidity are started in server mode, additional ports are seen both in winecfg and aconnect. If your aconnect shows nothing or solely that MIDI through port, then this is not a Wine bug, and you need to google to find out how to setup MIDI software synthesizer (do you have HW?) for your machine.
When I checked winecfg with Timidity started in server mode 4 timidity output appear. I don't have a hardware synthesizer. I don't have any problems with FLuidsynth and ScummVM games that use midi but I think that's irrelevant.
/dev/dsp: Device or resource busy
What other SW is using it? (lsof)
Nothing seems to be using /dev/dsp according to lsof (although I've never interpreted the output of that command before so I could be wrong) and there is nothing else using any sound output open.
http://bugs.winehq.org/show_bug.cgi?id=20426
--- Comment #6 from Jörg Höhle hoehle@users.sourceforge.net 2010-03-12 08:33:36 --- David, please see if the newly written http://wiki.winehq.org/MIDI helps you.
client 128: 'TiMidity' [type=user]
Do you hear anything when using e.g. aplaymidi -p 128:0 foo.mid (128 is one of timidity's standard ports).
Nope I don't hear anything.
Then the problem is not with Wine and this bug report likely invalid in the Wine bug tracker. Try googling that /dev/dsp issue. OTOH, if you have ALSA, you don't need OSS' /dev/dsp. Do you have any sound fonts installed? Without them, Timidity will "play" silence only.
http://bugs.winehq.org/show_bug.cgi?id=20426
--- Comment #7 from David Rogers ezekiel000@lavabit.com 2010-03-12 09:29:14 --- (In reply to comment #6)
David, please see if the newly written http://wiki.winehq.org/MIDI helps you.
client 128: 'TiMidity' [type=user]
Do you hear anything when using e.g. aplaymidi -p 128:0 foo.mid (128 is one of timidity's standard ports).
Nope I don't hear anything.
Then the problem is not with Wine and this bug report likely invalid in the Wine bug tracker. Try googling that /dev/dsp issue. OTOH, if you have ALSA, you don't need OSS' /dev/dsp. Do you have any sound fonts installed? Without them, Timidity will "play" silence only.
I have the soundfonts for Timidity installed, I did a search on /dev/dsp in ubuntu and some people say the problem is with esd or pulseaudio. I killed both and it still didn't work.
I started Timidity in Alsa mode so why would it be using /dev/dsp which you said is part of oss.
So this is definitely not a wine issue?
http://bugs.winehq.org/show_bug.cgi?id=20426
--- Comment #8 from Jörg Höhle hoehle@users.sourceforge.net 2010-03-12 10:49:36 --- If you get no music from aplaymidi -pX:Y it's not a Wine issue. Please mark this as "invalid" so it will be closed. You will be able to reopen it -- if needed -- after you get the MIDI sequencer working in UNIX.
I don't have any problems with FLuidsynth
Then please try aplaymidi with FluidSynth's port.
What happens when you invoke Timidity not in server mode, e.g. timidity -Os -iatv -s44100 -x'soundfont /usr/share/midi/xyz.sf2 order=1' You can also try other output modes. (but you'll need server mode for Wine).
Did you look into your mixer controls to see whether anything is muted? Alas, I have no idea where else to look for the problem, I'm sorry.
http://bugs.winehq.org/show_bug.cgi?id=20426
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2010-03-12 12:43:56 --- Invalid, midi playback not working under Linux either.
http://bugs.winehq.org/show_bug.cgi?id=20426
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-12 20:25:46 --- Closing(In reply to comment #7)
I have the soundfonts for Timidity installed, I did a search on /dev/dsp in ubuntu and some people say the problem is with esd or pulseaudio. I killed both and it still didn't work.
You can't just kill pulseaudio daemon - it re-spawns automatically.