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 joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi-alt
verlio has quit [Remote host closed the connection]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
verlio has joined #asahi-alt
kujeger has joined #asahi-alt
kujeger- has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
<n3ph> The thread issues described in https://github.com/FEX-Emu/FEX/issues/4198 are fixed in current FEX main/HEAD. Starting Steam in muvm 0.1.3-r1 now works reliably as expected.
<n3ph> Though, this isn't the case for muvm 0.1.4. While starting Steam, steamwebhelper keeps not responding as outlined in https://github.com/FEX-Emu/FEX/issues/4198#issuecomment-2526174571 and I have a hunch it is related to the srt-logger errors I see in the console: https://bpa.st/TO3A
<n3ph> I am currently running the dist kernel, which seems to have support for Hypervisior Virtual Console, as `zgrep HVC /proc/config.gz` reveals `CONFIG_HVC_DRIVER=y`
<n3ph> Nevertheless, I don't have such a device node.
<n3ph> Oh, I just see, there is also `HVC_CONSOLE`, which is not built-in (!)
verlio has quit [Ping timeout: 480 seconds]
<n3ph> ... but this depends on `PPC_PSERIES`... I am lost, TBH.
chrisl has joined #asahi-alt
verlio has joined #asahi-alt
<n3ph> But now I see, within muvm these device nodes exist.
chadmed_ has joined #asahi-alt
<chadmed_> n3ph: thats a red herring, the hvc errors do not break steam
<chadmed_> did libkrun update at the same time as muvm?
<n3ph> good to know. No id didn't
<chadmed_> hmm
<n3ph> I am on 1.9.8
<chadmed_> oh yeah thats the correct version
<chadmed_> are you still using `muvm -- [executable]` to launch things? can you try without the `--`?
<n3ph> I was jumping muvm version back and forth so many times...
<n3ph> yes I do. Did that became obsolete?
<chadmed_> src/steamUI/steamuisharedjscontroller.cpp (666) : Failed creating offscreen shared JS context <- this line is your issue btw
chrisl has quit [Ping timeout: 480 seconds]
<chadmed_> i saw it on saturday but i cant remember what i did to make it go away
verlio has quit [Ping timeout: 480 seconds]
<n3ph> but `--` seems crucial..
<n3ph> `/usr/bin/muvm FEXBash -c "/home/n3ph/.local/share/fex-steam/steam-launcher/bin_steam.sh -cef-force-occlusion -cef-force-opaque-backgrounds -gamepadui"`
<n3ph> Error: couldn't parse `/home/n3ph/.local/share/fex-steam/steam-launcher/bin_steam.sh -cef-force-occlusion
<n3ph> -cef-force-opaque-backgrounds -gamepadui`: Failed to parse start
<chadmed_> oh you start steam that way
<chadmed_> give me a second
<n3ph> Regarding the JS context, this is a freshly bootstrapped steam install. I frequently run `rm -rf .steam; rm -rf .local/share/Steam; rm -rf .local/share/fex-steam` in order for bootstrapping
<n3ph> As said, I am using alyssas launcher script: https://pagure.io/fedora-asahi/steam/blob/main/f/shim.py
<chadmed_> try with these instead
<n3ph> how did you install steam?
<n3ph> chadmed_: because https://wiki.gentoo.org/wiki/Steam seems not to be an option...
<chadmed_> yeah the file extensions are just so github knows what file they are. on my system they are just chmod +x'ed executables (hence the shebang)
<n3ph> IC
<chadmed_> i installed steam by using rpm2targz then tar xpvf-ing the tarball as root inside /
<n3ph> I was just wgetting the raw files.. taht's why I had them with .sh
<n3ph> Aha, the sledgehammer method..
<chadmed_> i should slap together an ebuild or something
<n3ph> maybe let's do this next. I was only using alyssas shim script to skip on this specific part as well
<chadmed_> in any case, that shouldnt matter for that error
<n3ph> Let me try using the fe-steam binary
<n3ph> *fex-steam
<n3ph> chadmed_: nope. unfortunately I get the same error..
<n3ph> That's the only interesting part right before the JS context error: https://pastebin.com/q1SYih6R
<n3ph> ... from `/home/n3ph/.local/share/Steam/logs/webhelper-linux.txt`
<chadmed_> youll notice those errors when every game starts up too, thats not the issue
<n3ph> I've truncated `webhelper-linux.txt` defore execution, so here is one sequence: https://bpa.st/2HOA
<n3ph> right after the dialog pops up, there is a couple of other things going on
<n3ph> .. stating at 2024-12-09 04:47:29
<n3ph> Interesting might be the messages related to DBUS and the `/usr/lib64/gbm/dri_gbm.so` error
tobhe has joined #asahi-alt
<n3ph> but regardless, according to the log steamwebhelper is executed right after the dialog shows up
tobhe_ has quit [Ping timeout: 480 seconds]
<chadmed_> n3ph: i thought that too, but i see that in my webhelper log
zerdox has joined #asahi-alt
<n3ph> Interestingly `/usr/lib64/gbm/dri_gbm.so` exists, so I don't understand why it's complaining about that.
<n3ph> And with this, I am out of ideas again
verlio has joined #asahi-alt
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
verlio has quit [Ping timeout: 480 seconds]
n3ph has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
chadmed_ has quit [Remote host closed the connection]
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
mkurz has quit [Quit: Konversation terminated!]
andymandias has joined #asahi-alt
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
andymandias has quit [Remote host closed the connection]
verlio has joined #asahi-alt
andymandias has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
verlio has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
<chadmed> chaos_princess: do you think the steam shim is valuable at all?
<chadmed> trying to cook up something that is somewhat general
verlio has joined #asahi-alt
<chaos_princess> Idk. I personally do not want to make ebuilds for it since steam is eula and not-redistributable
<chadmed> the bootstrap launcher is MIT if im reading correctly
mkurz has joined #asahi-alt
<chaos_princess> i guess since the normal steam download flow does not present the eula at any point, valve expect it to be agreed to at account creation or something
<chaos_princess> so could be fine?
<chadmed> yeah the SSA covers your use of steam and doesnt mention redistributing the launcher
<chadmed> the only other licence in the tarball you get from valve is a copy of MIT
<leio> I haven't followed, but I assume everyone knows there's the steam overlay with that stuff
verlio has quit [Ping timeout: 480 seconds]
<chadmed> yeah im aware
<leio> (it also includes a way to avoid steam runtime and use own system stuff; not so relevant to us)
<chaos_princess> will that work for our kinda-weird setup?
<chadmed> pretty sure debian and arch also just straight up package valves bootstrap launcher
<chadmed> chaos_princess: im thinking no which is why im cooking up games-util/steam-aarch64
<chadmed> thats gonna be real confusing in a couple of months (valve time) ;)
<leio> I'm not sure how well it works anymore; it used to scan your installed games for libraries and then generate something that pulls in the needed packages, multilib flags and all
<chaos_princess> no, we are _not_ avoiding steam runtime
<chadmed> yeah literally impossible
<leio> yeah, not so relevant
<chadmed> youd run out of CI credits :p
<leio> I think I misinterpreted "will that work for our ..." as a reply to me, when it was to chadmed.
<chaos_princess> in theory we would just need the bootstrap launcher, but with a arm64 keyword
<leio> maybe in the long term we could talk about ABI_X86 being available on arm64
<chaos_princess> and a script to run it all in fex
<chadmed> basically the idea is the ebuild will pull down valve's tarball directly and a wee little wrapper script that calls it from FEXInterpreter
<chadmed> with a USE flag that optionally wraps that wrapper in muvm
<chaos_princess> id say just check the page size on launch and go from there
<chadmed> oh yeah that works
<chadmed> imo the pyqt shim is too heavy and kinda unnecessary. muvm starts quicksmart these days and steam is dog slow on x86 anyway, everyone expects it to sucj
<chadmed> and i dont fancy rewriting the UI elements in qml
<chaos_princess> if i run something via gui and it takes 5 minutes+ to start, i would be at least investigating at this point imo
<chadmed> it doesnt take 5 minutes anymore right
<chaos_princess> so, if we are shipping a desktop file, force a console window at least
<chaos_princess> on first download it does
<chadmed> yeah but x11bridge works so you get the zenity "configuring steam" thingies now
<chaos_princess> can you check if steam folder exists and if not, use zenity to pop up sth like "steam can take 5+ minutes to launch for the first time, just be patient"
<chadmed> yeah ofc
<leio> if you need any small GUI thing, I can do it, mainly to get it in gtk instead of qt :)
<leio> (if anything more than zenity usage)
<chaos_princess> (also, only matters for launch via desktop files, shell launch will not need it)
<chaos_princess> leio: do the modern game dev thing, and ship full cef or electron for your launcher. :P
<chadmed> "yo dawg i heard you like launchers"
<leio> I can write a launcher for your launcher of a launcher
<LarstiQ> at least Civ6 no longer comes with that awful 2k launcher
<chadmed> leio: now youre thinking like a paradox dev
<chadmed> muvm hasnt fixed its issues with network setup yet has it
<chadmed> e.g. if i just launch muvm then the vm's /etc/resolv.conf is still empty
<chaos_princess> https://github.com/AsahiLinux/muvm/pulls - as you can see there are at least 4 different prs to fix the networking
<chadmed> yeah
chrisl has joined #asahi-alt
<chadmed> once that gets fixed we wont need to wrap a muvm wrapper
<chaos_princess> could pull this one in, i think we generally like it, and the only issue is fedora packaging situation https://github.com/AsahiLinux/muvm/pull/111
<chadmed> i figured that would be the one to get pulled given the activity and provenance
<chadmed> also ipv6 is a nice bonus
<chaos_princess> lol
<chaos_princess> somehow neither my cable isp nor mobile (how?) got that memo :P
<chadmed> urgh yeah i remember from a while ago
<chadmed> the largest ISP here literally bought smaller ISPs that supported ipv6 and removed that support as part of network ops integrations
<LarstiQ> chadmed: ugh :(
<LarstiQ> Telstra?
<chadmed> nah tpg
<chadmed> telstra have supported ipv6 for ages now
<chadmed> the first isp in australia to support ipv6 at all actually fell victim to this fate
chrisl has quit [Ping timeout: 480 seconds]
<j`ey> so x11bridge is the default now right? I have to rebuild dwl with XWayland before updating
mkurz has quit [Quit: Konversation terminated!]
<chadmed> j`ey: correct
verlio has joined #asahi-alt
<j`ey> alright thx
verlio has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-alt
verlio has joined #asahi-alt
mkurz has joined #asahi-alt
chrisl has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<chadmed> should we overwrite steam's .desktop file or just install a new one and call it like "Steam (AArch64)"
<chadmed> im thinking the latter only because at some point the muvm stack is going to do proper binfmt handling, and fex already does that for 4k systems
mkurz has quit [Remote host closed the connection]
<chaos_princess> override for now
<chaos_princess> otherwise it becomes windows-tier start window shortcut pollution with "$App" "$App (run as admin)" "Useless help for $App" "Register your copy of $App", "Uninstall $App"
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
emilia-miki has joined #asahi-alt
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
verlio has joined #asahi-alt
<chadmed> yeah good point
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
balrog_ has quit [Ping timeout: 480 seconds]
verlio has quit [Ping timeout: 480 seconds]
dcavalca856 has quit []
emilia-miki has quit [Ping timeout: 480 seconds]
emilia-miki has joined #asahi-alt
verlio has joined #asahi-alt
<chadmed> hmm theres something up with muvm when started via the the .desktop file. when i tell it to shut down steam, muvm ends up spinning cores until i killall 'libkrun VM'
verlio has quit [Ping timeout: 480 seconds]
dcavalca856 has joined #asahi-alt
<chadmed> urgh and if i set Terminal=true in the .desktop file it stops happening -.-
verlio has joined #asahi-alt
chrisl has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-alt
ellyq has quit []
ellyq has joined #asahi-alt
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
n3ph has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
n3ph has joined #asahi-alt
chrisl has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph has quit [Quit: WeeChat 4.4.3]
n3ph has joined #asahi-alt
chrisl has joined #asahi-alt
john-cabaj has joined #asahi-alt
xal has quit [Remote host closed the connection]
xal has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
<chaos_princess> chadmed: inb4 it needs a tty, try wrapping it in tmux?
verlio has quit [Ping timeout: 480 seconds]
emilia-miki1 has joined #asahi-alt
emilia-miki has quit [Ping timeout: 480 seconds]
emilia-miki1 is now known as emilia-miki
verlio has joined #asahi-alt
n3ph has quit [Read error: No route to host]
balrog has joined #asahi-alt
n3ph has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
<n3ph> This fixed the struggle I had over the past days with one thread burning through.
<n3ph> Strangely no one else saw this behaviour.
<j`ey> n3ph: chadmed just mentioned something that sounded like it?
<j`ey> maybe
<n3ph> j`ey: yep, this was it: https://github.com/FEX-Emu/FEX/issues/4198
<n3ph> But chadmed never saw something similar in his setup
<n3ph> Nevertheless, worth to backport
<n3ph> I am currently on a local live ebuild, that's how
chrisl has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
<chaos_princess> i think i can repro your thing
<chaos_princess> chadmed: you tested on m2, right?
<n3ph> wow, nice! I'm on m1 max and I thought already this might be HW specific
chrisl has quit [Ping timeout: 480 seconds]
<chaos_princess> psychic debugging says race condition and m1 and m2 behave differently due to timings
verlio has joined #asahi-alt
chrisl has joined #asahi-alt
<n3ph> Interesting. plz let me know if you can repro the steamwebhelper unresponsiveness on muvm-0.1.4 + FEX-main/HEAD as well 🙏🏿
<chaos_princess> muvm 0.1.4, fex 2412-r1 + patch from beec203, steam starts up and works
<n3ph> 😭 I am out of ideas why this isn't working for me.
<n3ph> the last thing left might be the migration from sommelier to x11-bridge
<n3ph> maybe this is related to my sway/xwayland setup
<chaos_princess> try using the --sommelier flag?
<n3ph> unfortunately no, still `src/steamUI/steamuisharedjscontroller.cpp (666) : Failed creating offscreen shared JS context`
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
verlio has quit [Ping timeout: 480 seconds]
n3ph has quit [Quit: WeeChat 4.4.3]
n3ph has joined #asahi-alt
verlio has joined #asahi-alt
n3ph_ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
n3ph_ has quit [Read error: No route to host]
verlio has quit [Ping timeout: 480 seconds]
verlio has joined #asahi-alt
aead_ is now known as aead
emilia-miki has quit [Ping timeout: 480 seconds]
verlio has quit [Ping timeout: 480 seconds]
Juest has quit [Ping timeout: 480 seconds]
sam_ is now known as Guest2576
sam_ has joined #asahi-alt
verlio has joined #asahi-alt
Guest2576 has quit [Read error: Connection reset by peer]
<chadmed> chaos_princess: yeah testing this on m2
<chaos_princess> makes sense i guess
kdb424903 has quit [Ping timeout: 480 seconds]
kdb424903 has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
n3ph has joined #asahi-alt
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-alt
chadmed has quit []
chadmed has joined #asahi-alt
chadmed has quit []
chadmed has joined #asahi-alt
chadmed has quit []
chadmed has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph has quit [Quit: WeeChat 4.4.3]
n3ph has joined #asahi-alt
chadmed_ has joined #asahi-alt
<chadmed_> chaos_princess/n3ph: do you have 5 minutes to test something? no stress if not
<chaos_princess> sure?
<chadmed_> cool give me a sec
<chadmed_> put steam-aarch64 and steam-muvm in /usr/bin/, chmod +x both, replace /usr/share/applications/steam.desktop with steam-aarch64.desktop then update-desktop-database /usr/share/applications/
Juest has joined #asahi-alt
<chadmed_> launch steam, then quit steam, then use top or htop or whatever to see if muvm survives and starts spinning cores
<chaos_princess> yep, hangs on exit
chadmed_ has quit [Remote host closed the connection]
chadmed_ has joined #asahi-alt
chrisl has joined #asahi-alt
<chadmed_> hm okay let me revbump FEX with that patch backported and see if that helps
<chaos_princess> which one
<chaos_princess> beec203?
<chaos_princess> i already have it
<chadmed_> oh rip its over
<chadmed_> impossible to debug too since attaching a tty fixes it
<chaos_princess> well, then duh, it just wants a tty
jn has joined #asahi-alt
HitokiriKincho has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
jnn has quit [Ping timeout: 480 seconds]
<chadmed_> well yeah but i was hoping to avoid having to do that since it's jank
chadmed__ has joined #asahi-alt
chadmed_ has quit [Remote host closed the connection]
wille-io is now known as Guest2592
wille-io has joined #asahi-alt
Guest2592 has quit [Read error: No route to host]
chrisl has joined #asahi-alt