marcan 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
danb91 has quit [Remote host closed the connection]
Tokamak has joined #asahi-gpu
danb91 has joined #asahi-gpu
danb91 has quit [Ping timeout: 265 seconds]
danb91 has joined #asahi-gpu
danb91 has quit [Ping timeout: 240 seconds]
Tokamak has quit [Read error: Connection reset by peer]
Tokamak has joined #asahi-gpu
<bloom> never_released: btw, happy to be cc'd alyssa@rosenzweig.io for LKML stuff :)
Tokamak has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi-gpu
danb91 has joined #asahi-gpu
Gaelan has joined #asahi-gpu
danb91 has quit [Ping timeout: 264 seconds]
danb91 has joined #asahi-gpu
danb91 has quit [Ping timeout: 260 seconds]
danb91 has joined #asahi-gpu
danb91 has quit [Ping timeout: 265 seconds]
<davidrysk[m]> never_released: how much can you overclock it before it starts to throttle?
<davidrysk[m]> (I hope they have proper hardware limits :) )
<bloom> davidrysk[m]: Hardware limits? on Apple Silicon?
<davidrysk[m]> yes, e.g. shut off if the temperature is too high
<bloom> Speaking of, I still have no idea how to get GPU fault info on macOS.
<bloom> On linux everything just gets spammed to dmesg...
<davidrysk[m]> oh
<davidrysk[m]> start streaming in console
<davidrysk[m]> you'll get a fuckton of log spew
<bloom> I tried that, didn't see relevant but maybe it was lost in the fuckton.
<davidrysk[m]> is there anything I can/should try?
<bloom> GPU faults are easy to cause if you want to go digging :p
<bloom> first of all, get the demo built
<bloom> https://github.com/AsahiLinux/gpu `make demo-bin` should Just Work, but it depends on X11, so either install Xquartz or patch that out (in which case it'll just render to a file)
<davidrysk[m]> oh right I need the official xquartz for arm
<bloom> alpha5 should work
<davidrysk[m]> I have xquartz for rosetta + arm version installed via macportgs
<davidrysk[m]> macports*
<bloom> after that, easiest way to trigger a fault would be taking some pointer on https://github.com/AsahiLinux/gpu/blob/main/demo/demo.c and totally messing with it
<bloom> e.g changingthe last arg of a make_ptr40 call to 0xDEADBEEF00 or something
<davidrysk[m]> oh do you need entitlements disabled for this to work?
<bloom> not that I know of
<bloom> I don't know what entitlements are though
<davidrysk[m]> Assertion failed: (d != NULL), function slowfb_init, file demo/slowfb.c, line 36.
<davidrysk[m]> entitlements are a security mechanism that Apple uses to gate access to different things
<bloom> that assertion is it failed to open the x11 display, I don't know xquartz enough to help debug.
<davidrysk[m]> oh wait
<davidrysk[m]> yeah helps if I start x
<davidrysk[m]> :)
<bloom> :>
<bloom> demo work?
<davidrysk[m]> yep
<bloom> 🎉
<davidrysk[m]> after adding the bad make_ptr40 I see things like
<davidrysk[m]> > fault21:36:27.804306-0500kerneltrying to get apparently bogus texture handle 0
<bloom> oh, interesting, I missed that then
<davidrysk[m]> these are kernel (IOGPUFamily) messages
<bloom> the fact the kernel knows about texture handles is horrifying
<bloom> chrisf: ^^
<davidrysk[m]> (I put gpu in the filter box)
<davidrysk[m]> and yeah Apple basically went to a journald style logger
<bloom> (🎉 was because I was nervous I messed up the push, good to have a sanity check that it builds on anyone else's machine hah)
<modwizcode> woo
<davidrysk[m]> bloom: can you check if putting gpu in the filter box for the streaming log gives you the output?
<davidrysk[m]> I see a lot of things about gpu restart
<bloom> maybe this weekend :)
<davidrysk[m]> marked "volatile fault"
<bloom> that does sound interesting yes
<davidrysk[m]> fault21:36:27.798856-0500kernelvoid IOGPUScheduler::hardware_error_interrupt(IOInterruptEventSource *, int): GPURestartBegin stampIdx=85 type=1
<bloom> i've been neglecting { school, work, myself } a little bit, will be taking a bit of time off from asahi to recuperate
<davidrysk[m]> :(
<bloom> nah, life comes in waves
<bloom> :)
<bloom> when i get obsessed with something i get OBSESSED
<bloom> good news is that all of my code should be pushed now so we can do a proper upstream thing
<davidrysk[m]> there's so much log spew
<davidrysk[m]> (just in general)
<davidrysk[m]> btw it should be possible to get the framebuffer through IOMobileFramebuffer's private APIs but Apple has made that much more difficult than it used to be
<davidrysk[m]> before iOS 9, people regularly used it to record the screen
<davidrysk[m]> It was abused for a bunch of jailbreaks though
<bloom> as stated, I expect the framebuffer to be tiled/compressed
<davidrysk[m]> yes
<davidrysk[m]> bloom: your makefiles aren't quite right -- can I fix them?
<bloom> yes, but see PR
<davidrysk[m]> ah that's mostly what I meant to do :)
<davidrysk[m]> yeah I'd say merge that and do the same for the demo
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi-gpu
<davidrysk[m]> anything else to poke at before I leave for the night?
<davidrysk[m]> ha I changed demo_unk10[15] to 0x00 and now I get a single solid color
<davidrysk[m]> yeah no triangle
<davidrysk[m]> wonder what these buffers do
<davidrysk[m]> bloom: would it make sense to do testing with compute kernels too?
danb91 has joined #asahi-gpu
danb91 has quit [Ping timeout: 256 seconds]
Necrosporus_ has joined #asahi-gpu
Necrosporus is now known as Guest10337
Guest10337 has quit [Read error: Connection reset by peer]
danb91 has joined #asahi-gpu
Wype has joined #asahi-gpu
danb91 has quit [Remote host closed the connection]
danb91 has joined #asahi-gpu
danb91 has quit [Ping timeout: 246 seconds]
Wype has quit [Quit: Leaving]
danb91 has joined #asahi-gpu
danb91 has quit [Ping timeout: 264 seconds]
Tokamak has quit [Ping timeout: 264 seconds]
browzing_ has joined #asahi-gpu
browzing has quit [Ping timeout: 246 seconds]
randohacker[m] has joined #asahi-gpu
_whitelogger has joined #asahi-gpu
maor26 has joined #asahi-gpu
DanB91 has joined #asahi-gpu
DanB91 has quit [Ping timeout: 256 seconds]
tiagom has joined #asahi-gpu
tiagom has quit [Quit: leaving]
tiagom has joined #asahi-gpu
ohnx has quit [Remote host closed the connection]
ohnx has joined #asahi-gpu
tiagom has quit [Quit: leaving]
tiagom has joined #asahi-gpu
Tokamak has joined #asahi-gpu
ohnx has quit [Read error: Connection reset by peer]
citruscitrus[m] has quit [*.net *.split]
liur[m] has quit [*.net *.split]
hypergenesis[m] has quit [*.net *.split]
jsvcycling[m] has quit [*.net *.split]
thecake21[m] has quit [*.net *.split]
clayfreeman has quit [*.net *.split]
liur[m] has joined #asahi-gpu
jsvcycling[m] has joined #asahi-gpu
clayfreeman has joined #asahi-gpu
thecake21[m] has joined #asahi-gpu
hypergenesis[m] has joined #asahi-gpu
citruscitrus[m] has joined #asahi-gpu
icecream95 has quit [Ping timeout: 246 seconds]
bakk[m] has quit [Ping timeout: 244 seconds]
wolf511[m] has quit [Ping timeout: 244 seconds]
brentr123[m] has quit [Ping timeout: 244 seconds]
ah-[m] has quit [Ping timeout: 244 seconds]
fl35[m] has quit [Ping timeout: 240 seconds]
TellowKrinkle[m] has quit [Ping timeout: 240 seconds]
bjornjulander[m] has quit [Ping timeout: 240 seconds]
skillfulman23[m] has quit [Ping timeout: 240 seconds]
asmon[m] has quit [Ping timeout: 240 seconds]
nhlism[m] has quit [Ping timeout: 240 seconds]
Jamie[m] has quit [Ping timeout: 240 seconds]
crafteck[m] has quit [Ping timeout: 240 seconds]
redbluescreen[m] has quit [Ping timeout: 240 seconds]
svenpeter has quit [Ping timeout: 240 seconds]
fried_dede[m] has quit [Ping timeout: 243 seconds]
reispflanze[m] has quit [Ping timeout: 243 seconds]
jinen[m] has quit [Ping timeout: 243 seconds]
khronokernel[m] has quit [Ping timeout: 243 seconds]
shawnj2[m] has quit [Ping timeout: 243 seconds]
bastilian has quit [Ping timeout: 243 seconds]
hipboi[m] has quit [Ping timeout: 243 seconds]
ConeOfAttack[m] has quit [Ping timeout: 260 seconds]
smist08[m] has quit [Ping timeout: 260 seconds]
mellotron1[m] has quit [Ping timeout: 260 seconds]
tarik02[m] has quit [Ping timeout: 260 seconds]
devinvs[m] has quit [Ping timeout: 260 seconds]
undvasistas[m] has quit [Ping timeout: 260 seconds]
emily has quit [Ping timeout: 243 seconds]
blazra has quit [Ping timeout: 260 seconds]
os[m] has quit [Ping timeout: 246 seconds]
jevinskie[m] has quit [Ping timeout: 246 seconds]
Standemonium[m] has quit [Ping timeout: 246 seconds]
sumoon[m] has quit [Ping timeout: 246 seconds]
ts170[m] has quit [Ping timeout: 246 seconds]
mcnight[m] has quit [Ping timeout: 246 seconds]
flokk[m] has quit [Ping timeout: 246 seconds]
winocm has quit [Ping timeout: 246 seconds]
nutmanja[m] has quit [Ping timeout: 246 seconds]
Akhil[m] has quit [Ping timeout: 246 seconds]
josiahmendes[m] has quit [Ping timeout: 246 seconds]
jrmuizel[m] has quit [Ping timeout: 265 seconds]
ronyrus[m] has quit [Ping timeout: 265 seconds]
mofux[m] has quit [Ping timeout: 265 seconds]
nufflee[m] has quit [Ping timeout: 265 seconds]
Bastian[m] has quit [Ping timeout: 265 seconds]
zzoon has quit [Ping timeout: 265 seconds]
davidrysk[m] has quit [Ping timeout: 260 seconds]
Jasper[m] has quit [Ping timeout: 260 seconds]
randohacker[m] has quit [Ping timeout: 268 seconds]
iparaskev[m] has quit [Ping timeout: 268 seconds]
delroth[m] has quit [Ping timeout: 268 seconds]
xerpi[m] has quit [Ping timeout: 268 seconds]
enverb[m] has quit [Ping timeout: 268 seconds]
bylaws has quit [Ping timeout: 268 seconds]
_alice has quit [Ping timeout: 268 seconds]
konradybcio has quit [Ping timeout: 265 seconds]
citruscitrus[m] has quit [Ping timeout: 258 seconds]
hypergenesis[m] has quit [Ping timeout: 258 seconds]
liur[m] has quit [Ping timeout: 258 seconds]
thecake21[m] has quit [Ping timeout: 258 seconds]
jsvcycling[m] has quit [Ping timeout: 258 seconds]
stemnic has quit [Quit: The Lounge - https://thelounge.chat]
jrmuizel[m] has joined #asahi-gpu
zzoon has joined #asahi-gpu
ronyrus[m] has joined #asahi-gpu
Bastian[m] has joined #asahi-gpu
konradybcio has joined #asahi-gpu
mofux[m] has joined #asahi-gpu
nufflee[m] has joined #asahi-gpu
wolf511[m] has joined #asahi-gpu
brentr123[m] has joined #asahi-gpu
ah-[m] has joined #asahi-gpu
bakk[m] has joined #asahi-gpu
emily has joined #asahi-gpu
nhlism[m] has joined #asahi-gpu
svenpeter has joined #asahi-gpu
crafteck[m] has joined #asahi-gpu
skillfulman23[m] has joined #asahi-gpu
asmon[m] has joined #asahi-gpu
TellowKrinkle[m] has joined #asahi-gpu
redbluescreen[m] has joined #asahi-gpu
bylaws has joined #asahi-gpu
bjornjulander[m] has joined #asahi-gpu
fl35[m] has joined #asahi-gpu
Jamie[m] has joined #asahi-gpu
enverb[m] has joined #asahi-gpu
iparaskev[m] has joined #asahi-gpu
delroth[m] has joined #asahi-gpu
xerpi[m] has joined #asahi-gpu
_alice has joined #asahi-gpu
randohacker[m] has joined #asahi-gpu
bastilian has joined #asahi-gpu
Jasper[m] has joined #asahi-gpu
TellowKrinkle[m] has quit [Ping timeout: 246 seconds]
zzoon has quit [Ping timeout: 246 seconds]
crafteck[m] has quit [Ping timeout: 241 seconds]
asmon[m] has quit [Ping timeout: 241 seconds]
jrmuizel[m] has quit [Ping timeout: 241 seconds]
nhlism[m] has quit [Ping timeout: 240 seconds]
svenpeter has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 240 seconds]
nufflee[m] has quit [Ping timeout: 240 seconds]
ronyrus[m] has quit [Ping timeout: 258 seconds]
konradybcio has quit [Ping timeout: 258 seconds]
Bastian[m] has quit [Ping timeout: 268 seconds]
randohacker[m] has quit [Ping timeout: 265 seconds]
mofux[m] has quit [Ping timeout: 265 seconds]
Jasper[m] has quit [Ping timeout: 260 seconds]
skillfulman23[m] has quit [Ping timeout: 260 seconds]
delroth[m] has quit [Ping timeout: 240 seconds]
wolf511[m] has quit [Ping timeout: 240 seconds]
_alice has quit [Ping timeout: 240 seconds]
fl35[m] has quit [Ping timeout: 240 seconds]
redbluescreen[m] has quit [Ping timeout: 240 seconds]
brentr123[m] has quit [Ping timeout: 240 seconds]
ah-[m] has quit [Ping timeout: 240 seconds]
enverb[m] has quit [Ping timeout: 258 seconds]
xerpi[m] has quit [Ping timeout: 258 seconds]
bylaws has quit [Ping timeout: 258 seconds]
bastilian has quit [Ping timeout: 265 seconds]
bjornjulander[m] has quit [Ping timeout: 265 seconds]
Jamie[m] has quit [Ping timeout: 260 seconds]
iparaskev[m] has quit [Ping timeout: 260 seconds]
bakk[m] has quit [Ping timeout: 268 seconds]
josiahmendes[m] has joined #asahi-gpu
ryanhrob[m] has joined #asahi-gpu
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shawnj2[m] has joined #asahi-gpu
ts170[m] has joined #asahi-gpu
fl35[m] has joined #asahi-gpu
jrmuizel[m] has joined #asahi-gpu
nutmanja[m] has joined #asahi-gpu
_alice has joined #asahi-gpu
wolf511[m] has joined #asahi-gpu
nhlism[m] has joined #asahi-gpu
Jasper[m] has joined #asahi-gpu
hypergenesis[m] has joined #asahi-gpu
fried_dede[m] has joined #asahi-gpu
iparaskev[m] has joined #asahi-gpu
enverb[m] has joined #asahi-gpu
liur[m] has joined #asahi-gpu
khronokernel[m] has joined #asahi-gpu
jinen[m] has joined #asahi-gpu
blazra has joined #asahi-gpu
bakk[m] has joined #asahi-gpu
undvasistas[m] has joined #asahi-gpu
sumoon[m] has joined #asahi-gpu
randohacker[m] has joined #asahi-gpu
tarik02[m] has joined #asahi-gpu
asmon[m] has joined #asahi-gpu
mofux[m] has joined #asahi-gpu
thecake21[m] has joined #asahi-gpu
redbluescreen[m] has joined #asahi-gpu
crafteck[m] has joined #asahi-gpu
citruscitrus[m] has joined #asahi-gpu
ronyrus[m] has joined #asahi-gpu
devinvs[m] has joined #asahi-gpu
smist08[m] has joined #asahi-gpu
xerpi[m] has joined #asahi-gpu
Bastian[m]1 has joined #asahi-gpu
jsvcycling[m] has joined #asahi-gpu
os[m] has joined #asahi-gpu
delroth[m] has joined #asahi-gpu
icecream95 has joined #asahi-gpu
emily has joined #asahi-gpu
jevinskie[m] has joined #asahi-gpu
nufflee[m] has joined #asahi-gpu
Jamie[m] has joined #asahi-gpu
ConeOfAttack[m] has joined #asahi-gpu
konradybcio has joined #asahi-gpu
bjornjulander[m] has joined #asahi-gpu
bylaws has joined #asahi-gpu
winocm has joined #asahi-gpu
brentr123[m] has joined #asahi-gpu
TellowKrinkle[m] has joined #asahi-gpu
davidrysk[m] has joined #asahi-gpu
bastilian has joined #asahi-gpu
flokk[m] has joined #asahi-gpu
Akhil[m] has joined #asahi-gpu
skillfulman23[m] has joined #asahi-gpu
svenpeter has joined #asahi-gpu
mellotron1[m] has joined #asahi-gpu
reispflanze[m] has joined #asahi-gpu
Standemonium[m] has joined #asahi-gpu
ah-[m] has joined #asahi-gpu
mcnight[m] has joined #asahi-gpu
hipboi[m] has joined #asahi-gpu
zzoon has joined #asahi-gpu
<never_released> bloom: once we start doing GPU stuff or even before that?
<xerpi[m]> Do we know if the display engine supports scanout of tiled/compressed framebuffers (which I would guess it does), or is there a de-tiling/de-compressing job on the swapchain before presenting?
DanB91 has joined #asahi-gpu
Bastian[m]1 is now known as Bastian[m]
<bloom> danilonc: Compute would have made more sense (and I have notes on it), but graphics was a lot splashier
<bloom> never_released: Even now, I review a lot of code :)
DanB91 has quit [Ping timeout: 272 seconds]
<bloom> hthh_: heard you're doing ISA stuff now, the nerdsniping worked! ;P
<hthh_> heh, it did rather - so many good mysteries (and just things to learn about how gpus work)
_whitelogger has joined #asahi-gpu
<bloom> hthh_: your first one's always memorable :>
Tokamak has joined #asahi-gpu
maor26 has quit [Remote host closed the connection]
maor26 has joined #asahi-gpu
DanB91 has joined #asahi-gpu
DanB91 has quit [Ping timeout: 260 seconds]
DanB91 has joined #asahi-gpu
DanB91 has quit [Ping timeout: 246 seconds]
DanB91 has joined #asahi-gpu
Tokamak has quit [Ping timeout: 260 seconds]
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-gpu
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-gpu
DanB91 has quit [Ping timeout: 260 seconds]
DanB91 has joined #asahi-gpu
maor26 has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi-gpu
DanB91 has quit [Remote host closed the connection]
tiagom has quit [Quit: leaving]
DanB91 has joined #asahi-gpu