ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
swaggie has joined #asahi-dev
bpye has quit [Ping timeout: 480 seconds]
bpye has joined #asahi-dev
kh has joined #asahi-dev
<kh> chadmed: 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
<kh> I briefly remember you saying that you*
swaggie has quit [Remote host closed the connection]
amarioguy has quit [Remote host closed the connection]
swaggie has joined #asahi-dev
Hibyehello has quit [Ping timeout: 480 seconds]
swaggie has quit [Remote host closed the connection]
swaggie has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
Oro has joined #asahi-dev
<Oro> Hihi! 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?
<Oro> I'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
Hibyehello has joined #asahi-dev
sebastia2 has joined #asahi-dev
amarioguy has joined #asahi-dev
lina has joined #asahi-dev
<Oro> The appropriate issue to add an Asahi-specific driver to Flathub Beta: https://github.com/flathub/flathub/issues/3743
swaggie has joined #asahi-dev
<marcan> can we wrap that in a PKGBUILD so we can offer it as a package for users (via the `host` gldriver stuff)?
<marcan> I 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
swaggie has quit [Remote host closed the connection]
Oro has quit [Ping timeout: 480 seconds]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
hertz_ has joined #asahi-dev
hertz has quit [Ping timeout: 480 seconds]
bluetail8 has joined #asahi-dev
Hibyehello_ has joined #asahi-dev
Hibyehello has quit [Read error: Connection reset by peer]
SSJ_GZ has joined #asahi-dev
karpouzi has joined #asahi-dev
<chadmed> kh: the cores and clusters have energy counters, but the values currently in use are just from the SMC while running coremark at each pstate
<chadmed> its 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
<karpouzi> is it clear the SMC has its own coulomb counter etc?
<chadmed> idk why itd want to count coulombs
<chadmed> it measures the system power consumption in watts though
<chadmed> but thats a horrible way to do EAS and its extremely noisy
<karpouzi> well, generally batteries have coulomb counters because you can just multiply coulombs x volts and get watt-seconds
<karpouzi> i admit i don't have kh's message in my history to understand the context :P
<chadmed> they asked how i derived the core power consumptions for the energy model subsystem
VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
sebastia2 has quit [Quit: Lost terminal]
VinDuv has joined #asahi-dev
<karpouzi> thx
gladiac has joined #asahi-dev
<kh> chadmed: You tested it on macos?
MajorBiscuit has joined #asahi-dev
swaggie has joined #asahi-dev
<chadmed> kh: no, you cant get that data from macos
<chadmed> we access the core counters from m1n1, and coremark was run on linux with the smc data straight out of the driver
<chadmed> marcan: would it be possible to enable squashfs and brd in the stable kernel config for the next build?
karpouzi has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
kh has quit [Quit: Konversation terminated!]
hertz_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cylm_ has quit [Ping timeout: 480 seconds]
fossdd has joined #asahi-dev
landscape15 has joined #asahi-dev
landscape15 has quit [autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2022-12-23 10:15:09)]
landscape15 has joined #asahi-dev
landscape15 has quit []
mkurz has quit [Ping timeout: 480 seconds]
swaggie has quit [Remote host closed the connection]
swaggie has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
mkurz has joined #asahi-dev
swaggie has joined #asahi-dev
Dcow has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
swaggie has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-dev
swaggie has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
swaggie has quit [Ping timeout: 480 seconds]
systwi has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-dev
systwi has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
c10l6 has joined #asahi-dev
c10l has quit [Read error: Connection reset by peer]
c10l6 has quit []
c10l has joined #asahi-dev
swaggie has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi-dev
hertz has joined #asahi-dev
swaggie has joined #asahi-dev
karpouzi has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
cylm_ has joined #asahi-dev
MajorBiscuit has quit [Quit: WeeChat 3.6]
swaggie has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-dev
swaggie has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
bcrumb has quit []
karpouzi has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi-dev
swaggie has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
mkurz has quit [Quit: Leaving]
___nick___ has joined #asahi-dev
swaggie has quit [Ping timeout: 480 seconds]
bcrumb has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
jlco has joined #asahi-dev
hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
opticron has quit [Ping timeout: 480 seconds]
opticron has joined #asahi-dev
yuyichao_ has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
Oro has joined #asahi-dev
<Oro> Bleh, IRC is weird, sorry if I don't respond for a bit or don't use it properly
<Oro> @marcan I'd ideally do that, but it's not well documented...
<Oro> I have an open issue about it here: https://github.com/flatpak/flatpak-docs/issues/381
<Oro> Maybe the Flathub Beta route can be used when the driver is in a stable state, and should be tested for uAPI/ABI compatibility?
<Oro> that or Asahi can host its own flatpak repository for that time
karpouzi has joined #asahi-dev
<Oro> Also, if you *do* package it as a PKGBUILD, you'll probably need to add an x86 build as well
<Oro> since Flatpak supports running non-native applications on your architecture by using emulation, and a bunch of flatpaks on Flathub don't provide aarch64 builds
Dcow has joined #asahi-dev
karpouzi has quit [Quit: leaving]
<Oro> One 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
blazra has quit [Ping timeout: 480 seconds]
<Oro> Here'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
<Oro> tldr 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
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
bcrumb has quit [Quit: WeeChat 3.7.1]
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
audiojaguar has quit [Quit: ZNC - https://znc.in]
audiojaguar has joined #asahi-dev
sebastia1 has joined #asahi-dev
Dcow has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi-dev
Dcow has joined #asahi-dev
bcrumb has quit [Quit: WeeChat 3.7.1]
Dcow has quit [Ping timeout: 480 seconds]
___nick___ has quit [Ping timeout: 480 seconds]
zzywysm_ has joined #asahi-dev
sebastia1 has quit [Ping timeout: 480 seconds]
zzywysm_ has quit []
Dcow has joined #asahi-dev
zzywysm has quit [Ping timeout: 480 seconds]
zzywysm has joined #asahi-dev
swaggie has joined #asahi-dev
fossdd has quit [Ping timeout: 480 seconds]
Dcow has quit [Ping timeout: 480 seconds]
sebastia1 has joined #asahi-dev
nicolas17 has joined #asahi-dev
Dcow has joined #asahi-dev
<ChaosPrincess> https://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
Dcow has quit [Ping timeout: 480 seconds]
swaggie has quit [Ping timeout: 480 seconds]
<nicolas17> oh wow someone looking at touchbar *_*
<ChaosPrincess> dont get you hopes too high, im not very good at it :P
<nicolas17> one (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
<nicolas17> I haven't even tried the m1n1 console yet
hertz has joined #asahi-dev
SSJ_GZ has quit [Ping timeout: 480 seconds]
jeffmiw has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-dev
jlco_ has joined #asahi-dev
jlco has quit [Ping timeout: 480 seconds]