#
…

2024-12-09

00:05chrisl has joined #asahi-alt
00:13chrisl has quit [Ping timeout: 480 seconds]
00:39verlio has quit [Ping timeout: 480 seconds]
00:40verlio has joined #asahi-alt
00:47minecrell has quit [Quit: Ping timeout (120 seconds)]
00:47minecrell has joined #asahi-alt
00:51verlio has quit [Remote host closed the connection]
01:07chrisl has joined #asahi-alt
01:15chrisl has quit [Ping timeout: 480 seconds]
01:41n3ph has joined #asahi-alt
01:51verlio has joined #asahi-alt
02:02kujeger has joined #asahi-alt
02:07kujeger- has quit [Ping timeout: 480 seconds]
02:08chrisl has joined #asahi-alt
02:23chrisl has quit [Ping timeout: 480 seconds]
02:31n3phThe 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.
02:31n3phThough, 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
02:37n3phI 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`
02:38n3phNevertheless, I don't have such a device node.
02:39n3phOh, I just see, there is also `HVC_CONSOLE`, which is not built-in (!)
02:41verlio has quit [Ping timeout: 480 seconds]
02:49n3ph... but this depends on `PPC_PSERIES`... I am lost, TBH.
02:51chrisl has joined #asahi-alt
02:52verlio has joined #asahi-alt
02:56n3phBut now I see, within muvm these device nodes exist.
02:56chadmed_ has joined #asahi-alt
02:56chadmed_n3ph: thats a red herring, the hvc errors do not break steam
02:57chadmed_did libkrun update at the same time as muvm?
02:57n3phgood to know. No id didn't
02:58n3phI am on 1.9.8
02:58chadmed_oh yeah thats the correct version
02:59chadmed_are you still using `muvm -- [executable]` to launch things? can you try without the `--`?
02:59n3phI was jumping muvm version back and forth so many times...
02:59n3phyes I do. Did that became obsolete?
02:59chadmed_src/steamUI/steamuisharedjscontroller.cpp (666) : Failed creating offscreen shared JS context <- this line is your issue btw
02:59chrisl has quit [Ping timeout: 480 seconds]
03:00chadmed_i saw it on saturday but i cant remember what i did to make it go away
03:00verlio has quit [Ping timeout: 480 seconds]
03:05n3phbut `--` seems crucial..
03:05n3ph`/usr/bin/muvm FEXBash -c "/home/n3ph/.local/share/fex-steam/steam-launcher/bin_steam.sh -cef-force-occlusion -cef-force-opaque-backgrounds -gamepadui"`
03:05n3phError: couldn't parse `/home/n3ph/.local/share/fex-steam/steam-launcher/bin_steam.sh -cef-force-occlusion
03:05n3ph-cef-force-opaque-backgrounds -gamepadui`: Failed to parse start
03:08chadmed_oh you start steam that way
03:08chadmed_give me a second
03:08n3phRegarding 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
03:10n3phAs said, I am using alyssas launcher script: https://pagure.io/fedora-asahi/steam/blob/main/f/shim.py
03:29chadmed_try with these instead
03:33n3phhow did you install steam?
03:34n3phchadmed_: because https://wiki.gentoo.org/wiki/Steam seems not to be an option...
03:35chadmed_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)
03:35chadmed_i installed steam by using rpm2targz then tar xpvf-ing the tarball as root inside /
03:35n3phI was just wgetting the raw files.. taht's why I had them with .sh
03:36n3phAha, the sledgehammer method..
03:36chadmed_i should slap together an ebuild or something
03:37n3phmaybe let's do this next. I was only using alyssas shim script to skip on this specific part as well
03:37chadmed_in any case, that shouldnt matter for that error
03:38n3phLet me try using the fe-steam binary
03:38n3ph*fex-steam
03:40n3phchadmed_: nope. unfortunately I get the same error..
03:43n3phThat's the only interesting part right before the JS context error: https://pastebin.com/q1SYih6R
03:44n3ph... from `/home/n3ph/.local/share/Steam/logs/webhelper-linux.txt`
03:45chadmed_youll notice those errors when every game starts up too, thats not the issue
03:49n3phI've truncated `webhelper-linux.txt` defore execution, so here is one sequence: https://bpa.st/2HOA
03:49n3phright after the dialog pops up, there is a couple of other things going on
03:49n3ph.. stating at 2024-12-09 04:47:29
03:51n3phInteresting might be the messages related to DBUS and the `/usr/lib64/gbm/dri_gbm.so` error
03:51tobhe has joined #asahi-alt
03:52n3phbut regardless, according to the log steamwebhelper is executed right after the dialog shows up
03:58tobhe_ has quit [Ping timeout: 480 seconds]
04:29chadmed_n3ph: i thought that too, but i see that in my webhelper log
04:30zerdox has joined #asahi-alt
04:31n3phInterestingly `/usr/lib64/gbm/dri_gbm.so` exists, so I don't understand why it's complaining about that.
04:31n3phAnd with this, I am out of ideas again
04:34verlio has joined #asahi-alt
04:43chrisl has joined #asahi-alt
04:51chrisl has quit [Ping timeout: 480 seconds]
04:54verlio has quit [Ping timeout: 480 seconds]
04:58n3ph has quit [Ping timeout: 480 seconds]
05:05verlio has joined #asahi-alt
05:13verlio has quit [Ping timeout: 480 seconds]
05:28chrisl has joined #asahi-alt
05:36chrisl has quit [Ping timeout: 480 seconds]
05:38chadmed_ has quit [Remote host closed the connection]
05:52verlio has joined #asahi-alt
06:00verlio has quit [Ping timeout: 480 seconds]
06:08mkurz has quit [Quit: Konversation terminated!]
06:10andymandias has joined #asahi-alt
06:12verlio has joined #asahi-alt
06:20verlio has quit [Ping timeout: 480 seconds]
06:26andymandias has quit [Remote host closed the connection]
06:31verlio has joined #asahi-alt
06:32andymandias has joined #asahi-alt
06:39verlio has quit [Ping timeout: 480 seconds]
06:44chrisl has joined #asahi-alt
06:52verlio has joined #asahi-alt
06:52chrisl has quit [Ping timeout: 480 seconds]
07:00verlio has quit [Ping timeout: 480 seconds]
07:11verlio has joined #asahi-alt
07:19verlio has quit [Ping timeout: 480 seconds]
07:21chadmedchaos_princess: do you think the steam shim is valuable at all?
07:22chadmedtrying to cook up something that is somewhat general
07:22verlio has joined #asahi-alt
07:23chaos_princessIdk. I personally do not want to make ebuilds for it since steam is eula and not-redistributable
07:26chadmedthe bootstrap launcher is MIT if im reading correctly
07:28mkurz has joined #asahi-alt
07:29chaos_princessi 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
07:29chaos_princessso could be fine?
07:30chadmedyeah the SSA covers your use of steam and doesnt mention redistributing the launcher
07:30chadmedthe only other licence in the tarball you get from valve is a copy of MIT
07:30leioI haven't followed, but I assume everyone knows there's the steam overlay with that stuff
07:30verlio has quit [Ping timeout: 480 seconds]
07:31chadmedyeah im aware
07:31leio(it also includes a way to avoid steam runtime and use own system stuff; not so relevant to us)
07:31chaos_princesswill that work for our kinda-weird setup?
07:31chadmedpretty sure debian and arch also just straight up package valves bootstrap launcher
07:31chadmedchaos_princess: im thinking no which is why im cooking up games-util/steam-aarch64
07:31chadmedthats gonna be real confusing in a couple of months (valve time) ;)
07:32leioI'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
07:32chaos_princessno, we are _not_ avoiding steam runtime
07:32chadmedyeah literally impossible
07:32leioyeah, not so relevant
07:32chadmedyoud run out of CI credits :p
07:32leioI think I misinterpreted "will that work for our ..." as a reply to me, when it was to chadmed.
07:33chaos_princessin theory we would just need the bootstrap launcher, but with a arm64 keyword
07:33leiomaybe in the long term we could talk about ABI_X86 being available on arm64
07:33chaos_princessand a script to run it all in fex
07:33chadmedbasically the idea is the ebuild will pull down valve's tarball directly and a wee little wrapper script that calls it from FEXInterpreter
07:33chadmedwith a USE flag that optionally wraps that wrapper in muvm
07:34chaos_princessid say just check the page size on launch and go from there
07:34chadmedoh yeah that works
07:34chadmedimo 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
07:35chadmedand i dont fancy rewriting the UI elements in qml
07:35chaos_princessif i run something via gui and it takes 5 minutes+ to start, i would be at least investigating at this point imo
07:35chadmedit doesnt take 5 minutes anymore right
07:35chaos_princessso, if we are shipping a desktop file, force a console window at least
07:36chaos_princesson first download it does
07:36chadmedyeah but x11bridge works so you get the zenity "configuring steam" thingies now
07:37chaos_princesscan 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"
07:37chadmedyeah ofc
07:38leioif you need any small GUI thing, I can do it, mainly to get it in gtk instead of qt :)
07:38leio(if anything more than zenity usage)
07:38chaos_princess(also, only matters for launch via desktop files, shell launch will not need it)
07:39chaos_princessleio: do the modern game dev thing, and ship full cef or electron for your launcher. :P
07:40chadmed"yo dawg i heard you like launchers"
07:40leioI can write a launcher for your launcher of a launcher
07:40LarstiQat least Civ6 no longer comes with that awful 2k launcher
07:40chadmedleio: now youre thinking like a paradox dev
07:45chadmedmuvm hasnt fixed its issues with network setup yet has it
07:46chadmede.g. if i just launch muvm then the vm's /etc/resolv.conf is still empty
07:47chaos_princesshttps://github.com/AsahiLinux/muvm/pulls - as you can see there are at least 4 different prs to fix the networking
07:49chrisl has joined #asahi-alt
07:50chadmedonce that gets fixed we wont need to wrap a muvm wrapper
07:50chaos_princesscould 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
07:50chadmedi figured that would be the one to get pulled given the activity and provenance
07:50chadmedalso ipv6 is a nice bonus
07:52chaos_princesssomehow neither my cable isp nor mobile (how?) got that memo :P
07:53chadmedurgh yeah i remember from a while ago
07:54chadmedthe largest ISP here literally bought smaller ISPs that supported ipv6 and removed that support as part of network ops integrations
07:54LarstiQchadmed: ugh :(
07:54LarstiQTelstra?
07:54chadmedtelstra have supported ipv6 for ages now
07:55chadmedthe first isp in australia to support ipv6 at all actually fell victim to this fate
07:57chrisl has quit [Ping timeout: 480 seconds]
08:05j`eyso x11bridge is the default now right? I have to rebuild dwl with XWayland before updating
08:11mkurz has quit [Quit: Konversation terminated!]
08:16chadmedj`ey: correct
08:18verlio has joined #asahi-alt
08:21j`eyalright thx
08:26verlio has quit [Ping timeout: 480 seconds]
08:28JayBeeFOSS has quit [Ping timeout: 480 seconds]
08:29JayBeeFOSS has joined #asahi-alt
08:54verlio has joined #asahi-alt
08:56mkurz has joined #asahi-alt
08:56chrisl has joined #asahi-alt
09:02verlio has quit [Ping timeout: 480 seconds]
09:04chrisl has quit [Ping timeout: 480 seconds]
09:06chadmedshould we overwrite steam's .desktop file or just install a new one and call it like "Steam (AArch64)"
09:07chadmedim 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
09:19mkurz has quit [Remote host closed the connection]
09:21chaos_princessoverride for now
09:23chaos_princessotherwise 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"
09:29verlio has joined #asahi-alt
09:37verlio has quit [Ping timeout: 480 seconds]
09:48emilia-miki has joined #asahi-alt
09:48verlio has joined #asahi-alt
09:56verlio has quit [Ping timeout: 480 seconds]
10:01chrisl has joined #asahi-alt
10:09chrisl has quit [Ping timeout: 480 seconds]
10:32n3ph has joined #asahi-alt
10:43verlio has joined #asahi-alt
10:51chadmedyeah good point
10:51verlio has quit [Ping timeout: 480 seconds]
11:02verlio has joined #asahi-alt
11:05balrog_ has quit [Ping timeout: 480 seconds]
11:10verlio has quit [Ping timeout: 480 seconds]
11:15dcavalca856 has quit []
11:15emilia-miki has quit [Ping timeout: 480 seconds]
11:19emilia-miki has joined #asahi-alt
11:20verlio has joined #asahi-alt
11:23chadmedhmm 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'
11:28verlio has quit [Ping timeout: 480 seconds]
11:31dcavalca856 has joined #asahi-alt
11:32chadmedurgh and if i set Terminal=true in the .desktop file it stops happening -.-
11:39verlio has joined #asahi-alt
11:45chrisl has joined #asahi-alt
11:47verlio has quit [Ping timeout: 480 seconds]
11:53chrisl has quit [Ping timeout: 480 seconds]
12:02chadmed has quit [Quit: Konversation terminated!]
12:02chadmed has joined #asahi-alt
12:12ellyq has quit []
12:14ellyq has joined #asahi-alt
12:15verlio has joined #asahi-alt
12:23verlio has quit [Ping timeout: 480 seconds]
12:28n3ph has quit [Ping timeout: 480 seconds]
12:35verlio has joined #asahi-alt
12:39n3ph has joined #asahi-alt
12:46chrisl has joined #asahi-alt
12:49n3ph has quit [Ping timeout: 480 seconds]
12:54chrisl has quit [Ping timeout: 480 seconds]
13:25n3ph has joined #asahi-alt
13:47chrisl has joined #asahi-alt
13:55chrisl has quit [Ping timeout: 480 seconds]
14:23n3ph has quit [Quit: WeeChat 4.4.3]
14:24n3ph has joined #asahi-alt
14:47chrisl has joined #asahi-alt
14:48john-cabaj has joined #asahi-alt
14:51xal has quit [Remote host closed the connection]
14:53xal has joined #asahi-alt
14:55chrisl has quit [Ping timeout: 480 seconds]
14:56chaos_princesschadmed: inb4 it needs a tty, try wrapping it in tmux?
15:08verlio has quit [Ping timeout: 480 seconds]
15:08emilia-miki1 has joined #asahi-alt
15:15emilia-miki has quit [Ping timeout: 480 seconds]
15:15emilia-miki1 is now known as emilia-miki
15:20verlio has joined #asahi-alt
15:22n3ph has quit [Read error: No route to host]
15:23balrog has joined #asahi-alt
15:24n3ph has joined #asahi-alt
15:28verlio has quit [Ping timeout: 480 seconds]
15:35verlio has joined #asahi-alt
15:43verlio has quit [Ping timeout: 480 seconds]
15:55verlio has joined #asahi-alt
16:03verlio has quit [Ping timeout: 480 seconds]
16:29verlio has joined #asahi-alt
16:31n3phThis fixed the struggle I had over the past days with one thread burning through.
16:31n3phStrangely no one else saw this behaviour.
16:32j`eyn3ph: chadmed just mentioned something that sounded like it?
16:33n3phBut chadmed never saw something similar in his setup
16:34n3phNevertheless, worth to backport
16:34n3phI am currently on a local live ebuild, that's how
16:37chrisl has joined #asahi-alt
16:37verlio has quit [Ping timeout: 480 seconds]
16:44chaos_princessi think i can repro your thing
16:45chaos_princesschadmed: you tested on m2, right?
16:45n3phwow, nice! I'm on m1 max and I thought already this might be HW specific
16:45chrisl has quit [Ping timeout: 480 seconds]
16:46chaos_princesspsychic debugging says race condition and m1 and m2 behave differently due to timings
16:47verlio has joined #asahi-alt
16:49chrisl has joined #asahi-alt
16:49n3phInteresting. plz let me know if you can repro the steamwebhelper unresponsiveness on muvm-0.1.4 + FEX-main/HEAD as well 🙏🏿
16:54chaos_princessmuvm 0.1.4, fex 2412-r1 + patch from beec203, steam starts up and works
16:56n3ph😭 I am out of ideas why this isn't working for me.
16:57n3phthe last thing left might be the migration from sommelier to x11-bridge
16:57n3phmaybe this is related to my sway/xwayland setup
16:58chaos_princesstry using the --sommelier flag?
17:01n3phunfortunately no, still `src/steamUI/steamuisharedjscontroller.cpp (666) : Failed creating offscreen shared JS context`
17:08verlio has quit [Ping timeout: 480 seconds]
17:17verlio has joined #asahi-alt
17:25verlio has quit [Ping timeout: 480 seconds]
17:26n3ph has quit [Quit: WeeChat 4.4.3]
17:26n3ph has joined #asahi-alt
17:45verlio has joined #asahi-alt
17:57n3ph_ has joined #asahi-alt
18:00n3ph has quit [Ping timeout: 480 seconds]
18:23n3ph_ has quit [Read error: No route to host]
18:59verlio has quit [Ping timeout: 480 seconds]
19:02verlio has joined #asahi-alt
19:45aead_ is now known as aead
20:03emilia-miki has quit [Ping timeout: 480 seconds]
20:48verlio has quit [Ping timeout: 480 seconds]
20:49Juest has quit [Ping timeout: 480 seconds]
20:51sam_ is now known as Guest2576
20:51sam_ has joined #asahi-alt
20:51verlio has joined #asahi-alt
20:52Guest2576 has quit [Read error: Connection reset by peer]
20:52chadmedchaos_princess: yeah testing this on m2
20:53chaos_princessmakes sense i guess
21:27kdb424903 has quit [Ping timeout: 480 seconds]
22:07kdb424903 has joined #asahi-alt
22:12chrisl has quit [Ping timeout: 480 seconds]
22:24chrisl has joined #asahi-alt
22:27n3ph has joined #asahi-alt
22:42chadmed has quit [Quit: Konversation terminated!]
22:42chadmed has joined #asahi-alt
22:43chadmed has quit []
22:43chadmed has joined #asahi-alt
22:43chadmed has quit []
22:43chadmed has joined #asahi-alt
22:44chadmed has quit []
22:44chadmed has joined #asahi-alt
22:44chrisl has quit [Ping timeout: 480 seconds]
23:02n3ph has quit [Quit: WeeChat 4.4.3]
23:03n3ph has joined #asahi-alt
23:15chadmed_ has joined #asahi-alt
23:15chadmed_chaos_princess/n3ph: do you have 5 minutes to test something? no stress if not
23:16chadmed_cool give me a sec
23:20chadmed_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/
23:20Juest has joined #asahi-alt
23:20chadmed_launch steam, then quit steam, then use top or htop or whatever to see if muvm survives and starts spinning cores
23:27chaos_princessyep, hangs on exit
23:27chadmed_ has quit [Remote host closed the connection]
23:28chadmed_ has joined #asahi-alt
23:28chrisl has joined #asahi-alt
23:28chadmed_hm okay let me revbump FEX with that patch backported and see if that helps
23:29chaos_princessi already have it
23:29chadmed_oh rip its over
23:30chadmed_impossible to debug too since attaching a tty fixes it
23:31chaos_princesswell, then duh, it just wants a tty
23:34jn has joined #asahi-alt
23:35HitokiriKincho has joined #asahi-alt
23:36chrisl has quit [Ping timeout: 480 seconds]
23:37jnn has quit [Ping timeout: 480 seconds]
23:44chadmed_well yeah but i was hoping to avoid having to do that since it's jank
23:46chadmed__ has joined #asahi-alt
23:46chadmed_ has quit [Remote host closed the connection]
23:56wille-io is now known as Guest2592
23:56wille-io has joined #asahi-alt
23:58Guest2592 has quit [Read error: No route to host]
23:59chrisl has joined #asahi-alt
…