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
pb17 has quit [Ping timeout: 480 seconds]
sihloo has joined #asahi
sihloo has quit []
sihloo has joined #asahi
charnam has quit [Quit: Konversation terminated!]
pb17 has joined #asahi
KxCORP58940003455 has quit [Quit: Bye!]
KxCORP58940003455 has joined #asahi
Brainium has joined #asahi
matteo_ has joined #asahi
shintyl has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
jadesoturi has joined #asahi
nyx_o has joined #asahi
matteo_ has quit [Ping timeout: 480 seconds]
jadesoturi_ has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
ddxtanx has quit [Remote host closed the connection]
ten15723774324630506618215032 has joined #asahi
tobhe_ has joined #asahi
ten1572377432463050661821503 has quit [Ping timeout: 480 seconds]
ten15723774324630506618215032 is now known as ten1572377432463050661821503
eburk has joined #asahi
tobhe has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
nopjmp_ has quit []
nopjmp has joined #asahi
matteo has joined #asahi
Yachtie has quit [Quit: Yachtie]
matteo has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
matteo has joined #asahi
matteo has quit [Read error: Connection reset by peer]
matteo has joined #asahi
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
<millemila>
Hi, I'm running fedora 41 beta and I was wondering why are the intel and amd gpu drivers installed by default (I think) on the distro and wether it has to do with running the beta or not, and also I was wondering if I can just uninstall those packages
matteo has quit [Ping timeout: 480 seconds]
eburk has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
pb17 has joined #asahi
matteo has joined #asahi
eburk has joined #asahi
millemila has quit [Quit: Leaving]
matteo has quit [Ping timeout: 480 seconds]
matteo has joined #asahi
wyes has joined #asahi
shiggitay has joined #asahi
ddxtanx has quit [Remote host closed the connection]
matteo has quit [Ping timeout: 480 seconds]
ten15723774324630506618215036 has joined #asahi
matteo has joined #asahi
ten1572377432463050661821503 has quit [Ping timeout: 480 seconds]
ten15723774324630506618215036 is now known as ten1572377432463050661821503
TellowKrinkle has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
TellowKrinkle has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
elvishjerricco has quit [Remote host closed the connection]
elvishjerricco has joined #asahi
jamie has joined #asahi
jamie is now known as Guest7297
matteo has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
matteo has joined #asahi
scsh has quit [Quit: Ping timeout (120 seconds)]
scsh has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
matteo has joined #asahi
eburk has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
scsh has quit [Quit: Ping timeout (120 seconds)]
scsh has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
matteo has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
tobhe_ is now known as tobhe
Sebastian2 has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
shintyl has quit [Ping timeout: 480 seconds]
Sebastian2 has quit [Quit: Sebastian2]
matteo has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
asahimbp has joined #asahi
matteo has joined #asahi
afroboy has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
asahimbp has quit [Ping timeout: 480 seconds]
matteo has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
matteo has joined #asahi
ddxtanx has joined #asahi
cisco87 has joined #asahi
afroboy has quit [Remote host closed the connection]
shiggitay has quit [Ping timeout: 480 seconds]
mohit81582263530 has quit [Ping timeout: 480 seconds]
mohit81582263530 has joined #asahi
reverser has joined #asahi
<reverser>
Hi. It's me again. I just want to ask, if this is the right channel to ask for how to interact with Apple M1/M2 performance counters?
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
reverser has quit [Ping timeout: 480 seconds]
reverser has joined #asahi
<maz>
perf is the way.
<reverser>
Can I also use perf utlizies programmatically? For example, to measure the amount of cycles it took to execute a sequence of instructions?
<reverser>
and specifically mark the block of instructions that I want to measure.
<maz>
you can't directly access the counters from userspace, but you should be able to call into the perf API to add a counter, run the bit of code you're interested in, and read back the counter right after it.
<maz>
I never tried that myself though.
<maz>
hopefully the perf code should give you an idea of what is needed for that.
___nick___ has joined #asahi
<reverser>
Could you maybe point me to the Man pages for the perf api?
___nick___ has quit [Remote host closed the connection]
<reverser>
It's the manpage for perf_event_open(2), right?
chadmed_ has quit [Read error: Connection reset by peer]
<maz>
perf_event_open(2)
<maz>
yup, that one.
<reverser>
Thx
crisma has quit [Quit: WeeChat 3.8]
reverser has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
crisma has joined #asahi
reverser has joined #asahi
reverser has quit []
Moprius has joined #asahi
tertu has quit [Quit: so long...]
tertu has joined #asahi
Guest7297 is now known as jamiel
Halian has quit [Ping timeout: 480 seconds]
LukeTheWalker has joined #asahi
matteo has quit [Quit: Leaving...]
LukeTheWalker has quit []
Sebastian2 has joined #asahi
Sebastian2 has quit [Read error: Connection reset by peer]
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
Moprius has quit [Quit: bye]
john-cabaj has joined #asahi
leah2 has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
leah2 has joined #asahi
eburk has joined #asahi
delroth has quit [Remote host closed the connection]
leah2 has quit [Ping timeout: 480 seconds]
leah2 has joined #asahi
delsol has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
reverser has joined #asahi
delroth has joined #asahi
<reverser>
Hi. So, I have looked a bit the perf_event_open syscall and the underlying events. For Apple M1 (and M2), where do I find the raw event types for the Firestorm and Icestorm PMUs? Also, can we really only access cycle count and number of instructions via Asahi Linux so far?
<reverser>
I would be interested if other performance counts (such as L1D cache misses and such) would be available as well.
cyrinux has quit []
cyrinux has joined #asahi
<maz>
you can access all events if you specify the raw number.
<maz>
some additional named events have been added in 3cce331ee2a4cc99328757a9bd297ad9a39609e8
<maz>
which is in 6.11.
reverser has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
delsol has quit [Remote host closed the connection]
ddxtanx has quit [Quit: Konversation terminated!]
ddxtanx has joined #asahi
reverser has joined #asahi
reverser has quit [Ping timeout: 480 seconds]
Halian has joined #asahi
reverser has joined #asahi
delsol has joined #asahi
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
eburk has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
reverser has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
Moprius has quit []
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
Brainium has joined #asahi
reverser has joined #asahi
Sebastian2 has joined #asahi
Sebastian2 has quit [Quit: Sebastian2]
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
delsol has quit [Ping timeout: 480 seconds]
sand4rt has joined #asahi
Yachtie has joined #asahi
reverser has quit [Quit: leaving]
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
delsol has joined #asahi
ipatch has quit [Quit: WeeChat 4.4.2]
ipatch has joined #asahi
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi
kaazoo has joined #asahi
hightower2 has joined #asahi
sand4rt has quit [Ping timeout: 480 seconds]
VinDuv has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
VinDuv has joined #asahi
sand4rt has joined #asahi
delsol has quit [Remote host closed the connection]
Sebastian2 has joined #asahi
Sebastian2 has quit []
Yachtie has quit [Ping timeout: 480 seconds]
kaazoo has quit [Quit: Leaving.]
pb17 has quit [Ping timeout: 480 seconds]
___nick___ has quit [Remote host closed the connection]
pb17 has joined #asahi
delsol has joined #asahi
kaazoo has joined #asahi
Yachtie has joined #asahi
Yachtie has quit [Ping timeout: 480 seconds]
Yachtie has joined #asahi
eburk has joined #asahi
kaazoo has quit [Quit: Leaving.]
Brainium has quit [Quit: Konversation terminated!]
mille has quit [Quit: Ping timeout (120 seconds)]
mille has joined #asahi
Juest is now known as Guest7355
Juest has joined #asahi
Guest7355 has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
sand4rt has quit [Ping timeout: 480 seconds]
mille has quit [Quit: Ping timeout (120 seconds)]
delsol has quit [Remote host closed the connection]
john-cabaj has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
Calandracas has quit [Ping timeout: 480 seconds]
eburk has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
Brainium has quit [Ping timeout: 480 seconds]
Extern has joined #asahi
ten1572377432463050661821503 has quit [Remote host closed the connection]
ten1572377432463050661821503 has joined #asahi
Extern has quit []
ddxtanx has quit [Remote host closed the connection]
eburk has joined #asahi
eburk has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]