You are not logged in.

#1 2016-02-19 20:06:14

Gosamt
Member
Registered: 2016-02-19
Posts: 5

[SOLVED] Sound not working when using wine to execute a .exe video

Hi, I am new on arch.

My issue: when i try to run a video in .exe (screencast videos were made on Screen2EXE) the video is ok but  sound not worked.

I got this

$ wine video.exe
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded 

The WINEPREFIX was set on win32 and i have install the sound dependencies mentioned on arch wiki:

  • lib32-alsa-lib

  • lib32-alsa-plugins

  • lib32-libpulse

  • lib32-alsa-oss

  • lib32-openal

I tried to set sound on alsa with winetricks but still nothing

$ winetricks sound=alsa
Executing w_do_call sound=alsa
Executing load_sound alsa
Setting sound driver to alsa
Executing winetricks_early_wine regedit C:\windows\Temp\_sound=alsa\set-sound.reg
You opted in, so reporting 'sound=alsa ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't.  Use --optout to disable future reports.

Thanks in advance smile

Last edited by Gosamt (2016-02-22 14:25:48)

Offline

#2 2016-02-20 09:22:52

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] Sound not working when using wine to execute a .exe video

Are you sure you have installed all the required dependencies, I do not see mpg123, lib32-mpg123 that are required for some apps to play sound. Install all the optional dependencies unless you know you don't them.

Offline

#3 2016-02-20 18:22:02

Gosamt
Member
Registered: 2016-02-19
Posts: 5

Re: [SOLVED] Sound not working when using wine to execute a .exe video

olive wrote:

Are you sure you have installed all the required dependencies, I do not see mpg123, lib32-mpg123 that are required for some apps to play sound. Install all the optional dependencies unless you know you don't them.

Yes, this is a list of all dependencies installed:

  • alsa-lib

  • alsa-plugins

  • lib32-alsa-lib

  • lib32-alsa-plugins

  • mpg123

  • lib32-mpg123

  • libpulse

  • lib32-libpulse

  • alsa-oss

  • lib32-alsa-oss

  • openal

  • lib32-openal

  • oss

Offline

#4 2016-02-20 19:18:32

Gosamt
Member
Registered: 2016-02-19
Posts: 5

Re: [SOLVED] Sound not working when using wine to execute a .exe video

EDITED: screenshot removed

I tested the sound with winecfg, and got a low sound and the error in terminal (the same when try to run video.exe)

 $ wine winecfg 
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded 

But when I tried to run the video.exe still no sound.

Last edited by Gosamt (2016-02-21 22:09:02)

Offline

#5 2016-02-20 20:29:57

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] Sound not working when using wine to execute a .exe video

Do not post screenshots of text output; post the actual text (see the Forum etiquette), moreover your image is unreadable.

Last edited by olive (2016-02-20 20:31:18)

Offline

#6 2016-02-21 22:10:30

Gosamt
Member
Registered: 2016-02-19
Posts: 5

Re: [SOLVED] Sound not working when using wine to execute a .exe video

olive wrote:

Do not post screenshots of text output; post the actual text (see the Forum etiquette), moreover your image is unreadable.

Thanks, I removed the screenshot

Offline

#7 2016-02-22 14:25:28

Gosamt
Member
Registered: 2016-02-19
Posts: 5

Re: [SOLVED] Sound not working when using wine to execute a .exe video

The problem isn't the sound config in wine, a codec missing for the video.exe.

I marked this thread as SOLVED

Offline

Board footer

Powered by FluxBB