#
…

2022-02-23

00:22chadmed has joined #asahi-dev
00:23yuyichao has quit [Ping timeout: 480 seconds]
00:54yuyichao has joined #asahi-dev
01:25tanty has quit [Ping timeout: 480 seconds]
01:25tanty has joined #asahi-dev
02:21riker77_ has joined #asahi-dev
02:25riker77 has quit [Ping timeout: 480 seconds]
02:25riker77_ is now known as riker77
03:35PhilippvK has joined #asahi-dev
03:39kov has quit [Quit: Coyote finally caught me]
03:39phiologe has quit [Ping timeout: 480 seconds]
03:39kov has joined #asahi-dev
04:47chadmed has quit [Quit: Konversation terminated!]
04:51chadmed has joined #asahi-dev
05:41chadmed has quit [Quit: Konversation terminated!]
06:33chadmed has joined #asahi-dev
06:58chadmedcan anyone with a weird and wonderful boot sequence (LUKS, weird RAID stuff, LVM, whatever) stress test this Plymouth theme I've been working on today? https://github.com/chadmed/asahi-plymouth
06:58the_lanetly_052 has joined #asahi-dev
06:59chadmedthe splash screen works but i havent tested, nor can i test, stuff like inputting passwords or message delivery
07:02Glanzmannchadmed: I tried it and it did nothing for me.
07:03GlanzmannThis was on Debian testing.
07:03Glanzmanngrub looks the same, no splashscreen during boot and after that its lightdm with autologin for me.
07:04chadmeddo you have `splash` in your kernel command line? for some reason plymouth wont even bother trying to load the splash screen unless its there
07:04chadmedi should add that to the readme
07:05GlanzmannI don't, let me add it.
07:05chadmedif youre testing from boot you also need to do all the normal stuff to get plymouth working, rebuilt the initramfs with plymouth as one of the hooks etc
07:05chadmedoh right, if youre using debian, you can rebuilt the initramfs by adding -R to the plymouth-set-default-theme command, so its "plymouth-set-default-theme -R asahi"
07:06chadmedim on armtix and have just been testing with plymouthd --debug --no-daemon
07:08GlanzmannI tried that, did not change anything for me. No splash screen same grub picture.
07:10chadmedmight be that 5.17-rc5 framebuffer thing
07:10chadmedworks fine on my amd64 machine on 5.16.10
07:11Glanzmannchadmed: This was with my usual configuration (linux-asahi my usual kernel config and Debian testing. Plymouth was installed).
07:14chadmedthe up to date linux-asahi or an older version?
07:14chadmedbc the up to date one has the rc5 framebuffer problem
07:16chadmedyeah right so it may not work properly since rc5 partially broke simpledrm and simplefb. neither driver properly initialises the console, which plymouth relies on
07:16chadmedim going to test a delayed boot on my amd64 machine now just to confirm thats the problem
07:18chadmedyeah works on this machine no problems
07:47MajorBiscuit has joined #asahi-dev
09:07maz has quit [Quit: ZNC 1.8.1+deb1 - https://znc.in]
09:08maz has joined #asahi-dev
09:24gladiac has quit [Read error: No route to host]
09:24gladiac has joined #asahi-dev
09:28gladiac has quit [Read error: No route to host]
09:28gladiac has joined #asahi-dev
10:09the_lanetly_052 has quit [Remote host closed the connection]
10:10the_lanetly_052 has joined #asahi-dev
10:40bisko has joined #asahi-dev
10:47the_lanetly_052 has quit [Remote host closed the connection]
10:48the_lanetly_052 has joined #asahi-dev
10:50chadmedplymouth sucks so hard. every theme ive looked at has a different way of asking the user for a password and drawing the text box + password dots, and all of them seem to be the most stupid possible way you could do that task
10:51chadmedthe theme now shows the user messages on top of the beach ball reliably and neatly though, so thats nice :P
11:24marcanjannau: what do you think about moving AsahiLinux-PKGBUILD under AsahiLinux?
11:30_jannau_marcan: fine by me. it would make sense to prune linux-apple from its history
11:30marcanwe can rewrite the history if you think that makes sense, sure
11:31marcanwant to invoke the transfer?
11:39marcanjannau: unless you prefer I just fork it
11:41jannauthat results in 'Cannot find new owner ' AsahiLinux''
11:41jannauYou don’t have the permission to create public repositories on AsahiLinux
11:42jannauTo transfer a repository that you own to an organization, you must have permission to create a repository in the target organization.
11:42jannaufrom the help page
11:42marcanjust transfer it to me then, then I can move it into asahi
11:50kettenisI've been playing with a m1n1 diff that makes stdout-path point at /chosen/framebuffer instead of serial0 if a monitor is attached to the machine
11:50marcanjannau: moved to PKGBUILDs, also invited you to a team to manage access that way
11:51kettenisThis would greatly improve the experience for OpenBSD users since our kernel uses stdout-path to pick the console device
11:52kettenisUnfortunately there is a u-boot bug that kept me from ding a pull request for this so far
11:53kettenisI have a fix for u-boot but it isn't clear if that is going to be applied yet
11:54marcanhm, for linux serial always makes sense since that's largely for earlycon
11:54akemin_dayo has quit [Ping timeout: 480 seconds]
11:54kettenisbut Linux uses command line arguments to specify the console isn't it?
11:55marcannot earlycon
11:55marcanyou just pass "earlycon" and then it uses stdout-path to decide what to use
11:55kettenisis it possible to use the framebuffer as earlycon?
11:56marcanno, earlycon is much earlier than a framebuffer
11:57marcanI think there's an earlycon for FBs though? but no sure if it's a thing as simplefb
11:57marcanthere's an EFI earlycon, which I guess might work?
11:57marcanbut then that wouldn't be looking up the DT
11:58kettenisyes, and that would probably output to both serial and framebuffer with u-boot
11:59kettenis(even if we point stdout-path to /chosen/framebuffer, u-boot will still provide output on serial)
11:59marcanthen maybe it depends for u-boot to do this instead of m1n1? on m1n1, especially under the HV, you pretty much always want regular serial earlycon
11:59marcan*it makes sense
12:00kettenishmm, maybe that is an idea
12:00marcanI need to test whether this actually works on linux though
12:01marcanbut then again if you're using earlycon you probably aren't using u-boot (unless you're debugging that)
12:01kettenisI always liked how Sun machines used to switch from serial console to glass console when you plugged in a keyboard
12:01kettenisso maybe I can implement that in u-boot
12:01marcanI still want serial on the laptops ;)
12:01marcanbut sure
12:02marcanactually checking for EL1 and skipping that might not be a good idea
12:02marcan*a bad idea
12:02marcanI'm clearly distracted today :p
12:03kettenisif I add this code to u-boot there will be a way to override this
12:04svenglass console :D
12:04kettenissven: not sure where that originates, but it is what we tend to call it in openbsd ;)
12:05svennever heard that before but i like it :-)
12:06chadmedfitting that these machines actually have glass displays too
12:06kettenischadmed: :D
12:08chadmedjannau: is there a particular reason the PKGBUILD for the kernel only revs up one core when building?
12:10psykosedo you have JOBS set or something in some /etc/ thing that is supposed to set it
12:10j`eychadmed: have you set MAKEFLAGS?
12:10psykoseand those
12:11chadmedim not using it rn, just perusing. thought it might make more sense to add -j $(nproc) or something
12:11j`eythats set via MAKEFLAGS
12:12psykoseif it's the makepkg pkgbuild, it's set in https://archlinux.org/pacman/makepkg.conf.5.html
12:12psykosegenerally people don't set -j on every build script manually
12:12mpsI already have alpine APKBUILD modeled after PKGBUILD for asahi kernel
12:15mpspsykose: do you have M1 machine
12:15psykosewhat am i, rich? :p
12:15mpswell, I had a hope ;)
12:16chadmedi was thinking more for people who are installing fresh kernels for the first time, but its probably nicer to just tell them to set MAKEFLAGS yeah
12:16alyssathey do be ludicrously expensive compared to my usual machines..
12:16chadmedi bought a fully specced M1 Pro 14"... and then my car rego bill came in the mail
12:16* svenhides is fancy but now obsolete m1 that he bought as a uart adapter
12:17mpsalyssa: iirc you use chromebooks
12:19alyssainter alia
12:20psykoseinter alios
12:22chadmedmy god UI developers deserve an infinite wage increase how do they do this every day
12:25psykosethey probably think the same in return towards you :p
12:27chadmedno one in the universe thinks my industry needs more money :p hell, im currently fighting to get _less_ money
12:37svenlooks like the atc phy also needs some of these fuses similar to the apcie one. they're even taken from a similar memory region (0x2_3d2bc000). I'm not sure yet if I can apply them from m1n1 because XNU also seems to reset the entire atc phy every time a cable is unplugged
12:39sveneither I just add that fuses source as an additional reg or alternatively just stuff it into apple,fuses next to all the other random tunables this thing requires
12:40svenmaybe actually apple,fuses because I bet they change between t8103 and t6000
12:41svenbut then again.. I guess with the fancy multi-monitor support the DP crossbar stuff changed anyway
12:43chadmedsurely the dt binding would be easier to maintain?
12:44svendoesn't make much of a difference tbh. this things already needs like 10 different tunables stuffed in there anyway
12:44sven*thing
12:55chadmed has quit [Remote host closed the connection]
13:22m42uko_ has joined #asahi-dev
13:27m42uko has quit [Ping timeout: 480 seconds]
13:40marcansven: fuses is what the nvmem stuff was made for!
13:42mpsnvmem is some kind of eeprom? or RAM on battery
13:43mpsyes, I know this. meant to ask something else but nvm
13:50svenoh.. that looks like a perfect fit actually
14:40yuyichao has quit [Ping timeout: 480 seconds]
14:42bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:58yuyichao has joined #asahi-dev
14:58the_lanetly_052__ has joined #asahi-dev
15:04the_lanetly_052 has quit [Ping timeout: 480 seconds]
15:05bisko has joined #asahi-dev
15:52bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:02AdwyzzOLEDEdition[m] has joined #asahi-dev
16:29bisko has joined #asahi-dev
16:50foxtrot has joined #asahi-dev
16:51foxtrot is now known as Guest324
16:53Guest324 has quit []
16:55foxtrot- has joined #asahi-dev
16:55southey has quit []
17:00foxtrot- has quit []
17:01southey has joined #asahi-dev
17:05MajorBiscuit has quit [Ping timeout: 480 seconds]
17:34___nick___ has joined #asahi-dev
17:35___nick___ has quit []
17:37___nick___ has joined #asahi-dev
17:40southey has quit [Ping timeout: 480 seconds]
17:50akemin_dayo has joined #asahi-dev
18:25foxtrot has joined #asahi-dev
18:26foxtrot is now known as Guest328
18:27the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:04the_lanetly_052__ has joined #asahi-dev
19:09MajorBiscuit has joined #asahi-dev
19:13the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:35kloenk has joined #asahi-dev
19:53MajorBiscuit has quit [Ping timeout: 480 seconds]
20:54mrkajetanp has quit [Read error: Connection reset by peer]
20:56mrkajetanp has joined #asahi-dev
21:08___nick___ has quit [Ping timeout: 480 seconds]
23:53chadmed has joined #asahi-dev
…