#
✕ nick:chadmed
#asahi-dev · 2022-03-08 05:54
chadmedyeah exactly
#asahi-dev · 2022-03-08 05:53
chadmedmy one thing was just that you cant guarantee itll be present on whatever distro a user picks, but that doesnt really matter too much imo. we could just put a "hey if you want your speakers to not sound crap, install this plugin" line on the wiki somewhere. plus whatever we choose to do will ship with Asahi
#asahi-dev · 2022-03-08 05:52
chadmedyeah, i was just thinking about hooking in to something like alsaequal or this
#asahi-dev · 2022-03-08 05:31
chadmed(without adding extra DSP into the audio chain)
#asahi-dev · 2022-03-08 05:31
chadmedit would be nice to expose those things to userland. i find the j314s speakers just a teeny bit too boomy under whatever macos does so id like to drop out 100-200hz and 4k-6k a little bit to clear them up
#asahi-dev · 2022-03-08 00:24
chadmedpovik: do you know how apple handles crossover frequencies and EQing of the speaker arrays in these machines? is it DSP in CoreAudio or is there some magic sauce somewhere at a lower level?
#asahi-dev · 2022-03-03 00:36
chadmeddracut's default config is a little saner, and i managed to get it to behave normally by just passing kernelrelease
#asahi-dev · 2022-03-03 00:35
chadmedmarcan: mkinitcpio found all the modules if i passed it "-k $(make -s kernelrelease)" and added nvme-apple manually to /etc/mkinitcpio.conf
#asahi-dev · 2022-02-23 12:43
chadmedsurely the dt binding would be easier to maintain?
#asahi-dev · 2022-02-23 12:27
chadmedno one in the universe thinks my industry needs more money :p hell, im currently fighting to get _less_ money
#asahi-dev · 2022-02-23 12:22
chadmedmy god UI developers deserve an infinite wage increase how do they do this every day
#asahi-dev · 2022-02-23 12:16
chadmedi bought a fully specced M1 Pro 14"... and then my car rego bill came in the mail
#asahi-dev · 2022-02-23 12:16
chadmedi 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
#asahi-dev · 2022-02-23 12:11
chadmedim not using it rn, just perusing. thought it might make more sense to add -j $(nproc) or something
#asahi-dev · 2022-02-23 12:08
chadmedjannau: is there a particular reason the PKGBUILD for the kernel only revs up one core when building?
#asahi-dev · 2022-02-23 12:06
chadmedfitting that these machines actually have glass displays too
#asahi-dev · 2022-02-23 10:51
chadmedthe theme now shows the user messages on top of the beach ball reliably and neatly though, so thats nice :P
#asahi-dev · 2022-02-23 10:50
chadmedplymouth 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
#asahi-dev · 2022-02-23 07:18
chadmedyeah works on this machine no problems
#asahi-dev · 2022-02-23 07:16
chadmedim going to test a delayed boot on my amd64 machine now just to confirm thats the problem
#asahi-dev · 2022-02-23 07:16
chadmedyeah right so it may not work properly since rc5 partially broke simpledrm and simplefb. neither driver properly initialises the console, which plymouth relies on
#asahi-dev · 2022-02-23 07:14
chadmedbc the up to date one has the rc5 framebuffer problem
#asahi-dev · 2022-02-23 07:14
chadmedthe up to date linux-asahi or an older version?
#asahi-dev · 2022-02-23 07:10
chadmedworks fine on my amd64 machine on 5.16.10
#asahi-dev · 2022-02-23 07:10
chadmedmight be that 5.17-rc5 framebuffer thing
#asahi-dev · 2022-02-23 07:06
chadmedim on armtix and have just been testing with plymouthd --debug --no-daemon
#asahi-dev · 2022-02-23 07:05
chadmedoh 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"
#asahi-dev · 2022-02-23 07:05
chadmedif 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
#asahi-dev · 2022-02-23 07:04
chadmedi should add that to the readme
#asahi-dev · 2022-02-23 07:04
chadmeddo you have `splash` in your kernel command line? for some reason plymouth wont even bother trying to load the splash screen unless its there
#asahi-dev · 2022-02-23 06:59
chadmedthe splash screen works but i havent tested, nor can i test, stuff like inputting passwords or message delivery
#asahi-dev · 2022-02-23 06:58
chadmedcan 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
#asahi-dev · 2022-02-10 05:42
chadmedfor the asahi branch you can just put in a pull request. for upstream youll need to format your commits as patches/diffs, find the relevant mailing lists and maintainers to submit them to, write a short preamble explaining what youve done (and why), sent that off and then send your patches through as replies to that preamble.
#asahi-dev · 2022-02-07 07:15
chadmedare the byte swaps actually totally unnecessary?
#asahi-dev · 2022-02-06 09:08
chadmedi tried messing with it myself but the intrinsics those functions wrap dont like that value is a six-byte array. they want a normal int
#asahi-dev · 2022-02-06 09:07
chadmedor, if "value" can be changed from an array of 6 bytes to a normal int of any length you can use the corresponding be_to_cpu() functions in <linux/byteorder/generic.h>
#asahi-dev · 2022-02-06 09:06
chadmedit would literally just be taking the byte swapping logic and containing it within its own function, and replacing rtc_time and rtc_offset assignments with a call to that function
#asahi-dev · 2022-02-06 07:44
chadmedive been playing around with both and it seems it doesnt like being fed value[6] because its an array, so if that cant be changed to a proper int whatever reason (dont have the hardware to test that) then that little bit swapping hack is probably going to have to stay, but moved into a helper function as per alyssa's suggestion
#asahi-dev · 2022-02-06 07:17
chadmedjeffmiw: the __builtin_bswap64 intrinsic actually does work in clang so using it in the rtc driver instead of swapping the bytes around manually shouldnt break anything, and might be marginally faster. im still not sure what the policy is upstream wrt using compiler intrinsics though
#asahi-dev · 2022-02-06 02:37
chadmedah that would break building the kernel with clang i think
#asahi-dev · 2022-02-06 02:36
chadmedusing __builtin_bswap64 would be frowned upon wouldnt it
#asahi-dev · 2022-02-06 02:01
chadmedalso i dont think they like it upstream when you declare multiple variables on a single line
#asahi-dev · 2022-02-06 01:57
chadmedjeffmiw: it might be prudent to add a short comment explaining this
#asahi-dev · 2022-02-06 01:47
chadmedlooks to me like the number is stored in the RTC as big endian and needs to be flipped? am i reading that correctly?
#asahi-dev · 2022-02-04 13:47
chadmedioreg also lists AGXGart/AGXSecureGart classes in IOKit
#asahi-dev · 2022-02-04 13:44
chadmedbut no, theyve just reused the acronym for something different in a graphics device. real genius stuff.
#asahi-dev · 2022-02-04 13:43
chadmedgraphics address remapping table
#asahi-dev · 2022-02-04 13:27
chadmedwould it be a GART in the tradtitional sense?
#asahi-dev · 2022-01-29 06:27
chadmedonly USB-A goes through PCIe on the M1 Mini
#asahi-dev · 2022-01-29 04:45
chadmedand even if we dont, distros certainly arent going to be shipping 16k kernels on account of us

plus ›