#
…

2024-08-19

00:06zerdox has quit [Ping timeout: 480 seconds]
00:33n3ph has quit [Ping timeout: 480 seconds]
00:57allmazz has quit [Quit: allmazz]
01:02kujeger- has joined #asahi-alt
01:07kujeger has quit [Ping timeout: 480 seconds]
03:58jeisom has quit [Ping timeout: 480 seconds]
04:40zerdox has joined #asahi-alt
05:31ncopa has quit [Remote host closed the connection]
05:31clandmeter has quit [Write error: connection closed]
05:33clandmeter has joined #asahi-alt
06:39zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
06:43zerdox has quit [Remote host closed the connection]
06:45n3ph has joined #asahi-alt
06:45zerdox has joined #asahi-alt
06:58ncopa has joined #asahi-alt
08:15zerdox has quit [Ping timeout: 480 seconds]
08:47n3phI was having a look for the plymouth theming yesterday. It isn't fun even the function declarations literally start with it.
08:47n3phI'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.
08:49n3phI 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?
08:51n3phAlso, `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`.
08:51n3phPractically it's working, but I don't know if it's alright to ignore and push regardlessly.
09:00n3ph has quit [Ping timeout: 480 seconds]
09:12kraem has quit [Remote host closed the connection]
09:14allmazz has joined #asahi-alt
09:14kraem has joined #asahi-alt
09:34JayBeeFOSS has quit [Ping timeout: 480 seconds]
09:35JayBeeFOSS has joined #asahi-alt
10:29jeisom has joined #asahi-alt
10:31n3ph has joined #asahi-alt
10:35opticron has quit [Ping timeout: 480 seconds]
11:19qyliss has quit [Quit: bye]
11:21qyliss has joined #asahi-alt
11:29qyliss has quit [Quit: bye]
11:31qyliss has joined #asahi-alt
12:18pi_ has joined #asahi-alt
12:21pi_ has quit []
12:26emensee has joined #asahi-alt
12:27opticron has joined #asahi-alt
12:35zerdox has joined #asahi-alt
12:36chadmedn3ph: you cant use video_cards_asahi outside the overlay because we define it
12:36chadmedalso i dont want to have a bunch of arguably necessary packages dependent on people enabling ::guru
12:36chadmedyou should be able to use the system with just ::gentoo and the overlay, and eventually just ::gentoo
12:36chadmedi will not accept anything less
12:38chadmedfeel 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
12:38n3phSo adding box64 to asahi-overlay it is then?
12:38chadmedyes then eventually to ::gentoo
12:39n3phfine for me
12:39chadmedi had box64 and box86 ebuilds in there ages ago but treecleaned them because they are still pretty useless
12:39chadmedmaybe its more useful now that they fake 4k pages
12:39chadmedbut theres not a whole lot of interesting things you can do with it
12:40n3phI've added `-DM1=1` locally - works pretty well with factorio
12:40chadmedfactorio is an outlier because they have a fulltime linux dev and its a 64 bit build
12:40chadmedwont run steam linux, wont run proton
12:40n3phsure. I see your point. But for this it's great
12:43zerdox has quit [Ping timeout: 480 seconds]
12:45zerdox has joined #asahi-alt
12:53pjakobsson has joined #asahi-alt
12:54pjakobsson_ has quit [Ping timeout: 480 seconds]
13:03pjakobsson_ has joined #asahi-alt
13:05pjakobsson has quit [Ping timeout: 480 seconds]
13:19ellyq has quit []
13:20ellyq has joined #asahi-alt
13:29minecrell7544 has quit []
13:32emensee has quit [Quit: leaving]
13:39minecrell7544 has joined #asahi-alt
13:50minecrell7544 has quit []
13:51chadmed has quit [Quit: Konversation terminated!]
13:51chadmed has joined #asahi-alt
13:52minecrell7544 has joined #asahi-alt
14:03minecrell7544 has quit []
14:04zerdox_ has joined #asahi-alt
14:06zerdox has quit [Ping timeout: 480 seconds]
14:06minecrell7544 has joined #asahi-alt
14:06zerdox_ is now known as zerdox
14:07allmazz has quit [Remote host closed the connection]
14:37ipatch has quit [Ping timeout: 480 seconds]
14:39zumi has quit [Remote host closed the connection]
14:39zumi has joined #asahi-alt
14:39zumi has quit [Remote host closed the connection]
14:40zumi has joined #asahi-alt
14:59zerdox has quit [Ping timeout: 480 seconds]
15:08zerdox has joined #asahi-alt
15:08john-cabaj has joined #asahi-alt
15:13leion3ph: 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
15:56jeisom has quit [Quit: Leaving]
15:57chadmed has quit [Quit: Konversation terminated!]
15:57chadmed has joined #asahi-alt
15:57jeisom has joined #asahi-alt
15:59chadmed has quit []
15:59chadmed has joined #asahi-alt
16:01chadmed has quit []
16:01chadmed has joined #asahi-alt
16:45chaos_princessconsidering that m1 is not the only special platform, USE_EXPAND sth like BOX64_OPTIMIZE_FOR, and then list all the platforms they have there
16:46leioI think in the guts it's about page size selection there, no?
16:46leioI remember having this conversation with another gentoo contributor for non-asahi case
16:46leio(thus in a gentoo channel)
16:46chaos_princessnot only that, they have a bunch of other random arm boards listed there too
16:46leioand maybe it was also about pre-picking some CFLAGS, which it has no business to do
16:47leioso 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
16:47leiowhile not messing with user CFLAGS as another side-effect of what M1=1 does
16:47leiolike if you read the build files, then M1 block sets some other stuff iirc
16:52leioyou mustn't end up having the ebuild let these be set in place of user CFLAGS, so you can't pass M1=1 in an ebuild without patching that out
16:53leioso just don't, pass what's needed manually
16:53leioand those feel like they are just for all arm64, hence `if use arm64; then ...`
16:54zerdox has quit [Ping timeout: 480 seconds]
16:54leiothough add_definitions(-DM1) might be doing something inside the code :(
16:54leiodon't have a clone to quickly check
16:56leioit's a bit of a mess for downstreams
16:57* n3phis a bit clueless how to proceed from here
16:59leioif 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
16:59leiofor this to be suitable for ::gentoo
17:00leiorest, well, need to understand what it does in the project
17:00leioI 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
17:00leiobut on line 190 they just add a M1 preprocessor macro definition from it - maybe that does something needed for asahi
17:01leiothe existing ::guru version does something like this per-arch
17:02leiobut doesn't seem to cover arm64
17:27n3phnot yet, correct
17:29n3phmaybe that's the correct path you describe. patching out definitions and CMAKE_ASM_FLAGS from https://github.com/ptitSeb/box64/blob/2daef545dd39ac68021447351275113ceaf92018/CMakeLists.txt and practically translate all of that within the ebuild
17:30n3phleio: interestingly there is not a single condition based on M1: https://github.com/search?q=repo%3AptitSeb%2Fbox64%20defined(M1)&type=code
17:37ipatch has joined #asahi-alt
17:41flokli has quit [Ping timeout: 480 seconds]
17:50leioit can be a different syntax for the M1 line
17:50leio`#ifdef M1` for example, iirc (been doing rust instead of C too long)
17:52leiodon't see anything for that either, but I don't trust it when I can't narrow it down with a case-sensitive search of M1
17:52TellowKrinkle has quit [Remote host closed the connection]
17:52TellowKrinkle has joined #asahi-alt
18:04dylanchapell has quit [Quit: ZNC - https://znc.in]
18:06ipatch has quit [Ping timeout: 480 seconds]
18:06zumi_ has joined #asahi-alt
18:06zumi has quit [Remote host closed the connection]
18:11zumi_ is now known as zumi
18:12jeisom has quit [Remote host closed the connection]
18:12jeisom has joined #asahi-alt
18:22n3ph_ has joined #asahi-alt
18:23n3ph_ has quit []
18:24n3ph has quit [Ping timeout: 480 seconds]
18:24n3ph has joined #asahi-alt
18:32flokli has joined #asahi-alt
18:32jeisom has quit [Remote host closed the connection]
18:47john-cabaj has quit [Quit: john-cabaj]
18:50dylanchapell has joined #asahi-alt
18:51john-cabaj has joined #asahi-alt
19:44jeisom has joined #asahi-alt
20:29jeisom has quit [Ping timeout: 480 seconds]
21:09donier has joined #asahi-alt
21:21jmalexan has quit [Remote host closed the connection]
21:47n3ph_ has joined #asahi-alt
21:49n3ph has quit [Ping timeout: 480 seconds]
22:03john-cabaj has quit [Ping timeout: 480 seconds]
22:18n3ph_ has quit [Remote host closed the connection]
22:46donier has quit []
23:30chadmed has quit [Quit: Konversation terminated!]
23:30chadmed has joined #asahi-alt
23:33jeisom has joined #asahi-alt
…