#
…

2021-01-23

00:06danb91 has quit [Remote host closed the connection]
00:19Tokamak has joined #asahi-gpu
00:26danb91 has joined #asahi-gpu
00:31danb91 has quit [Ping timeout: 265 seconds]
00:38danb91 has joined #asahi-gpu
00:42danb91 has quit [Ping timeout: 240 seconds]
00:46Tokamak has quit [Read error: Connection reset by peer]
00:47Tokamak has joined #asahi-gpu
01:01bloomnever_released: btw, happy to be cc'd alyssa@rosenzweig.io for LKML stuff :)
01:09Tokamak has quit [Ping timeout: 240 seconds]
01:10Tokamak has joined #asahi-gpu
01:18danb91 has joined #asahi-gpu
01:18Gaelan has joined #asahi-gpu
01:23danb91 has quit [Ping timeout: 264 seconds]
01:49danb91 has joined #asahi-gpu
01:54danb91 has quit [Ping timeout: 260 seconds]
02:20danb91 has joined #asahi-gpu
02:24danb91 has quit [Ping timeout: 265 seconds]
02:27davidrysk[m]never_released: how much can you overclock it before it starts to throttle?
02:27davidrysk[m](I hope they have proper hardware limits :) )
02:30bloomdavidrysk[m]: Hardware limits? on Apple Silicon?
02:30davidrysk[m]yes, e.g. shut off if the temperature is too high
02:30bloomSpeaking of, I still have no idea how to get GPU fault info on macOS.
02:30bloomOn linux everything just gets spammed to dmesg...
02:30davidrysk[m]start streaming in console
02:30davidrysk[m]you'll get a fuckton of log spew
02:31bloomI tried that, didn't see relevant but maybe it was lost in the fuckton.
02:31davidrysk[m]is there anything I can/should try?
02:31bloomGPU faults are easy to cause if you want to go digging :p
02:31bloomfirst of all, get the demo built
02:32bloomhttps://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)
02:32davidrysk[m]oh right I need the official xquartz for arm
02:32bloomalpha5 should work
02:33davidrysk[m]I have xquartz for rosetta + arm version installed via macportgs
02:33bloomafter 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
02:33bloome.g changingthe last arg of a make_ptr40 call to 0xDEADBEEF00 or something
02:33davidrysk[m]oh do you need entitlements disabled for this to work?
02:33bloomnot that I know of
02:34bloomI don't know what entitlements are though
02:34davidrysk[m]Assertion failed: (d != NULL), function slowfb_init, file demo/slowfb.c, line 36.
02:34davidrysk[m]entitlements are a security mechanism that Apple uses to gate access to different things
02:34bloomthat assertion is it failed to open the x11 display, I don't know xquartz enough to help debug.
02:35davidrysk[m]yeah helps if I start x
02:36bloomdemo work?
02:36davidrysk[m]after adding the bad make_ptr40 I see things like
02:36davidrysk[m]> fault 21:36:27.804306-0500 kernel trying to get apparently bogus texture handle 0
02:37bloomoh, interesting, I missed that then
02:37davidrysk[m]these are kernel (IOGPUFamily) messages
02:37bloomthe fact the kernel knows about texture handles is horrifying
02:37bloomchrisf: ^^
02:37davidrysk[m](I put gpu in the filter box)
02:37davidrysk[m]and yeah Apple basically went to a journald style logger
02:39bloom(🎉 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)
02:40davidrysk[m]bloom: can you check if putting gpu in the filter box for the streaming log gives you the output?
02:40davidrysk[m]I see a lot of things about gpu restart
02:41bloommaybe this weekend :)
02:41davidrysk[m]marked "volatile fault"
02:41bloomthat does sound interesting yes
02:41davidrysk[m]fault 21:36:27.798856-0500 kernel void IOGPUScheduler::hardware_error_interrupt(IOInterruptEventSource *, int): GPURestartBegin stampIdx=85 type=1
02:41bloomi've been neglecting { school, work, myself } a little bit, will be taking a bit of time off from asahi to recuperate
02:42bloomnah, life comes in waves
02:42bloomwhen i get obsessed with something i get OBSESSED
02:44bloomgood news is that all of my code should be pushed now so we can do a proper upstream thing
02:45davidrysk[m]there's so much log spew
02:45davidrysk[m](just in general)
02:46davidrysk[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
02:46davidrysk[m]before iOS 9, people regularly used it to record the screen
02:46davidrysk[m]It was abused for a bunch of jailbreaks though
02:47bloomas stated, I expect the framebuffer to be tiled/compressed
02:56davidrysk[m]bloom: your makefiles aren't quite right -- can I fix them?
02:56bloomyes, but see PR
02:57davidrysk[m]ah that's mostly what I meant to do :)
02:58davidrysk[m]yeah I'd say merge that and do the same for the demo
03:00DragoonAethis has quit [Quit: hej-hej!]
03:01DragoonAethis has joined #asahi-gpu
03:02davidrysk[m]anything else to poke at before I leave for the night?
03:03davidrysk[m]ha I changed demo_unk10[15] to 0x00 and now I get a single solid color
03:04davidrysk[m]yeah no triangle
03:04davidrysk[m]wonder what these buffers do
03:12davidrysk[m]bloom: would it make sense to do testing with compute kernels too?
03:31danb91 has joined #asahi-gpu
03:36danb91 has quit [Ping timeout: 256 seconds]
03:51Necrosporus_ has joined #asahi-gpu
03:51Necrosporus is now known as Guest10337
03:51Guest10337 has quit [Read error: Connection reset by peer]
03:59danb91 has joined #asahi-gpu
04:20Wype has joined #asahi-gpu
04:30danb91 has quit [Remote host closed the connection]
04:31danb91 has joined #asahi-gpu
04:35danb91 has quit [Ping timeout: 246 seconds]
04:36Wype has quit [Quit: Leaving]
05:02danb91 has joined #asahi-gpu
05:07danb91 has quit [Ping timeout: 264 seconds]
05:58Tokamak has quit [Ping timeout: 264 seconds]
06:12browzing_ has joined #asahi-gpu
06:14browzing has quit [Ping timeout: 246 seconds]
06:46randohacker[m] has joined #asahi-gpu
07:00_whitelogger has joined #asahi-gpu
07:05maor26 has joined #asahi-gpu
07:12DanB91 has joined #asahi-gpu
07:16DanB91 has quit [Ping timeout: 256 seconds]
07:28tiagom has joined #asahi-gpu
07:38tiagom has quit [Quit: leaving]
07:40tiagom has joined #asahi-gpu
07:44ohnx has quit [Remote host closed the connection]
07:45ohnx has joined #asahi-gpu
07:52tiagom has quit [Quit: leaving]
07:52tiagom has joined #asahi-gpu
07:55Tokamak has joined #asahi-gpu
08:52ohnx has quit [Read error: Connection reset by peer]
09:04citruscitrus[m] has quit [*.net *.split]
09:04liur[m] has quit [*.net *.split]
09:04hypergenesis[m] has quit [*.net *.split]
09:04jsvcycling[m] has quit [*.net *.split]
09:04thecake21[m] has quit [*.net *.split]
09:04clayfreeman has quit [*.net *.split]
09:06liur[m] has joined #asahi-gpu
09:06jsvcycling[m] has joined #asahi-gpu
09:06clayfreeman has joined #asahi-gpu
09:06thecake21[m] has joined #asahi-gpu
09:06hypergenesis[m] has joined #asahi-gpu
09:06citruscitrus[m] has joined #asahi-gpu
09:09icecream95 has quit [Ping timeout: 246 seconds]
09:09bakk[m] has quit [Ping timeout: 244 seconds]
09:09wolf511[m] has quit [Ping timeout: 244 seconds]
09:09brentr123[m] has quit [Ping timeout: 244 seconds]
09:09ah-[m] has quit [Ping timeout: 244 seconds]
09:10fl35[m] has quit [Ping timeout: 240 seconds]
09:10TellowKrinkle[m] has quit [Ping timeout: 240 seconds]
09:10bjornjulander[m] has quit [Ping timeout: 240 seconds]
09:10skillfulman23[m] has quit [Ping timeout: 240 seconds]
09:10asmon[m] has quit [Ping timeout: 240 seconds]
09:10nhlism[m] has quit [Ping timeout: 240 seconds]
09:10Jamie[m] has quit [Ping timeout: 240 seconds]
09:10crafteck[m] has quit [Ping timeout: 240 seconds]
09:10redbluescreen[m] has quit [Ping timeout: 240 seconds]
09:10svenpeter has quit [Ping timeout: 240 seconds]
09:10fried_dede[m] has quit [Ping timeout: 243 seconds]
09:10reispflanze[m] has quit [Ping timeout: 243 seconds]
09:10jinen[m] has quit [Ping timeout: 243 seconds]
09:10khronokernel[m] has quit [Ping timeout: 243 seconds]
09:10shawnj2[m] has quit [Ping timeout: 243 seconds]
09:10bastilian has quit [Ping timeout: 243 seconds]
09:10hipboi[m] has quit [Ping timeout: 243 seconds]
09:10ConeOfAttack[m] has quit [Ping timeout: 260 seconds]
09:10smist08[m] has quit [Ping timeout: 260 seconds]
09:10mellotron1[m] has quit [Ping timeout: 260 seconds]
09:10tarik02[m] has quit [Ping timeout: 260 seconds]
09:10devinvs[m] has quit [Ping timeout: 260 seconds]
09:10undvasistas[m] has quit [Ping timeout: 260 seconds]
09:10emily has quit [Ping timeout: 243 seconds]
09:10blazra has quit [Ping timeout: 260 seconds]
09:10os[m] has quit [Ping timeout: 246 seconds]
09:10jevinskie[m] has quit [Ping timeout: 246 seconds]
09:10Standemonium[m] has quit [Ping timeout: 246 seconds]
09:10sumoon[m] has quit [Ping timeout: 246 seconds]
09:10ts170[m] has quit [Ping timeout: 246 seconds]
09:10mcnight[m] has quit [Ping timeout: 246 seconds]
09:10flokk[m] has quit [Ping timeout: 246 seconds]
09:10winocm has quit [Ping timeout: 246 seconds]
09:10nutmanja[m] has quit [Ping timeout: 246 seconds]
09:10Akhil[m] has quit [Ping timeout: 246 seconds]
09:10josiahmendes[m] has quit [Ping timeout: 246 seconds]
09:10jrmuizel[m] has quit [Ping timeout: 265 seconds]
09:10ronyrus[m] has quit [Ping timeout: 265 seconds]
09:10mofux[m] has quit [Ping timeout: 265 seconds]
09:10nufflee[m] has quit [Ping timeout: 265 seconds]
09:10Bastian[m] has quit [Ping timeout: 265 seconds]
09:10zzoon has quit [Ping timeout: 265 seconds]
09:10davidrysk[m] has quit [Ping timeout: 260 seconds]
09:10Jasper[m] has quit [Ping timeout: 260 seconds]
09:10randohacker[m] has quit [Ping timeout: 268 seconds]
09:10iparaskev[m] has quit [Ping timeout: 268 seconds]
09:10delroth[m] has quit [Ping timeout: 268 seconds]
09:10xerpi[m] has quit [Ping timeout: 268 seconds]
09:10enverb[m] has quit [Ping timeout: 268 seconds]
09:10bylaws has quit [Ping timeout: 268 seconds]
09:10_alice has quit [Ping timeout: 268 seconds]
09:10konradybcio has quit [Ping timeout: 265 seconds]
09:13citruscitrus[m] has quit [Ping timeout: 258 seconds]
09:13hypergenesis[m] has quit [Ping timeout: 258 seconds]
09:13liur[m] has quit [Ping timeout: 258 seconds]
09:13thecake21[m] has quit [Ping timeout: 258 seconds]
09:14jsvcycling[m] has quit [Ping timeout: 258 seconds]
09:21stemnic has quit [Quit: The Lounge - https://thelounge.chat]
09:38jrmuizel[m] has joined #asahi-gpu
09:38zzoon has joined #asahi-gpu
09:38ronyrus[m] has joined #asahi-gpu
09:38Bastian[m] has joined #asahi-gpu
09:38konradybcio has joined #asahi-gpu
09:38mofux[m] has joined #asahi-gpu
09:38nufflee[m] has joined #asahi-gpu
09:39wolf511[m] has joined #asahi-gpu
09:39brentr123[m] has joined #asahi-gpu
09:39ah-[m] has joined #asahi-gpu
09:39bakk[m] has joined #asahi-gpu
09:42emily has joined #asahi-gpu
09:44nhlism[m] has joined #asahi-gpu
09:44svenpeter has joined #asahi-gpu
09:44crafteck[m] has joined #asahi-gpu
09:44skillfulman23[m] has joined #asahi-gpu
09:44asmon[m] has joined #asahi-gpu
09:44TellowKrinkle[m] has joined #asahi-gpu
09:46redbluescreen[m] has joined #asahi-gpu
09:46bylaws has joined #asahi-gpu
09:46bjornjulander[m] has joined #asahi-gpu
09:46fl35[m] has joined #asahi-gpu
09:46Jamie[m] has joined #asahi-gpu
09:46enverb[m] has joined #asahi-gpu
09:46iparaskev[m] has joined #asahi-gpu
09:46delroth[m] has joined #asahi-gpu
09:46xerpi[m] has joined #asahi-gpu
09:46_alice has joined #asahi-gpu
09:46randohacker[m] has joined #asahi-gpu
09:47bastilian has joined #asahi-gpu
09:49Jasper[m] has joined #asahi-gpu
09:55TellowKrinkle[m] has quit [Ping timeout: 246 seconds]
09:55zzoon has quit [Ping timeout: 246 seconds]
09:55crafteck[m] has quit [Ping timeout: 241 seconds]
09:55asmon[m] has quit [Ping timeout: 241 seconds]
09:55jrmuizel[m] has quit [Ping timeout: 241 seconds]
09:55nhlism[m] has quit [Ping timeout: 240 seconds]
09:55svenpeter has quit [Ping timeout: 240 seconds]
09:55emily has quit [Ping timeout: 240 seconds]
09:55nufflee[m] has quit [Ping timeout: 240 seconds]
09:55ronyrus[m] has quit [Ping timeout: 258 seconds]
09:55konradybcio has quit [Ping timeout: 258 seconds]
09:55Bastian[m] has quit [Ping timeout: 268 seconds]
09:55randohacker[m] has quit [Ping timeout: 265 seconds]
09:55mofux[m] has quit [Ping timeout: 265 seconds]
09:55Jasper[m] has quit [Ping timeout: 260 seconds]
09:55skillfulman23[m] has quit [Ping timeout: 260 seconds]
09:55delroth[m] has quit [Ping timeout: 240 seconds]
09:55wolf511[m] has quit [Ping timeout: 240 seconds]
09:56_alice has quit [Ping timeout: 240 seconds]
09:56fl35[m] has quit [Ping timeout: 240 seconds]
09:56redbluescreen[m] has quit [Ping timeout: 240 seconds]
09:56brentr123[m] has quit [Ping timeout: 240 seconds]
09:56ah-[m] has quit [Ping timeout: 240 seconds]
09:56enverb[m] has quit [Ping timeout: 258 seconds]
09:56xerpi[m] has quit [Ping timeout: 258 seconds]
09:56bylaws has quit [Ping timeout: 258 seconds]
09:56bastilian has quit [Ping timeout: 265 seconds]
09:56bjornjulander[m] has quit [Ping timeout: 265 seconds]
09:56Jamie[m] has quit [Ping timeout: 260 seconds]
09:56iparaskev[m] has quit [Ping timeout: 260 seconds]
09:56bakk[m] has quit [Ping timeout: 268 seconds]
10:21josiahmendes[m] has joined #asahi-gpu
10:36ryanhrob[m] has joined #asahi-gpu
10:55Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:57shawnj2[m] has joined #asahi-gpu
10:57ts170[m] has joined #asahi-gpu
10:57fl35[m] has joined #asahi-gpu
10:57jrmuizel[m] has joined #asahi-gpu
10:57nutmanja[m] has joined #asahi-gpu
10:57_alice has joined #asahi-gpu
10:57wolf511[m] has joined #asahi-gpu
10:57nhlism[m] has joined #asahi-gpu
10:57Jasper[m] has joined #asahi-gpu
10:57hypergenesis[m] has joined #asahi-gpu
10:57fried_dede[m] has joined #asahi-gpu
10:57iparaskev[m] has joined #asahi-gpu
10:57enverb[m] has joined #asahi-gpu
10:57liur[m] has joined #asahi-gpu
10:57khronokernel[m] has joined #asahi-gpu
10:57jinen[m] has joined #asahi-gpu
10:57blazra has joined #asahi-gpu
10:57bakk[m] has joined #asahi-gpu
10:57undvasistas[m] has joined #asahi-gpu
10:57sumoon[m] has joined #asahi-gpu
10:57randohacker[m] has joined #asahi-gpu
10:57tarik02[m] has joined #asahi-gpu
10:57asmon[m] has joined #asahi-gpu
10:57mofux[m] has joined #asahi-gpu
10:57thecake21[m] has joined #asahi-gpu
10:57redbluescreen[m] has joined #asahi-gpu
10:57crafteck[m] has joined #asahi-gpu
10:57citruscitrus[m] has joined #asahi-gpu
10:57ronyrus[m] has joined #asahi-gpu
10:57devinvs[m] has joined #asahi-gpu
10:57smist08[m] has joined #asahi-gpu
10:57xerpi[m] has joined #asahi-gpu
10:57Bastian[m]1 has joined #asahi-gpu
10:57jsvcycling[m] has joined #asahi-gpu
10:57os[m] has joined #asahi-gpu
10:57delroth[m] has joined #asahi-gpu
10:57icecream95 has joined #asahi-gpu
10:57emily has joined #asahi-gpu
10:57jevinskie[m] has joined #asahi-gpu
10:57nufflee[m] has joined #asahi-gpu
10:57Jamie[m] has joined #asahi-gpu
10:57ConeOfAttack[m] has joined #asahi-gpu
10:57konradybcio has joined #asahi-gpu
10:57bjornjulander[m] has joined #asahi-gpu
10:57bylaws has joined #asahi-gpu
10:57winocm has joined #asahi-gpu
10:57brentr123[m] has joined #asahi-gpu
10:57TellowKrinkle[m] has joined #asahi-gpu
10:57davidrysk[m] has joined #asahi-gpu
10:57bastilian has joined #asahi-gpu
10:57flokk[m] has joined #asahi-gpu
10:57Akhil[m] has joined #asahi-gpu
10:57skillfulman23[m] has joined #asahi-gpu
10:57svenpeter has joined #asahi-gpu
10:57mellotron1[m] has joined #asahi-gpu
10:57reispflanze[m] has joined #asahi-gpu
10:57Standemonium[m] has joined #asahi-gpu
10:57ah-[m] has joined #asahi-gpu
10:57mcnight[m] has joined #asahi-gpu
10:57hipboi[m] has joined #asahi-gpu
10:57zzoon has joined #asahi-gpu
11:08never_releasedbloom: once we start doing GPU stuff or even before that?
13:07xerpi[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?
13:15DanB91 has joined #asahi-gpu
14:00Bastian[m]1 is now known as Bastian[m]
14:04bloomdanilonc: Compute would have made more sense (and I have notes on it), but graphics was a lot splashier
14:04bloomnever_released: Even now, I review a lot of code :)
14:19DanB91 has quit [Ping timeout: 272 seconds]
14:23bloomhthh_: heard you're doing ISA stuff now, the nerdsniping worked! ;P
14:35hthh_heh, it did rather - so many good mysteries (and just things to learn about how gpus work)
14:54_whitelogger has joined #asahi-gpu
15:04bloomhthh_: your first one's always memorable :>
18:02Tokamak has joined #asahi-gpu
18:48maor26 has quit [Remote host closed the connection]
18:49maor26 has joined #asahi-gpu
20:01DanB91 has joined #asahi-gpu
20:06DanB91 has quit [Ping timeout: 260 seconds]
20:54DanB91 has joined #asahi-gpu
20:58DanB91 has quit [Ping timeout: 246 seconds]
22:27DanB91 has joined #asahi-gpu
22:30Tokamak has quit [Ping timeout: 260 seconds]
22:41DanB91 has quit [Remote host closed the connection]
22:48DanB91 has joined #asahi-gpu
22:55DanB91 has quit [Remote host closed the connection]
22:55DanB91 has joined #asahi-gpu
23:00DanB91 has quit [Ping timeout: 260 seconds]
23:02DanB91 has joined #asahi-gpu
23:05maor26 has quit [Ping timeout: 256 seconds]
23:09Tokamak has joined #asahi-gpu
23:15DanB91 has quit [Remote host closed the connection]
23:43tiagom has quit [Quit: leaving]
23:56DanB91 has joined #asahi-gpu
…