#
…

2024-04-01

00:00chadmed6.6_p16-r1
00:00derek_chadmed mine is 6.3.0
00:01chadmedyou should probably add ACCEPT_KEYWORDS="~arm64" to your make.conf
00:01chadmedor at least for the asahi packages
00:02chadmedi need to do some housekeeping on the overlay and also bump asahi-sources in ::gentoo
00:03derek_thanks chadmed
00:05derek_how does that make it work though, im new to gentoo
00:06chadmedpackages are split into "stable" and "unstable" groups based on keywords
00:06chadmedarm64 is the "stable" keyword and ~arm64 is for unstable
00:07chadmedas gentoo is a rolling release, bleeding-edge versions are introduced in the "unstable" group until theyre tried and tested, and only promoted to stable once they are confirmed to be... well, stable
00:41ellyq has joined #asahi-alt
00:44derek_ has quit [Remote host closed the connection]
00:45lockbox has joined #asahi-alt
01:00KxCORP5 has quit [Quit: Bye!]
01:00KxCORP5 has joined #asahi-alt
01:02kujeger- has joined #asahi-alt
01:08kujeger has quit [Ping timeout: 480 seconds]
01:40derek_ has joined #asahi-alt
01:41derek_chadmed sorry to disturb you but i couldn't get graphics to work and im probably being dumb
01:42derek_i tried installing mesa but glxinfo is still showing llvmpipe
01:44chadmed has quit [Quit: Konversation terminated!]
01:44chadmed has joined #asahi-alt
01:45chadmedyou need to mask the mesa in ::gentoo since our version is "behind" it
01:45chadmedmake a folder in /etc/portage/ called package.mask
01:46chadmedthen in a file put "media-libs/mesa::gentoo"
01:57possiblemeatball has quit [Quit: Quit]
02:00derek_ has quit [Ping timeout: 480 seconds]
02:04derek_ has joined #asahi-alt
02:07derek_so we mask it because otherwise it will install the official version?
02:08chadmedportage will always look for the latest valid version, so every time upstream leapfrogs us it will try to pull it in
02:08chadmedwe need to mask upstream so that doesnt happen
02:41klausvalka has quit [Quit: ZNC 1.9.0 - https://znc.in]
02:42klausvalka has joined #asahi-alt
02:42derek_ has quit [Quit: Lost terminal]
02:43jeisom__ has quit [Quit: Leaving]
02:44klausvalka has quit [Remote host closed the connection]
02:44jeisom has joined #asahi-alt
02:46klausvalka has joined #asahi-alt
02:53jeisom has quit [Ping timeout: 480 seconds]
03:19opticron has quit [Read error: Connection reset by peer]
03:20opticron has joined #asahi-alt
04:32glem has quit [Read error: Connection reset by peer]
04:32glem has joined #asahi-alt
04:48grgy has quit [Remote host closed the connection]
04:52grgy has joined #asahi-alt
05:24klausvalka has quit [Remote host closed the connection]
05:24klausvalka has joined #asahi-alt
05:26glem has quit [Quit: Ping timeout (120 seconds)]
05:26glem has joined #asahi-alt
05:26klausvalka has quit [Remote host closed the connection]
05:33klausvalka has joined #asahi-alt
05:38klausvalka has quit [Remote host closed the connection]
05:38klausvalka has joined #asahi-alt
05:44klausvalka has quit [Remote host closed the connection]
05:50klausvalka has joined #asahi-alt
06:01klausvalka has quit [Remote host closed the connection]
06:13klausvalka has joined #asahi-alt
06:16jannegchadmed: one possible fix for the failed firmware load: https://github.com/AsahiLinux/asahi-scripts/pull/43 seemed not fatal though
06:17chadmedjust installed p_16-dist on my studio and couldnt repro at all with a completely standard machine so idk
06:17chadmedwas debugging with liv last night and found that manually creating /lib/firmware/vendor sorted it
06:18janneganother issue is that "/lib/modules/$(uname -r)/vmlinuz" is a relative link (created for "/usr/lib/modules/$(uname -r)/vmlinuz") breaking depmod
06:18sam_fwiw I have absolutely no guess on that
06:18sam_first i've heard of it
06:18sam_ah, I guess that fix is plausible
06:18sam_i'd forgot you did a custom dracut module
06:18jannegby manually creating /lib/firmware/vendor you mean just a mkdir?
06:20jannegso this is then the proper fix. The initramfs misses mkdir and the PR will fix it
06:20chadmedbeautiful
06:20chadmedwho has merge rights on asahi-scripts :p
06:22chadmedalso sam_/leio if you can take a look at MR 36030 on ::gentoo, and 657 on api.g.o
06:22sam_how much do you need it done
06:22chadmedneither are urgent
06:22sam_if it's some random thing i'd prefer to wait but if it would help you a lot to get it in i can do it now
06:22sam_just been swamped with xz
06:23chadmedyeah totally understandable, theres no rush its just a version bump for asahi-sources and stabilising bindgen so we can stabilise our kernels
06:23sam_lemme check it out
06:23chadmedand adding the overlay to api.g.o but theres no rush on that at all
06:23sam_for api.g.o, does pkgcheck scan pass now? you can customise the checks in metadata/ if you must for now
06:23sam_(to disable known-failing stuff)
06:25chadmedi can re-keyword some stuff to ~arm64 to fix some of the unresolvable deps issues
06:25chadmedbut two are irreconcilable and will need to be disabled (we inherit one from mesa::gentoo, and one is related to glibc not being found in musl profiles)
06:26chadmedthere are no other fails though, spent all day cleaning up the other stuff
06:26sam_I'll do https://github.com/gentoo/gentoo/pull/36030 now but may leave api.g.o for now (as the mirroring won't work if there's anything failing unfortunately)
06:26chadmedyeah thats cool
06:26chadmedill clean those up now
06:26chadmedthanks :)
06:27sam_thanks!
07:31klausvalka has quit [Remote host closed the connection]
07:59hightower3 has quit [Ping timeout: 480 seconds]
08:04dylanchapell has quit [Quit: ZNC - https://znc.in]
08:19dylanchapell has joined #asahi-alt
08:23chadmedeyyy stabilising bindgen fixed the pkgcheck flow
08:23tobhe has joined #asahi-alt
08:26hightower2 has joined #asahi-alt
08:28tobhe_ has quit [Ping timeout: 480 seconds]
08:28dylanchapell has quit [Remote host closed the connection]
08:39jannegchadmed: I was planing to solve the dtb issue for asahi-kernel by installing the dtbs or symlinks into the kernel src dir
09:26chadmedthe dist-kernel doesnt persist the sources though right
09:26chadmedoh it does
09:27chadmednot a fan of the edge case where someone might have multiple kernels installed and have the wrong thing symlinked to /usr/src/linux
09:30chadmedi guess though that it gives us more flexibility in that you _can_ have multiple DT-incompatible kernels installed as long as you remember to eselect kernel set && update-m1n1 between reboots
09:31leioUSE=symlink is optional
09:31opticron has quit [Read error: Connection reset by peer]
09:32leiooh, eselect kernel manages that symlink these days? :P
09:32opticron has joined #asahi-alt
09:32dylanchapell has joined #asahi-alt
09:32jannegit deletes most of the src in install (it retains Makefiles and a few select files)
09:37jannegUSE=symlink is a kernel-2 eclass thing so the dist kernel will not update the symlink
09:37jannegso this is not feasible
09:38jannegmaybe we should create a symlink as well
09:42chadmedthe eclass just does ln -snf directly on ${EROOT}/usr/src/linux so maybe we can just do that too
09:42chadmedeselect kernel seems to be able to pick it up fine
10:25jannegsymlink handling is in kernel-install.eclass but without use flag so that should be safe
10:48pjakobsson has quit [Remote host closed the connection]
10:48hightower2 has quit []
11:02leiomaybe #gentoo-arm would have experience dealing with dtbs of other platforms
11:03leiohaven't been able to follow the topic, but feels like a similar step than modules_install to put them somewhere version-specific for use
11:05jannegour use of dtbs differs from other platforms. there is already `make dtbs_install` and the kernel-build eclass uses that which results installing the dtbs in /boot/dtbs/6.6.0-asahi-16-dist/
11:07jannegour problem is that we need to inject the dtbs of the kernel which boots next into ${ESP}/m1n1/boot.bin
11:07jannegso the problem is finding the version of the next kernel
11:11leiohow's that different from finding the version of the kernel you are putting into grub conf?
11:11leiobut to be able to participate in this discussion, I better first actually convert over to a packaged kernel
11:11leioand, uh, u-boot and grub :)
11:11JayBeeFOSS has quit [Ping timeout: 480 seconds]
11:12JayBeeFOSS has joined #asahi-alt
11:19janneggrub-mkconfig grabs several patterns and sort's them reversed, so probably close to https://github.com/chadmed/asahi-overlay/commit/0bb6aaae3001eb58a0c53236d5b66dfd312d4a31
11:39possiblemeatball has joined #asahi-alt
11:42jannegmaybe the dist kernel should simply run update-m1n1 with its dtbs
12:37leiochadmed: you could have slotmoved asahi-audio:0 to asahi-audio:1.0
12:39jacksonchen666 has quit [Ping timeout: 480 seconds]
12:41leioe.g. slotmove entries in profiles/updates/* in ::gentoo (and the commits that added them modifying ebuild SLOT in the same commit)
12:43leioalso unsure about global ~arm64 promoted so hard; I'd rather have them per-package accepted while necessary things are stabilized
12:47chadmedleio: if youre volunteering to deal with all the upstream stabilisations required to silence pkgcheck due to unresolvable deps then sure ;)
12:48chadmedthe only thing we can have stable right now is the kernel and thats only because i specifically pinged sam about bindgen earlier today
12:50chadmedi guess the alternative is another file in asahi-gentoosupport that gets dumped into package.accept_keywords at install time
12:50chadmedbut then that has to be maintained every time the dependency graph changes slightly
12:51chadmedits getting late and i have work tomorrow. let me play tomorrow night maybe with stabilising _everything_ locally then see which packages in ::gentoo need to be stabilised to enable that
12:52jeisom has joined #asahi-alt
12:54kloenk has quit [Remote host closed the connection]
12:55kloenk has joined #asahi-alt
13:02stintel has quit [Quit: reboot - resizing VM disk]
13:07stintel has joined #asahi-alt
13:43leiochadmed: if everything were in ::gentoo, we could just file a stabilization bug and have a bot tell us :)
13:55tobhe_ has joined #asahi-alt
14:00tobhe has quit [Ping timeout: 480 seconds]
14:26pjakobsson has joined #asahi-alt
14:44seb4nihel has quit [Quit: ZNC 1.8.2 - https://znc.in]
14:46seb4nihel has joined #asahi-alt
14:55john-cabaj has joined #asahi-alt
15:05flokli has quit [Quit: WeeChat 4.2.1]
15:05flokli has joined #asahi-alt
17:48vLily9 has joined #asahi-alt
18:38zerdox has joined #asahi-alt
20:09SalimTer- has joined #asahi-alt
20:11SalimTerryLi has quit [Ping timeout: 480 seconds]
20:46chadmedi think yesterday proves why we're not ready for that yet tbh
20:48chadmedim not thrilled about the prospect of waiting some arbitrary amount of time for someone to maybe get around to merging updates when we might tag out three or four kernel versions in a week with important fixes etc, and it is totally unfair on yourself and sam to have to deal with me bugging you to do it
20:48chadmedalso mesa just cannot be upstreamed anyway
20:50leiochadmed: but someone was around within 4 hours?
20:51leioas for the stabilization stuff, having these fail pkgcheck with them having been stable is a real problem for pure overlay users as well, just maybe not with common USE flag combinations
20:51leioregarding ::gentoo vs overlay, nothing stops adding revbumps and changes to overlay until waiting them to get to main tree
20:52leiowith asahi-specific packages we can order the revision numbers accordingly too (skip some in main tree to accommodate things with overlay)
21:37jannegthere are not that many unstable dependencies. I only see dev-util/spirv-llvm-translator-17 and dev-libs/libclc-17 (for mesa, stable on amd64) and media-libs/lsp-plugins-1.2.14 (for asahi-audio, not stable on amd64)
22:22seb91nihel has joined #asahi-alt
22:23seb4nihel has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:29john-cabaj has quit [Ping timeout: 480 seconds]
22:51cow123 has quit [Remote host closed the connection]
22:54cow123 has joined #asahi-alt
22:59zerdox has quit [Ping timeout: 480 seconds]
23:05klausvalka has joined #asahi-alt
23:07klausvalka has quit [Remote host closed the connection]
23:08klausvalka has joined #asahi-alt
23:08klausvalka has quit [Remote host closed the connection]
23:09klausvalka has joined #asahi-alt
23:10klausvalka has quit [Remote host closed the connection]
23:11klausvalka has joined #asahi-alt
23:26klausvalka has quit [Remote host closed the connection]
23:27klausvalka has joined #asahi-alt
23:50chadmed_ has joined #asahi-alt
23:50klausvalka has quit [Remote host closed the connection]
23:52chadmed_leio: fair point actually. i think the next targets for ::gentoo at least should be scripts and configs since once those are in then we can create fully ::gentoo bootable media and install images that dont need the overlay enabled
23:52chadmed_oh, and asahi-kernel now that it works :p
…