#
#asahi-gpu · 2021-07-24 21:14
dottedmagalyssa: Please check again: wasn't it green component that was wrong?
#asahi-gpu · 2021-07-24 21:11
dottedmagalyssa: Open TextEdit.app, then Cmd+Shift+C, and in the popup you'll have a picker
#asahi-gpu · 2021-07-24 20:22
faiskjjj
#asahi-gpu · 2021-07-24 19:59
alyssa(Womp womp.)
#asahi-gpu · 2021-07-24 19:59
alyssaRegardless, uh, back on air I guess.....
#asahi-gpu · 2021-07-24 19:58
alyssaArgh.
#asahi-gpu · 2021-07-24 19:58
alyssa...I left the stream running for 30 min. D'oh. This was.. decidedly unintentional >_>
#asahi-gpu · 2021-07-24 18:01
alyssawth
#asahi-gpu · 2021-07-24 16:08
xerpi[m]So if the HW doesn't support cubemap texture sampling you could always do it by SW by doing vector-to-plane intersections?
#asahi-gpu · 2021-07-24 16:00
alyssa☁️ On air - https://twitch.tv/asahigpu ☁️
#asahi-gpu · 2021-07-24 13:08
robinpthanks :)
#asahi-gpu · 2021-07-24 13:08
robinpwhere do you need help ? (if any at the moment)
#asahi-gpu · 2021-07-24 13:07
robinpwhats the best way to try and get into graphics (like how did you become interested ?)
#asahi-gpu · 2021-07-24 13:05
robinpwhat do you see as the roadmap for getting M1 GPU going ? For instance are you going to try and implement most of OpenGL before looking at say Vulkan ?
#asahi-gpu · 2021-07-24 13:03
robinpalyssa / bloom: unfortunately your +12 hours my time and I need to get my jab early tomorrow morning. If I could please pre-ask a couple of questions for the stream (don't feel obliged to answer :)
#asahi-gpu · 2021-07-24 07:16
xerpi[m]Awesome :)
#asahi-gpu · 2021-07-24 04:15
alyssaI'll be livestreaming @AsahiLinux Apple M1 GPU work in 12 hours. (At noon on July 24, Eastern Daylight Time.) Agenda: reverse-engineer cube maps, and maybe add OpenGL 3 features.
#asahi-gpu · 2021-07-24 04:15
alyssaCopy paste is hard. Let's try that again.
#asahi-gpu · 2021-07-24 04:15
alyssa@AsahiLinux Apple M1 GPU work in 12 hours. (At noon on July 24, Eastern Daylight Time.) Agenda: reverse-engineer cube maps, and maybe add OpenGL 3 features. See you there!
#asahi-gpu · 2021-07-11 16:59
bloom^ Good talk
#asahi-gpu · 2021-07-11 16:59
bloomhttps://developer.apple.com/videos/play/wwdc2020/10602/?time=177
#asahi-gpu · 2021-07-10 20:24
jix(or without web.archive.org ... it's still online, that was just the link from wikipedia)
#asahi-gpu · 2021-07-10 20:22
jixthere's also the instruments GUI app that's based on dtrace, and looking at https://web.archive.org/web/20200620075030/https://developer.apple.com/documentation/metal/using_metal_system_trace_in_instruments_to_profile_your_app that seems useful, if you can add rules to also trigger on the calls the mesa driver makes
#asahi-gpu · 2021-07-10 20:15
bloomnod
#asahi-gpu · 2021-07-10 20:14
jixat least that's what I remember from when it was introduced and I was still using mac os, never did more than trying a few example dtrace scripts though... and that was ~14 years ago, so I have no idea how well it is supported today
#asahi-gpu · 2021-07-10 20:12
jixme neither, but I think it should allow you to do selective system wide tracing of stuff... e.g. the IOKit calls and scheduling/preemption of threads/processes
#asahi-gpu · 2021-07-10 20:10
bloommaybe? I' not familiar with dtrace
#asahi-gpu · 2021-07-10 20:04
jixI wonder if dtrace would help in figuring out when this happens
#asahi-gpu · 2021-07-10 19:43
bloom(which made me think the problem is preemption, but I can't prove that)
#asahi-gpu · 2021-07-10 19:43
bloomjix: yes, absolutely
#asahi-gpu · 2021-07-10 18:04
jixdoes it get worse when other processes do more GPU stuff at the same time?
#asahi-gpu · 2021-07-10 17:56
bloomit does seem to be worse at higher frame rates and with higher geometry load
#asahi-gpu · 2021-07-10 17:56
bloomsven: but this is definitely one of those "impossible" issues :|
#asahi-gpu · 2021-07-10 17:43
svenfair enough :-)
#asahi-gpu · 2021-07-10 17:43
bloomsven: to be fair, gpu is "special" as far as peripherals go..
#asahi-gpu · 2021-07-10 17:42
svenfwiw, so far all dma transactions i've seen between the cpu and any peripheral have been cache coherent
#asahi-gpu · 2021-07-10 17:41
jixsounds to me like they might have forgotten to update that this to say that it also includes macos on apple silicon
#asahi-gpu · 2021-07-10 17:41
xerpi[m]Hmm but maybe you don't need to have CPU and GPU caches coherent for some buffers, so this "managed" mode can help reduce traffic
#asahi-gpu · 2021-07-10 17:40
jix"In iOS and tvOS, the managed storage mode is not available.
#asahi-gpu · 2021-07-10 17:40
bloombut maybe they play cache games
#asahi-gpu · 2021-07-10 17:40
bloommanaged mode doesnt make sense for unified memory
#asahi-gpu · 2021-07-10 17:39
bloomnod
#asahi-gpu · 2021-07-10 17:38
xerpi[m]Probably one of those magic numbers is related to this
#asahi-gpu · 2021-07-10 17:38
xerpi[m]Btw this is interesting: https://developer.apple.com/documentation/metal/mtlstoragemode/managed
#asahi-gpu · 2021-07-10 17:38
xerpi[m]:D
#asahi-gpu · 2021-07-10 17:37
bloomthanks for watching!
#asahi-gpu · 2021-07-10 17:37
jixthanks for streaming :)
#asahi-gpu · 2021-07-10 17:32
jixis there any apple code talking to the GPU that would need to be synchronized with what your mesa driver is doing? if it's not some cache issue, it seems like a race condition to me, just from the random timing and how it is affected by debug printing etc..
#asahi-gpu · 2021-07-10 17:31
xerpi[m]Maybe the debug/developer macOS kernel printks a nice error message
#asahi-gpu · 2021-07-10 17:29
xerpi[m]Would be nice if the GPU reported some kind of error code. Maybe macOS kernel doesn't expose it to userspace, but would mmio tracing help?

plus ›