ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-alt
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Quit: john-cabaj]
john-cabaj has joined #asahi-alt
cylm has quit [Ping timeout: 480 seconds]
master91122 has quit [Quit: Connection closed for inactivity]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-alt
tobhe_ has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
<chadmed>
argh could this be fex's stupid path resolution thing
ponies has quit [Quit: get clopped]
ponies has joined #asahi-alt
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
<chadmed>
looking at an strace it does appear that wine is looking for kernel32.dll in the wrong places but "fixing" this does not seem to help. it just looks in different wrong places....
Larwive has joined #asahi-alt
<chadmed>
for fucks sake, wineboot is just not copying i386-windows stuff into syswow64
<chadmed>
and libwow64fex.dll still only works in muvm
chrisl has joined #asahi-alt
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-alt
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-alt
chadmed has quit []
chadmed has joined #asahi-alt
chadmed has quit []
chrisl has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-alt
<chadmed>
yep ffs so libwow64fex.dll not working with 4K pages causes wineboot to segfault when bootstrapping syswow64 in the prefix
<chadmed>
if you bootstrap the wine prefix inside muvm then everything is created properly
<chadmed>
the annoying thing is that wineboot segfaults silently, so it _looks like_ the prefix gets created properly
zumi_ has joined #asahi-alt
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
chrisl has joined #asahi-alt
<kode54>
16k pages?
chrisl has quit [Ping timeout: 480 seconds]
<chadmed>
yeah thats what i meant
<chadmed>
it _only_ works with 4k pages
n3ph has joined #asahi-alt
<chadmed>
yeah and cant even launch steam, hangs when extracting the update
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
MichaelLong has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
MichaelLong has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph_ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
<chaos_princess>
Huh? libwow64fex is supposed to work with 16k pages
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
opticron has quit [Read error: Connection reset by peer]
opticron has joined #asahi-alt
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph_ has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
balrog_ has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
balrog has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-alt
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-alt
chadmed has quit []
chadmed has joined #asahi-alt
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
chrisl has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
Larwive has quit [Remote host closed the connection]
n3ph has joined #asahi-alt
<chadmed>
chaos_princess: yeah... well a strace outside of muvm results in SIGILL spam and then a segfault coupled with some wine debug message about a stack overflow
<chadmed>
works fine in muvm
<chaos_princess>
where did you get the binaries from
<chadmed>
the fex ones? official fex ppa
<chadmed>
2506
<chaos_princess>
first - try 2505, second - could be jemalloc nonsense somehow?
<chadmed>
is there some win32 version statically linked by fex now?
<chaos_princess>
yes, fex dlls statically link literally everything, as they can't use anything except ntdll
<chadmed>
yeah if the ubuntu binaries were built on a 4k machine that would explain it then
<chadmed>
maybe its a good thing that jemalloc is now seemingly dead
<chaos_princess>
fb forked it, so, idk
<chadmed>
2505 doesnt work either so jemalloc nonsense is probably it
<chadmed>
it does allow windows steam to launch however
<chaos_princess>
ok, what am i doing wrong, every ubuntu version of 2506 libwow64fex works here
chrisl has joined #asahi-alt
DannyB has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
Drago has joined #asahi-alt
Drago has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph_ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
kdb4249035291 has joined #asahi-alt
ece314378925355451680698427415 has joined #asahi-alt
<chadmed>
chaos_princess: sorry if i nerd sniped you on this :)
<chadmed>
the ubuntu wow64fex dlls work outside muvm for you?
<chaos_princess>
yes
<chaos_princess>
all 4
<chadmed>
whatre you using to test
<chaos_princess>
7-zip installer
<chadmed>
specifically the 32-bit one?
<chadmed>
try with SteamSetup.exe
<chaos_princess>
launches, installs steam
<chadmed>
what could possibly be so different about my system then
chrisl has joined #asahi-alt
n3ph_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<chadmed>
the only thing i can maaaaybe see being an issue is having no 32 bit time_t stuff in my kernel, but aiui all 32 bit NT calls get thunked to 64 bit before crossing the NT-unix boundary
<chaos_princess>
# CONFIG_COMPAT_32BIT_TIME is not set
deeok[mds] has left #asahi-alt [#asahi-alt]
<chaos_princess>
which exact wine version, and how are you setting up the whole thing? probably also won't mind seeing use flags, and other relevant bits from emerge --info or wherever it comes from
<chadmed>
it's just wine-staging 10.9 with USE="custom-cflags ffmpeg kerberos opencl wow64 X -gstreamer"
<chadmed>
i will try without custom-cflags
<chaos_princess>
please do. in my case it is wine-vanilla 10.9 USE="-gstreamer wow64 llvm-libunwind", CFLAGS="-O2 -pipe -march=armv8.5-a -fomit-frame-pointer -flto=thin -Werror=odr -Werror=strict-aliasing"
<chadmed>
rebuilding now
<chaos_princess>
also, how exactly are you setting up wine prefix and all that?
<chadmed>
-fomit-frame-pointer doesnt do anything on aarch64 does it?
<chaos_princess>
i think it does
<chadmed>
also the wine prefix is just the default ~/.wine set up by running wine for the first time
<chaos_princess>
it is x29 on arm
<chaos_princess>
was fex already installed to wine install location before running wine for the first time?
<chadmed>
yeah i had the plucky DLLs installed as xtajit64 and xtajit in /usr/lib/wine/aarch64-windows/ before building the prefix
<chaos_princess>
ok, that should be the correct way. nuke and rebuild the wineprefix after rebuilding wine just in case
<chadmed>
yeah
<chaos_princess>
and try with xtajit only at first, not -64
<chadmed>
btw in the eclass i think we need to --enable-archs=arm64ec if use wow64 && use arm64
<chaos_princess>
not necessary for wow64, will come later
<chadmed>
nup still crashed
<chadmed>
this is what wine complains about after segfaulting 0054:err:virtual:virtual_setup_exception stack overflow 2016 bytes addr 0x6fffffe9d7a0 stack 0x23820 (0x20000-0x24000-0x120000)
<chadmed>
corrupt stack seemingly
<chaos_princess>
well, your CFLAGS break wine here
<chaos_princess>
can you try with just "-O2 -pipe -mcpu=apple-m2" ?
<chadmed>
yeah ofc
<chadmed>
in the middle of rebuilding trying something else rn but that was my next strat
<chaos_princess>
building with your cflags make it fail to even create the wineprefix. Granted, it is a m1, but shouldnt matter much?
n3ph has joined #asahi-alt
<chaos_princess>
i think my bet is on mbranch-protection. it enables bti, bti breaks jits, and i think muvm's kernel has bti disabled
<chadmed>
i wonder why theyd still be applied with USE="-custom-cflags" though
<chaos_princess>
idk, but i've noticed that it was applied when building wine here
<chadmed>
rebuilding without it now anyway so let's see
<chaos_princess>
try just clean flags first
<chadmed>
yeah thats what im doing
<chadmed>
"-O2 -pipe -mcpu=apple-m2" and default ldflags
<chadmed>
if it works ill add stuff back until it breaks again
<chadmed>
i really should be doing this on the studio but it's cold in that room
<chaos_princess>
lol, i'd trade, its 0100 here and still 23 degrees
<chadmed>
i should really go see some glaciers before theyre gone...
<chaos_princess>
if you have too much money, i heard there are sightseeing flights to antarctica from aus and nz
<chadmed>
a cruise out of tasmania is on my bucket list but theyre like $30,000
<chadmed>
i think doing something like that might end up being quite upsetting though. i remember how upset i was when i was like 10 and found out that people litter on mt everest
<chadmed>
ok yep that worked!
<chaos_princess>
anyway, try with your normal cflags but w/o mbranch protection
<chaos_princess>
if it is what is causing problems, will probably file a pr to also filter it out later
<chadmed>
thanks for helping out :) given it's gentoo i should have really just assumed it was cflag ricing to begin with...
n3ph has quit [Ping timeout: 480 seconds]
<chaos_princess>
it _is_ weird, cause strip-flags really should nuke it
<chaos_princess>
oh well
<chaos_princess>
maybe file a report on fex repo if it is in fact the culprit
<chadmed>
yeah although if it is BTI then i would suspect itll just be "yeah.. no shit" :P