2021-01-10
00:21ransom has joined #asahi-gpu
00:25ransom_ has joined #asahi-gpu
00:27ransom has quit [Ping timeout: 240 seconds]
00:44stemnic has joined #asahi-gpu
00:58stormclad has joined #asahi-gpu
01:11ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:43ransom has joined #asahi-gpu
01:58stormclad has quit [Ping timeout: 272 seconds]
02:07ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:09ransom has joined #asahi-gpu
02:13ransom_ has joined #asahi-gpu
02:15ransom has quit [Ping timeout: 264 seconds]
02:26ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:28pg12_ has joined #asahi-gpu
02:29pg12 has quit [Ping timeout: 260 seconds]
02:31bloomDoes anyone here know Metal well? Having an issue which I assume is a dumb user error but wouldn't really be possible in OpenGL so...
02:31bloomTrying to render into a buffer, I created it as SHARED and used newTextureWithDescriptor:offset:bytesPerRow to get a texture object which I assigned to the color attachment
02:32bloomDumping .contents of the buffer to a file and reinterpreting as a linear texture is showing some odd artefacts.
02:38Tokamak has joined #asahi-gpu
02:39davidrysk[m]bloom: Apple got rid of the getRawFrameBuffer call in, iirc, 10.14 or so
02:40davidrysk[m]or do you mean something else? :)
02:40ransom has joined #asahi-gpu
02:42davidrysk[m]https://developer.apple.com/documentation/coregraphics/quartz_display_services/1807908-cgdisplaybaseaddress
02:43bloomdavidrysk[m]: Right, they probably dropped it so they could pipe in framebuffer compression support quietly and without breaking any apps :)
02:44bloomI'm more interested in the Metal side, rendering off-screen but to something linear / CPU visible
02:44bloomWhich the GPU is almost certainly capable of, just a matter of coaxing the driver into doing it
02:45bloom(I say almost because it's a completely trivial feature, but somehow Vivante [iirc] doesn't support it...)
02:54bear24rw has joined #asahi-gpu
02:56bear24rw has quit [Client Quit]
03:18linkmauvebloom, can’t you still do OpenGL and have it translated to their Metal driver at runtime?
03:33ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:33bloomlinkmauve: it's an option, but I'd rather stick with Metal if I can just to avoid indirections that might obscure hw behaviour
04:03diz3y has quit [Ping timeout: 256 seconds]
04:10Tokamak_ has joined #asahi-gpu
04:10Tokamak has quit [Ping timeout: 256 seconds]
04:16Tokamak has joined #asahi-gpu
04:18Tokamak_ has quit [Ping timeout: 260 seconds]
04:35aratuk has joined #asahi-gpu
04:39stormclad has joined #asahi-gpu
04:40aratuk has quit [Ping timeout: 265 seconds]
04:43stormclad has quit [Ping timeout: 246 seconds]
04:48Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:54jsvcycling has joined #asahi-gpu
06:12aratuk has joined #asahi-gpu
06:13aratuk_ has joined #asahi-gpu
06:13aratuk_ has quit [Read error: Connection reset by peer]
06:14aratuk__ has joined #asahi-gpu
06:15aratuk__ has quit [Remote host closed the connection]
06:16aratuk_ has joined #asahi-gpu
06:17aratuk has quit [Ping timeout: 264 seconds]
06:21aratuk_ has quit [Ping timeout: 264 seconds]
06:58maor26 has joined #asahi-gpu
08:17aratuk has joined #asahi-gpu
08:21aratuk has quit [Ping timeout: 246 seconds]
08:33shawnj2[m] has joined #asahi-gpu
08:51aratuk has joined #asahi-gpu
08:55aratuk has quit [Ping timeout: 246 seconds]
09:08Mary_- has joined #asahi-gpu
09:09Mary_ has quit [Ping timeout: 240 seconds]
10:04Tokamak has joined #asahi-gpu
10:12Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:51aratuk has joined #asahi-gpu
10:56aratuk has quit [Ping timeout: 260 seconds]
11:02brinly has joined #asahi-gpu
11:06DarthCloud has quit [Ping timeout: 240 seconds]
11:09DarthCloud has joined #asahi-gpu
11:21bakk[m] has joined #asahi-gpu
14:00aratuk has joined #asahi-gpu
14:05aratuk has quit [Ping timeout: 246 seconds]
14:28qyousef has quit [Quit: WeeChat 2.8]
14:30qyousef has joined #asahi-gpu
14:55qyousef has quit [Quit: WeeChat 2.8]
15:02qyousef has joined #asahi-gpu
15:07qyousef has quit [Ping timeout: 240 seconds]
15:08konstater has quit [*.net *.split]
15:39qyousef has joined #asahi-gpu
16:52DarthCloud has quit [Remote host closed the connection]
17:09DarthCloud has joined #asahi-gpu
17:10nhlism has joined #asahi-gpu
17:11nhlism has quit [Remote host closed the connection]
17:43eric_engestrom has joined #asahi-gpu
18:02aratuk has joined #asahi-gpu
18:06aratuk has quit [Ping timeout: 264 seconds]
18:20ransom has joined #asahi-gpu
18:53ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:03icecream95 has joined #asahi-gpu
19:25ransom has joined #asahi-gpu
20:03aratuk has joined #asahi-gpu
20:07aratuk has quit [Ping timeout: 240 seconds]
21:05maor26 has quit [Ping timeout: 264 seconds]
21:31ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:03aratuk has joined #asahi-gpu
22:07aratuk has quit [Ping timeout: 246 seconds]
22:37modwizcode has quit [Quit: Later]
23:37ransom has joined #asahi-gpu
23:39bloomIt's funny, all that reading I did on texture tiling algorithms for Mali never bore much fruit.
23:53ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:56bloomAlso, curiousity got the better of me: my texture tiling benchmark runs in 1.649s on Rockchip RK3399 (an arm64 processor from ~5 years ago) and 0.43s on the Apple M1
23:57davidrysk[m]:) nice!
23:57davidrysk[m]makes sense — Apple has been very specific that they use tiling heavily
23:57davidrysk[m](in their WWDC talks on Metal and their GPUs)