#
…

2024-09-04

00:15zerdox_ has joined #asahi-alt
00:15zerdox has quit [Ping timeout: 480 seconds]
00:15zerdox_ is now known as zerdox
00:53KxCORP58940003 has quit [Read error: Connection reset by peer]
00:53KxCORP58940003 has joined #asahi-alt
01:00KxCORP58940003 has quit [Quit: Bye!]
01:00KxCORP58940003 has joined #asahi-alt
01:54donier has joined #asahi-alt
01:55ellyq_ has joined #asahi-alt
02:01KxCORP58940003 has quit [Quit: Bye!]
02:01KxCORP58940003 has joined #asahi-alt
02:12n3ph has joined #asahi-alt
02:19john-cabaj has quit [Ping timeout: 480 seconds]
02:22tobhe has joined #asahi-alt
02:23n3ph has quit [Ping timeout: 480 seconds]
02:28tobhe_ has quit [Ping timeout: 480 seconds]
02:56ipatch_ has joined #asahi-alt
02:58ipatch has quit [Ping timeout: 480 seconds]
03:33john-cabaj has joined #asahi-alt
03:47john-cabaj has quit [Ping timeout: 480 seconds]
03:51psykose has quit [Remote host closed the connection]
03:53psykose has joined #asahi-alt
04:49donier has quit []
04:57zerdox has quit [Ping timeout: 480 seconds]
06:11cow123 has quit [Ping timeout: 480 seconds]
06:13cow123 has joined #asahi-alt
06:59zerdox has joined #asahi-alt
07:19KxCORP589400034 has joined #asahi-alt
07:20psykose_ has joined #asahi-alt
07:21Nightpaws has joined #asahi-alt
07:21KxCORP58940003 has quit [Read error: Connection reset by peer]
07:21Nightpaws has quit [Read error: Connection reset by peer]
07:21KxCORP589400034 is now known as KxCORP58940003
07:23psykose has quit [Ping timeout: 480 seconds]
07:29dylanchapell has quit [Ping timeout: 480 seconds]
07:33psykose_ is now known as psykose
07:58n3ph has joined #asahi-alt
08:20ellyq_ has quit [Ping timeout: 480 seconds]
08:35n3ph has quit [Ping timeout: 480 seconds]
08:48n3ph has joined #asahi-alt
08:56Dan___ has joined #asahi-alt
09:02n3ph has quit [Ping timeout: 480 seconds]
09:23dylanchapell has joined #asahi-alt
09:47JayBeeFOSS has quit [Ping timeout: 480 seconds]
09:48JayBeeFOSS has joined #asahi-alt
09:58zerdox has quit [Ping timeout: 480 seconds]
10:12chadmed_chaos_princess: even on the m1 pro steam does not like the x86 or amd64 libpreloads
10:12chadmed_(and ofc it doesnt like the aarch64 one either)
10:25ellyq has joined #asahi-alt
10:40chadmed_hm the "x86" libpreload builds are linked against the aarch64 ld-linux and glibc
10:50psykosehow did ya check
10:50chadmed_ldd in FEXBash
10:50psykosei think if you just ldd them with an aarch64 glibc ldd it will show aarch64 glibc
10:50psykosereadelf -d NEEDED is prolly what actually matters
10:51chadmed_ok yeah that shows the amd64 ld-linux
10:51chadmed_interesting that nothing amd64 can actually preload this library though
10:52psykoseif you copy it to an amd64 system and try preload it there does it work
10:52chadmed_what amd64 system :p
10:52psykoseany, i imagine everyone has a million laying around :p
10:52chadmed_i havent got a single one
10:52psykosesurprised :D
10:52chadmed_regardless even using the fex rootfs ldd gives me aarch64 system libs
10:54chadmed_time for some patchelf nonsense
10:55chaos_princessCan you compile something like a hello world for x86, try to preload into it and see what happens?
10:55chadmed_yarp one sec
10:56chadmed_yep cannot open shared object file ignored
10:57chaos_princessThere is something like ld_debug that can provide extra debug spam
10:58psykosewhat Machine: is in readelf -h
10:59chadmed_i definitely 100% used the cross toolchain
11:05psykosevery weird then
11:06psykosesounds like it's actually the aarch64 ldso
11:06psykoseor some mystery corner case
11:10chadmed_LD_DEBUG=all
11:10chadmed_i cant really see anything overly sus in there
11:16chaos_princessWhat is the exact error you are getting?
11:19chadmed_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.
11:21chaos_princessAnd exact command line?
11:21chadmed_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
11:21chadmed_(inside fexbash)
11:21chadmed_it doesnt matter what i try to run or how i try to load it, its the same
11:21chadmed_the aarch64 version works with aarch64 binaries inside the vm though
11:23chaos_princessCan you prefix LD_PRELOAD with FEX_ENV (so, FEX_ENV=LD_PRELOAD=...)
11:25chadmed_works with echo let me try with steam
11:25chaos_princessthen it was not the issue
11:25chaos_princessthose messages are harmless
11:25chaos_princesshow exactly were you running steam
11:26chadmed_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
11:26chadmed_dropping the x86 libpreload fixed nothing
11:27chaos_princessOk, now add aarch64 preload too
11:27chaos_princessyou need all 3
11:30chaos_princessAlso, are you using thunks?
11:30chadmed_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)"
11:31chadmed_yeah im using thunks
11:32chaos_princessDisable thunks and try again
11:33chaos_princessand make sure you had unset everything wayland related in the env
11:40chadmed_ok getting further now
11:48chadmed_oh my god works with thunks now too
11:48chadmed_WAYLAND_SOCKET was set :/
11:50chaos_princessvm crashes are almost exclusively sommelier
11:50chaos_princesswhen my thing goes wrong its usually stuck windows, black windows or app crashes
11:51chadmed_yeah hitting that with steamwebhelper now with a bunch of EAGAINs but thats for another day
11:51chaos_princessWhich line gets eagain?
11:51chadmed_nothing in steam.sh its once its handed off to steamwebhelper
11:52chadmed_so i just get "Client disconnected with error: EAGAIN" in the terminal
11:52chaos_princessdoes steam start?
11:52chadmed_yeah but after i log in, its just a black box where the login window was
11:52chadmed_on the m1 pro at least, steam still crashes on m2 max
11:53chaos_princessas a test, can you set steam to autologin via sommelier
11:53chaos_princessAnd try again?
11:54chaos_princessAnd maybe, try using absolute paths in ld preload just in case
11:56chadmed_ok using absolute paths for LD_PRELOAD gets me a steam systray icon :)
11:56chadmed_so we havent crashed
11:57chadmed_EAGAINs when trying to use it to open my library though
11:58chaos_princessWith or without autologin?
11:58chadmed_with autologin
11:58chaos_princessWhat about trying to open the store?
11:59chadmed_same thing, i can click the store option in the systray thing but nothing happens
11:59chaos_princessTry doing a full restart of the vm and try again?
12:00chaos_princessMaybe also reboot just in case
12:00chadmed_we're back to steam crashing
12:01chadmed_ill do more tomorrow its getting late now
12:03chadmed_ has quit [Quit: Konversation terminated!]
12:41ellyq_ has joined #asahi-alt
12:44ellyq has quit [Ping timeout: 480 seconds]
12:49cyrinux has quit []
12:49cyrinux has joined #asahi-alt
12:52ellyq_ has quit [Ping timeout: 480 seconds]
12:58zerdox has joined #asahi-alt
13:33Dan___ has quit [Remote host closed the connection]
13:34Dan___ has joined #asahi-alt
13:47ellyq has joined #asahi-alt
14:20glem810 has quit [Read error: Connection reset by peer]
14:20glem8100 has joined #asahi-alt
14:23glem810 has joined #asahi-alt
14:23glem8100 has quit [Read error: Connection reset by peer]
14:24john-cabaj has joined #asahi-alt
14:30john-cabaj has quit [Quit: john-cabaj]
16:17zerdox has quit [Remote host closed the connection]
17:00zerdox has joined #asahi-alt
18:04cyrinux has quit []
18:47psykose has quit [Remote host closed the connection]
19:34john-cabaj has joined #asahi-alt
19:35john-cabaj has quit []
19:35john-cabaj has joined #asahi-alt
19:48cyrinux has joined #asahi-alt
19:51harryheres has joined #asahi-alt
19:51harryheres has quit [Remote host closed the connection]
19:54john-cabaj has quit [Remote host closed the connection]
19:55cyrinux has quit []
19:55john-cabaj has joined #asahi-alt
19:58cyrinux has joined #asahi-alt
20:06john-cabaj1 has joined #asahi-alt
20:13john-cabaj has quit [Ping timeout: 480 seconds]
20:13john-cabaj1 is now known as john-cabaj
21:06chadmed has quit [Quit: Konversation terminated!]
21:06chadmed has joined #asahi-alt
21:06chadmed has quit []
21:06chadmed has joined #asahi-alt
21:38mini_ has quit [Quit: ZNC closing...]
22:06zerdox has quit [Ping timeout: 480 seconds]
22:09zerdox has joined #asahi-alt
22:11mini_ has joined #asahi-alt
22:18nst has quit [Ping timeout: 480 seconds]
22:24john-cabaj has quit [Ping timeout: 480 seconds]
22:29zerdox has quit [Ping timeout: 480 seconds]
23:06runxiyu has quit [Ping timeout: 480 seconds]
23:10runxiyu_ has quit [Ping timeout: 480 seconds]
23:31runxiyu has joined #asahi-alt
23:31runxiyu_ has joined #asahi-alt
23:39nst has joined #asahi-alt
…