Announcement

Collapse
No announcement yet.

8.42.3 breaks WINE in Feisty/AMD64?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 8.42.3 breaks WINE in Feisty/AMD64?

    So, after compiling, installing 8.42.3 (and checking with glxinfo, fglrxinfo and looking at /var/log/Xorg.0.log shows that it's definitely the 8.42.3 driver loading properly), wine seems to have lost any ability to do anything involving OpenGL.

    Even Peggle Extreme (which is 2D, but seems to need D3D calls in windows...) breaks, which is new on me.
    This is consistent across all versions of wine, even versions which worked with 8.41.7.

    The traceback is:

    Code:
    wine: Unhandled page fault on execute access to 0x7c02d930 at address 0x7c02d930 (thread 0021), starting debugger...
    Unhandled exception: page fault on execute access to 0x7c02d930 in 32-bit code (0x7c02d930).
    Register dump:
     CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
     EIP:7c02d930 ESP:0034e7cc EBP:0034e808 EFLAGS:00010256(   - 00      RIZAP1)
     EAX:00188734 EBX:7bdfdbc0 ECX:0017e2b8 EDX:7bdfe7e0
     ESI:00000000 EDI:00000000
    Stack dump:
    0x0034e7cc:  7bd9aa4c 00008775 00188734 00000001
    0x0034e7dc:  7bd9af11 7bded28b 7bdec338 00000008
    0x0034e7ec:  00000000 00000002 00000002 00000001
    0x0034e7fc:  7bdfdbc0 00000006 00000045 0034e868
    0x0034e80c:  7bd4b24f 000000d8 0017e2b8 0018d818
    0x0034e81c:  7bda539a 00135ff0 7bdf8398 0034eaf8
    Backtrace:
    =>1 0x7c02d930 (0x0034e808)
      2 0x7bd4b24f ActivateContext+0x28f() in wined3d (0x0034e868)
      3 0x7bd71d3d drawPrimitive+0x13d() in wined3d (0x0034eb08)
      4 0x7bd56c8e in wined3d (+0x26c8e) (0x0034eb48)
      5 0x7c508bfb in ddraw (+0x18bfb) (0x0034eb98)
      6 0x004e4328 in popcapgame1 (+0xe4328) (0x0034ec58)
      7 0x004e43d2 in popcapgame1 (+0xe43d2) (0x0034eca4)
      8 0x004e4f62 in popcapgame1 (+0xe4f62) (0x0034ed24)
      9 0x004e5a98 in popcapgame1 (+0xe5a98) (0x0034ed38)
      10 0x004e68b0 in popcapgame1 (+0xe68b0) (0x0034ed4c)
      11 0x004ea038 in popcapgame1 (+0xea038) (0x0034ee9c)
      12 0x0052a271 in popcapgame1 (+0x12a271) (0x0034f018)
      13 0x00405898 in popcapgame1 (+0x5898) (0x0034f258)
      14 0x005268a5 in popcapgame1 (+0x1268a5) (0x0034f308)
      15 0x0042c8dd in popcapgame1 (+0x2c8dd) (0x0034f4ec)
      16 0x004313f9 in popcapgame1 (+0x313f9) (0x0034fe70)
      17 0x0059e8cd in popcapgame1 (+0x19e8cd) (0x0034ff08)
      18 0x7b87572e in kernel32 (+0x5572e) (0x0034ffe8)
      19 0xf7e97a07 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
    0x7c02d930: movl        0x7e50c398 _glapi_Dispatch in libgl.so.1,%eax
    Modules:
    Module  Address                 Debug info      Name (91 modules)
    PE        400000-  6f5000       Export          popcapgame1
    PE      10000000-10017000       Deferred        j2k-codec
    ELF     7b800000-7b929000       Export          kernel32<elf>
      \-PE  7b820000-7b929000       \               kernel32
    ELF     7bc00000-7bca0000       Deferred        ntdll<elf>
      \-PE  7bc10000-7bca0000       \               ntdll
    ELF     7bd1f000-7be00000       Export          wined3d<elf>
      \-PE  7bd30000-7be00000       \               wined3d
    ELF     7bf00000-7bf03000       Deferred        <wine-loader>
    ELF     7bf98000-7c000000       Deferred        msvcrt<elf>
      \-PE  7bfb0000-7c000000       \               msvcrt
    ELF     7c498000-7c4e1000       Deferred        dsound<elf>
      \-PE  7c4a0000-7c4e1000       \               dsound
    ELF     7c4e1000-7c536000       Export          ddraw<elf>
      \-PE  7c4f0000-7c536000       \               ddraw
    ELF     7c536000-7c54a000       Deferred        lz32<elf>
      \-PE  7c540000-7c54a000       \               lz32
    ELF     7c54a000-7c564000       Deferred        version<elf>
      \-PE  7c550000-7c564000       \               version
    ELF     7c61d000-7c64f000       Deferred        uxtheme<elf>
      \-PE  7c620000-7c64f000       \               uxtheme
    ELF     7c64f000-7c664000       Deferred        midimap<elf>
      \-PE  7c660000-7c664000       \               midimap
    ELF     7c664000-7c68a000       Deferred        msacm32<elf>
      \-PE  7c670000-7c68a000       \               msacm32
    ELF     7c68a000-7c6a2000       Deferred        msacm32<elf>
      \-PE  7c690000-7c6a2000       \               msacm32
    ELF     7c6a2000-7c767000       Deferred        libasound.so.2
    ELF     7c775000-7c7ab000       Deferred        winealsa<elf>
      \-PE  7c780000-7c7ab000       \               winealsa
    ELF     7c7ab000-7c7b4000       Deferred        libxcursor.so.1
    ELF     7c7b4000-7c7d1000       Deferred        imm32<elf>
      \-PE  7c7c0000-7c7d1000       \               imm32
    ELF     7c7d1000-7c7d7000       Deferred        libxrandr.so.2
    ELF     7c7d7000-7c7df000       Deferred        libxrender.so.1
    ELF     7c7df000-7c7e2000       Deferred        libxinerama.so.1
    ELF     7d4e5000-7d4ee000       Deferred        librt.so.1
    ELF     7d4ee000-7e485000       Deferred        fglrx_dri.so
    ELF     7e485000-7e50f000       Export          libgl.so.1
    ELF     7e50f000-7e514000       Deferred        libxdmcp.so.6
    ELF     7e514000-7e517000       Deferred        libxau.so.6
    ELF     7e517000-7e608000       Deferred        libx11.so.6
    ELF     7e608000-7e616000       Deferred        libxext.so.6
    ELF     7e61d000-7e622000       Deferred        libxfixes.so.3
    ELF     7e624000-7e6b3000       Deferred        winex11<elf>
      \-PE  7e630000-7e6b3000       \               winex11
    ELF     7e71a000-7e73a000       Deferred        libexpat.so.1
    ELF     7e73a000-7e765000       Deferred        libfontconfig.so.1
    ELF     7e773000-7e787000       Deferred        libz.so.1
    ELF     7e787000-7e7f1000       Deferred        libfreetype.so.6
    ELF     7e7f1000-7e88e000       Deferred        oleaut32<elf>
      \-PE  7e800000-7e88e000       \               oleaut32
    ELF     7e88e000-7e8e7000       Deferred        rpcrt4<elf>
      \-PE  7e8a0000-7e8e7000       \               rpcrt4
    ELF     7e8e7000-7e988000       Deferred        ole32<elf>
      \-PE  7e900000-7e988000       \               ole32
    ELF     7e988000-7e9bc000       Deferred        winspool<elf>
      \-PE  7e990000-7e9bc000       \               winspool
    ELF     7e9bc000-7ea5d000       Deferred        comdlg32<elf>
      \-PE  7e9c0000-7ea5d000       \               comdlg32
    ELF     7ea5d000-7ea70000       Deferred        libresolv.so.2
    ELF     7ea70000-7ea8e000       Deferred        iphlpapi<elf>
      \-PE  7ea80000-7ea8e000       \               iphlpapi
    ELF     7ea8e000-7eabb000       Deferred        ws2_32<elf>
      \-PE  7eaa0000-7eabb000       \               ws2_32
    ELF     7eabb000-7ead5000       Deferred        wsock32<elf>
      \-PE  7eac0000-7ead5000       \               wsock32
    ELF     7ead5000-7eb93000       Deferred        comctl32<elf>
      \-PE  7eae0000-7eb93000       \               comctl32
    ELF     7eb93000-7ebec000       Deferred        shlwapi<elf>
      \-PE  7eba0000-7ebec000       \               shlwapi
    ELF     7ebec000-7ecef000       Deferred        shell32<elf>
      \-PE  7ec00000-7ecef000       \               shell32
    ELF     7ecef000-7ed38000       Deferred        advapi32<elf>
      \-PE  7ed00000-7ed38000       \               advapi32
    ELF     7ed38000-7edd3000       Deferred        gdi32<elf>
      \-PE  7ed50000-7edd3000       \               gdi32
    ELF     7edd3000-7ef11000       Deferred        user32<elf>
      \-PE  7edf0000-7ef11000       \               user32
    ELF     7ef11000-7ef9f000       Deferred        winmm<elf>
      \-PE  7ef20000-7ef9f000       \               winmm
    ELF     7ef9f000-7efaa000       Deferred        libnss_files.so.2
    ELF     7efaa000-7efb4000       Deferred        libnss_nis.so.2
    ELF     7efb4000-7efcb000       Deferred        libnsl.so.1
    ELF     7efcb000-7eff2000       Deferred        libm.so.6
    ELF     7eff7000-7f000000       Deferred        libnss_compat.so.2
    ELF     f7d25000-f7d29000       Deferred        libdl.so.2
    ELF     f7d29000-f7e6a000       Deferred        libc.so.6
    ELF     f7e6b000-f7e82000       Deferred        libpthread.so.0
    ELF     f7e90000-f7fa4000       Export          libwine.so.1
    ELF     f7fa6000-f7fc4000       Deferred        ld-linux.so.2
    What's interesting is that I'm not sure which libGL.so is being called here. Doing a locate libGL reveals:

    /usr/lib/libGL.so.1.2
    /usr/lib/xorg/libGL.so.1.2
    /usr/lib/xorg/libGL.so.1
    /usr/lib/xorg/libGL.so
    /usr/lib/xorg/FGL.renamed.libGL.so.1.2
    /usr/lib/xorg/libGL.so.1.2.bak
    /usr/lib/libGL.so.1
    /usr/lib/libGL.so
    /usr/lib/fglrx/libGL.so.1.2.xlibmesa
    /usr/lib/FGL.renamed.libGL.so.1.2
    /usr/lib32/libGL.so.1.2
    /usr/lib32/xorg/libGL.so.1.2
    /usr/lib32/xorg/libGL.so.1
    /usr/lib32/xorg/libGL.so
    /usr/lib32/xorg/libGL.so.1.2.bak
    /usr/lib32/libGL.so.1
    /usr/lib32/libGL.so
    /usr/lib32/FGL.renamed.libGL.so.1.2
    /home/aoanla/FGLRX8423/arch/x86_64/usr/X11R6/lib64/libGL.so.1.2
    /home/aoanla/FGLRX8423/arch/x86/usr/X11R6/lib/libGL.so.1.2

    where the last two are in the directory I extracted the 8.42.3 installer to.
    Interestingly, the md5sums of the two installer libGLs are different to the md5sums of all the other libGLs - does the installer recompile or modify them before installation?

  • #2
    No ideas?

    I guess I'll just downgrade to 8.40.4 or 8.41.7, then.

    (Roll on 8.43.x and the possibility of a driver that actually works well for me.)

    Comment


    • #3
      It seems that the OpenGL driver from ATI is missing some extensions.

      You guys might have seen previous DirectDraw OpenGL patches to speedup StarCraft and other games. As of today's git (and Wine 0.9.47 which will be out later today) StarCraft should be VERY fast and smooth under opengl mode IF your card supports the needed opengl extensions. (I have only tested a simple demo level)

      How to use it:
      - Add "DirectDrawRenderer"="opengl" in HKEY_CURRENT_USER\\Software\\Wine\\Direct3D
      - Set "RenderTargetLockMode"="readtex" (again under Direct3D)

      StarCraft has 3 issues which the OpenGL backend call all solve depending on the OpenGL capabilities of your card:
      - the game uses 8bit palettes; if your card supports fragment shaders (ARB) or GL_EXT_paletted_texture then hardware color conversion is used. Shaders are available on any modern ATI/Nvidia/Intel card and the paletted extension is available on Geforce1-GeforceFX boards.
      - the game wants direct access to the video memory ('DGA'). This is handled using GL_ARB_pixel_buffer_object. Modern (9xxx) Nvidia drivers with support for Geforce3 and better cards should offer it. ATI is offering this too but for some reason it is not in the latest 8.41.7 (and the soon to be released 8.42.3) yet.
      - during drawing the framebuffer image needs to be downloaded. The RGB colors need to be translated back into a palette. This is handled in hardware on ALL cards as of Wine 0.9.47.
      Not sure (Linux n00b here), but maybe a number of games in wine are affected by this issue.

      http://appdb.winehq.org/objectManage...iTestingId=411 - last displayed comment.

      Comment


      • #4
        Originally posted by Hasse View Post
        It seems that the OpenGL driver from ATI is missing some extensions.



        Not sure (Linux n00b here), but maybe a number of games in wine are affected by this issue.

        http://appdb.winehq.org/objectManage...iTestingId=411 - last displayed comment.
        It's a nice suggestion, but that note shows that 8.41.7 is also supposed to be missing those extensions, and I don't get this crash with 8.41.7.

        Comment


        • #5
          Originally posted by aoanla View Post
          It's a nice suggestion, but that note shows that 8.41.7 is also supposed to be missing those extensions, and I don't get this crash with 8.41.7.
          Fair call. I can only think its a problem then with the libGL as you stated in your OP. I know when I tried to roll the 8.42.3 drivers back (wine and Eve Online did not work nicely with the new drivers) to 8.40.? I had to create a new symlink to the right libGL.so.1 file. Have no idea why, but I'm sure borked my own installation at some point

          Wish I could help ya mate.

          Comment


          • #6
            Originally posted by Hasse View Post
            Fair call. I can only think its a problem then with the libGL as you stated in your OP. I know when I tried to roll the 8.42.3 drivers back (wine and Eve Online did not work nicely with the new drivers) to 8.40.? I had to create a new symlink to the right libGL.so.1 file. Have no idea why, but I'm sure borked my own installation at some point

            Wish I could help ya mate.
            Well, I just rolled back to 8.41.7, and I'm sticking with that for the time being.

            Now, if only I could work out why I can't get the drivers to support 1440x900...

            Comment

            Working...
            X