You are not logged in.

#1 2015-09-18 06:44:42

ayr-ton
Member
From: Brazil
Registered: 2015-09-14
Posts: 29
Website

[SOLVED] Sound not working at wine-1.7.51

I'm using Gnome 3.16.2 and wine-1.7.51.

Kernel 4.1.6-1-ARCH x86_64 GNU/Linux

I have created a 32 bits wineprefix with the following command:

WINEARCH=win32 WINEPREFIX=$HOME/.wineprefix/starcraft wineboot -u

I also have installed lib32-alsa-lib, lib32-alsa-plugin, lib32-libpulse, lib32-alsa-oss package and lib32-openal.

The sound is not working for wine when I hit "Test Sound" at the "Audio" tab from winecfg. First it was running into a issue for loading the shared libs.

So, I have renamed /etc/asound.conf to /etc/asound.conf.bkp

Now, the error is:

fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:614:(snd_pcm_dsnoop_open) unable to open slave
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded

Also, in order to run Starcraft, that is my final objective in make this works, I would need to use OSS, as we could see in the following Wiki:

https://wiki.archlinux.org/index.php/Starcraft

If I run regedit for this prefix and change the driver as the Wine wiki (https://wiki.archlinux.org/index.php/Wine#Sound) describes, the sound drivers appears as "(None)" at the winecfg.

Last edited by ayr-ton (2015-09-19 17:59:38)


Fork it all! Fork it all!

Offline

#2 2015-09-18 09:06:04

headkase
Member
Registered: 2011-12-06
Posts: 2,004

Re: [SOLVED] Sound not working at wine-1.7.51

Are you using any other sound server besides ALSA?  WINE only supports ALSA.  So, if you're running PulseAudio for example you would kill it before starting your WINE program and restart it after.  That is easily done in one line:

sh -c 'pulseaudio --kill && <command> && pulseaudio --start'

Offline

#3 2015-09-18 11:00:20

DarkCerberus
Banned
From: Holsworthy, Devon
Registered: 2011-12-31
Posts: 252

Re: [SOLVED] Sound not working at wine-1.7.51

headkase wrote:

Are you using any other sound server besides ALSA?  WINE only supports ALSA.  So, if you're running PulseAudio for example you would kill it before starting your WINE program and restart it after.  That is easily done in one line:

sh -c 'pulseaudio --kill && <command> && pulseaudio --start'

The Vanilla Wine supports alsa only but the wine-staging supports pulseaudio by default see https://github.com/wine-compholio/wine-staging

Last edited by DarkCerberus (2015-09-18 11:00:52)


Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago.  ---  Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way

Offline

#4 2015-09-18 17:07:02

ayr-ton
Member
From: Brazil
Registered: 2015-09-14
Posts: 29
Website

Re: [SOLVED] Sound not working at wine-1.7.51

I will try wine-staging and touch bases about the results. :-)


Fork it all! Fork it all!

Offline

#5 2015-09-19 16:43:17

ayr-ton
Member
From: Brazil
Registered: 2015-09-14
Posts: 29
Website

Re: [SOLVED] Sound not working at wine-1.7.51

DarkCerberus wrote:
headkase wrote:

Are you using any other sound server besides ALSA?  WINE only supports ALSA.  So, if you're running PulseAudio for example you would kill it before starting your WINE program and restart it after.  That is easily done in one line:

sh -c 'pulseaudio --kill && <command> && pulseaudio --start'

The Vanilla Wine supports alsa only but the wine-staging supports pulseaudio by default see https://github.com/wine-compholio/wine-staging

Actually it works. :)

I just need to go to the staging settings.

Thank you :)

Last edited by ayr-ton (2015-09-19 16:59:59)


Fork it all! Fork it all!

Offline

#6 2015-09-19 17:06:00

ayr-ton
Member
From: Brazil
Registered: 2015-09-14
Posts: 29
Website

Re: [SOLVED] Sound not working at wine-1.7.51

I have updated the Wiki:

https://wiki.archlinux.org/index.php/Starcraft

Thank you for all the help.


Fork it all! Fork it all!

Offline

Board footer

Powered by FluxBB