#
✕ nick:bloom
#asahi-gpu · 2021-01-23 02:37
bloomoh, interesting, I missed that then
#asahi-gpu · 2021-01-23 02:36
bloom🎉
#asahi-gpu · 2021-01-23 02:36
bloomdemo work?
#asahi-gpu · 2021-01-23 02:35
bloom:>
#asahi-gpu · 2021-01-23 02:34
bloomthat assertion is it failed to open the x11 display, I don't know xquartz enough to help debug.
#asahi-gpu · 2021-01-23 02:34
bloomI don't know what entitlements are though
#asahi-gpu · 2021-01-23 02:33
bloomnot that I know of
#asahi-gpu · 2021-01-23 02:33
bloome.g changingthe last arg of a make_ptr40 call to 0xDEADBEEF00 or something
#asahi-gpu · 2021-01-23 02:33
bloomafter 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
#asahi-gpu · 2021-01-23 02:32
bloomalpha5 should work
#asahi-gpu · 2021-01-23 02:32
bloomhttps://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)
#asahi-gpu · 2021-01-23 02:31
bloomfirst of all, get the demo built
#asahi-gpu · 2021-01-23 02:31
bloomGPU faults are easy to cause if you want to go digging :p
#asahi-gpu · 2021-01-23 02:31
bloomI tried that, didn't see relevant but maybe it was lost in the fuckton.
#asahi-gpu · 2021-01-23 02:30
bloomOn linux everything just gets spammed to dmesg...
#asahi-gpu · 2021-01-23 02:30
bloomSpeaking of, I still have no idea how to get GPU fault info on macOS.
#asahi-gpu · 2021-01-23 02:30
bloomdavidrysk[m]: Hardware limits? on Apple Silicon?
#asahi-gpu · 2021-01-23 01:01
bloomnever_released: btw, happy to be cc'd alyssa@rosenzweig.io for LKML stuff :)
#asahi-gpu · 2021-01-22 19:15
bloom( https://github.com/AsahiLinux/gpu/blob/main/demo/slowfb.c)
#asahi-gpu · 2021-01-22 19:14
bloomis not the biggest hack in the code
#asahi-gpu · 2021-01-22 19:14
bloomLet's just say the fact that I'm using code I wrote for mali years ago for winsys, raw libX11, over Xquartz...
#asahi-gpu · 2021-01-22 19:12
bloomand as it is there is 1kloc of MAGIC NUMBERSSS
#asahi-gpu · 2021-01-22 19:12
bloomand let's say that I had the triangle working on sunday but it took me till now to make it pushable :p
#asahi-gpu · 2021-01-22 19:12
bloomnever_released: "not in upstream-able form"
#asahi-gpu · 2021-01-22 19:11
bloommacc24: is pog like poggers?
#asahi-gpu · 2021-01-22 19:11
bloomAlso, is it a bad sign I've had to use urbandictionary twice in an hour to understand what people are saying about my stuff?
#asahi-gpu · 2021-01-22 19:09
bloomnice!
#asahi-gpu · 2021-01-22 19:09
bloomI mean I use a rockchip laptop as my daily driver but I also don't actually use the GPU for anything more than compositing and running test suites =P
#asahi-gpu · 2021-01-22 19:08
bloomyeah....
#asahi-gpu · 2021-01-22 19:07
bloomnever_released: nobody cares this much when it was mali :p
#asahi-gpu · 2021-01-22 18:18
bloom---#1 instead. wat
#asahi-gpu · 2021-01-22 18:09
bloomalso, #2 on HN? that was uh fast
#asahi-gpu · 2021-01-22 18:08
bloomParty's over
#asahi-gpu · 2021-01-22 18:08
bloom--> class
#asahi-gpu · 2021-01-22 18:08
bloomthank you!
#asahi-gpu · 2021-01-22 18:05
bloomUgly but unoffesnsive I think
#asahi-gpu · 2021-01-22 18:05
bloomGot screwed up trying to input colours as raw floats in the machine code, we're going with https://rosenzweig.io/M1HelloTriangle.png whatever this is
#asahi-gpu · 2021-01-22 17:56
bloomjust give me RGB :p
#asahi-gpu · 2021-01-22 17:54
bloomok
#asahi-gpu · 2021-01-22 17:54
bloom*fix
#asahi-gpu · 2021-01-22 17:54
bloomwhat do i do to ix it
#asahi-gpu · 2021-01-22 17:53
bloomIs this palatable to normal human eyes
#asahi-gpu · 2021-01-22 17:53
bloomhttps://rosenzweig.io/M1HelloTriangle.png
#asahi-gpu · 2021-01-22 17:53
bloomhelp i'm colour blind how do i do a good screenshot
#asahi-gpu · 2021-01-22 17:52
bloomIt's totally in-house.
#asahi-gpu · 2021-01-22 17:52
bloomA14
#asahi-gpu · 2021-01-22 17:51
bloomcan I grab a screenshot in the next 15 minutes uhh
#asahi-gpu · 2021-01-22 17:50
bloomApple SoCs make anything in a Chromebook/Android phone/etc look like a child's toy.
#asahi-gpu · 2021-01-22 17:50
bloommacc24: Uh
#asahi-gpu · 2021-01-22 17:49
bloomthecake21[m]: You can trust me, I'm a fropessional.

plus ›