#
#asahi-gpu · 2022-06-01 04:45
marcanif the triangle is in RAM there's no reason it can't go on the screen in, like, 30 seconds tops
#asahi-gpu · 2022-06-01 04:45
marcanm1n1 has a perfectly good fb_blit() function that will put any xRGB sprite on the framebuffer and will work perfectly fine with GPU buffers as a source
#asahi-gpu · 2022-06-01 00:51
phireit really shouldn't be hard, but there is some weirdness she doesn't understand and spends like 5 hours trying to complete the simple task of DMAing the result to the framebuffer in the correct format
#asahi-gpu · 2022-06-01 00:50
phireThis is the kind of question that ends with 14 hour streams.
#asahi-gpu · 2022-05-31 19:34
Dcow[m]10 hours before start
#asahi-gpu · 2022-05-31 19:33
Dcow[m]https://www.youtube.com/watch?v=X7cNeFtGM3k&ab_channel=AsahiLina%2F%E6%9C%9D%E6%97%A5%E3%83%AA%E3%83%8A
#asahi-gpu · 2022-05-31 18:41
boulabiar[m]There is something tomorrow? Isn't next Monday?
#asahi-gpu · 2022-05-31 18:16
Dcow[m]lina: if you will be able to get triangle rendered tomorrow, how hard it would be to put results in the display framebuffer?
#asahi-gpu · 2022-05-27 18:37
linaI might have gotten them mixed up there, yes ^^
#asahi-gpu · 2022-05-27 17:49
alyssaof course both daniel's do plenty of boths ^^
#asahi-gpu · 2022-05-27 17:49
danielsheh yeah, you want Vetter to be helping you paint your bikeshed :)
#asahi-gpu · 2022-05-27 17:48
alyssa(danvet is the DRM co-maintainer along with airlied, daniels is the Weston maintainer)
#asahi-gpu · 2022-05-27 17:48
alyssaLots of daniel's
#asahi-gpu · 2022-05-27 17:48
alyssalina: You maaaybe meant to ping danvet instead?
#asahi-gpu · 2022-05-26 14:59
lina*don't have
#asahi-gpu · 2022-05-26 14:58
lina(Since we get to pick all the names here, and I don't experience with other GPUs so I don't know what's recognizable to others)
#asahi-gpu · 2022-05-26 14:57
linadaniels: Since you're around... I'd love to sit down and get your opinion on this wonderfully weird AGX GPU one of these days. Stuff related to the kernel UABI once we get there, and right now I'm wondering if you have any takes on how to name things.
#asahi-gpu · 2022-05-26 14:56
Jamie[m]but otherwise i think that’s right
#asahi-gpu · 2022-05-26 14:56
Jamie[m]so the actual decryption decryption is in the decoder block
#asahi-gpu · 2022-05-26 14:56
Jamie[m]iirc there is an AVD command to feed it a decryption key
#asahi-gpu · 2022-05-26 14:54
daniels^ most common approach
#asahi-gpu · 2022-05-26 14:54
marcanjannau: I'm not sure if apple actually implements anything like PAVP; my suspicion is they just rely on kernel integrity and the actual DRM key management/decrypting is in SEP and it'll refuse to do it if you've downgraded security
#asahi-gpu · 2022-05-26 14:52
Jamie[m]yeah, iirc there’s a webkit header file that define the relevant VT format constant, but it’s not in VT public headers themselves
#asahi-gpu · 2022-05-26 14:52
marcanand the compressed stuff is probably not in public APIs
#asahi-gpu · 2022-05-26 14:52
marcanit would support both regular and compressed, of course
#asahi-gpu · 2022-05-26 14:51
Jamie[m](coming out as in, they’re what i dump from the IOMMU mapped area)
#asahi-gpu · 2022-05-26 14:51
Jamie[m]the framebuffers coming out when ffmpeg drives it are regular yuv though
#asahi-gpu · 2022-05-26 14:51
jannauI would expect that DRM use cases are easier to support without GPU, assuming their is platform support for it
#asahi-gpu · 2022-05-26 14:51
Jamie[m]vague memory of suggestions that it supported a yuv compressed format last time i looked at it
#asahi-gpu · 2022-05-26 14:47
marcangoogle could still do it properly for non-DRMed content so that doesn't really add up
#asahi-gpu · 2022-05-26 14:46
TheLinkdoesn't sound too plausible to me
#asahi-gpu · 2022-05-26 14:46
TheLinkyeah, some said that drm is the reason google does it differently but I have no idea
#asahi-gpu · 2022-05-26 14:45
marcansafari literally shuts down the GPU while playing video
#asahi-gpu · 2022-05-26 14:45
marcanchrome does not support the overlay surface offload on macOS so it keeps the GPU turned on
#asahi-gpu · 2022-05-26 14:44
marcan< TheLink> the greatest advantage of hw video decoding is only with safari afaik <- only because nobody else supports it properly
#asahi-gpu · 2022-05-26 14:44
marcanJamie[m], sven: this is why I made my job doing computers all da- wait
#asahi-gpu · 2022-05-26 14:44
jannaudottedmag: not sure if we have the decoder already RE-ed enough to say that but I would expect that it supports framebuffer compression, the mjpeg decoder does
#asahi-gpu · 2022-05-26 14:43
marcanAlso there's a big scaler block that can probably convert anything to anything
#asahi-gpu · 2022-05-26 14:43
marcandottedmag: I don't know if compressed YUV is a thing Apple does, but if it is the HW vdec would definitely support it, since it's the primary use case for that.
#asahi-gpu · 2022-05-26 14:39
linaalyssa: I don't think computing those matrices is a big deal. Worst case if we don't have the time to figure out the exact rounding, we guess. Nobody's going to complain about the YUV conversions being off by 1 lsb with everything else going on...
#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 14:26
TheLinkbut we're talking linux here, so I guess you might have a real point
#asahi-gpu · 2022-05-26 14:25
TheLinklast info I read said that chrome uses 2x the energy for hw decoding
#asahi-gpu · 2022-05-26 14:25
TheLinkthe greatest advantage of hw video decoding is only with safari afaik
#asahi-gpu · 2022-05-26 14:19
svenbut yeah, same otherwise
#asahi-gpu · 2022-05-26 14:19
sventhat's why you take vacations to work on hobby projects :-P
#asahi-gpu · 2022-05-26 14:19
alyssaJamie[m]: same hat
#asahi-gpu · 2022-05-26 14:18
Jamie[m]Who knew having a job doing computers all day makes you tired of doing computers
#asahi-gpu · 2022-05-26 14:18
Jamie[m]I gotta find more time to work on the AVD stuff
#asahi-gpu · 2022-05-26 14:15
Jamie[m]the macos scheduler has input from the inbuilt smoke detector to migrate the process to icestorm if there’s too much fire happening

plus ›