#
✕ nick:dottedmag
#asahi-gpu · 2023-07-22 18:01
dottedmagIsn't it fun that there are so many userspace bugs uncovered by M1 that _any_ bug might actually be in the application code?
#asahi-gpu · 2023-07-22 13:18
dottedmaglina: If this turns out to be on a hot path: http://paste.debian.net/plain/1286632
#asahi-gpu · 2023-07-22 12:52
dottedmag(maybe even SIMD it?)
#asahi-gpu · 2023-07-22 12:52
dottedmaglina: 64 boxes with 32-bit coordinates is 1024 bytes, so 8 cache lines. Peanuts, for linear scanning.
#asahi-gpu · 2023-07-22 12:49
dottedmagMaybe BSP :) Just kidding.
#asahi-gpu · 2023-07-22 12:39
dottedmagic
#asahi-gpu · 2023-07-22 12:39
dottedmagDoesn't Mesa have anything similar? No 2D region tracking there anywhere?
#asahi-gpu · 2023-07-22 12:37
dottedmag_print LOL
#asahi-gpu · 2023-07-22 12:36
dottedmag_init_from_region, _translate, _inverse, _subtract, _intersect...
#asahi-gpu · 2023-07-22 12:35
dottedmagI guess this algorithm won't need most of the operations in there.
#asahi-gpu · 2023-07-22 12:26
dottedmagThe implementation there is pretty straightforward, could be easy to lift out or reimplement.
#asahi-gpu · 2023-07-22 12:25
dottedmaglina: There is a data structure that holds a union of rectangles in libpixman (union of rectangles -> a set of horizontal slices, each slice contains disjoint rectangles)
#asahi-gpu · 2023-07-05 16:04
dottedmagm1max, if it matters
#asahi-gpu · 2023-07-05 16:04
dottedmagalyssa: https://paste.debian.net/1285010/
#asahi-gpu · 2023-05-02 07:00
dottedmag jannau ^^
#asahi-gpu · 2023-05-02 06:47
dottedmags/HDR/color management/
#asahi-gpu · 2023-05-02 06:46
dottedmagWriteup by emersion: https://emersion.fr/blog/2023/hdr-hackfest-wrap-up/
#asahi-gpu · 2023-05-02 06:46
dottedmaglina: alyssa: FYI, in case you are not in the loop. There is a discussion about common kernel ABI for HDR (accelerated by https://wiki.gnome.org/Hackfests/ShellDisplayNext2023), and from the details it seems that the participants are mostly concerned about Intel, AMD and Nvidia display controllers, so it might make sense to bring in AGX as a significantly different design, so that the current ABI won't end up x86-centered.
#asahi-gpu · 2023-04-13 06:20
dottedmaglina: ah, cool
#asahi-gpu · 2023-04-13 05:55
dottedmagalyssa: How well this works (or going to work) with several non-coordinating clients?
#asahi-gpu · 2023-02-14 21:56
dottedmagAbility of Apple engineers to make bugs?
#asahi-gpu · 2023-01-05 06:48
dottedmagalyssa: Is "border colour 3" the same as ZX Spectrum's "BORDER 3" that draws a nice thick magenta border around the actually drawable area? :)
#asahi-gpu · 2023-01-04 14:28
dottedmagdmabuf _seems_ not to hardcode assumptions: width/height/format plus a number of weird flags (y invert, interlaced, bottom-first-interlaced), so it might work with multiplanar if they are advertised.
#asahi-gpu · 2023-01-04 14:18
dottedmagAlso Wayland implicitly implies that all the buffers are single-planar in wl_shm constructor. Nobody uses this constructor for anything useful, but well.
#asahi-gpu · 2023-01-04 14:13
dottedmagIs it 10-bit with 6-bit unused per channel?
#asahi-gpu · 2022-12-28 10:04
dottedmaglina: ANGLE test suite?
#asahi-gpu · 2022-12-27 16:34
dottedmagbluetail8: amdahl's law comes up very often during optimization work.
#asahi-gpu · 2022-12-02 16:55
dottedmagAh, sorry, freedesktop. lol
#asahi-gpu · 2022-12-02 16:55
dottedmagalyssa: lina: I have had success reclaiming an inactive username on GitHub: sent them a support request and they killed the account.
#asahi-gpu · 2022-11-27 15:33
dottedmagMaybe add a semi-transparent overlay that says "do not report bugs" to all WiP branches related to GPU? Just kidding.
#asahi-gpu · 2022-10-02 21:46
dottedmags/four/for/
#asahi-gpu · 2022-10-02 21:46
dottedmagalyssa: w.r.t. things Go shines at: I'm doing a Wayland compositor in Go for fun (under macOS four double-fun), and it still kinda-shines.
#asahi-gpu · 2022-08-31 06:39
dottedmagA painful remainder that keeping marketing and internal names in sync is futile.
#asahi-gpu · 2022-08-12 09:40
dottedmaghides
#asahi-gpu · 2022-08-12 09:40
dottedmaglocal IPC between kernel and userland DCP
#asahi-gpu · 2022-07-16 16:50
dottedmagmarcan: I'd be perfectly happy to have a local script writing somewhere to sysfs, a compiled tool that ioctls or anything equally gross.
#asahi-gpu · 2022-07-16 16:49
dottedmagmarcan: It's a monitor with two panels, maybe related to that as well. Maybe one of the links comes up later or something like that.
#asahi-gpu · 2022-07-15 20:28
dottedmagI wonder if DCP can be kicked to reenumerate modes of a monitor? I have a monitor that often has some mode missing after M1 coming out of sleep under macOS. The solution is to re-plug the cable, but I wonder if I can somehow detect it and trigger reenumeration under Linux without fiddling with cables.
#asahi-gpu · 2022-06-17 06:02
dottedmagopticron: mipmap was figured out on the stream, or later?
#asahi-gpu · 2022-06-02 12:37
dottedmag"mini-Linux"
#asahi-gpu · 2022-06-02 06:27
dottedmagsorry, wrong channel anyway.
#asahi-gpu · 2022-06-02 06:27
dottedmagOTOH, today is 2nd June and the first stream was on 1st April, so it took me 2 months to notice...
#asahi-gpu · 2022-06-02 06:26
dottedmagmarcan: Yeah, I could guess why it is so technically. The table looks like an awkward hack: displaying just the avatar up to the place where it is covered by table would be much less puzzling.
#asahi-gpu · 2022-06-01 14:03
dottedmagwhy Lina needs a keyboard and mouse on the table? Apparently she uses another set under the table somewhere.
#asahi-gpu · 2022-05-26 14:36
dottedmagalyssa: huh, can hw video decoder on m1 produce directly yuv compressed framebuffer?
#asahi-gpu · 2022-05-26 13:46
dottedmagalyssa: Wayland surfaces have the provision to do so, but it's up to compositor.
#asahi-gpu · 2022-05-22 20:28
dottedmagso, might be worth asking
#asahi-gpu · 2022-05-22 20:27
dottedmagalyssa: Well, I remember getting quite a bit of credits "for free" in uni (comp sci bsc/msc) for my SW work outside of uni. TBH it was 2004, and in a obscure uni anyway.
#asahi-gpu · 2022-05-13 20:28
dottedmagpyropeter3: this was absolutely uncalled for
#asahi-gpu · 2022-05-13 18:27
dottedmagOh, I'm not the only one who can't understand what she's saying

plus ›