You are not logged in.

#1 2022-06-25 15:08:35

gameslayer
Member
Registered: 2021-12-14
Posts: 66

wine is broken

Hey just wanted to report that wine is broken on Arch 32

if I rune winecfg I get this but it never opens

[jamie@jamie-emachine ~]$ winecfg
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0040:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0040:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0040:err:ole:get_local_server_stream Failed: 80004002

Doesn't matter what I run though wine I get this message and nothing changes

[jamie@jamie-emachine AvengersUnitedBattleForce]$ wine AvengersUnitedBattleForce.exe
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0040:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0040:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0040:err:ole:get_local_server_stream Failed: 80004002

Even if you delete .wine it doesn't fix it

Thanks everyone for the nice and helpful replies on my bug reports btw big_smile

Offline

#2 2022-06-25 15:25:52

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

I just tried in an LXC container with Arch32 pentium4, there it seems to run (at least wincfg and the download of libraries).
Might be a illegal opcode of sorts, which doesn't show up in a container or in emulation?
To be frank, I never really tried to run wine on Arch32. :-)

Offline

#3 2022-06-25 15:44:11

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

Oh I see, any idea how to fix it?

Offline

#4 2022-06-27 06:04:38

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

My friend needs wine for some old PC games he's got and would love to run them using wine.

Offline

#5 2022-06-27 07:42:15

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,179

Re: wine is broken

Depending how old you're talking about here, dosbox might fit your needs.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#6 2022-06-27 07:44:30

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

No not that old, just windows games that require wine

Offline

#7 2022-06-27 16:44:49

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

The question is: are those games running with wine on Archliunx upstream (64-bit)? If not, then they will also not run on Arch32..

Offline

#8 2022-06-27 17:11:53

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

No they are 32bit windows games that he originally ran on the exact PC when it ran Windows XP 32bit

Offline

#9 2022-06-27 17:51:20

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

Yeah, but wine cannot run everything you throw at it. :-)

Offline

#10 2022-06-27 23:30:55

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

No but I know how wine works and what works

Can you guys please fix wine smile

Offline

#11 2022-06-30 06:21:06

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

wine-5.14-1.0 on pentium4 and i686

multilib/wine 7.11-1 upstream.

I'm not sure if wine still builds (being in multilib) in the buildmaster, or if it builds at all
(multilib, "cross-builds", a short test with staging-pentium4-build doesn't look promising at all).

-rw-rw-r-- 1 http http 56839738 Aug  2  2020 pool/wine-5.14-1.0-pentium4.pkg.tar.zst

So, this version is quite old and nobody complained (till now). :-)

I was able to install Notepad++ on a Pentium III without SSE with wine 5.14 though..
(for some reason I was using the Dutch version :-) )

Offline

#12 2022-06-30 06:26:02

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

wine_notepad_plusplus.png

Offline

#13 2022-06-30 06:26:19

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

Ah I see, would this be able to be updated and fixed?

Offline

#14 2022-06-30 06:27:57

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

I have to see first why we are not building multilib. Most likely I have to build a different PKGBUILD.
I could also have a problem to build it natively on 32-bit VMs or containers, so I might have to consider cross-building it
(there is currently no support for that IIRC). Also other packages might benefit from a cross-build from 64-bit Arch
(firefox, virtualbox, etc.).

Things here take time (because of lack of hands, summer time, etc. :-) )

Offline

#15 2022-06-30 06:30:56

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

Well...

