#
#asahi-dev · 2022-12-24 07:04
TristenSethalready.
#asahi-dev · 2022-12-24 07:04
TristenSethI have been reading through the logs the last few days, and the wiki, but it's all pretty spread out and dense. Any TL;DR tips/direction for getting started contributing? My vague understanding is that there is a way to test new kernel builds on my 2021 MBP M1 Pro in a sort of container via m1n1. Is that the case? I only have a single M-based machine, and i am running asahi on it as my daily driver
#asahi-dev · 2022-12-23 22:42
nicolas17I haven't even tried the m1n1 console yet
#asahi-dev · 2022-12-23 22:42
nicolas17one (but not only) reason why I got a model with touchbar was the vague hope of helping add support for it on asahi, but it seems way above my head
#asahi-dev · 2022-12-23 22:41
ChaosPrincessdont get you hopes too high, im not very good at it :P
#asahi-dev · 2022-12-23 22:38
nicolas17oh wow someone looking at touchbar *_*
#asahi-dev · 2022-12-23 22:21
ChaosPrincesshttps://github.com/AsahiLinux/m1n1/pull/273 - trace for the touchbar digitizer. not really sure what how to find out what the rest of unknown fields mean, but the important ones are there
#asahi-dev · 2022-12-23 19:41
Orotldr providing packages of drivers that are more or less self contained is encouraged, but packaging host versions of Mesa inside of the runtime isn't suggested for the libc issue I listed before
#asahi-dev · 2022-12-23 19:40
OroHere's an article by TingPing about the host extension, I believe that might shine some light on this topic: https://blog.tingping.se/2018/08/26/flatpak-host-extensions.html
#asahi-dev · 2022-12-23 19:28
OroOne more thing to consider when providing the graphics libraries as a host package is that you'll have to build the flatpakked graphics drivers inside of the freedesktop runtime, rather than the host system, since Flatpak might use an older glibc than Asahi provides
#asahi-dev · 2022-12-23 19:12
Orosince Flatpak supports running non-native applications on your architecture by using emulation, and a bunch of flatpaks on Flathub don't provide aarch64 builds
#asahi-dev · 2022-12-23 19:11
OroAlso, if you *do* package it as a PKGBUILD, you'll probably need to add an x86 build as well
#asahi-dev · 2022-12-23 19:04
Orothat or Asahi can host its own flatpak repository for that time
#asahi-dev · 2022-12-23 18:59
OroMaybe the Flathub Beta route can be used when the driver is in a stable state, and should be tested for uAPI/ABI compatibility?
#asahi-dev · 2022-12-23 18:58
OroI have an open issue about it here: https://github.com/flatpak/flatpak-docs/issues/381
#asahi-dev · 2022-12-23 18:58
Oro@marcan I'd ideally do that, but it's not well documented...
#asahi-dev · 2022-12-23 18:58
OroBleh, IRC is weird, sorry if I don't respond for a bit or don't use it properly
#asahi-dev · 2022-12-23 08:13
chadmedmarcan: would it be possible to enable squashfs and brd in the stable kernel config for the next build?
#asahi-dev · 2022-12-23 08:08
chadmedwe access the core counters from m1n1, and coremark was run on linux with the smc data straight out of the driver
#asahi-dev · 2022-12-23 08:07
chadmedkh: no, you cant get that data from macos
#asahi-dev · 2022-12-23 07:51
khchadmed: You tested it on macos?
#asahi-dev · 2022-12-23 07:00
karpouzithx
#asahi-dev · 2022-12-23 06:41
chadmedthey asked how i derived the core power consumptions for the energy model subsystem
#asahi-dev · 2022-12-23 06:41
karpouzii admit i don't have kh's message in my history to understand the context :P
#asahi-dev · 2022-12-23 06:40
karpouziwell, generally batteries have coulomb counters because you can just multiply coulombs x volts and get watt-seconds
#asahi-dev · 2022-12-23 06:40
chadmedbut thats a horrible way to do EAS and its extremely noisy
#asahi-dev · 2022-12-23 06:40
chadmedit measures the system power consumption in watts though
#asahi-dev · 2022-12-23 06:39
chadmedidk why itd want to count coulombs
#asahi-dev · 2022-12-23 06:39
karpouziis it clear the SMC has its own coulomb counter etc?
#asahi-dev · 2022-12-23 06:37
chadmedits not a great solution (or even an acceptable one) but it'll do for now until we figure out how the energy counters work exactly
#asahi-dev · 2022-12-23 06:36
chadmedkh: the cores and clusters have energy counters, but the values currently in use are just from the SMC while running coremark at each pstate
#asahi-dev · 2022-12-23 04:34
marcanI think for me it'd be ideal if I can just bump that at the same time I bump mesa-asahi-edge (or even have both be part of the same PKGBUILD) and push to our repo as usual
#asahi-dev · 2022-12-23 04:33
marcancan we wrap that in a PKGBUILD so we can offer it as a package for users (via the `host` gldriver stuff)?
#asahi-dev · 2022-12-23 03:55
OroThe appropriate issue to add an Asahi-specific driver to Flathub Beta: https://github.com/flathub/flathub/issues/3743
#asahi-dev · 2022-12-23 03:15
OroI've already got a general idea of what to do, by using the mesa-git extension as a base: https://gitlab.com/OroWith2Os/mesa-git-asahi-flatpak
#asahi-dev · 2022-12-23 03:14
OroHihi! I'm looking into helping improve support for Asahi in Flatpak, specifically by flatpakking the GPU drivers. Would this or #asahi-gpu be the most appropriate place for discussion about this?
#asahi-dev · 2022-12-23 01:28
khI briefly remember you saying that you*
#asahi-dev · 2022-12-23 01:26
khchadmed: How did you find the power consumption for the energy model? I briefly remember saying you figured it out by reading some addresses through m1n1
#asahi-dev · 2022-12-22 17:48
bcrumbsven: alright, thanks for clarifying that
#asahi-dev · 2022-12-22 12:21
svenbcrumb: marcan has to review and merge it. And usually we rebase PRs instead of merging back main
#asahi-dev · 2022-12-22 12:20
sventhanks :)
#asahi-dev · 2022-12-22 12:19
ncopai don't know if you heard it recently, but a big thank you for the work you do! It is highly appreciated
#asahi-dev · 2022-12-22 11:21
mac456thanks for clarifying that, @marcan
#asahi-dev · 2022-12-22 11:03
bcrumbit's approved tho
#asahi-dev · 2022-12-22 11:03
bcrumbhttps://github.com/AsahiLinux/asahi-scripts/pull/20 can't merge this PR
#asahi-dev · 2022-12-22 08:36
marcanwithout that input won't work
#asahi-dev · 2022-12-22 08:36
marcanit's about *input* not *output* there, because it gets called as curl|sh
#asahi-dev · 2022-12-22 04:30
hertzAnyway, thanks for explaining.
#asahi-dev · 2022-12-22 04:30
hertzit's right before the invocation of the python part of the installer, so that must have been the issue.
#asahi-dev · 2022-12-22 04:27
psykosethat part i wouldn't know :)

plus ›