Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I hope you could help me out, this's the problem: I was trying to play Temple Of Elemental Evil (ToEE for short), it installed ok, I aplied an update, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4

    Wine Error with d3d, Debian


    Hi, I hope you could help me out, this's the problem:
    I was trying to play Temple Of Elemental Evil (ToEE for short), it installed ok, I aplied an update, but the problem came when I tried to run it, here's the output I got:
    Code:
    wine ToEE.exe
    fixme:win:EnumDisplayDevicesW ((null),0,0x33f720,0x00000000), stub!
    fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
    err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
    fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
    pthread_mutex_lock.c:108: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
    wine: Assertion failed at address 0xb7fb3410 (thread 0009), starting debugger...
    Unhandled exception: assertion failed in 32-bit code (0xb7fb3410).
    Register dump:
     CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
     EIP:b7fb3410 ESP:0033ede8 EBP:0033ee00 EFLAGS:00000202(   - 00      - - I1)
     EAX:00000000 EBX:000041fe ECX:000041fe EDX:00000006
     ESI:0033eea0 EDI:b7e34ff4
    Stack dump:
    0x0033ede8:  0033ee00 00000006 000041fe b7d30811
    0x0033edf8:  b7e34ff4 b7d026c0 0033ef2c b7d31fb9
    0x0033ee08:  00000006 0033eea0 00000000 00000068
    0x0033ee18:  7c05e6f0 00000068 00000000 b7d6ae0d
    0x0033ee28:  0033ee64 7c05e6f8 7c05e75c 0033ef3c
    0x0033ee38:  b7e34ff4 0000005f 00000060 0033ef10
    Backtrace:
    =>1 0xb7fb3410 (0x0033ee00)
      2 0xb7d31fb9 abort+0x109() in libc.so.6 (0x0033ef2c)
      3 0xb7d29fbf __assert_fail+0x10f() in libc.so.6 (0x0033ef70)
      4 0xb7e40166 _L_mutex_lock_29() in libpthread.so.0 (0x0033ef98)
      5 0x7defa5e7 _mesa_dereference_renderbuffer+0x27() in unichrome_dri.so (0x0033efb8)
      6 0x7ded569b _mesa_free_framebuffer_data+0x5b() in unichrome_dri.so (0x0033eff8)
      7 0x7ded597e _mesa_destroy_framebuffer+0x2e() in unichrome_dri.so (0x0033f018)
      8 0x7de939d0 in unichrome_dri.so (+0x299d0) (0x0033f028)
      9 0x7de89890 in unichrome_dri.so (+0x1f890) (0x0033f058)
      10 0x7de88e4c in unichrome_dri.so (+0x1ee4c) (0x0033f098)
      11 0x7de88fb8 in unichrome_dri.so (+0x1efb8) (0x0033f0c8)
      12 0x7e09a7f0 in libgl.so.1 (+0x147f0) (0x0033f118)
      13 0x7e09ac12 glXCreateContext+0x32() in libgl.so.1 (0x0033f138)
      14 0x7e49a492 X11DRV_wglMakeCurrent+0x282() in winex11 (0x0033f1a8)
      15 0x7eca5927 wglMakeCurrent+0x67() in gdi32 (0x0033f1d8)
      16 0x7e8da958 CreateContext+0x3c8() in wined3d (0x0033f278)
      17 0x7e8f1a71 in wined3d (+0x31a71) (0x0033f3d8)
      18 0x7e9c66d4 in d3d8 (+0x166d4) (0x0033f458)
      19 0x7e9c8961 in d3d8 (+0x18961) (0x0033f4c8)
      20 0x7e8f2fd6 in wined3d (+0x32fd6) (0x0033f568)
      21 0x7e9c9c3a in d3d8 (+0x19c3a) (0x0033f5e8)
      22 0x101f16d6 in temple (+0x1f16d6) (0x00000001)
      23 0x00000000 (0x00000000)
    0xb7fb3410: popl        %ebp
    Modules:
    Module  Address                 Debug info      Name (90 modules)
    PE        340000-  360000       Deferred        tio
    PE        360000-  37d000       Deferred        zlib-1.2.1
    PE        400000-  4096f0       Deferred        toee
    PE      10000000-11ed4000       Export          temple
    PE      1e000000-1e0d3000       Deferred        pytoee22
    PE      21100000-21164000       Deferred        mss32
    PE      30000000-3006d000       Deferred        binkw32
    ELF     7b800000-7b928000       Deferred        kernel32<elf>
      \-PE  7b820000-7b928000       \               kernel32
    ELF     7bc00000-7bca2000       Deferred        ntdll<elf>
      \-PE  7bc10000-7bca2000       \               ntdll
    ELF     7bf00000-7bf03000       Deferred        <wine-loader>
    PE      7c340000-7c396000       Deferred        msvcr71
    ELF     7de6a000-7e07d000       Export          unichrome_dri.so
    ELF     7e07d000-7e086000       Deferred        libdrm.so.2
    ELF     7e086000-7e0f0000       Export          libgl.so.1
    ELF     7e109000-7e11d000       Deferred        midimap<elf>
      \-PE  7e110000-7e11d000       \               midimap
    ELF     7e11d000-7e143000       Deferred        msacm32<elf>
      \-PE  7e120000-7e143000       \               msacm32
    ELF     7e143000-7e204000       Deferred        libasound.so.2
    ELF     7e206000-7e21d000       Deferred        msacm32<elf>
      \-PE  7e210000-7e21d000       \               msacm32
    ELF     7e21d000-7e252000       Deferred        winealsa<elf>
      \-PE  7e230000-7e252000       \               winealsa
    ELF     7e296000-7e2c9000       Deferred        uxtheme<elf>
      \-PE  7e2a0000-7e2c9000       \               uxtheme
    ELF     7e2c9000-7e2ce000       Deferred        libxfixes.so.3
    ELF     7e2ce000-7e2d7000       Deferred        libxcursor.so.1
    ELF     7e2d7000-7e2da000       Deferred        libxrandr.so.2
    ELF     7e2da000-7e2e2000       Deferred        libxrender.so.1
    ELF     7e2e2000-7e2e5000       Deferred        libxinerama.so.1
    ELF     7e2e5000-7e305000       Deferred        imm32<elf>
      \-PE  7e2f0000-7e305000       \               imm32
    ELF     7e305000-7e30a000       Deferred        libxdmcp.so.6
    ELF     7e30a000-7e30d000       Deferred        libxau.so.6
    ELF     7e30d000-7e3f9000       Deferred        libx11.so.6
    ELF     7e3f9000-7e407000       Deferred        libxext.so.6
    ELF     7e407000-7e40c000       Deferred        libxxf86vm.so.1
    ELF     7e40c000-7e424000       Deferred        libice.so.6
    ELF     7e424000-7e42d000       Deferred        libsm.so.6
    ELF     7e446000-7e4dc000       Export          winex11<elf>
      \-PE  7e450000-7e4dc000       \               winex11
    ELF     7e5b6000-7e5d6000       Deferred        libexpat.so.1
    ELF     7e5d6000-7e601000       Deferred        libfontconfig.so.1
    ELF     7e601000-7e615000       Deferred        libz.so.1
    ELF     7e615000-7e67f000       Deferred        libfreetype.so.6
    ELF     7e67f000-7e710000       Deferred        winmm<elf>
      \-PE  7e690000-7e710000       \               winmm
    ELF     7e710000-7e723000       Deferred        libresolv.so.2
    ELF     7e73c000-7e75a000       Deferred        iphlpapi<elf>
      \-PE  7e740000-7e75a000       \               iphlpapi
    ELF     7e75a000-7e7ba000       Deferred        rpcrt4<elf>
      \-PE  7e770000-7e7ba000       \               rpcrt4
    ELF     7e7ba000-7e85c000       Deferred        ole32<elf>
      \-PE  7e7d0000-7e85c000       \               ole32
    ELF     7e85c000-7e894000       Deferred        dinput<elf>
      \-PE  7e860000-7e894000       \               dinput
    ELF     7e894000-7e8ac000       Deferred        dinput8<elf>
      \-PE  7e8a0000-7e8ac000       \               dinput8
    ELF     7e8ac000-7e9ad000       Export          wined3d<elf>
      \-PE  7e8c0000-7e9ad000       \               wined3d
    ELF     7e9ad000-7e9d8000       Export          d3d8<elf>
      \-PE  7e9b0000-7e9d8000       \               d3d8
    ELF     7e9d8000-7ea98000       Deferred        comctl32<elf>
      \-PE  7e9e0000-7ea98000       \               comctl32
    ELF     7ea98000-7eba8000       Deferred        shell32<elf>
      \-PE  7eab0000-7eba8000       \               shell32
    ELF     7eba8000-7ebf2000       Deferred        dbghelp<elf>
      \-PE  7ebb0000-7ebf2000       \               dbghelp
    ELF     7ebf2000-7ec43000       Deferred        advapi32<elf>
      \-PE  7ec00000-7ec43000       \               advapi32
    ELF     7ec43000-7ecdd000       Export          gdi32<elf>
      \-PE  7ec50000-7ecdd000       \               gdi32
    ELF     7ecdd000-7ee21000       Deferred        user32<elf>
      \-PE  7ecf0000-7ee21000       \               user32
    ELF     7ee21000-7ee79000       Deferred        shlwapi<elf>
      \-PE  7ee30000-7ee79000       \               shlwapi
    ELF     7efa1000-7efac000       Deferred        libnss_files.so.2
    ELF     7efac000-7efc2000       Deferred        libnsl.so.1
    ELF     7efc2000-7efe7000       Deferred        libm.so.6
    ELF     7efed000-7eff7000       Deferred        libnss_nis.so.2
    ELF     7eff7000-7f000000       Deferred        libnss_compat.so.2
    ELF     b7d04000-b7d08000       Deferred        libdl.so.2
    ELF     b7d08000-b7e39000       Export          libc.so.6
    ELF     b7e39000-b7e4b000       Export          libpthread.so.0
    ELF     b7e4b000-b7f81000       Deferred        libwine.so.1
    ELF     b7f85000-b7f9a000       Deferred        psapi<elf>
      \-PE  b7f90000-b7f9a000       \               psapi
    ELF     b7f9c000-b7fb3000       Deferred        ld-linux.so.2
    Threads:
    process  tid      prio (all id:s are in hex)
    00000008 (D) C:\Program Files\Atari\Temple of Elemental Evil\ToEE.exe
            00000009    0 <==
    0000000c
            00000013    0
            00000012    0
            0000000e    0
            0000000d    0
    0000000f
            00000015    0
            00000014    0
            00000011    0
            00000010    0
    00000016
            00000017    0
    Backtrace:
    =>1 0xb7fb3410 (0x0033ee00)
      2 0xb7d31fb9 abort+0x109() in libc.so.6 (0x0033ef2c)
      3 0xb7d29fbf __assert_fail+0x10f() in libc.so.6 (0x0033ef70)
      4 0xb7e40166 _L_mutex_lock_29() in libpthread.so.0 (0x0033ef98)
      5 0x7defa5e7 _mesa_dereference_renderbuffer+0x27() in unichrome_dri.so (0x0033efb8)
      6 0x7ded569b _mesa_free_framebuffer_data+0x5b() in unichrome_dri.so (0x0033eff8)
      7 0x7ded597e _mesa_destroy_framebuffer+0x2e() in unichrome_dri.so (0x0033f018)
      8 0x7de939d0 in unichrome_dri.so (+0x299d0) (0x0033f028)
      9 0x7de89890 in unichrome_dri.so (+0x1f890) (0x0033f058)
      10 0x7de88e4c in unichrome_dri.so (+0x1ee4c) (0x0033f098)
      11 0x7de88fb8 in unichrome_dri.so (+0x1efb8) (0x0033f0c8)
      12 0x7e09a7f0 in libgl.so.1 (+0x147f0) (0x0033f118)
      13 0x7e09ac12 glXCreateContext+0x32() in libgl.so.1 (0x0033f138)
      14 0x7e49a492 X11DRV_wglMakeCurrent+0x282() in winex11 (0x0033f1a8)
      15 0x7eca5927 wglMakeCurrent+0x67() in gdi32 (0x0033f1d8)
      16 0x7e8da958 CreateContext+0x3c8() in wined3d (0x0033f278)
      17 0x7e8f1a71 in wined3d (+0x31a71) (0x0033f3d8)
      18 0x7e9c66d4 in d3d8 (+0x166d4) (0x0033f458)
      19 0x7e9c8961 in d3d8 (+0x18961) (0x0033f4c8)
      20 0x7e8f2fd6 in wined3d (+0x32fd6) (0x0033f568)
      21 0x7e9c9c3a in d3d8 (+0x19c3a) (0x0033f5e8)
      22 0x101f16d6 in temple (+0x1f16d6) (0x00000001)
      23 0x00000000 (0x00000000)
    Aborted
    I wouldn't have bother but it have happened with other few games like IceWind Dale, World Of Warcraft and now this one. For me it seems like a prob lem with d3d.

    Code:
    wine ToEE.exe -opengl
    fixme:win:EnumDisplayDevicesW ((null),0,0x33f720,0x00000000), stub!
    fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
    err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
    fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
    Pc Spec:
    AMD Athlon 2000+
    512 RAM DDR

    I'm using the openchrome driver I compiled, and also compiled drm.

    Code:
    lspci | grep VGA
    01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01)
    Code:
    glxinfo | grep render
    direct rendering: Yes
    OpenGL renderer string: Mesa DRI UniChrome (KM400) 20060710
    Code:
    wine --version
    wine-1.0-rc4
    I know my Pc is not a powerful machine but I'm sure at least I met the requirements to play those games (not so sure for WoW).

    Thank you for taking your time to read.

  2. #2
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4

    Something more

    I was trying to fix the problem so I compiled again drm, I did it wrong, so the direct rendering was set to No, but I tried the game and it ran, incredible slow but it worked, but it crashed after loading a map, so what happened here? why did it worked without direct rendering? I fixed direct rendering and tried again but it was the same as before, can anyone tell me what's going on? I don't really understand. Thanks again.

  3. #3
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    877
    My 2 cents

    To get the hardware 3D you need:

    0. A chip that supports all required 3D functions (not sure how good these onboard chips are, I think they miss some);
    1. A driver that supports all required hardware features (FOSS driver may lack something);
    2. For a Windows game you need also Wine to support this stuff (don't know how well Wine plays together with above).

    With DRI turned off the work is handed over to Mesa which emulates all this in software, thus it is working.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •