#
✕ nick:chadmed
#asahi-dev · 2022-08-28 11:50
chadmeddo it once do it right and so forth
#asahi-dev · 2022-08-28 11:50
chadmedand to answer the question you asked before, this was, inter alia, blocking merging dcp
#asahi-dev · 2022-08-28 11:49
chadmedthis is an issue on eg nvidia cards, since their kms driver does not supply gamma luts which is why night mode doesnt work under wayland on some of those chipsets
#asahi-dev · 2022-08-28 11:47
chadmedthere were links to where theyre discussing this upstream for both compositors in #asahi-gpu if you can find them
#asahi-dev · 2022-08-28 11:47
chadmedyeah but the goal for kwin and mutter right now is to no longer apply gamma correction, which relies on LUTs from the kernel display driver
#asahi-dev · 2022-08-28 11:46
chadmedthere was some discussion in #asahi-gpu about this aaages ago
#asahi-dev · 2022-08-28 11:46
chadmediirc the whole reason its been an issue is because applications simply do not obey colour management information in the protocol, and the thrust now is for compositors/wms to take control of it
#asahi-dev · 2022-08-28 11:45
chadmedyeah but do applications obey it?
#asahi-dev · 2022-08-28 11:44
chadmedalso the simpledrm crtc does not have a gamma lut so colour correction wont work in kwin or mutter just yet, its why i cant daily linux just yet
#asahi-dev · 2022-08-28 11:43
chadmeddoes colour management work like... at all under linux yet
#asahi-dev · 2022-08-28 11:37
chadmedthe script just immediately exits if theres nothing new so its not like its copying all the brcmfmac firmware on every boot or anything
#asahi-dev · 2022-08-28 11:36
chadmedwhich is how i got the bt firmware sorted, so i just went with it for now until we figure out something better
#asahi-dev · 2022-08-28 11:35
chadmediirc the original intention for new hw enablement was to update the vendor-fw tarball from macos and have linux check it for changes on every boot
#asahi-dev · 2022-08-28 11:32
chadmedi edited update-m1n1 to grab from /usr/src/linux/arch/arm64/boot/dts/apple/*.dtb, u-boot and m1n1 binaries after being build are doins-ed to /usr/lib/asahi-boot or wherever the alarm pkgbuild puts them, i reused the path
#asahi-dev · 2022-08-28 11:30
chadmedmarcan: the overlay already has our u-boot, m1n1 and linux-asahi with the tags shipping with the installer keyworded as arm64 and the latest tag as ~arm64. update-m1n1 and update-vendor-fw are installed in /bin by the installer as well as a local.d script which runs update-vendor-fw on every boot. the only thing i need to get around to for feature parity is that python firmware thing if thats still relevant
#asahi-dev · 2022-08-28 00:22
chadmednoting that once lina gets the kernel driver up to scratch ill copy over the mesa ebuild from the gentoo tree and add a VIDEO_CARDS for asahi but thats a while away
#asahi-dev · 2022-08-28 00:21
chadmedmarcan: could you define "up to standard" for the gentoo port? its in pretty good shape imo, we have an overlay and an installer that takes care of all the apple-isms. what else could i take care of to make it better (apart from binpkgs)?
#asahi-dev · 2022-08-27 00:38
chadmedwent by millennialhacker
#asahi-dev · 2022-08-27 00:36
chadmedthe previous guy maintaining gentoo support had some weird chrooting scheme going on from asahi which did not feel very gentoo-y
#asahi-dev · 2022-08-27 00:36
chadmedthe rest is completely as written in the amd64 handbook though which was an intentional design choice
#asahi-dev · 2022-08-27 00:36
chadmedthen once youve got a stage3 extracted you merge git and clone the repo again and run another script that sets up the overlay, m1n1, u-boot and builds a known-good kernel and initramfs
#asahi-dev · 2022-08-27 00:35
chadmedyeah the tldr if you dont wanna read through the script is that i pull the squashfs out of the arm64 install cd, inject our kernel modules, wrap it in an initramfs and then add an option to grub as installed by asahi to boot it like its a standard arm64 cd
#asahi-dev · 2022-08-27 00:34
chadmedoh sick well thats pretty much everything
#asahi-dev · 2022-08-27 00:32
chadmedbinpkgs is another story i dont really have the infrastructure to host or the time to keep on top of building those
#asahi-dev · 2022-08-27 00:32
chadmedsam_: peep the links j`ey sent, ive already got an overlay and an installer
#asahi-dev · 2022-08-23 06:10
chadmedand besides, the current handling works and is stable for people who want it badly enough to go through the DT editing process, the stuff we're doing now is just to ensure that its maintainable long term and can be generalised for arbitrary devices. to me, that goal in and of itself is nowhere near important enough to warrant pushing beta branches to users and assuming the responsibility for maintaining them
#asahi-dev · 2022-08-23 06:03
chadmedwe have the When It's Done(tm) advantage, we dont have any particular deadlines we need to rush towards and so we can afford to just wait until it's out and settled
#asahi-dev · 2022-08-23 06:03
chadmedno one here wants to do that just for the sake of rushing speaker support out the door
#asahi-dev · 2022-08-23 06:02
chadmedplus the supposedly massive api change _will_ result in users having questions and the like and if we are packaging up and shipping an untested branch then we would be expected to field those questions ourselves
#asahi-dev · 2022-08-23 06:02
chadmedtbh given the state of PW/WP documentation and the general attitude of devs towards issues being "lol just fix it yourself" i wouldnt trust their assessments of user readiness as far as i could throw a fujitsu m12
#asahi-dev · 2022-08-22 23:56
chadmedsomething something ethical hacking et cetera and so on and so forth
#asahi-dev · 2022-08-22 23:55
chadmedthe time is better used testing the proposed features ourselves and smoothing out the experience
#asahi-dev · 2022-08-22 23:54
chadmedfor one, i dont want to write an ebuild for it, and for another i dont want to deal with "why does wireplumber work on all my other machines but is janky on asahi" type support questions that come with forcing unstable testing branches on users who are not prepared to deal with them
#asahi-dev · 2022-08-22 23:53
chadmedDmitrySharshakov[m]: no way are we packaging a beta branch of wireplumber just to jump the gun by a couple of months. as julian points out in that note, it will be released in a couple of months, so we can just wait.
#asahi-dev · 2022-08-22 09:49
chadmedupdate-m1n1-secureboot or some such
#asahi-dev · 2022-08-22 09:49
chadmedits easy enough to build a new stage2 from userspace that this really isnt the hinderance that it used to be with all the kmutil nonsense
#asahi-dev · 2022-08-22 09:44
chadmedoh yeah of course
#asahi-dev · 2022-08-22 09:43
chadmedwe couldnt use it to store keys/hashes of payloads?
#asahi-dev · 2022-08-22 09:42
chadmedideally and eventually it will be the SEP
#asahi-dev · 2022-08-22 09:40
chadmedyeah but... can it?
#asahi-dev · 2022-08-22 09:33
chadmedbut thats my fault for not reporting upstream that it works and they can stop hard depending on libunwind
#asahi-dev · 2022-08-22 09:33
chadmedthe only real distro-related issue ive had in the past like 6 years is having to sed -i s/unwind/llvm-libunwind/ the samba ebuild every system update
#asahi-dev · 2022-08-22 09:12
chadmedmight have to fix that on the holidays...
#asahi-dev · 2022-08-22 09:11
chadmedtrue actually, theres still no ebuild for carla in the main gentoo tree
#asahi-dev · 2022-08-22 09:10
chadmedonly silverblue is
#asahi-dev · 2022-08-22 09:10
chadmedthe standard fedora images arent immutable
#asahi-dev · 2022-08-22 08:59
chadmedi imagine he will end up dailying gentoo on these machines sooner or later regardless
#asahi-dev · 2022-08-22 08:55
chadmedbut i spent all that time on gentoo enablement for a reason
#asahi-dev · 2022-08-22 08:55
chadmeditd be the first thing i yeet off my system if i ever migrated
#asahi-dev · 2022-08-22 08:55
chadmedand there are also spins of fedora with all the major DEs so its not like you _have_ to use gnome

plus ›