#
…

2021-05-30

00:14chrisf has quit [Ping timeout: 480 seconds]
00:26chrisf has joined #asahi-gpu
01:47chrisf has quit [Ping timeout: 480 seconds]
02:12chrisf has joined #asahi-gpu
02:23PhilippvK has joined #asahi-gpu
02:26phiologe has quit [Ping timeout: 480 seconds]
03:57PthariensFlame has joined #asahi-gpu
03:59PthariensFlame has quit []
04:17bloomIt turns out Apple's OpenGL in XQuartz renders to a linear render target (whereas native Metal apps are compressed)
04:18bloomThis is bad for performance, but good for hardware r/e ... since it made it clear how to do a linear render target at all! while it's hard to coerce Metal into the same
04:19bloomFurthermore render target descriptors are riffing off texture descriptors, so it was easy to extrapolate to linear textures
04:25chrisf has quit [Ping timeout: 480 seconds]
04:26bloom...I had an actual reason for looking at Apple's OpenGL but it is now too late to follow up on it. Ah well. That was a more pressing issue anyway!
04:27bloom[This means as soon as 3D is piped in to Linux, we'll be able to use it on screen. The alternative would be r/e'ing tiled support in the display controller. This was lazier :-p
09:56EER has joined #asahi-gpu
11:38choozy has joined #asahi-gpu
12:03klltkr has joined #asahi-gpu
12:16yuyichao has joined #asahi-gpu
13:19choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
15:02choozy has joined #asahi-gpu
15:20chrisf has joined #asahi-gpu
16:02NicoK has joined #asahi-gpu
16:16NicoK has quit [Remote host closed the connection]
16:28klltkr has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
16:55bloom Passed: 584/602 (97.0%)
16:55bloomyou know what? I think I'll take it
16:55bloom(cheated my way through clipping)
16:56yrlfwhat did you do for clipping?
16:57yrlfnice, 97%!
16:57bloomOpenGL defines the z clip volume as [-1, +1]
16:57bloomEvery other API on the planet (DirectX, Vulkan, Metal) define it as [0, 1]
16:57bloomThere's definitely a way to do OpenGL style clipping on AGX since the GL blob does it, but I couldn't get it to work..
16:58bloom..so I just reused the shader code fixup pass from Zink, which layers GL on Vulkan and thus needs the same transform
16:59yrlfoh, so you just translate/scale it to [0, 1] before clipping
16:59bloomyeah :p
16:59bloombigger fish to fry right now
17:05bloomapple gpu
17:06choozyAh, okay, is this the codename for the specific M1 GPU, or a generic term?
17:06bloomcodename for all the Apple GPUs
17:07bloomM1 specifically sports G13 B0
17:07choozyAh, allrighty
17:07bloomG13G B0
17:15cyrozapa.k.a. ""GLEG BO"
17:17bloomand just implemented wide line
17:17bloomyet another non-Metal feature that AGX has native support for
17:17bloomgetting ./wrap to work with Apple's OpenGL is proving invaluable
17:54NicoK has joined #asahi-gpu
18:00NicoK has quit [Remote host closed the connection]
18:00NicoK has joined #asahi-gpu
18:05bloomI saw some discussion on the main channel -- I'm kinda curious if there's interest in me streaming GPU stuff?
18:06bloomI should warn a nontrivial amount of time is just fighting git rebase :-p
18:07jni'd watch it
18:13brentr123[m]<bloom "I saw some discussion on the mai"> Hell yeah I would watch it
18:14danielsapparently I have an oddly-shaped blob on my screen, because that read as 'I would witch it', which seems apt
18:15* bloomwaves magic wand
18:15jnGPU witchcraft :)
18:15bloomOBOBDOA
18:15Misthioswould watch 100%
18:16bloomjn: THe problem with that presentation is that now no matter what I present at any conference I know it'll never live up ;-P
18:22* bloomtries to figure out logistically how this would work
18:26choozyWell, if you would like to stream your work bloom, I know that people would certainly watch it
18:26bloomEasiest I think is setting up the Mac for proper dev work
18:27bloomMostly I write code on my Linux laptop but that's.. er.. a chromebook
18:27bloomand if I stream the desktop there will be no cycles left to compile mesa :p
18:30choozyYes, there is at least one application on Chrome OS that would permit you to livestream, otherwise you could maybe use a Linux solution also on ChromeOS
18:37klltkr has joined #asahi-gpu
18:55bloomErr youtube vs twitch vs aaaa
18:56bloom(what re the differences anyway?)
18:56Misthiostwitch is kinda vague sometimes
18:56Misthioslike banninh hottub streams and then doing a 180 and unbanning them
18:56Misthios^^weird reference but the latest stuff they did
18:57arbloom: what's "aaaa"?
18:57brentr123[m]<Misthios "like banninh hottub streams and "> Oh god let’s not even get into that
18:57jnar: a sound of distress, i think
18:57Misthiosthose bloated my twitch home ngl
18:57bloomar: aaaa is I'm a linux hacker, not a streamer, what am I even /doing/
18:58Misthios was thinking aa batteries
18:59choozyYou could also stream live from your own website or from Peertube like software if you so wish bloom
18:59bloomsounds even scarier
19:00jnsounds a bit risky for one person. i'd only do that with at least one other person who can handle infrastructure issues quickly
19:01brentr123[m]Maybe create a asahi Linux YouTube channel and various developers/programmers can stream on there
19:11bloomhttps://twitch.tv/asahigpu -- does that work for people?
19:14bloomI guess we'll start in ~15 min?
19:14chrisfit appears to be a thing
19:14bloomWe'll do "fight git rebase until bloom gets tired", it's a really hot new video game
19:14svenoh... more streams. that means i have more excuses to procrastinate :>
19:15MisthiosIt that getting over it v2?
19:23Bastian[m]getting over it is a frustrating video game
19:28Misthios^ basically u try to climb a high mountain and if u fall u have to redo a lot
19:29bloomAlright!
19:32Bastian[m]seems good, audio and video working
19:34al3xtjames has quit [Quit: The Lounge - https://thelounge.chat]
19:34al3xtjames has joined #asahi-gpu
19:42NicoK has quit [Remote host closed the connection]
19:42NicoK has joined #asahi-gpu
19:49choozyPerfect, receiving you loud and clear so far
19:52danielsrebase ftw
19:55danielsbloom: you should also embrace tig
19:55danielsit's less latent than push + look at patch :P
20:28nicok113 has joined #asahi-gpu
20:29klltkr has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
20:35nicok113 has quit [Quit: Leaving]
20:53danielswe can hear!
20:58NicoK has quit [Remote host closed the connection]
20:59NicoK has joined #asahi-gpu
21:08NicoK has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
21:08EER has quit [Remote host closed the connection]
21:39bloom /query daniels
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
22:09thunfisch has quit [Quit: frrrp!]
22:09thunfisch has joined #asahi-gpu
22:10thunfisch has quit []
22:10thunfisch has joined #asahi-gpu
23:28nafod has joined #asahi-gpu
23:30bloomWhy does Twitch think it's still streaming? the mac is off
23:30brentr123[m]It shows offline for me
23:37bloomThanks for watching :>
23:38bloom(ANy feedback if/when I do this again? This was my first time live coding like this so not sure if it was a mess. :P)
23:46yrlf has joined #asahi-gpu
…