[Bug 19496] New: Irfanview in Wine: Invalid MCI Device ID
http://bugs.winehq.org/show_bug.cgi?id=19496 Summary: Irfanview in Wine: Invalid MCI Device ID Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: ray_woodcock(a)hotmail.com I'm using Ubuntu 9.04 (Jaunty). I have installed Wine 1.1.26 and IrfanView 4.25. The installation is partially successful. I can open Irfanview, for example, and change its Preferences. I have set IrfanView to be the default program for .wav files by right-clicking on a .wav file and selecting Properties > Open With > IrfanView. When I double-click on a .wav, I get this error message: "Error: Windows can't play this file! Windows error text: Invalid MCI device ID. Use the ID returned when opening the MCI device.. You can try to install additional video/audio codecs from this site: www.fourcc.org/indexcod.htm or try the DirectShow option in Properties->Video." The DirectShow option does not fix the problem. After I click OK on this error message, it repeats. I click OK again. This happens a total of four times. Then IrfanView plays the audio file, with a little window that says "No Device." If I click the arrow in IrfanView, to move on to the next audio file, the same routine repeats. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.26 --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-07-29 00:17:11 --- Which codec that .wav file does require? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #2 from Ray <ray_woodcock(a)hotmail.com> 2009-07-29 05:54:30 --- I don't know how to find the answer to that question, but I will try if you can advise me. Thanks. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #3 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-07-29 06:33:28 --- Probably a good start would be just with 'file sample.wav' command. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #4 from Ray <ray_woodcock(a)hotmail.com> 2009-07-29 12:30:59 --- data, WAVE audio, IMA ADPCM, mono 22050 Hz. I guess ADPCM is the codec? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.irfanview.com/ma | |in_download_engl.htm -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 Jörg Höhle <hoehle(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle(a)users.sourceforge.ne | |t --- Comment #5 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2010-04-09 11:57:58 --- Please try out the interactive MCI shell from bug #20232, comment #10 and see if you can get the file to play on its own: open sample.wav alias w status w format tag play w wait close w Ctrl-Z/Ctrl-D Does it play and sound correct?
move on to the next audio file Are all your files IMA ADPCM? Do you experience the same behaviour with PCM .wav files?
Please attach a WINEDEBUG=+mci,+mciwave log of IrfanView. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 Danila Sentiabov <dsent.zen(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsent.zen(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 Ray <ray_woodcock(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ray_woodcock(a)hotmail.com --- Comment #6 from Ray <ray_woodcock(a)hotmail.com> 2010-06-07 01:37:34 --- Well. It's been a busy year. But I return to this at last. The problem is still there, even though I have upgraded to Ubuntu 10.04. Note (above) that the file does play in IrfanView; I just have to click on four repetitions of the error message in order to reach that point. The file also plays in Ubuntu's Movie Player and in various programs in Windows. I did download and run wintest.exe. But I'm talking about a problem that arises in Ubuntu, not Windows. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #7 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2010-06-07 04:15:23 --- Please attach a WINEDEBUG=+mci,+mciwave,+mciqtz log of IrfanView so that we can see which messages are not understood by Wine's MCI devices and cause IrfanView to bark (mciqtz in case it uses Quartz for playing). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Irfanview in Wine: Invalid |Irfanview reports "Invalid |MCI Device ID |MCI Device ID" -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #8 from Ray <ray_woodcock(a)hotmail.com> 2010-06-09 22:48:46 --- OK. How do I generate that log? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #9 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-06-10 00:27:37 --- (In reply to comment #8)
OK. How do I generate that log?
Have a look at http://wiki.winehq.org/FAQ#head-16da35b6327024d6ea576e3678488b16862d0f5e and use the requested debug channels. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #10 from Ray <ray_woodcock(a)hotmail.com> 2010-06-13 18:40:29 --- Created an attachment (id=28814) --> (http://bugs.winehq.org/attachment.cgi?id=28814) Trace of Errors Here's what I got: five repetitions of the error in IrfanView. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #11 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2010-09-07 10:44:08 CDT --- Ray, please read the FAQ again. The 6 lines you attached are straight console output, without the requested debug channels. You should see much more output about :mci: and :mciwave:. Does the bug persist in current Wine > 1.3? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #12 from A Wine user <RandomAccountName(a)mail.com> 2012-01-02 07:49:31 CST --- Created attachment 38221 --> http://bugs.winehq.org/attachment.cgi?id=38221 +mci,+mciwave,+mciqtz log I still see the described behavior for most WAV files with IrfanView 4.32 in Wine 1.3.36. I'll attach the previously-requested log. Note that the file command has different output for this particular WAV file than the one the original bug reporter used: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 A Wine user <RandomAccountName(a)mail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |RandomAccountName(a)mail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #13 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2012-01-02 12:09:32 CST --- The log shows that mciwave receives unsupported commands MCI_PUT, MCI_WHERE and MCI_UPDATE that cause IrfanView to complain with: 3x The driver cannot recognize the specified command. -- right? The only drivers that support these are mciqtz and mciavi32 AFAIK. It seems like the calling component (msvfw?) should force useage of mciqtz or mciavi instead of opening the driver based on the file extension. Both of these are themselves able to dispatch -- and they support the windowing commands. What if you replace in both c:\windows\system.ini *and* the registry the mapping of .wav waveaudio files from mciwave.dll to mciqtz32.dll? system.ini: [MCI32] waveaudio=mciqtz32.dll mciqtz and mciavi will then be used instead of mciwave. How does that work out? (mciqtz doesn't work too well AFAIK). The error 1x Invalid MCI device ID. Use the ID returned when opening the MCI device. has unknown origin. The MCI receives an MCI_PUT command on device id 0 which was never opened. This is strange. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #14 from A Wine user <RandomAccountName(a)mail.com> 2012-01-03 04:04:57 CST --- (In reply to comment #13)
The log shows that mciwave receives unsupported commands MCI_PUT, MCI_WHERE and MCI_UPDATE that cause IrfanView to complain with: 3x The driver cannot recognize the specified command. -- right?
Right.
What if you replace in both c:\windows\system.ini *and* the registry the mapping of .wav waveaudio files from mciwave.dll to mciqtz32.dll?
That didn't change much - the only difference is the first "the driver cannot recognize the specified command" message was replaced with "there is no display window."
(msvfw?)
This might be the culprit; using native msvfw32.dll prevents all four errors from occurring. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 Jörg Höhle <hoehle(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvfw32 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #15 from A Wine user <RandomAccountName(a)mail.com> 2012-01-03 07:36:20 CST --- (In reply to comment #14)
What if you replace in both c:\windows\system.ini *and* the registry the mapping of .wav waveaudio files from mciwave.dll to mciqtz32.dll?
That didn't change much - the only difference is the first "the driver cannot recognize the specified command" message was replaced with "there is no display window."
I also tried using mciavi32, but that doesn't work at all: the "invalid device ID" message pops up 9 times, and the audio file is no longer played. All "the driver cannot recognize the specified command" messages are gone, though. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19496 --- Comment #16 from Ken Sharp <kennybobs(a)o2.co.uk> 2013-08-11 12:04:21 CDT --- Please retest in Wine 1.7.0 or later. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19496 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #17 from super_man(a)post.com --- fixme:mci:MCIWndProc support for MCIWNDM_ message WM_USER+813 not implemented fixme:mciwave:MCIWAVE_DriverProc Unsupported command [2115] fixme:mciwave:MCIWAVE_DriverProc Unsupported command [2114] fixme:mci:MCIWndProc support for MCIWNDM_ message WM_USER+813 not implemented fixme:mciwave:MCIWAVE_DriverProc Unsupported command [2114] fixme:mci:MCIWndProc support for MCIWNDM_ message WM_USER+813 not implemented fixme:mci:MCIWndProc support for MCIWNDM_ message WM_USER+810 not implemented fixme:mci:MCIWndProc support for MCIWNDM_ message WM_USER+815 not implemented fixme:mci:MCIWndProc support for MCIWNDM_ message WM_USER+815 not implemented err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded while trying to play a wav file via menu --> open. wine 1.7.50(git) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19496 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com --- Comment #18 from Robert Walker <bob.mt.wya(a)gmail.com> --- This bug is still present in: wine --version wine-1.9.11-112-gd864119 (Staging) A copy the native Windows msvfw32.dll file is still required to workaround this bug. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19496 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #19 from Rosanne DiMesio <dimesio(a)earthlink.net> --- In wine-3.4, Irfanview 4.51 (tested both 32 and 64 bit), the first three notes of a WAV file will play, then it will stop abruptly with the "Windows can't play this file!" error message from Irfanview. The full file will play correctly without any error messages with native msvfw32.dll. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19496 Bartosz <gang65(a)poczta.onet.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65(a)poczta.onet.pl -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=19496 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #20 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-5.10? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla