Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Mass Effect 2 with wine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Sun Apr 05, 2015 12:04 pm    Post subject: [solved] Mass Effect 2 with wine Reply with quote

Hi,

When starting ME2 under wine, I only have sound with the intros, after that sound stops working.
I am running under AMD 64.
Starting ME2 from konsole I get the following message:

Code:
WINEPREFIX=~/wine_games/.wine_me2 wine "/mnt/games/other/Mass Effect 2/MassEffect2Launcher.exe"
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
err:quartz:GetClassMediaFile Media class not found
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/conf.c:3325:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/seq/seq.c:935:(snd_seq_open_noupdate) Unknown SEQ default
fixme:gstreamer:GST_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}!
fixme:gstreamer:unknown_type Could not find a filter for caps: video/x-ms-asf
fixme:gstreamer:watch_bus decodebin20: Your GStreamer installation is missing a plug-in.
fixme:gstreamer:watch_bus decodebin20: A Advanced Streaming Format (ASF) demuxer plugin is required to play this stream, but not installed.
fixme:thread:__hook_pthread_create most thread attributes ignored!
fixme:thread:start_thread Started native thread 00000028
fixme:gstreamer:GST_Connect GStreamer could not find any streams
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:gameux:GameExplorerImpl_VerifyAccess (0x1384a0, L"Z:\\mnt\\games\\other\\Mass Effect 2\\Binaries\\MassEffect2.exe", 0x18fe2e4)
fixme:win:EnumDisplayDevicesW ((null),0,0x18fd048,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x18fcde8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x18fe518,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x18fe2b8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x18fe1e8,0x00000000), stub!
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:wbemprox:client_security_SetBlanket 0xf405767c, 0x14abd8, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf405767c
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:client_security_SetBlanket 0xf405767c, 0x14ac28, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf405767c
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ed8 Not using pulse locked data: 0 8187/47970 0/47970
fixme:imm:ImmReleaseContext (0x7003a, 0x1a50da78): stub
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ed8 Not using pulse locked data: 0 8187/9594 37797/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ed8 Not using pulse locked data: 0 8187/9594 38352/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ed8 Not using pulse locked data: 0 8187/9594 38136/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ed8 Not using pulse locked data: 0 8187/9594 37752/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ed8 Not using pulse locked data: 0 8187/9594 38259/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ed8 Not using pulse locked data: 0 8187/9594 38091/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/47970 0/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/9594 38085/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/9594 37917/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/9594 37725/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/9594 38040/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/9594 37856/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/9594 38331/47970
fixme:pulse:AudioRenderClient_GetBuffer 0x1a361ea8 Not using pulse locked data: 0 8187/9594 37987/47970
fixme:win:EnumDisplayDevicesW ((null),0,0x18fddc8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x18fdb68,0x00000000), stub!


regarding the message "Cannot open shared library libasound_module_conf_pulse.so"
I found the following thread:

https://forums.gentoo.org/viewtopic-p-7446890.html

But with no success.
Could it be related to a x86 > AMD64 multilib problem?

wine --version
wine-1.7.39

ME1 was running perfectly under the same conditions.

Thank you
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...


Last edited by Linubie on Mon Apr 06, 2015 8:39 am; edited 1 time in total
Back to top
View user's profile Send private message
NP-Hardass
n00b
n00b


Joined: 24 Mar 2013
Posts: 36

PostPosted: Sun Apr 05, 2015 1:17 pm    Post subject: Reply with quote

What flags did you build wine with? Based on the error log, I'm assuming gstreamer and pulseaudio? It's worth noting, as noted in a warning message when you emerged wine, it is known that gstreamer can break some games. So assuming that you do, in fact, have that enabled, you should rebuild wine without it and see if that resolves the crash. While you are at it, might as well tack on --with-bdeps=y for good measure.
Additionally, do you have media-plugins/alsa-plugins installed, and with what flags? We don't currently have wine requiring it, but your log would seem to indicate that it wants it. Need to mull it over, to determine whose responsibility it is to select that.

Anyway, just get back to me, and I'll see what we can do about resolving it.
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Sun Apr 05, 2015 2:18 pm    Post subject: Reply with quote

Hi, thank you for the answer,

and you are right wine is compiled with pulsaudio and gstreamer USE FLAG:

app-emulation/wine-1.7.39::wine-overlay USE="X alsa fontconfig gecko gphoto2 gstreamer jpeg lcms mono mp3 ncurses nls openal opengl oss perl png prelink pulseaudio realtime run-exes scanner ssl threads truetype udisks v4l xcomposite xinerama xml -capi -cups -custom-cflags -dos -gsm -ldap -netapi -odbc -opencl -osmesa -pcap -pipelight -s3tc -samba (-selinux) -staging {-test} -vaapi" ABI_X86="32 64 (-x32)" LINGUAS="de -ar -bg -ca -cs -da -el -en -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 KiB

media-plugins/alsa-plugins are installed too:

[ebuild R ] media-plugins/alsa-plugins-1.0.28 USE="ffmpeg jack libsamplerate pulseaudio speex -debug" ABI_X86="(64) -32 (-x32)" 0 KiB.

OK I will try to compile wine again without pulseaudio and gestreamer USE FLAG.
Should I also unset pulseaudio for alsa-plugins?

Regarding to https://wiki.gentoo.org/wiki/Project:Portage/FAQ
I have set EMERGE_DEFAULT_OPTS="--with-bdeps=y in make.conf and will recompile as mentioned in the FAQ with emerge --deep --with-bdeps=y --update @world -av.
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2573
Location: Here and Away Again

PostPosted: Sun Apr 05, 2015 9:58 pm    Post subject: Re: Mass Effect 2 with wine Reply with quote

This will likely do nothing for this particular issue, but I have a general comment with regards to this part:

Linubie wrote:
Code:
WINEPREFIX=~/wine_games/.wine_me2 wine "/mnt/games/other/Mass Effect 2/MassEffect2Launcher.exe"

It's best to cd to where the executable lives at, instead of running from somewhere else as that often causes applications to fail due to the working directory.

For example:

Code:
cd "/mnt/games/other/Mass Effect 2" && WINEPREFIX=~/wine_games/.wine_me2 wine MassEffect2Launcher.exe

Good luck!
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Mon Apr 06, 2015 7:04 am    Post subject: Reply with quote

OK I removed pulseaudio completely from my installation and I am starting the game like suggested, with no success.
Code:
cd "/mnt/games/other/Mass Effect 2" && WINEPREFIX=~/wine_games/.wine_me2 wine MassEffect2Launcher.exe

It's weird because it seams to be the only game right now thats making trouble.
Wine AppDB is stating Gold and Platinum, so it seems to run nice, normally.

https://appdb.winehq.org/objectManager.php?sClass=application&iId=11010
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Mon Apr 06, 2015 8:38 am    Post subject: Reply with quote

Got it!
I need to run MassEffect2.exe to have sound after the intros.
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum