You are not logged in.

#1 2011-10-16 21:10:36

lilorox
Member
Registered: 2011-10-16
Posts: 25

[SOLVED] Problems running GTA San Andreas with wine-1.3.30

Hi,

First time poster and first time user of Arch Linux but I must say I'm already loving the simplicity and the flixiblity smile

But I have a tiny problem with one game in wine: GTA San Andreas. It used to run fine in Ubuntu with PlayOnLinux but I can't make it work on Arch sad

Every time I launch it, I get a popup saying that GTASA found no soundcard...

I usually have JACK running and I send all ALSA sound to JACK (via the asound.conf indicated here: https://wiki.archlinux.org/index.php/JA … with_ALSA) and when I launch GTASA with this setup, the popup appaears and the console says this:

err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so

If I comment out the pcm.!default part of asound.conf and stop JACK, I get no popup but the game doesn't start and the console says:

err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.

In both scenarii (with or without JACK)), I can hear a sound when testing in winecfg.

Here are is little bit more information on my system:

$ uname -a
Linux lilorox 3.0-ARCH #1 SMP PREEMPT Fri Oct 7 11:35:34 CEST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz GenuineIntel GNU/Linux
$ lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 240] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
04:02.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
04:05.0 IDE interface: Integrated Technology Express, Inc. IT8213 IDE Controller
04:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
$ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: CMI8738 [C-Media CMI8738], périphérique 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: CMI8738 [C-Media CMI8738], périphérique 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: CMI8738 [C-Media CMI8738], périphérique 2: CMI8738-MC6 [C-Media PCI IEC958]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0

(sorry it is in french, a `LANG=C aplay -l` didn't help...)

Also, it might be worth noticing that with or without JACK, the sound is working just fine.

If you need more information, please let me know!

Thanks in advance for your help, it will be very much appreciated smile

Bye,
lilorox

Last edited by lilorox (2011-11-13 13:21:38)

Offline

#2 2011-10-18 22:41:42

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: [SOLVED] Problems running GTA San Andreas with wine-1.3.30

Hi, firstly did you:

export WINEARCH=win32

before installing GTA SA?

Secondly, if you haven't already, I think you'll need to install lib32-alsa-lib, lib32-alsa-plugins, lib32-mpg123, lib32-jack and lib32-nvidia-utils and probably some other lib32 bits and bobs from multilib smile

Offline

#3 2011-10-19 06:18:06

lilorox
Member
Registered: 2011-10-16
Posts: 25

Re: [SOLVED] Problems running GTA San Andreas with wine-1.3.30

Hi, thanks for your answer.
No I didn't use the WINEARCH env variable before install, i'll try that.

I will try to install some more 32 bits libs but lib32-jack will not get along with jack2... sad

Offline

#4 2011-10-19 20:04:23

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: [SOLVED] Problems running GTA San Andreas with wine-1.3.30

ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so

libasound_module_pcm_jack.so is in the lib32-alsa-plugins pkg so it may work without lib32-jack but you might just have to use alsa in wine.

Also, the export should come before creating the wine dir you're going to install into.

Something like:

export WINEARCH=win32
export WINEPREFIX=$HOME/.wine-gtasa
winecfg
wine setup.exe

should work for you.

Offline

#5 2011-11-13 13:22:04

lilorox
Member
Registered: 2011-10-16
Posts: 25

Re: [SOLVED] Problems running GTA San Andreas with wine-1.3.30

Thanks a lot, it worked for me wink

Offline

Board footer

Powered by FluxBB