You are not logged in.

#1 2009-03-21 12:31:18

archon
Member
Registered: 2009-03-21
Posts: 9

wine and 3d games

Hi,
Im running multilib arch64 and trying to play some 3d games through wine. Is that possible at all? Non 3d apps works well but when i try games it stucks. Eg. Launching counter-strike through steam gives me:

err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not regi
stered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc
} could be created for context 0x1
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
err:d3d:getColorBits Unsupported format: WINED3DFMT_R16G16B16A16_FLOAT
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
wine: Unhandled page fault on execute access to 0x01404b7e at address 0x1404b7
e (thread 0035), starting debugger...
Unhandled exception: page fault on execute access to 0x01404b7e in 32-bit code
 (0x01404b7e).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:01404b7e ESP:0033ff0c EBP:0033ffe8 EFLAGS:00010246(   - 00      -RIZP1)
 EAX:00000000 EBX:7ee8e818 ECX:03d5d60f EDX:00000000
 ESI:7ffdf000 EDI:01404b7e
Stack dump:
0x0033ff0c:  7ee52840 7ffdf000 00000000 00000000
0x0033ff1c:  00000000 00000000 00000000 00000000
0x0033ff2c:  ffffffff 7ee528a0 7ee1f3d0 7ee8e818
0x0033ff3c:  ffdf2ef6 7ffdf000 0033ffe8 973298f2
0x0033ff4c:  3a82120f 00000000 00000000 00000000
0x0033ff5c:  00000000 00000000 00000000 00000000
Backtrace:
=>0 0x01404b7e EntryPoint() in hl (0x0033ffe8)
  1 0xf7e8ab57 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x01404b7e EntryPoint in hl: pushl      %ebp
Modules:
Module  Address                 Debug info      Name (46 modules)
PE       1400000- 3517000       Export          hl
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
ELF     7e5cd000-7e5d2000       Deferred        libxfixes.so.3
ELF     7e5d2000-7e5d5000       Deferred        libxcomposite.so.1
ELF     7e5d5000-7e5dd000       Deferred        libxrender.so.1
ELF     7e5dd000-7e5e2000       Deferred        libxxf86vm.so.1
ELF     7e5e2000-7e602000       Deferred        imm32<elf>
  \-PE  7e5f0000-7e602000       \               imm32
ELF     7e602000-7e607000       Deferred        libxdmcp.so.6
ELF     7e607000-7e620000       Deferred        libxcb.so.1
ELF     7e620000-7e70e000       Deferred        libx11.so.6
ELF     7e70e000-7e71d000       Deferred        libxext.so.6
ELF     7e71d000-7e735000       Deferred        libice.so.6
ELF     7e735000-7e73d000       Deferred        libsm.so.6
ELF     7e753000-7e7ee000       Deferred        winex11<elf>
  \-PE  7e760000-7e7ee000       \               winex11
ELF     7e887000-7e8a7000       Deferred        libexpat.so.1
ELF     7e8a7000-7e8d2000       Deferred        libfontconfig.so.1
ELF     7e8d2000-7e8e6000       Deferred        libz.so.1
ELF     7e8e6000-7e96b000       Deferred        libfreetype.so.6
ELF     7e96b000-7ea0a000       Deferred        gdi32<elf>
  \-PE  7e980000-7ea0a000       \               gdi32
ELF     7ea0a000-7eb54000       Deferred        user32<elf>
  \-PE  7ea20000-7eb54000       \               user32
ELF     7eb54000-7eba9000       Deferred        advapi32<elf>
  \-PE  7eb60000-7eba9000       \               advapi32
ELF     7eba9000-7ebbe000       Deferred        libresolv.so.2
ELF     7ebbe000-7ebdc000       Deferred        iphlpapi<elf>
  \-PE  7ebc0000-7ebdc000       \               iphlpapi
ELF     7ebdc000-7ec08000       Deferred        ws2_32<elf>
  \-PE  7ebe0000-7ec08000       \               ws2_32
ELF     7ec08000-7ec22000       Deferred        wsock32<elf>
  \-PE  7ec10000-7ec22000       \               wsock32
ELF     7eddb000-7ef15000       Deferred        kernel32<elf>
  \-PE  7ee00000-7ef15000       \               kernel32
ELF     7ef15000-7ef3b000       Deferred        libm.so.6
ELF     7ef51000-7f000000       Deferred        ntdll<elf>
  \-PE  7ef60000-7f000000       \               ntdll
