ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
chrisl has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
sri has left #asahi [Leaving]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
Brainium has quit []
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
tobhe has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
opticron has quit [Read error: Connection reset by peer]
opticron has joined #asahi
tobhe_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
ansg191 has quit [Remote host closed the connection]
ansg191 has joined #asahi
sjs has quit []
sjs has joined #asahi
malfunction54 has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
ansg191 has quit [Remote host closed the connection]
ansg191 has joined #asahi
john-cabaj has quit [Remote host closed the connection]
chrisl has joined #asahi
CME_ has quit []
CME has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
ansg191 has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
pb17 has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
Chai-T-Rex has quit [Remote host closed the connection]
ChaiTRex has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
streptokok has quit [Read error: Connection reset by peer]
streptokok has joined #asahi
chrisl has joined #asahi
cylm has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
cylm_ has joined #asahi
chrisl has joined #asahi
hdbngr has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
ravikant_ has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
creechy has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
gladiac is now known as Guest23164
gladiac has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
Guest23164 has quit [Ping timeout: 480 seconds]
__Tetris__2 has joined #asahi
__Tetris__ has quit [Ping timeout: 480 seconds]
__Tetris__2 is now known as __Tetris__
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
nickchan has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
nickchan has joined #asahi
chrisl has joined #asahi
alarumbe has quit []
glem810054889940 has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
nickchan has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
creechy has joined #asahi
nickchan has joined #asahi
druckerjunge has joined #asahi
glem81005488994 has quit [Ping timeout: 480 seconds]
glem810054889940 is now known as glem81005488994
chrisl has quit [Ping timeout: 480 seconds]
<druckerjunge>
Hey, maybe this might be a bit offtopic, as it is not directly related to asahi linux. I am hoping on getting information about interacting with the low level hardware of the mac book pro m4. Currently researching on the topic of energy sensors on apple silicon, similiar to Intel RAPL. I got my hands on an mac book pro M4. As far as I can tell, apple also integrated some kind of energy meter into the chip. By dumping ioreg
<druckerjunge>
I came accross the "pmgr" device inside the CPU. The device shows several strings uppon dump like "total energy" or "ECPU0". So I guess there must be a way to read the actual values present in this component. I thought maybe one of you has already interacted with the energy meters on apple silicon and could share their experience. If this is not the right place, please excuse this long message. Kind regards
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
<chaos_princess>
how do you intend to access them, from macos? if so, you can't, it is a hardware device that it wont give you direct access to. you will have to parse the ioreg database to get this data out
hdbngr has quit [Ping timeout: 480 seconds]
<druckerjunge>
Currently I'm not that deep into macos details. I thought about accessing some kind of device/register etc. using maybe elevated rights via a simple C++ interface.
<chaos_princess>
ofc not, you'd need a kext to have direct access to a device and macos does not like new kexts
<druckerjunge>
Hmmm I somewhat expected this. But this definetly helps in understanding what I was seeing. Will take a deeper look into the documentation. Thank you, for you input.
druckerjunge has quit [Quit: Leaving]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
tertu has quit [Ping timeout: 480 seconds]
tertu has joined #asahi
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
psykose has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
XeR has quit [Remote host closed the connection]
XeR has joined #asahi
Moprius has joined #asahi
Raito_Bezarius has quit [Ping timeout: 480 seconds]
Moprius has quit [Read error: Connection reset by peer]
ravikant_ has joined #asahi
<fl0_id>
druckerjunge you can look at what asimon and similar software does, which is calling private functions iirc. but the underlying mechanism is basically what chaos_princess said. And afaik it's not necessarily actual measurement, similar to RAPL, it's often an approximation. (afaik)
<fl0_id>
However it's likely that it would need to be adapted for m4 or newer macos versions
<fl0_id>
I only tested with m3 and 14.x
Brainium has joined #asahi
chrisl has joined #asahi
<chadmed>
the SMC's power endpoints are a mix of derived and actual values. P**R are all measured as far as we know, and P**C are all derived
<chaos_princess>
there are real energy counters in one of the pmgr mmios
<chaos_princess>
and by one i mean at least (3 * cluster count) or so
chadmed has quit [Quit: Konversation terminated!]
chrisl has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi
chrisl has joined #asahi
<fl0_id>
that's good to know. Still what you usually get as data is afaik an amalgamation and thus only partially measured?
chrisl has quit [Ping timeout: 480 seconds]
<larstiq_>
also on the physical level, a measurement is an approximation of reality so it's more a matter of how approximate
streptokok has quit [Quit: streptokok]
<fl0_id>
larstiq_ yeah ofc. I didn
<fl0_id>
*didn't want to say this is necessarily bad, just felt like I had to add this as I had a discussion with some researchers and they were all like "ok we only measured at the wall" or sth like that
<larstiq_>
right
chrisl has joined #asahi
<larstiq_>
fl0_id: for me it's e.g. fuel flow meters
Brainium has quit []
Brainium has joined #asahi
<fl0_id>
in what context, if I may ask?
streptokok has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
<larstiq_>
fl0_id: optimization of operation of ships, need to know how much and which kind of fuels flow to which engines
chrisl has joined #asahi
<fl0_id>
larstiq_ cool, thx
<larstiq_>
it's a surprising heap of garbage data sometimes
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
chrisl has joined #asahi
<fl0_id>
haha. yeah I can imagine, even though I only have experience with relatively simple sensors for iot applications like measuring my gas consumption. In theory it's relatively easy but sometimes...
chrisl has quit [Ping timeout: 480 seconds]
lxdr04 has quit [Remote host closed the connection]
ddxtanx has quit [Remote host closed the connection]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hamr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
cyrinux949075 has quit []
hdbngr has quit [Remote host closed the connection]
hdbngr has joined #asahi
cyrinux949075 has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
<ice9>
guys what's the status of Asahi nowadays, does it fully support the Macbook laptops and works perfectly normal?
chrisl has quit [Ping timeout: 480 seconds]
<j`ey>
not all hardware works, no
chrisl has joined #asahi
<ice9>
j`ey, at least is it ready for production?
<j`ey>
that's pretty vauge
<j`ey>
but it's stable et
<j`ey>
c
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
<opticron>
ice9, they're usable as daily drivers
<opticron>
M1/M2 series anyway
<ice9>
I see
<opticron>
M3/M4 series are not supported yet
<opticron>
the biggest caveat is no video out over USB Type-C (but HDMI ports built-in work) and other Type-C shenanigans like Thunderbolt, but that's being actively worked on, iirc
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
KxCORP589400034558813182 has quit [Quit: Bye!]
KxCORP589400034558813182 has joined #asahi
thansen has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
Brainium has quit [Read error: Connection reset by peer]
Brainium has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
ddxtanx has joined #asahi
hdbngr has joined #asahi
Brainium has quit []
Brainium has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
Brainium has quit []
Brainium has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
cylm_ has quit [Quit: WeeChat 4.6.3]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
thansen has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
EnhancedRock has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
EnhancedRock has quit []
EnhancedRock has joined #asahi
EnhancedRock has quit []
EnhancedRock has joined #asahi
EnhancedRock has quit []
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
roxfan2 has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
roxfan has quit [Ping timeout: 480 seconds]
marcusr has quit [Remote host closed the connection]