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
zerdox has quit [Ping timeout: 480 seconds]
n3ph has quit [Ping timeout: 480 seconds]
allmazz has quit [Quit: allmazz]
kujeger- has joined #asahi-alt
kujeger has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
ncopa has quit [Remote host closed the connection]
clandmeter has quit [Write error: connection closed]
zerdox has quit [Remote host closed the connection]
n3ph has joined #asahi-alt
zerdox has joined #asahi-alt
ncopa has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
<n3ph>
I was having a look for the plymouth theming yesterday. It isn't fun even the function declarations literally start with it.
<n3ph>
I'll see when I am going to return on it. I'll try finishing up on a new ebuild for box64 with M1 support first.
<n3ph>
I was about to push it to guru. I haven't seen benefit of maintaining a version in the asahi-overlay yet. Any thoughts on this?
<n3ph>
Also, `pkgdev` is yelling `UnknownUseFlags` at me, because I wanted to conditionalize `-D M1=1` on `VIDEO_CARDS=asahi` by using the use flag `video_cards_asahi`.
<n3ph>
Practically it's working, but I don't know if it's alright to ignore and push regardlessly.
n3ph has quit [Ping timeout: 480 seconds]
kraem has quit [Remote host closed the connection]
allmazz has joined #asahi-alt
kraem has joined #asahi-alt
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-alt
jeisom has joined #asahi-alt
n3ph has joined #asahi-alt
opticron has quit [Ping timeout: 480 seconds]
qyliss has quit [Quit: bye]
qyliss has joined #asahi-alt
qyliss has quit [Quit: bye]
qyliss has joined #asahi-alt
pi_ has joined #asahi-alt
<pi_>
Test
pi_ has quit []
emensee has joined #asahi-alt
opticron has joined #asahi-alt
zerdox has joined #asahi-alt
<chadmed>
n3ph: you cant use video_cards_asahi outside the overlay because we define it
<chadmed>
also i dont want to have a bunch of arguably necessary packages dependent on people enabling ::guru
<chadmed>
you should be able to use the system with just ::gentoo and the overlay, and eventually just ::gentoo
<chadmed>
feel free to push to guru if you want since its probably also useful on other platforms but i will be overriding it in the overlay when all of this stuff is _actually_ ready for packaging
<n3ph>
So adding box64 to asahi-overlay it is then?
<chadmed>
yes then eventually to ::gentoo
<n3ph>
fine for me
<chadmed>
i had box64 and box86 ebuilds in there ages ago but treecleaned them because they are still pretty useless
<n3ph>
y?
<chadmed>
maybe its more useful now that they fake 4k pages
<chadmed>
but theres not a whole lot of interesting things you can do with it
<n3ph>
I've added `-DM1=1` locally - works pretty well with factorio
<chadmed>
factorio is an outlier because they have a fulltime linux dev and its a 64 bit build
<chadmed>
wont run steam linux, wont run proton
<n3ph>
sure. I see your point. But for this it's great
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
pjakobsson has joined #asahi-alt
pjakobsson_ has quit [Ping timeout: 480 seconds]
pjakobsson_ has joined #asahi-alt
pjakobsson has quit [Ping timeout: 480 seconds]
ellyq has quit []
ellyq has joined #asahi-alt
minecrell7544 has quit []
emensee has quit [Quit: leaving]
minecrell7544 has joined #asahi-alt
minecrell7544 has quit []
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-alt
minecrell7544 has joined #asahi-alt
minecrell7544 has quit []
zerdox_ has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
minecrell7544 has joined #asahi-alt
zerdox_ is now known as zerdox
allmazz has quit [Remote host closed the connection]
ipatch has quit [Ping timeout: 480 seconds]
zumi has quit [Remote host closed the connection]
zumi has joined #asahi-alt
zumi has quit [Remote host closed the connection]
zumi has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
john-cabaj has joined #asahi-alt
<leio>
n3ph: I don't feel like conditionalizing M1 or M2 CPU stuff (if that's what it's about) on a video cards USE_EXPAND is appropriate anyhow
<chaos_princess>
considering that m1 is not the only special platform, USE_EXPAND sth like BOX64_OPTIMIZE_FOR, and then list all the platforms they have there
<leio>
I think in the guts it's about page size selection there, no?
<leio>
I remember having this conversation with another gentoo contributor for non-asahi case
<leio>
(thus in a gentoo channel)
<chaos_princess>
not only that, they have a bunch of other random arm boards listed there too
<leio>
and maybe it was also about pre-picking some CFLAGS, which it has no business to do
<leio>
so I think the conclusion was that you shouldn't be passing M1=1, but only do the part that matters for it re page size instead
<leio>
while not messing with user CFLAGS as another side-effect of what M1=1 does
<leio>
like if you read the build files, then M1 block sets some other stuff iirc
<leio>
and those feel like they are just for all arm64, hence `if use arm64; then ...`
zerdox has quit [Ping timeout: 480 seconds]
<leio>
though add_definitions(-DM1) might be doing something inside the code :(
<leio>
don't have a clone to quickly check
<leio>
it's a bit of a mess for downstreams
* n3ph
is a bit clueless how to proceed from here
<leio>
if you do end up with having to pass M1=1, you need to patch out the CFLAGS modifications (if they override user one, cmake is confusing to me), etc
<leio>
for this to be suitable for ::gentoo
<leio>
rest, well, need to understand what it does in the project
<leio>
I think most of this is defaults based on arch, that you can sort of replicate based on arch implicit USE flags or something if need be
<leio>
but on line 190 they just add a M1 preprocessor macro definition from it - maybe that does something needed for asahi
<leio>
the existing ::guru version does something like this per-arch