2024-03-24
00:04leiothat zink stuff is usually just a red herring warning in my experience, especially in that form where it says it doesn't have zink available
00:05chadmedsddm supports wayland sort-of, it needs manual config and you need to remove agetty from tty0 in inittab
00:05nyaomixyzcorrect sddm is not yet defaulting to wayland but since i am now starting from terminal this shouldn't be an issue
00:36chadmed_ has joined #asahi-alt
00:53ipatch_ has quit [Quit: WeeChat 4.2.1]
01:06possiblemeatball has quit [Quit: Quit]
01:12zerdox has quit [Ping timeout: 480 seconds]
01:42chadmed_yeah sorry im at a loss too... i just did a fresh install last night on a j314 and it all worked fine
01:43chadmed_im working on fixing the rust bs in the overlay rn, then ill need to do an MR for asahi-sources in the main gentoo branch
01:43chadmed_which will of course take 600 years to get merged because no one with write access has the bandwidth to review anything and no one wants to give me write access
01:44nyaomixyzat some point it emerged the mesa gentoo driver but i masked that out, removed it from existence and then i installed mesa from asahi
01:51tpw_ruleschadmed_: are you that guy who claims zstd is how facebook is trying to take over the world
01:52psykosenothing about itself, just all the people that refuse to touch it because 'lol facebook'
01:53psykosealways hurts when something comes out that pushes the pareto front and people turn up their nose
01:57nyaomixyzthis was supposed to be a clean install but i fucked it up midway without noticing lmao
02:00KxCORP5 has quit [Quit: Bye!]
02:00KxCORP5 has joined #asahi-alt
02:17nyaomixyz has quit [Remote host closed the connection]
03:11jeisom has quit [Ping timeout: 480 seconds]
04:22tobhe has joined #asahi-alt
04:27tobhe_ has quit [Ping timeout: 480 seconds]
06:11chadmed_ has quit [Remote host closed the connection]
06:20chadmed_ has joined #asahi-alt
08:22nyaomixyz has joined #asahi-alt
08:24nyaomixyzhello - dropping in to report, no progress yet but i found that DRI devices aren't even good. Starting to wonder that problem is not related to mesa
08:25nyaomixyz has quit [Remote host closed the connection]
09:00nyaomixyz has joined #asahi-alt
09:02nyaomixyzbefore rebuilding the kernel today (after your rust patch I made sure to emerge sync for safety) not even the gpu was recognized
09:07chadmedah yep i _think_ thats going to be because the distkernel uses the alarm kernel config which doesnt have that option
09:17chadmedergh yeah take the patch from the overlay and put it in /etc/portage/patches/sys-kernel/asahi-sources/
09:18chadmedi started working on the dist-kernel in preparation for bootable install media however we need a reliable way to copy down the fedora kernel config which doesnt exist for COPRs
09:18chadmedsomeone was working on it but the configs they landed on were not conformant to our "do what upstream does" policy
09:18nyaomixyzi will emerge @installed for now, because i have other stuff pending irl and well, so that i start narrowing down the thing
09:18nyaomixyzhowever i wonder if anyone else can reproduce by just emerging asahi-kernel at this point
09:21chadmed has quit [Remote host closed the connection]
09:28mpschadmed: alpine asahi kernel config works long time and very stable, maybe you could look in its config (sorry for advertising)
09:36chadmed has joined #asahi-alt
09:37nyaomixyzchadmed: ok but a mac studio doesn't have a built in screen... i wonder if this can be repro'd on m1 pro macbooks at this point (if it's a platform issue we're all happy and i am just unlucky)
09:38chadmedthe builtin screen is irrelevant, the relationship between the display controller and gpu is the same in all machines
09:39janneghas the asahi-kernel config CONFIG_MUX_APPLE_DPXBAR as module / built-in? that would be the most obvious cause for "Failed to get dp-xbar: -517"
09:40chadmedi need to grab the fedora config and host that somewhere and just pull it in as a SRC_URI
09:54chadmed has quit [Quit: Konversation terminated!]
10:20jannegnyaomixyz: the display controller never probes because because the driver for one piece required for hdmi support (on laptops) is not enabled in the config
10:24jannegchadmed_: https://copr-dist-git.fedorainfracloud.org/cgit/@asahi/kernel/kernel.git/tree/kernel-aarch64-16k-fedora.config?id=be420b20d9a73b16a6ee7b6cdb34194efd89bb91 is the fedora .config for 6.6.3-413.asahi
10:25nyaomixyzthis is like the first time i am installing gentoo ever but at least i got some experience in wacky linux stuff from other distros... it's fun
10:35jeisom has joined #asahi-alt
10:46chadmed has joined #asahi-alt
10:52chadmedthat repo is basically deprecated at this point anyway, the plan going forward is for a bootable livecd with all required ebuilds upstream or the choice of a prepackaged disk image like the vanilla asahi installer
10:56jannegthanks, I wouldn't have noticed the missing the pahole dependency, curse of dev machines which have dev tools installed
10:59jannegbut virtual/dist-kernel depends on the upstream dist-kernel, i.e. that's pointless for us
11:01chadmedbecause asahi-kernel depends on virtual/dist-kernel-6.6.0_p15 specifically it will never try to pull upstream
11:04jeisom has quit [Quit: Leaving]
11:06jeisom has joined #asahi-alt
11:07jannegif it deepends on dist-kernel-6.6.0_p15 it will not pull in dist-kernel-6.8.0_p1 once we provide that
11:08chadmedthe ebuild has =virtual/dist-kernel-${PV} so it will look for a virtual/dist-kernel with a version exactly matching the actual kernel ebuild
11:09chadmedsince there are no upstream kernels called -6.8.0_pX then it wont match on anything but what we provide
11:11nyaomixyzwell, compiling asahi-sources with fedora config makes a compressed initramfs of 200mb
11:13chadmednyaomixyz: unless the fedora config looks somewhere other than /sbin/init it shouldnt matter
11:14chadmedall we need to do for updating to work properly is remember to also push a new version of virtual/dist-kernel that matches exactly the asahi-kernel version
11:17chadmedjanneg: not an oversight i just stopped pushing them since they pollute the commits and dont seem to be neccessary/wanted as they also screw with pkgdev
11:20chadmedi dealt with a bunch of stuff pkgcheck was complaining about months ago but theres probably more
11:21sam_we have a custom setup for ::gentoo, but you can grab https://github.com/thesamesam/overlay/tree/master/.github/workflows or the one from haskell
11:23chadmedits insane to me that the same people who own github also somehow managed to wrought the crime against humanity that is azure devops upon us
11:26axt has joined #asahi-alt
11:26chadmedi have it running on a single repo since its the only one we have that actually needs to build deployable artefacts but if i had to do another one id probably sooner quit and look for another job
11:32chadmedsorry about all the mess, i started fixing all this stuff during the christmas break and then got inundated with life/work stuff...
11:32possiblemeatball has joined #asahi-alt
11:33nyaomixyzok but now for real what's the difference between the two configuration files? question mark
11:39chadmedthe alarm build is older than gilgamesh and mine is not so it has all the latest kernel options
11:45chadmedjanneg: seems to be annoying dep handling due to out of sync keywords on quite a few packages. ill fix them all up this week
11:46jannegyes, and it results in a 41M initramfs, I suspect that's a hostonly initramfs though as the fedora initramfs is 95M
11:47chadmedfedora ironically defaults to the opposite which caused me much frustration with asahi-gentoosupport :p
11:48janneg1.4gb uncompressed sounds like modules with debug info, which makes sense as the fedora build keeps the debug info in a separate package
11:52janneguse asahi-kernel with asahi-kernel as that seems to remove either the debug CONFIGs or removes the debug info before install
12:37JayBeeFOSS has quit [Ping timeout: 480 seconds]
12:38JayBeeFOSS has joined #asahi-alt
13:09qdot has quit [Ping timeout: 480 seconds]
13:11paps__ has joined #asahi-alt
13:17paps__hi, I'm trying to boot a live debian in order to luks encrypt my debian asahi install, but after following the instructions from @cy8aer (https://git.g3la.de/repos/m1-debian) and making the usb key both ways (either from debian or macos) I cannot boot from it. After typing 'run bootcmd_usb0' or 'run usb_boot', U-boot says 'no usb devices available'
13:18paps__Or it says 'Device 0: unknown device'. Any idea what I might be doing wrong? Do I need to worry about boot flags on the usb thumb drive? thanks and sorry for the noob questions
13:20cy8aerLook at your live stick in "efi/debian/grub.cfg" and try other than "hd0" like "hd1", "hd2" - for me it is "hd2"
13:31chadmedu-boot's usb stack is not very good and doesnt work with some usb sticks too. try a different stick
13:32paps__I think you're talking about a future problem I'm going to have :) Right now I don't get to the stage where it tries to boot from the stick. U-boot basically doesn't see my key
13:36cy8aerAnd: I do not know which description you actually used for starting it up. It should be: "env set boot_efibootmgr; run bootcmd_usb0"
13:46cy8aerand the stick should have a subpartition, do not put vfat directly in the stick (e.g. "sda") but into e.g. "sda1"
13:56paps__I got it to boot! I had to use a different key and then change hd0 to hd3 :) Thanks a lot for the help
14:00axt has left #asahi-alt [#asahi-alt]
14:07qdot has joined #asahi-alt
14:48chaos_princess has quit [Quit: chaos_princess]
14:48chaos_princess has joined #asahi-alt
14:52nyaomixyznow i'm supposed to go through with the installation since it's been half done since yesterday
14:58zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
15:14zzywysm has joined #asahi-alt
16:13opticron has quit [Remote host closed the connection]
16:13opticron has joined #asahi-alt
17:35tobhe_ has joined #asahi-alt
17:39tobhe has quit [Ping timeout: 480 seconds]
18:00zzywysmjanneg: for some reason, virtually all of the folks i deal with in Linux seem to take pride in how bloated their kernel configs are
18:09qyliss has quit [Quit: bye]
18:10qyliss has joined #asahi-alt
18:10mpszzywysm: for machines I use I usually build trimmed kernels but these are not acceptable for distro users, mostly
18:18qyliss has quit [Quit: bye]
18:20qyliss has joined #asahi-alt
18:41jannegzzywysm: not much to do about distro kernels as you can't predict which devices users want to use
18:44ipatch has joined #asahi-alt
19:06Compassion1 has quit [Quit: lounge quit]
19:22jacksonchen666 has quit [Quit: WeeChat 4.2.1]
19:25Compassion1 has joined #asahi-alt
19:26Compassion1 has quit []
19:39Compassion1 has joined #asahi-alt
19:42zzywysmanyone have any insight into why these changes lead to memory savings? my primary goal was getting rid of build warnings, and my secondary goal was increased performance
19:51paps__ has quit [Quit: Connection closed for inactivity]
19:51tpw_ruleschadmed: wireplumber 0.5 apparently "refactors" the lua script support and asahi-audio doesn't work properly anymore. i've rolled back to 0.4 but you might wish to know
20:10ipatch has quit [Quit: WeeChat 4.2.1]
20:15ipatch has joined #asahi-alt
20:35possiblemeatball has quit [Quit: Quit]
20:49jeisom has quit [Quit: Leaving]
20:51jeisom has joined #asahi-alt
20:51jeisom has quit [Remote host closed the connection]
20:51jeisom has joined #asahi-alt
21:37jacksonchen666 has joined #asahi-alt
22:08chadmed__ has joined #asahi-alt
22:10chadmed__tpw_rules, mps: ill look into it when i have the time. wp 0.5 hasnt made it into gentoo yet so i didnt notice
22:16sam_i think the binhost has one or two openrc builders but it doesnt rebuild everything as lots of packages do not have USE=systemd
22:16sam_the notable issue one is webkit-gtk where it has USE=systemd but its for something silly and that annoys people
22:17jacksonchen666 has quit [Quit: WeeChat 4.2.1]
22:18leioit's journal usage per cmake knob; maybe if it works and we made USE=systemd depend on systemd || elogind, the binpkg would be usable if openrc doesn't use.mask systemd? (does it?)
22:18nyaomixyzi did spawn more jobs than my ram could keep and i already crashed the puter on that hill
22:21nyaomixyzwell i guess that you've lived enough days with people fighting each other over the init system choice
22:21nyaomixyzused openrc because uh alpine had it and i worked with it, then artix had it and i wanted to try it, now gentoo
22:28chadmed__thats not necessarily a bad thing but virtually everything we did has to be thrown in the bin :)
22:57possiblemeatball has joined #asahi-alt
23:08kidplayer666 has joined #asahi-alt
23:14chadmed__ has quit [Remote host closed the connection]
23:27JayBeeFOSS has quit [Remote host closed the connection]
23:27JayBeeFOSS has joined #asahi-alt
23:57tobhe_ is now known as tobhe