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>
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
<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
<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..
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
<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?
<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]