ELF     f7d10000-f7d13000       Deferred        libxau.so.6
ELF     f7d13000-f7d1e000       Deferred        libnss_files.so.2
ELF     f7d20000-f7d24000       Deferred        libdl.so.2
ELF     f7d24000-f7e6b000       Deferred        libc.so.6
ELF     f7e6b000-f7e83000       Deferred        libpthread.so.0
ELF     f7e83000-f7fbe000       Export          libwine.so.1
ELF     f7fd0000-f7fd4000       Deferred        libuuid.so.1
ELF     f7fd5000-f7ff3000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 
        0000002e    0
        0000002c    0
        00000047    0
        00000046    1
        00000045    1
        00000044    1
        00000043    1
        00000042    1
        00000041    1
        0000003f    0
        0000003c    1
        0000003b    0
        0000003a    0
        00000039    0
        00000037    1
        00000034    0
        00000033   15
        00000031    0
        00000030    0
        0000002d    0
        0000002b    0
        0000002a    1
        00000029    0
        00000028    0
        00000027    0
        00000026    0
        00000025    0
        00000024    0
        00000023    0
        00000022    0
        00000009    0
0000000c 
        0000001e    0
        00000018    0
        00000012    0
        0000000e    0
        0000000d    0
0000000f 
        00000014    0
        00000011    0
        00000010    0
00000015 
        0000001a    0
        00000017    0
        00000016    0
0000001b 
        0000001f    0
        0000001d    0
        0000001c    0
00000020 
        00000021    0
0000002f (D) Z:\home\archon\gry\steam\SteamApps\archon44\counter-strike\hl.exe
        00000035    0 <==
Backtrace:
=>0 0x01404b7e EntryPoint() in hl (0x0033ffe8)
  1 0xf7e8ab57 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
[archon@tux ~]$ pacman -Q | grep "lib32"
lib32-alsa-lib 1.0.19-1
lib32-e2fsprogs 1.41.3-2
lib32-expat 2.0.1-1.1
lib32-fontconfig 2.6.0-2
lib32-freetype2 2.3.8-1
lib32-gcc-libs 4.3.3-1
lib32-glibc 2.9-4
lib32-libdrm 2.3.1-2
lib32-libice 1.0.5-1
lib32-libjpeg 6b-6
lib32-libsm 1.1.0-1.1
lib32-libstdc++5 3.3.6-3
lib32-libx11 1.1.99.2-2
lib32-libxau 1.0.4-1
lib32-libxcb 1.1.93-1
lib32-libxcomposite 0.4.0-1
lib32-libxdamage 1.1.1-1
lib32-libxdmcp 1.0.2-1
lib32-libxext 1.0.5-1
lib32-libxfixes 4.0.3-1
lib32-libxml2 2.7.2-1
lib32-libxrender 0.9.4-1
lib32-libxslt 1.1.24-1
lib32-libxt 1.0.5-1
lib32-libxxf86vm 1.0.2-1
lib32-nvidia-utils 180.29-3
lib32-zlib 1.2.3.3-3

Does anyone know what could be a problem, or maybe that's impossible to make it run?

Last edited by archon (2009-03-21 12:33:41)

Offline

#2 2009-03-21 12:41:51

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: wine and 3d games

Try installing lib32-libgl or lib32-catalyst-utils if you use fglrx drivers

Offline

#3 2009-03-21 12:55:11

archon
Member
Registered: 2009-03-21
Posts: 9

Re: wine and 3d games

I already have lib32-nvidia-utils 180.29-3

Offline

#4 2009-03-21 18:04:30

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: wine and 3d games

There is no problem specifically with 3D games and Wine. 3D games are likely to be more complex than 2D, so more likely that Wine won't work with them, but that's it.

http://appdb.winehq.org/objectManager.p … n&iId=3731 says that app should work fine/perfect in Wine.

I'd try installing a ton of lib32-*s... also, Google your errors. I'm thinking the "CoGetClassObject" ones, and the "WINED3DFMT_R16G16B16A16_FLOAT" one.
You are using bin32-wine 1.1.17, right? You do have a 3D graphics driver, right? Do 'glxinfo | grep direct'. If it says you have direct rendering, you're good, or if you're already doing 3D games and/or Compiz/xcompmgr/cairo-compmgr, etc.

Here's some links:
http://ubuntuforums.org/archive/index.php/t-652090.html
http://forums.debian.net/viewtopic.php?t=37213
http://wiki.debian.org/HalfLife2 (do read this)

Offline

#5 2009-03-22 12:11:16

archon
Member
Registered: 2009-03-21
Posts: 9

Re: wine and 3d games

Yea, i have working 3d driver and wine 1.1.7. I've installed whole lib32 group and googled to create some new keys in wine regedit but it didn't helped.
Everything worked fine on 32bit just when i switched to 64 3d games in wine broke ;(

Offline

#6 2009-03-23 03:27:11

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: wine and 3d games

Counterstrike itself is not 64bit friendly anyway, even if you could get it to run its prone to random crashes on 64bit under wine.

Offline

#7 2009-03-26 03:23:39

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: wine and 3d games

Really? AFAIK when using 32-bit Wine there's no difference to the app.

Offline

Board footer

Powered by FluxBB