Wine not seeing Alsa or MIDI

Questions about Wine on Linux
Locked
Justin Eiler
Newbie
Newbie
Posts: 3
Joined: Thu Dec 17, 2015 10:46 pm

Wine not seeing Alsa or MIDI

Post by Justin Eiler »

Greetings all! If this is a duplicate question, please accept my apologies and direct me to the solution.

Linux Mint 17.1. Rebecca, Wine 1.6.2.

When I'm working in Linux, MIDI works great, but I can't get any MIDI output in WINE, and when I look at Winecnf, all it shows for options are "(System default)" and "Pulseaudio". I'm 95% sure this is a setup problem (and 100% sure it's because I missed something somewhere), but Wine can't see Alsa, and I can't play any program that relies on MIDI.

NoteWorthy tells me "Unable to load the MIDI utility library DLL." Band in a Box tells me "Van't find sound font file GM.DLS", even though that file is in the system32/drivers folder.

Any assistance gratefully accepted ... at this point, I don't even know where to look.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine not seeing Alsa or MIDI

Post by dimesio »

http://wiki.winehq.org/MIDI has some troubleshooting tips.
Justin Eiler
Newbie
Newbie
Posts: 3
Joined: Thu Dec 17, 2015 10:46 pm

Re: Wine not seeing Alsa or MIDI

Post by Justin Eiler »

dimesio wrote:http://wiki.winehq.org/MIDI has some troubleshooting tips.
*nods* I've gone through that--it's somewhat dated, but still useful, but did not resolve my issues.

Running through the checklist:
* aconnect -o results

Code: Select all

justin@justin01 ~ $ 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 '
* aplaymidi works, provided I've started qsynth and have the midi routed correctly.
* winecnf shows only (System Default) and pulseaudio.
* wintest is sitting right there in the /windows/system32 directory, but when I try to call up the mcishell, I get an error message:

Code: Select all

    wine: cannot find L"C:\\windows\\system32\\wintest.exe"
* So I can't do the last stage of the checklist.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine not seeing Alsa or MIDI

Post by dimesio »

One thing you should do is upgrade your Wine version, as 1.6.2 is two years old, and there have been changes to Wine's sound drivers since then.
Justin Eiler
Newbie
Newbie
Posts: 3
Joined: Thu Dec 17, 2015 10:46 pm

Re: Wine not seeing Alsa or MIDI

Post by Justin Eiler »

dimesio wrote:One thing you should do is upgrade your Wine version, as 1.6.2 is two years old, and there have been changes to Wine's sound drivers since then.
I tried that--and completely hosed my system, to the point of needing a reinstall. :(

As I said, I'm 100% sure it was a setup problem on my end--I missed a step in setting things up, or I did something I shouldn't have done, so no worries. I'm going to get the Linux side of things running before I worry about adding Wine. :)

Cheers!
bramvl
Newbie
Newbie
Posts: 1
Joined: Fri May 12, 2017 2:16 pm

Re: Wine not seeing Alsa or MIDI

Post by bramvl »

I have a similar problem. Ubuntu 16.04, Wine 1.6.2 (synaptic says it is the latest), timidity++ 2.13.2.
When Noteworthy is started it has no sound when a file is played.
ShiftyJim21
Newbie
Newbie
Posts: 1
Joined: Sat Aug 22, 2020 12:25 am

Re: Wine not seeing Alsa or MIDI

Post by ShiftyJim21 »

Hi everyone,

I'm having the exact same problem as the original poster, including his issue with the MCI shell, and I am on the latest version of Wine. If anyone has a possible solution, I would be very grateful.

- An Arch Linux noob
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Wine not seeing Alsa or MIDI

Post by DarkShadow44 »

What does "aconnect -o" say?
Does aplaymidi work?
What program are you trying to run?
Locked