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!
<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)