• Something Burger 🍔@jlai.lu
    link
    fedilink
    arrow-up
    215
    arrow-down
    1
    ·
    10 months ago

    All modules that call a Unix library contain WoW64 thunks to enable calling the 64-bit Unix library from 32-bit PE code. This means that it is possible to run 32-bit Windows applications on a purely 64-bit Unix installation. This is called the new WoW64 mode, as opposed to the old WoW64 mode where 32-bit applications run inside a 32-bit Unix process.

    🦀🦀🦀

    • BlanK0@lemmy.ml
      link
      fedilink
      arrow-up
      90
      ·
      edit-2
      10 months ago

      So in the future no need to install 32 bit packages of wine in a 64 system??? 👀

      • OsrsNeedsF2P@lemmy.ml
        link
        fedilink
        arrow-up
        97
        ·
        10 months ago

        Correcto. Which means Steam will probably drop 32 bit libs soon. Which means Ubuntu will stop shipping 32 libs. The era is truly coming to an end

        • StefanT@lemmy.world
          link
          fedilink
          arrow-up
          41
          ·
          10 months ago

          Let’s call it “soonish”. The old proton versions still need 32 bit libs if they do not backport the feature.

          • OsrsNeedsF2P@lemmy.ml
            link
            fedilink
            arrow-up
            25
            arrow-down
            1
            ·
            10 months ago

            Old Proton builds probably won’t backport this (unless it’s completely isolated, idk the code layout of Wine). But are old Proton builds still necessary? Occasionally there’s regressions, but are there really any games that require like a 2 year old Proton build?

            • addie@feddit.uk
              link
              fedilink
              arrow-up
              19
              ·
              10 months ago

              There are, but it’s complicated. Doom (2016) for instance - it doesn’t handle the very large Vulkan swap chain that’s possible on some modern graphics cards, crashes on start-up. Someone patched Proton around that time so that Doom would start; the patch was later reverted since it broke other games. Other games based off of that engine - couple of Wolfensteins, Doom Eternal - have the problem fixed in the binaries, and so run on up-to-date Proton, but depending on your hardware, only a few specific, old, versions of Proton, will do for Doom.

              Regressions get fixed - that’s okay. Buggy behaviour which depended on regressions that got fixed - that’s a problem.

            • umbrella@lemmy.ml
              link
              fedilink
              arrow-up
              2
              ·
              10 months ago

              quite a few games need old proton IME

              not many, but enough to make a difference.

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      67
      ·
      edit-2
      10 months ago

      Come on Steam, show those 32-bit libs the door!

      Not the political kind. The shared object kind.

      • CalcProgrammer1@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        Does this change run the 32-bit .exe using x86_64 instructions? From the description it just sounds like it allows 64-bit Linux libraries to be used in place of 32-bit ones, but that the Windows layer still operates in native 32-bit mode. This means there is still a need to emulate 32-bit x86 instructions which I don’t think box64 can do at this time (x86_32 translates to arm32 with box86, x86_64 translates to arm64 with box64). If box86 could translate x86_32 to arm64 then this might work as Wine would handle the conversion between 32 and 64 bit addressing and argument passing into the libraries but I’m not familiar with the inner workings there.