Steam: compiled Wine ❌ – pre-built Wine ✔️

Questions about Wine on Linux
Locked
User avatar
KenSharp
Level 4
Level 4
Posts: 142
Joined: Mon Jul 13, 2009 8:52 pm

Steam: compiled Wine ❌ – pre-built Wine ✔️

Post by KenSharp »

I'm looking at the bugs that affect Steam, but I've come across one I cannot get past at all:

The pre-built Wine binaries for Ubuntu 22.04 allow Steam to load the log-in screen. ✔️

But when I build Wine myself it doesn't get that far. ❌

I've tried building in Ubuntu Bionic & Focal, Debian Stable & Testing and openSUSE Tumbleweed but the result is the same. I've also tried adding the patches from https://build.opensuse.org/package/show ... ctory/wine namely:
0001-Revert-loader-Build-the-preloader-as-PIE-on-64-bit.patch
0002-Revert-loader-Always-build-the-main-loader-as-PIE-if.patch
0003-Revert-loader-Force-building-the-main-loader-as-PIE-.patch
0004-Revert-loader-Make-the-loader-position-independent-o.patch

I've tried GCC's -O0 through -O3. I even tried building the MinGW part to see if it would make any difference.

Nothing I try can get Steam to the log-in screen UNLESS I use the pre-built binary.

So it seems logical that whatever is being done to build the binary must be the solution, but what is that? I tried finding a build log or... something but I couldn't find it. Of course I may have just been looking in the wrong place.

It's driving me mad!

How are the Wine packages built?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Steam: compiled Wine ❌ – pre-built Wine ✔️

Post by jkfloris »

The log files are on the OpenSUSE Build server. (Some files require a login.) But I don't see any strange settings for configure or make
Attached is the build log from Debian Testing x86_64
Debianx86_64.tar.xz
(160.64 KiB) Downloaded 71 times
User avatar
KenSharp
Level 4
Level 4
Posts: 142
Joined: Mon Jul 13, 2009 8:52 pm

Re: Steam: compiled Wine ❌ – pre-built Wine ✔️

Post by KenSharp »

That's excellent, thank you!

I'll have another play around.
User avatar
KenSharp
Level 4
Level 4
Posts: 142
Joined: Mon Jul 13, 2009 8:52 pm

Re: Steam: compiled Wine ❌ – pre-built Wine ✔️

Post by KenSharp »

The only differences I can see in the build log to my setup is the kernel version.

However, I discovered quite by chance that a WOW64 build

Code: Select all

--with-mingw --enable-archs=x86_64,i386
does not suffer from this issue. The WOW64 build doesn't touch the i386 chroot so I suspect the issue lay there. Indeed, the Steam client is still 32-bit.

I've created an account but I cannot find where the logs are! HELP!! :?

UPDATE: Never mind, finally found the logs!
Locked