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
zerdox_ has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
zerdox_ is now known as zerdox
KxCORP58940003 has quit [Read error: Connection reset by peer]
KxCORP58940003 has joined #asahi-alt
KxCORP58940003 has quit [Quit: Bye!]
KxCORP58940003 has joined #asahi-alt
donier has joined #asahi-alt
ellyq_ has joined #asahi-alt
KxCORP58940003 has quit [Quit: Bye!]
KxCORP58940003 has joined #asahi-alt
n3ph has joined #asahi-alt
john-cabaj has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
ipatch_ has joined #asahi-alt
ipatch has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi-alt
john-cabaj has quit [Ping timeout: 480 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-alt
donier has quit []
zerdox has quit [Ping timeout: 480 seconds]
cow123 has quit [Ping timeout: 480 seconds]
cow123 has joined #asahi-alt
zerdox has joined #asahi-alt
KxCORP589400034 has joined #asahi-alt
psykose_ has joined #asahi-alt
Nightpaws has joined #asahi-alt
KxCORP58940003 has quit [Read error: Connection reset by peer]
Nightpaws has quit [Read error: Connection reset by peer]
KxCORP589400034 is now known as KxCORP58940003
psykose has quit [Ping timeout: 480 seconds]
dylanchapell has quit [Ping timeout: 480 seconds]
psykose_ is now known as psykose
n3ph has joined #asahi-alt
ellyq_ has quit [Ping timeout: 480 seconds]
n3ph has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
Dan___ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
dylanchapell has joined #asahi-alt
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
<chadmed_> chaos_princess: even on the m1 pro steam does not like the x86 or amd64 libpreloads
<chadmed_> (and ofc it doesnt like the aarch64 one either)
ellyq has joined #asahi-alt
<chadmed_> hm the "x86" libpreload builds are linked against the aarch64 ld-linux and glibc
<psykose> how did ya check
<chadmed_> ldd in FEXBash
<psykose> i think if you just ldd them with an aarch64 glibc ldd it will show aarch64 glibc
<psykose> readelf -d NEEDED is prolly what actually matters
<chadmed_> ok yeah that shows the amd64 ld-linux
<chadmed_> interesting that nothing amd64 can actually preload this library though
<psykose> if you copy it to an amd64 system and try preload it there does it work
<chadmed_> what amd64 system :p
<psykose> any, i imagine everyone has a million laying around :p
<chadmed_> i havent got a single one
<psykose> surprised :D
<chadmed_> regardless even using the fex rootfs ldd gives me aarch64 system libs
<chadmed_> time for some patchelf nonsense
<chaos_princess> Can you compile something like a hello world for x86, try to preload into it and see what happens?
<chadmed_> yarp one sec
<chadmed_> yep cannot open shared object file ignored
<chaos_princess> There is something like ld_debug that can provide extra debug spam
<psykose> what Machine: is in readelf -h
<chadmed_> amd64
<chadmed_> i definitely 100% used the cross toolchain
<psykose> very weird then
<psykose> sounds like it's actually the aarch64 ldso
<psykose> or some mystery corner case
<chadmed_> LD_DEBUG=all
<chadmed_> i cant really see anything overly sus in there
<chaos_princess> What is the exact error you are getting?
<chadmed_> ERROR: ld.so: object 'asahi/x112virtgpu/target/x86_64-unknown-linux-gnu/release/libpreload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
<chaos_princess> And exact command line?
<chadmed_> this was literally just LD_PRELOAD=asahi/x112virtgpu/target/x86_64-unknown-linux-gnu/release/libpreload.so .fex-emu/RootFS/Fedora_40/usr/bin/echo
<chadmed_> (inside fexbash)
<chadmed_> it doesnt matter what i try to run or how i try to load it, its the same
<chadmed_> the aarch64 version works with aarch64 binaries inside the vm though
<chaos_princess> Can you prefix LD_PRELOAD with FEX_ENV (so, FEX_ENV=LD_PRELOAD=...)
<chadmed_> works with echo let me try with steam
<chaos_princess> Stop
<chaos_princess> then it was not the issue
<chaos_princess> those messages are harmless
<chadmed_> right
<chaos_princess> how exactly were you running steam
<chadmed_> LD_PRELOAD=asahi/x112virtgpu/target/x86_64-unknown-linux-gnu/release/libpreload.so:asahi/x112virtgpu/target/i686-unknown-linux-gnu/release/libpreload.so FEXInterpreter /usr/bin/steam -cef-force-opaque-backgrounds -cef-force-occlusion
<chadmed_> dropping the x86 libpreload fixed nothing
<chaos_princess> Ok, now add aarch64 preload too
<chaos_princess> you need all 3
<chaos_princess> Also, are you using thunks?
<chadmed_> steam still spits out all those ld.so errors but also still explodes the entire vm with "not a valid new object (2), message get_registry(n)"
<chadmed_> yeah im using thunks
<chaos_princess> Disable thunks and try again
<chaos_princess> and make sure you had unset everything wayland related in the env
<chadmed_> ok getting further now
<chadmed_> oh my god works with thunks now too
<chadmed_> ffs
<chadmed_> WAYLAND_SOCKET was set :/
<chaos_princess> Sigh
<chaos_princess> vm crashes are almost exclusively sommelier
<chaos_princess> when my thing goes wrong its usually stuck windows, black windows or app crashes
<chadmed_> yeah hitting that with steamwebhelper now with a bunch of EAGAINs but thats for another day
<chaos_princess> Which line gets eagain?
<chadmed_> nothing in steam.sh its once its handed off to steamwebhelper
<chadmed_> so i just get "Client disconnected with error: EAGAIN" in the terminal
<chaos_princess> Ah, those
<chaos_princess> does steam start?
<chadmed_> yeah but after i log in, its just a black box where the login window was
<chadmed_> on the m1 pro at least, steam still crashes on m2 max
<chaos_princess> Hmm
<chaos_princess> as a test, can you set steam to autologin via sommelier
<chaos_princess> And try again?
<chaos_princess> And maybe, try using absolute paths in ld preload just in case
<chadmed_> ok using absolute paths for LD_PRELOAD gets me a steam systray icon :)
<chadmed_> so we havent crashed
<chadmed_> EAGAINs when trying to use it to open my library though
<chaos_princess> Click it?
<chaos_princess> With or without autologin?
<chadmed_> with autologin
<chaos_princess> What about trying to open the store?
<chadmed_> same thing, i can click the store option in the systray thing but nothing happens
<chaos_princess> Try doing a full restart of the vm and try again?
<chaos_princess> Maybe also reboot just in case
<chadmed_> we're back to steam crashing
<chadmed_> ill do more tomorrow its getting late now
chadmed_ has quit [Quit: Konversation terminated!]
ellyq_ has joined #asahi-alt
ellyq has quit [Ping timeout: 480 seconds]
cyrinux has quit []
cyrinux has joined #asahi-alt
ellyq_ has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
Dan___ has quit [Remote host closed the connection]
Dan___ has joined #asahi-alt
ellyq has joined #asahi-alt
glem810 has quit [Read error: Connection reset by peer]
glem8100 has joined #asahi-alt
glem810 has joined #asahi-alt
glem8100 has quit [Read error: Connection reset by peer]
john-cabaj has joined #asahi-alt
john-cabaj has quit [Quit: john-cabaj]
zerdox has quit [Remote host closed the connection]
zerdox has joined #asahi-alt
cyrinux has quit []
psykose has quit [Remote host closed the connection]
john-cabaj has joined #asahi-alt
john-cabaj has quit []
john-cabaj has joined #asahi-alt
cyrinux has joined #asahi-alt
harryheres has joined #asahi-alt
harryheres has quit [Remote host closed the connection]
john-cabaj has quit [Remote host closed the connection]
cyrinux has quit []
john-cabaj has joined #asahi-alt
cyrinux has joined #asahi-alt
john-cabaj1 has joined #asahi-alt
john-cabaj has quit [Ping timeout: 480 seconds]
john-cabaj1 is now known as john-cabaj
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-alt
chadmed has quit []
chadmed has joined #asahi-alt
mini_ has quit [Quit: ZNC closing...]
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
mini_ has joined #asahi-alt
nst has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
runxiyu has quit [Ping timeout: 480 seconds]
runxiyu_ has quit [Ping timeout: 480 seconds]
runxiyu has joined #asahi-alt
runxiyu_ has joined #asahi-alt
nst has joined #asahi-alt