Can't seem to get wine to detect audio

I am trying to install Halo (which is a Windows game) but the audio keeps failing to detect.

I ran the following commands (after installing wine and winetricks)

WINEPREFIX=<path_of_winebottle> winecfg

Output after running this command:

wine: created the configuration directory '<path_of_winebottle>'
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0048:err:ole:get_local_server_stream Failed: 80004002
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0050:err:ole:get_local_server_stream Failed: 80004002
005c:fixme:file:NtLockFile I/O completion on lock not implemented yet
005c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
005c:err:mscoree:LoadLibraryShim error reading registry key for installroot
005c:err:mscoree:LoadLibraryShim error reading registry key for installroot
005c:err:mscoree:LoadLibraryShim error reading registry key for installroot
005c:err:mscoree:LoadLibraryShim error reading registry key for installroot
0064:fixme:file:NtLockFile I/O completion on lock not implemented yet
0064:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0064:err:mscoree:LoadLibraryShim error reading registry key for installroot
0064:err:mscoree:LoadLibraryShim error reading registry key for installroot
0064:err:mscoree:LoadLibraryShim error reading registry key for installroot
0064:err:mscoree:LoadLibraryShim error reading registry key for installroot
0064:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0064:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
005c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
005c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
007c:fixme:file:NtLockFile I/O completion on lock not implemented yet
007c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
007c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
007c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0040:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0040:fixme:dwmapi:DwmIsCompositionEnabled 000000006DFA0434
0084:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ed306d, context 0x11e68d0, init_notify 0, handle 0x1adfaa0): stub
0040:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00fc:err:module:open_builtin_file failed to load .so lib "/usr/lib32/wine/l3codeca.acm.so"
00fc:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
00fc:err:winediag:gnutls_initialize failed to load libgnutls, no support for pfx import/export
00fc:err:module:open_builtin_file failed to load .so lib "/usr/lib32/wine/mp3dmod.dll.so"
0104:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0104:err:winediag:gnutls_initialize failed to load libgnutls, no support for pfx import/export
0104:fixme:file:NtLockFile I/O completion on lock not implemented yet
0104:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0104:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0104:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00fc:err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.
00fc:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00fc:err:winediag:load_gssapi_krb5 Failed to load libgssapi_krb5, Kerberos SSP support will not be available.
00fc:fixme:dwmapi:DwmIsCompositionEnabled 6D95DD14
010c:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0df537, context 0x10d8fd8, init_notify 0, handle 0x191fce8): stub
00fc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00fc:err:module:open_builtin_file failed to load .so lib "/usr/lib32/wine/winegstreamer.dll.so"
wine: configuration in L"<path_of_winebottle>" has been updated.
0024:err:module:open_builtin_file failed to load .so lib "/usr/lib32/wine/l3codeca.acm.so"

Then I ran these commands

WINEPREFIX=<path_of_winebottle> winetricks vb6run vcrun6 wsh57 corefonts

WINEPREFIX=<path_of_winebottle> wine Setup.Exe

I keep on getting an error message regarding that the setup is unable to detect sound.

image

I have tried to use WINEARCH=win32 as well and I tried to not export it to an external directory and just used the default directory (which is located in ~/.wine), it still failed.

I ran this on Linux Mint as a live ISO (on the same computer( and it ran fine no issues at all. I am currently running EndeavourOS (Arch-based distro) so I am not too sure why I am having issues over here. Does anyone know what is wrong with it?

When running winecfg, I went to the audio settings and I set it to default and tested the audio output (from the setting) no issues. I have even tried to then set it to pulseadiuo still no issues when testing the sound, but when runing the executable no sound.

1 Like

I can’t help much since I don’t use Wine anymore, but what helped me when I was having sound problems was this:
https://wiki.archlinux.org/index.php/Wine#Sound

Make sure your system has all the necessary libraries and that only one (correct!) backend is selected in winecfg.

2 Likes

By default sound issues may arise when running Wine applications. Ensure only one sound device is selected in winecfg .

  • If you want to use the ALSA driver in Wine, you will need to install lib32-alsa-lib and lib32-alsa-plugins.
  • If you want to use the PulseAudio driver in Wine, you will need to install the lib32-libpulse package.
  • If you want to use the OSS driver in Wine, you will need to install the lib32-alsa-oss package. The OSS driver in the kernel will not suffice.
  • Games that use advanced sound systems ( e.g. TESV: Skyrim) may additionally require installations of lib32-openal.

would these even support 64 bit applications? Also this is for wine, I don’t install it via pacman, am I correct?

I think they should, unless you have built 64-bit Wine without 32-bit support.

You install them on your host machine. Via pacman the system is Arch-based.

1 Like

I will have a look at it soon :slight_smile:

I didn’t specify WINEARCH I just left it as it is. So does it support both 32bit and 64bit?

Both @Tasia91 and @unix_lover pointed to the arch wiki on WINE. In my case, using PulseAudio, I installed lib32-libpulse and worked great!

1 Like

Yeah it worked just fine mate :slight_smile: