#
✕ nick:bloom_
#asahi-gpu · 2021-01-07 15:57
bloom_More code to be uploaded to that repo soon, need to clean some stuff up, maybe will push to a branch sooner
#asahi-gpu · 2021-01-07 15:54
bloom_...or if you'd rather cut to the chase, code is https://github.com/AsahiLinux/gpu/blob/main/disasm/disasm.c
#asahi-gpu · 2021-01-07 15:53
bloom_Hot off the press!
#asahi-gpu · 2021-01-07 15:53
bloom_https://rosenzweig.io/blog/asahi-gpu-part-1.html
#asahi-gpu · 2021-01-07 15:44
bloom_marcan: ping
#asahi-gpu · 2021-01-07 15:26
bloom_blogs
#asahi-gpu · 2021-01-07 15:07
bloom_K
#asahi-gpu · 2021-01-07 13:43
bloom_er marcan
#asahi-gpu · 2021-01-07 13:43
bloom_bloom_: I should push my disasm
#asahi-gpu · 2021-01-07 13:42
bloom_or at least could be
#asahi-gpu · 2021-01-07 13:42
bloom_But yeah, my sleepy morning brain confirms that's M1 assembly :)
#asahi-gpu · 2021-01-07 13:41
bloom_I'm uncomfortable getting that close to proprietary code for obvious reasons and it was easy enough to get the actual GPU binaries out from memory
#asahi-gpu · 2021-01-07 13:40
bloom_marcan: Cute :)
#asahi-gpu · 2021-01-07 01:28
bloom_I *almost* regret this hack. Almost.
#asahi-gpu · 2021-01-07 01:28
bloom_$ ffmpeg -f rawvideo -pixel_format bgra -video_size 800x600 -i dump.bin output.png
#asahi-gpu · 2021-01-07 01:11
bloom_Then again might be HDMI related.
#asahi-gpu · 2021-01-07 01:10
bloom_Also, I'm seeing some graphics artefacts, even on boot. Not sure which is worse, the possibility the GPU is so fragile that a few benign tests damaged something, the possibility the GPU is just unstable in general, or the Apple drivers are that unstable.
#asahi-gpu · 2021-01-07 01:08
bloom_The startup chime always surprises me after so many years away from Apple hardware.
#asahi-gpu · 2021-01-06 02:23
bloom_Maybe there's some subtle caching happening somewhere.
#asahi-gpu · 2021-01-06 02:15
bloom_wonders where the framebuffer is hiding
#asahi-gpu · 2021-01-06 01:48
bloom_Shiz: Yep.
#asahi-gpu · 2021-01-06 01:04
bloom_An app raising a GPU fault shouldn't cause random magenta rectangles on the desktop after the app quit...
#asahi-gpu · 2021-01-06 01:01
bloom_Also, the fault handling on the macOS kernel leaves something to be desired..
#asahi-gpu · 2021-01-06 00:53
bloom_Think UWBC/AFBC/etc instead of ETC/ASTC/PVRTC
#asahi-gpu · 2021-01-06 00:53
bloom_davidrysk[m]: Probably not, too expensive to encode (even in hw).
#asahi-gpu · 2021-01-06 00:43
bloom_I'm not at all surprised -- every modern GPU does -- but Apple doesn't talk about it anywhere (unlike other GPU vendors who are all too happy to market theirs.)
#asahi-gpu · 2021-01-06 00:42
bloom_So I seem to have accidentally discovered that the M1 GPU has a framebuffer compression algorithm.
#asahi-gpu · 2021-01-06 00:34
bloom_Oh, this filled up fast. Hello everyone :)
#asahi-gpu · 2021-01-04 14:56
bloom_Hello hello :)