ChanServ changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard + Bifrost + Valhall - Logs https://oftc.irclog.whitequark.org/panfrost
q4a is now known as Guest22217
rasterman has joined #panfrost
jernej has quit [Read error: Connection reset by peer]
jernej has joined #panfrost
rasterman has quit [Remote host closed the connection]
rasterman has joined #panfrost
<linkmauve> Hi, I built an amd64 Mesa with just panfrost in order to run it in FEX-Emu on a rk3588, is that the proper way to do it or should I instead rely entirely on thunking to the host Mesa?
<alyssa> linkmauve: that's more of a FEX question than a Panfrost one but
<alyssa> in principle that should work
pbrobinson has quit [Ping timeout: 480 seconds]
krei-se has joined #panfrost
<alyssa> and "Linux FEX" (including when you use FEX to emulate an x86 wine binary), depends on having those host libraries, since we treat thunking as "just" an optimization
<alyssa> (notably, Steam breaks with thunking rn for some reason..)
<alyssa> thunking of course improves performance
<linkmauve> I won’t be using Steam anyway.
<alyssa> OK
<alyssa> "Windows FEX" (including when you use a FEX dll with an arm64 build of Wine), does not use host libraries, and is thunked 100% of the time (inside Wine, not FEX)
<alyssa> which means wine-arm64ec generally gets better performance than linux FEX + x86 wine -- since you're not emulating wine itself / the windows system library
<alyssa> also, Steam is broken with wine-arm64ec (-:
<linkmauve> Oh, I want to try this Windows FEX as well!
<alyssa> you may need a sufficiently new Mesa for the fix in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34573
<linkmauve> So this one rely entirely on AArch64 userland, no need for any rootfs?
<alyssa> Correct
<alyssa> Or well, the "rootfs" is your wine prefix
<linkmauve> I’m running Mesa main always.
<alyssa> Windows FEX and Linux FEX are very similar, it's just that Linux FEX has to simulate a Linux environment (including rootfs), whereas Windows FEX gets to be "just" an emulator since WINE simulates a Windows environment (including the rootfs at ~/.wine/drive_c )
<alyssa> FWIW, on Asahi we ship Linux FEX + x86 steam since that's what actually works today
krei-se- has quit [Ping timeout: 480 seconds]
<alyssa> although I use custom builds of Windows FEX for testing locally
<linkmauve> Do you have any instructions to build Windows FEX?
<linkmauve> I already have Linux FEX built and running.
<linkmauve> Speaking of Linux FEX though, how do you install packages in your rootfs? Here FEXInterpreter complains that my rootfs isn’t mounted as suid (even though it is) when using sudo.
<alyssa> generally you don't
<linkmauve> How do you maintain your rootfs then, with updates and such? Through qemu?
<alyssa> generally you don't
<alyssa> it's like an immutable distro
<alyssa> we prebake one big rootfs for e.g. fedora 42
<alyssa> then it says the same until you upgrade the whole system to fedora 43 (incl a new rootfs)
<alyssa> no good guide but you should be able to cobble it together
<alyssa> the wiki's out of date
<linkmauve> Ah, I’m using an old amd64 laptop’s NVMe which was running ArchLinux, so ideally I would just keep it up to date and emulate it as normal.
<linkmauve> I’ll try to figure out how to do that, maybe using qemu instead of FEX.
pbrobinson has joined #panfrost
<alyssa> Uhhh
<alyssa> Yeah that's not really how this is supposed to work lol
Net147 has quit [Quit: Quit]
Net147 has joined #panfrost
pbrobinson has quit [Ping timeout: 480 seconds]
pbrobinson has joined #panfrost
dsimic is now known as Guest22237
dsimic has joined #panfrost
Guest22237 has quit [Ping timeout: 480 seconds]
soreau has quit [Ping timeout: 480 seconds]
ente has quit [Quit: Lost terminal]
soreau has joined #panfrost
alarumbe has quit []
warpme has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
ente` has joined #panfrost
ente` is now known as ente
chewitt has quit [Quit: Zzz..]
warpme has quit []
chewitt has joined #panfrost