#
…

2025-10-25

00:00mixi has quit [Ping timeout: 480 seconds]
00:00psykose has joined #asahi-alt
00:10mixi has joined #asahi-alt
01:43michaelrostom has quit [Quit: Konversation terminated!]
01:45michaelrostom has joined #asahi-alt
01:56michaelrostom has quit [Quit: Konversation terminated!]
02:10ipatch has quit [Ping timeout: 480 seconds]
02:13ipatch has joined #asahi-alt
02:16michaelrostom has joined #asahi-alt
02:26nicolo has joined #asahi-alt
02:27nicolomps: I see, thanks.
02:27nicoloperhaps seeing the dmesg could help
02:27nicoloI wonder if we are the only ones experiencing this,
02:27k1nch0 has joined #asahi-alt
02:28nicoloor if this also happens e.g. on systemd-based distros
02:28nicolo has quit []
02:38michaelrostom has quit [Quit: Konversation terminated!]
02:39cylm has quit [Ping timeout: 480 seconds]
02:47michaelrostom has joined #asahi-alt
02:51tobhe has joined #asahi-alt
02:58tobhe_ has quit [Ping timeout: 480 seconds]
03:22tobhe_ has joined #asahi-alt
03:29tobhe has quit [Ping timeout: 480 seconds]
03:34michaelrostom has quit [Remote host closed the connection]
04:32js6pak has quit [Quit: Ping timeout (120 seconds)]
04:32js6pak has joined #asahi-alt
05:13billak has joined #asahi-alt
05:20billak has quit [Quit: Konversation terminated!]
06:11n3ph has quit [Ping timeout: 480 seconds]
06:11craftyguyjannau: thanks for adding a kernel config fragment :) should CONFIG_HID_DOCKCHANNEL be enabled in that too?
06:47mpsnicolo, relevant fragment from dmesg output is here https://tpaste.us/Ebgg
06:48mpsI think that bug is not related to userspace in any way, this is kernel issue
06:49mpsI tried even with `echo 0 > /sys/power/sync_on_suspend` but this didn't help
06:51mpsalso I invoke `echo mem > /sys/power/state` from cli, skipping any program which controls suspend (acpid)
06:52mpsand `echo freeze > /sys/power/state`
06:53mpsnicolo, also compiled kernels with gcc and llvm but don't see any difference
06:57mpsnicolo, we have in common musl libc and probably busybox (maybe more) in our distros. that is what is different from other users which do not have this issue but I don't see how this could be cause for kernel bug
06:58mpsbut during time I learned that very unexpected things could be problematic
07:05mpsproblem with debug this is that it happens randomly, sometimes after 6 days and suspend/resume works very fine in meantime
07:06mpsi didn't found how to force it to happen
07:09nicolo has joined #asahi-alt
07:09nicolomps: thanks
07:10nicoloi will keep an eye out for nvme nvme0: Device not ready; aborting shutdown
07:10nicolonote that void has both glibc and musl, but i am using glibc
07:10mpsah, good to know
07:10nicoloalso runit and coreutils, not busybox
07:11nicolothe one thing i was thinking is whether maybe systemd/logind suspend on lid in
07:11nicoloa different way
07:11mpsno, i think it is unrelated
07:12nicoloor maybe our kernels have some wrong config
07:13mpsmy 'instinct' say kernel bug or config
07:13mpsbut config shouldn't provoke such bug
07:14billak has joined #asahi-alt
07:15nicoloI tend to agree with you, but how come no one else runs into this issue?
07:15nicolothis is puzzling to me
07:15mpsproblem is when it happens i can't write dmesg out (or anything) to any disk
07:16mpsalso i'm puzzled
07:16nicoloyeah, same here
07:17mpsand I have two machines and it happens on both
07:23nicolowhat do you use for initramfs? I use tinyramfs
07:23nicoloI wonder if this matters
07:25mpsi think it doesn't matter
07:28mpsand no one reported this bug to alpine, I'm puzzled
07:28mpsthough not many people use alpine on apple silicon I guess
07:31mpsiirc craftyguy used linux-asahi aports as base for asahi kernel for pmOS, so maybe someone will report there if bug happens
07:49nicolo has quit [Quit: WeeChat 4.7.1]
08:02jannaucraftyguy: yes, it should. thanks
08:03jannaudid you had a chance to test the uefi-only binary in the dev installer (https://alx.sh/dev)?
08:06billak has quit [Quit: Konversation terminated!]
08:32billak has joined #asahi-alt
09:03seb__ has quit [Remote host closed the connection]
09:07k1nch0 has quit [Quit: Lost terminal]
09:51seb_ has joined #asahi-alt
09:58mattia013 has quit [Remote host closed the connection]
10:13vimproved has quit [Ping timeout: 480 seconds]
10:15cylm has joined #asahi-alt
10:15vimproved has joined #asahi-alt
10:39mattia013 has joined #asahi-alt
11:39billak has quit [Quit: Konversation terminated!]
11:41prike has quit [Quit: The Lounge - https://thelounge.chat]
11:43prike has joined #asahi-alt
12:26chadmedrunxiyu: which kernel are you using
12:27runxiyuchadmed: i downloaded a few minutes ago from chadmed.au/pub/gentoo, the -latest iso
12:28chadmedoh its the iso thats failing
12:28runxiyualr ill grba another iso then
12:28chadmedcould you try the previous one
12:28chadmedi rebased the specfiles before generating the latest one so there may be something dodgy in the new specfiles
12:30runxiyui have unstable internet (ranges somewhere around 100kbps to 100mbps, currently downloading to a vps then to myeslf to get better routes) so it might take a while...
12:31chadmedno worries
12:31chadmedmy upload maxes out at 50 mbps anyway
12:36runxiyu... apparently using a socks proxy to the same server makes it faster
12:36runxiyumakes 0 sense but i guess my isp makes no sense either :)
12:38runxiyuchadmed: ty, the June image boots
12:40chadmedbleh okay
12:40chadmedwell at least you can boot now
12:46runxiyuthe 'testing the network' step in the handbook wants curl to exist which doesn't, anyways
12:47chadmedif you used net-setup the network will work
12:47chadmedwget should exist
12:48chadmedthe june image is based on like 2 year old specfiles
13:01runxiyui have some (potentially false?) memory that asahi gentoo recommends systemd over openrc?
13:02runxiyuor is that just my brain not working
13:02chaos_princesssystemd is recommended
13:03runxiyualr, systemd for me then
13:07* runxiyudoesn't see arch-chroot
13:08runxiyuuhhh, haven't done gentoo in a long time but stage3 doesn't have rustc? sounds like compiling linux will take ages...
13:09runxiyuah great i downloaded the amd64 stage3
13:10jannau~20 minutes for asahi-kernel with -j8 on a m1 max
13:14jannauI was wondering why 35GB free on /var/tmp/portage weren't enough to compile llvm on one system
13:14jannauuntil I remmebered I've set up debug symbols and split-debug for it
13:15vimproved has quit [Ping timeout: 480 seconds]
13:17runxiyuerr, i have an m1 macbook air with 8 gigs of ram
13:22vimproved has joined #asahi-alt
13:22jannau~25 min on a m2/8gb test system with -j6
13:23jannauif you want to spend the effort there are tons of options you could disable
13:24jannauthe config is the fedora kernel config with all arm64 plaforms (ARCH_*) except apple disabled
13:31runxiyuill try, ty
13:32chadmedbuilding the dist-kernel on my m2 air is faster than the x86 dist-kernel on my 5600x
13:32chadmedit doesnt take that long, the llvm toolchain will take longer
13:33chadmedprotip: USE="-webengine" too
13:36runxiyu> Install an EFI bootloader (any will do, GRUB is typical however systemd-boot works well too)
13:38runxiyuhere should i just emerge it or should i actually install it?
13:38runxiyuim not exactly sure what to do as installing grub here is a tiny bit scary for me
13:39runxiyu(e.g. should i mount it to /boot/efi? any precautions to take?)
13:39chaos_princessif you want it to work, then yes, you should install it
13:39chaos_princessjust use the tool that comes with it
13:39chadmeduse the shell script from https://github.com/chadmed/asahi-gentoosupport if youre not comfortable doing all that
13:39chadmedotherwise emerge it, mount your ESP, then grub-install --removable --efi-directory=/path/to/esp --boot-directory=/path/to/boot
13:40chadmedyou must use --removable or u-boot wont find it
13:40chaos_princessand installing grub or other bootloader is much less scary on EFI systems, it basically just copies a file, it is not modifying your partition table at a low level like in bios days
13:41n3ph has joined #asahi-alt
13:42runxiyu> emerge: there are no ebuilds to satisfy "sys-apps/asahi-meta".
13:43chadmeddid you enable the overlay
13:43runxiyui enabled the repo via eselect
13:44runxiyuerrr, /var/db/repos/asahi is ENOENT
13:45chadmeddid you emerge eselect-repository and then run eselect repository enable asahi
13:45chadmedemaint -r asahi sync
13:45runxiyunot familiar with gentoo (my other hardware are weaker than m1 macbook air)
13:46runxiyuah, github... censorship issues to resolve
13:46chadmedoh i thought the gentoo mirror dealt with that
13:47chadmedthat sucks
13:47runxiyupartially fixed by hacking in some proxies
14:01leiorunxiyu: note that arm64 binhost is very much a thing too, re compile times.
14:01leio(re llvm, rust and the likes)
14:02tgrluk has joined #asahi-alt
14:03runxiyuoh, interesting
14:08Core6965 has joined #asahi-alt
14:09runxiyuyeah, emerge --ask dev-lang/rust-bin sys-kernel/linux-firmware sys-apps/asahi-meta virtual/dist-kernel:asahi is pulling in x11 libraries, im definitely not doing USE flags correctly...
14:13runxiyuhas aarch64 binhost improved a lot over the past three years?
14:13runxiyui think about two or three years ago it didn't help much™
14:13tgrluk has quit [Read error: No route to host]
14:13nnym1 has quit [Ping timeout: 480 seconds]
14:15leioit should be about the same as arm64 binhost.
14:15nnym1 has joined #asahi-alt
14:15Core6965 has quit [Remote host closed the connection]
14:16leiosorry, I meant as amd64 binhost
14:24runxiyushould i remove the battery on my m1 macbook air being used as a server?
14:24runxiyunot sure how M1 power management works
14:27chaos_princessfree UPS for your server
14:27chaos_princessyou probably shouldn't remove it
14:39Core6698 has joined #asahi-alt
14:44Core7211 has joined #asahi-alt
14:44Core6698 has quit [Remote host closed the connection]
14:44nnym1 has quit [Ping timeout: 480 seconds]
14:46billak has joined #asahi-alt
14:49billakTrying to boot install-arm64-asahi-latest and it freezes my mac book pro m1 pro. i am downloading the previus one to try.
14:53craftyguyjannau: not yet, that's next on my list. Just noticed it was updated :D
14:54craftyguyoh I also think the fragment needs CONFIG_DRM=y. Without that, after merging the standard arm defconfig then DRM=m and the Asahu GPU driver ends up disabled since it seems to require DRM=y
14:55chaos_princesswell, thats a garbage guide for starters
14:55chaos_princessbut try using a previous version of the iso 20250603
14:57billakchaos_princess: thank you! downloading right now
14:59billakany recomendation for decent guide for noob
14:59jannaucraftyguy: I thought I changed DRM_ASAHI to depend on build-in DRM. that hopefully changes soon-ish with rust build system changes and moving rust/drm from the kernel crate to drm
15:01jannauI did. DRM_ASAHI has 'depends on DRM=y' and I think kconfig is supposed to figure that out
15:01leiobillak: how about the official one, even linked at the top of that garbage one?
15:05billakleio: on it. i will try my best. hope it will work
15:08jkm has joined #asahi-alt
15:35runxiyuyeah maybe portage is not for me at the moment :(
15:35craftyguyjannau: ah, it didn't figure it out for me, for some reason. DRM=m in the final config and asahi was not set :(
15:46jannaucraftyguy: for me neither. I'll add CONFIG_DRM=y
16:10craftyguyanother thing I noticed was that wifi didn't come up (it did with 6.16), is CONFIG_BRCMFMAC_PCIE required?
16:19MichaelLong has quit []
16:20jannauyes, CONFIG_BRCMFMAC_PCIE=y is required. I added at some point this week
16:22maettu102 has quit [Quit: The Lounge - https://thelounge.chat]
16:23hamr8 has quit [Ping timeout: 480 seconds]
16:25maettu102 has joined #asahi-alt
16:26MichaelLong has joined #asahi-alt
16:27craftyguyahh ok, anything else you added since 6.17.4-2 was tagged?
16:31craftyguyoops I just noticed 6.17.5-1 was tagged
16:37craftyguymps: I based the APKBUILD off of what you have in aports, but the config is not based on yours :)
16:38craftyguyanyways, once I get the kernel built, I'll see if I can reproduce the same issue you see with resuming from s2idle
16:58mpscraftyguy: yes, i understand that you enabled more options enabled
17:23prike has quit [Quit: The Lounge - https://thelounge.chat]
17:24mpswhat that means in boot log https://tpaste.us/0xrd
17:24mpsis it somehow related to suspend bug
17:27prike has joined #asahi-alt
17:27prike has quit []
17:28chadmed has quit [Quit: Konversation terminated!]
17:32chadmed has joined #asahi-alt
17:33prike has joined #asahi-alt
17:34chadmed has quit []
17:35chadmed has joined #asahi-alt
17:48gentoouser has joined #asahi-alt
17:49gentoouserhi that's me again. got an update of kernel but cannot build because ruby build fails with segfault
17:50chaos_princessand how is ruby even relevant, what happened there?
17:52gentoouserlast week dev-libs/protobuf failed to build but I read their logs and they say there's some temporary cmake fix so I thought maybe it will take a while
17:53gentoousernow I'm emerging virtual/dist-kernel::asahi only and it needs ruby for some reason
18:01gentoouser has quit [Remote host closed the connection]
18:03chaos_princessanyway, just post logs, let's see what went wrong
18:06prike has quit [Quit: The Lounge - https://thelounge.chat]
18:06craftyguymps: how often does it fail to resume for you? Does it usually happen after it has been suspended for some length of time? I just tried a couple of times and was able to resume, but I can keep trying later
18:07prike has joined #asahi-alt
18:09mpscraftyguy: it fails to suspend not resume
18:12mpsand it fails totally randomly, sometimes on first try but sometimes after many successful cycles, 6 days and 5-10 success cycles on day
18:16craftyguyOh ok I see. I'll keep trying
18:23gentoouser has joined #asahi-alt
18:23gentoouserwhere do I upload logs?
18:24chaos_princesspastebin.com i guess?
18:24mpscraftyguy: sometimes i repeat in short time even 20 cycles and it works
18:24mpsi.e. not freeze
18:25gentoouser has quit [Remote host closed the connection]
18:28gentoouser has joined #asahi-alt
18:29gentoouserput all logs into archive. hope you can download it
18:33chaos_princessthis is a m2?
18:34gentoouser has quit [Remote host closed the connection]
19:37billak has quit [Quit: Konversation terminated!]
20:01brew has joined #asahi-alt
21:03brew has quit [Remote host closed the connection]
21:45cylm_ has joined #asahi-alt
21:52cylm has quit [Ping timeout: 480 seconds]
23:12chadmedgentoouser: try set -mbranch-protection=none in cflags for a start. i can see ruby wants to use pac-ret and that shouldnt affect it (i have nothing custom set for ruby) but worth a shot
23:12chadmedPAC and BTI are known to cause weird issues sometimes
23:19chadmedi suppose i should figure out why the new image doesnt work
23:45chadmedwell, it works :P
23:46chadmedis the installer still serving up the old uefi env image?
23:57mixi has quit [Ping timeout: 480 seconds]
…