```
Unhandled exception: illegal instruction in 32-bit code (0x00401282).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:00401282 ESP:0031fe1c EBP:0031fe74 EFLAGS:00010202(  R- --  I   - - - )
EAX:00000000 EBX:00e8f588 ECX:00e8f588 EDX:ffffffff
ESI:0031fe4c EDI:0031fe64
Stack dump:
0x0031fe1c:  48f7d88a 00000045 00712a10 00000046
0x0031fe2c:  00000000 00000000 00000000 00000002
0x0031fe3c:  006d6c4f 0031fe50 006d522a 007d01fc
0x0031fe4c:  00000062 00000002 0000006f 00000008
0x0031fe5c:  00000078 00000010 48f7d88a 0031fec0
0x0031fe6c:  006ee2f7 00000000 0031fe8c 006d54f9
Backtrace:
=>0 0x00401282 EntryPoint+0xffffffff() in notepad++ (0x0031fe74)
  1 0x006d54f9 in notepad++ (+0x2d54f8) (0x0031fe8c)
  2 0x006bc2ce EntryPoint+0xffffffff() in notepad++ (0x0031fed0)
  3 0x7b6462a1 in kernel32 (+0x262a0) (0x0031fee8)
  4 0x7b646908 in kernel32 (+0x26907) (0x0031ffd8)
  5 0x7b6462b2 in kernel32 (+0x262b1) (0x0031ffec)
0x00401282 EntryPoint+0xffffffff in notepad++: (bad)   
Modules:
Module    Address            Debug info    Name (37 modules)
PE      400000-  955000    Export          notepad++
PE    7b020000-7b027000    Deferred        kernelbase
PE    7b620000-7b7db000    Export          kernel32
PE    7bc20000-7bc24000    Deferred        ntdll
PE    7c080000-7c083000    Deferred        api-ms-win-core-localization-l1-2-1
PE    7c090000-7c093000    Deferred        api-ms-win-core-fibers-l1-1-1
PE    7cd50000-7cd54000    Deferred        winex11
PE    7d030000-7d033000    Deferred        api-ms-win-core-synch-l1-2-0
PE    7d590000-7d594000    Deferred        uxtheme
PE    7d5f0000-7d5f8000    Deferred        oleaut32
PE    7d710000-7d7bc000    Deferred        comdlg32
PE    7d830000-7e107000    Deferred        shell32
PE    7e220000-7e22b000    Deferred        winspool
PE    7e260000-7e263000    Deferred        msimg32
PE    7e290000-7e2af000    Deferred        wininet
PE    7e320000-7e364000    Deferred        crypt32
PE    7e440000-7e444000    Deferred        ws2_32
PE    7e470000-7e47b000    Deferred        mpr
PE    7e4a0000-7e4a3000    Deferred        sensapi
PE    7e4c0000-7e4c4000    Deferred        wintrust
PE    7e4f0000-7e4f4000    Deferred        bcrypt
PE    7e530000-7e534000    Deferred        dbghelp
PE    7e5a0000-7e5a3000    Deferred        combase
PE    7e5f0000-7e618000    Deferred        ole32
PE    7e730000-7e733000    Deferred        shcore
PE    7e760000-7e768000    Deferred        shlwapi
PE    7e7c0000-7e7c4000    Deferred        imm32
PE    7e7e0000-7e7e3000    Deferred        usp10
PE    7e840000-7e847000    Deferred        gdi32
PE    7e9a0000-7e9a4000    Deferred        rpcrt4
PE    7ea20000-7ea23000    Deferred        sechost
PE    7ea60000-7ea64000    Deferred        advapi32
PE    7eae0000-7eae4000    Deferred        ucrtbase
PE    7ebd0000-7ebd4000    Deferred        version
PE    7ebf0000-7ebff000    Deferred        setupapi
PE    7ec90000-7ed78000    Deferred        user32
PE    7eed0000-7ef23000    Deferred        comctl32
Threads:
process  tid      prio (all id:s are in hex)
00000028 wineboot.exe
    0000002c    0
00000030 services.exe
    00000034    0
    00000038    0
0000003c rundll32.exe
    00000040    0
00000044 explorer.exe
    00000048    0
    00000054    0
00000058 control.exe
    0000005c    0
0000008c (D) C:\Program Files\Notepad++\notepad++.exe
    00000090    0 <==
    0000009c    0
System information:
    Wine build: wine-5.14
    Platform: i386
    Version: Windows Server 2008 R2
    Host system: Linux
    Host version: 5.18.3-arch1-1.0
```

Offline

#16 2022-06-30 06:31:48

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

Some SSE2 code or worse krept into even this old wine. This explains it works in my arch32 container but not on real hardware..
The actually offending opcodes would be handy.. :->

Offline

#17 2022-06-30 06:42:18

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

I did manage to get a game called Marvels first alliance running on wine but there is no sound and a bunch of errors in the log

Offline

#18 2022-06-30 06:42:42

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

uh. needs a mingw-64-toolchain. We don't have one for 32-bit one. And are newer wine versions still compilable as 32-bit, I wonder?

Offline

#19 2022-06-30 06:45:46

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

Pretty sure it still can compile to 32bit as it's for backwards compatibility, never heard any news of it ever being removed.

Offline

#20 2022-06-30 06:59:02

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

Aeh. That's not really the problem, sorry, was maybe my statement was misleading there. You need a cross-compiler for Mingw, and I don't have one for 32-bit Mingw.
It might be buildable, but this means bootstrapping a complete mingw-32 toolchain. I have to dig back in time in PKGBUILDs, because apparently for wine 5.x this
was possible.

Offline

#21 2022-06-30 07:50:53

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

Ohh right you were talking about Mingw, my bad.

Offline

#22 2022-06-30 08:15:15

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

Actually, it does look like mingw-w64 also contains the 32-bit tools. :-)
mingw-w64-binutils and the headers are around, not the compiler. :-(

Offline

#23 2022-06-30 08:16:16

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

Oh yay!

Offline

#24 2022-07-02 13:41:06

gameslayer
Member
Registered: 2021-12-14
Posts: 66

Re: wine is broken

So hows the progress going? smile

Offline

#25 2022-07-03 08:21:06

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 810
Website

Re: wine is broken

Touble is that old packages "dropped" out of the package mirror:

```
ls -latr pool/mingw*
-rw-r--r-- 1 http http      310 May  4 12:39 pool/mingw-w64-headers-10.0.0-1.0-any.pkg.tar.zst.sig
-rw-r--r-- 1 http http 10396819 May  4 12:39 pool/mingw-w64-headers-10.0.0-1.0-any.pkg.tar.zst
-rw-r--r-- 1 http http      310 Jun 11 00:28 pool/mingw-w64-binutils-2.38-3.0-pentium4.pkg.tar.zst.sig
-rw-r--r-- 1 http http  4715713 Jun 11 00:28 pool/mingw-w64-binutils-2.38-3.0-pentium4.pkg.tar.zst
-rw-r--r-- 1 http http      310 Jun 11 09:52 pool/mingw-w64-binutils-2.38-3.0-i686.pkg.tar.zst.sig
-rw-r--r-- 1 http http  4643284 Jun 11 09:52 pool/mingw-w64-binutils-2.38-3.0-i686.pkg.tar.zst
-rw-r--r-- 1 http http  4980978 Jun 11 11:54 pool/mingw-w64-binutils-2.38-3.0-i486.pkg.tar.zst
-rw-r--r-- 1 http http      310 Jun 11 11:54 pool/mingw-w64-binutils-2.38-3.0-i486.pkg.tar.zst.sig
```

So bootstrapping has to go over https://archive.archlinux32.org/packages/m/mingw-w64-* packages.

I didn't have time yet.

What worries me more is that packages can just disappear from the package mirror..

Offline

Board footer

Powered by FluxBB