ChanServ changed the topic of #asahi-gpu to: Asahi Linux: porting Linux to Apple Silicon macs | GPU / 3D graphics stack black-box RE and development (NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
lgarylmtdlt^ has joined #asahi-gpu
phiologe has joined #asahi-gpu
PhilippvK has quit [Ping timeout: 480 seconds]
lgarylmtdlt^ has quit [Remote host closed the connection]
pyropeter2 has joined #asahi-gpu
pyropeter1 has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
<jannau> lina: can I assume that reset_panic_counter.py should be MIT licensed? I added support for m1 pro/max/ultra
duckworld has quit [Ping timeout: 480 seconds]
duckworld has joined #asahi-gpu
MajorBiscuit has joined #asahi-gpu
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-gpu
MajorBiscuit has quit [Ping timeout: 480 seconds]
<lina> jannau: Yes, of course. I just did that one in a rush during the stream since I was tired of that screen popping up, and I forgot to copy and paste the header... ^^;
<lina> yuni: You should post it with the tag!!
<lina> jannau: I think if the commit is signed off, any files missing the header are assumed to be MIT (and anyone else can fix that), assuming the author didn't mess up and copy and paste code or something like that.
Gaspare has joined #asahi-gpu
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-gpu
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-gpu
<yuni> Also if any Lina Memoji images are making the rounds, that totally wasn't me
Gaspare has quit [Quit: Gaspare]
Tramtrist has left #asahi-gpu [#asahi-gpu]
<yuni> So I may be guilty of some X11/OpenGL horrors.
<yuni> But now I can trace apps that only run on Linux and replay them against the Mesa driver on macOS
<yuni> Turns out this driver is super broken
<yuni> Apparently Alyssa did a really bad job. Ugh. And now it looks like Lina and I will be cleaning up the mess.
<yuni> I realize it's open source, so beggers can't be choosers. But I'm still annoyed.
<yuni> Even simple games like Neverball are rendering wrong.
jannau has quit [Remote host closed the connection]
jannau has joined #asahi-gpu
asie has quit [Ping timeout: 480 seconds]
Nspace has quit [Ping timeout: 480 seconds]
jix has quit [Ping timeout: 480 seconds]
Nspace has joined #asahi-gpu
jix has joined #asahi-gpu
asie has joined #asahi-gpu
alyssa has joined #asahi-gpu
<alyssa> yuni: pretty rude tbh
<yuni> alyssa: Look, Lina spent all day streaming GPU work. Where were you?
<alyssa> i watched some of the stream!
<alyssa> but those streams start at like 3am...
<yuni> You could still catch the recordings...
<mattebullet[m]> yuni: Can’t you behave a little bit more positively? I think you are being very rude. This attitude never brings good things.
<arrowhead10[m]> Lmao so much drama
<arrowhead10[m]> It’s an open source gpu driver guys chill
alyssa has quit [Quit: Lost terminal]
alyssa has joined #asahi-gpu
<alyssa> matthewayers[m]: *thank* you
<yuni> arrowhead10[m]: Drivers are serious business~
<arrowhead10[m]> The business can happen w/o the drama
<alyssa> this guy gets it ^_^
* yuni sighs
<yuni> alyssa: I'm sorry for being rude. Your driver is... alright.
<yuni> There's a lot of pressure on Lina to get the GPU working and the stress is rubbing off on me. But I shouldn't have taken that out on you.
<alyssa> eh, fair enough C:
<alyssa> So.. the traces?
<yuni> Yeah, apitrace.
<yuni> It builds on macOS out of the box, but only for CGL, which your driver doesn't support for... some reason.... v:
<alyssa> there are good reasons for that :p
<yuni> Anyway, since your driver wants OpenGL to go through GLX instead, for an XQuartz (X11) window, I need GLX support in apitrace.
<yuni> Apitrace _does_ support GLX, but only *nix systems.
<yuni> There's effectively an "#ifndef __APPLE__" around the GLX code.
<alyssa> gotcha
<alyssa> I recall needing some shenanignans to get glmark2 running in macOS with Mesa, so I'm... disappointed but not surprised
<yuni> That's one way to put it!
<yuni> With a really gross patch, I made apitrace mostly build for macOS with GLX.
<yuni> The EGL support doesn't build but that's probably fine.
<yuni> The GLX support is enough to test traces. And then discover how broken your code is.
<alyssa> look I work on this for a couple days a month, what do you expect here :-p
<yuni> Right...
<alyssa> uhm, if you send me the apitrace patch I can take a look?
<alyssa> no promises, but it might be nice to get Neverball working
<yuni> And Inochi2D, I hope ;-)
<alyssa> sure. that's your department, though :-p
<yuni> alyssa: Sent the patch.
<alyssa> thanks ^^
<jonaburg[m]> <alyssa> "look I work on this for a couple..." <- can we donate for you to work on it a couple days a month + 1? ☺️
<alyssa> jonaburg[m]: I work full-time, money isn't the issue, time is :-)
<alyssa> and IMHO panfrost matters more to FOSS than asahi-gpu
<alyssa> at least right now
<jonaburg[m]> im sure you even work + 50 per week but it was just wishful thinking 😁
<jonaburg[m]> im not knowledgable on anything relating to the scope of your work tbh; what will panfrost do for foss?
<alyssa> There are a *lot* of machines (chips from Rockchip, MediaTek, Amlogic in particular) that have excellent upstream support for everything but the GPU, but for some unknowable reason, only support the proprietary Arm blob for the GPU that has never worked right on Linux and needs a downstream kernel
<alyssa> Panfrost is the "last kilometer" for fully FOSS and upstream on these machines, so to speak.
<alyssa> (Piles of single-board computers and Chromebooks, and to a lesser extent, phones and tablets supported in postmarketOS)
<alyssa> The Arm Linux market, in other words.
<alyssa> By contrast, there's not really an Apple Silicon Linux market except for the one we create.
<Sobek[m]> Who's yuni exactly ?
<yuni> Sobek[m]: I'm Lina's grumpy older sister.
<alyssa> It's not as simple as the "Google good, Apple bad" rhetoric you might hear on certain FOSS news site's comments sections.
<alyssa> Nor the "Apple good, Google bad" rhetoric you might hear on certain fruit fanboy sites.
<alyssa> But largely, panfrost (and freedreno and v3d) makes sure FOSS graphics are accessible on low and mid range chips.
<alyssa> which is... sort of, the moral priority for me?
<alyssa> Asahi's niche is getting FOSS on high end Arm. I've had the M1 Mini for a year and a half now, and I'm still blown away by its performance (under both Linux and macOS)
<alyssa> For various reasons (large R&D budget and TSMC's 5nm manufacturing process among them), the M1 is in a class of its own.
<alyssa> Would-be Linux users will buy the M1 for its specs alone ... all of a sudden, the excellent hardware has become macOS's "killer feature"
<alyssa> (Quite a turnaround from the days when people bought MacBooks because they needed macOS despite poor hardware specs!)
<alyssa> So there's a need there to provide a competent Linux stack.
<sven> yup, the only reason I bought these machines for was to put Linux in them :D
<alyssa> sven: :-)
<alyssa> In that sense, I care about getting both Panfrost and Asahi working well.
<alyssa> And see them as mostly orthogonal, realistically there's little overlap of the userbases.
<Sobek[m]> <yuni> "Sobek: I'm Lina's grumpy older..." <- Aside from being grumpy, how do you contribute to the project ? (being grumpy at lina and alyssa is trying to make them progress, but management by the stick is not the best options)
<alyssa> But hopefully this sheds light on why my priority is Panfrost, y'know, the thing I get paid to do :-p
<Sobek[m]> How do you manage a full time job and uni ? Are you officially part time in uni or are you theoretically supposed to attend a full-time load of class ^^' ?
<alyssa> Sobek[m]: Full time over the summer, part time during the school year
<Sobek[m]> (Can some of the work you do on FOSS count for credits too every now and then ?)
<alyssa> I wish V:
<alyssa> In hindsight university was maybe not the greatest idea I've ever had
<alyssa> but that's a different soapbox :-p
<sven> hrm, I probably would’ve been able to count work like this as a bsc or msc thesis fwiw
<ar> sven: the problem is that, at least around here, the uni would claim copyright on such work and there's a risk they wouldn't let you opensource it at all
<dottedmag> alyssa: Well, I remember getting quite a bit of credits "for free" in uni (comp sci bsc/msc) for my SW work outside of uni. TBH it was 2004, and in a obscure uni anyway.
<ar> let alone even starting with it OS
<Sobek[m]> (I think there was a OS Practicum class at CMU which was pretty much a "do a serious OS project for credit, with regular meeting with the excellent OS faculty (a full *teaching* prof)", I think you could have leveraged that class to get a course worth of unit. But not sure if such a thing exist in your Uni.
<sven> ar: depends on the uni, during my PhD I was expected to release any code as open source
<alyssa> look, if you get me the signoffs from the school.. ;-p
<dottedmag> so, might be worth asking
<Sobek[m]> (The one person I knew took that class was my incredible OS TA who was hiring to work on the fruit company's libc on the last day of the OS class on his last semester before starting there)
<yuni> Sobek[m]: I mean, just yesterday I did the apitrace port https://gitlab.freedesktop.org/asahi/apitrace
<Sobek[m]> Nicely done !
<yuni> Obviously I don't do as much as Lina, though :-)
<yuni> I'm a student, and unlike her, I actually care about doing well in my classes #_#
<yuni> And make sure Lina doesn't get evicted for failing to pay rent because she blew her funding on an M1 Ultra, which would be bad for the project. Does that count? :-p
MajorBiscuit has joined #asahi-gpu
MajorBiscuit has quit [Quit: WeeChat 3.4]
MajorBiscuit has joined #asahi-gpu
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi-gpu
jakebot has quit [Quit: The Lounge - https://thelounge.chat]
jakebot has joined #asahi-gpu
Major_Biscuit has joined #asahi-gpu
MajorBiscuit has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit []
merry_ is now known as merry
<boulabiar[m]> <alyssa> "and IMHO panfrost matters more..." <- You can buy Android boxes for 50$ having those GPUs. Having a well supported Linux is a game changer for new uses like deep learning models accelerated by vulkan on them for nothing.
<boulabiar[m]> Still, other devices may be not usable or stable like Bluetooth and wifi...