#asahi-dev · 2024-05-14 13:12
leiobut I can try hopefully before your next early evening#asahi-dev · 2024-05-14 13:12
leiosome gtk devs are not, main one that should know about this stuff is IRC only#asahi-dev · 2024-05-14 13:11
leiothey are all in a HDR hackfest right now though#asahi-dev · 2024-05-14 13:11
leioI don't think gnome-shell people would be unwilling to have chats about it on their matrix#asahi-dev · 2024-05-14 13:10
leiohow does it even impact those, thought we're talking about compositor compositing mouse cursor#asahi-dev · 2024-05-14 13:04
leioof course kind of an important app to have working good :)#asahi-dev · 2024-05-14 13:03
leioit does its own wayland subsurfaces too, etc#asahi-dev · 2024-05-14 13:03
leioit's so custom we can't consider it anywhere near a native gtk3 app in any way#asahi-dev · 2024-05-14 13:03
leionot really, it just uses it for theming and some low-level usage of things#asahi-dev · 2024-05-14 12:58
leiofirefox is not gtk; sysprof is gtk4, gimp is gtk2 unless you've keyworded the gimp3 beta#asahi-dev · 2024-05-14 12:55
leiogtk is probably going to differ wildly on whether it's gtk3, gtk4 or gtk-4.14#asahi-dev · 2024-05-14 12:51
leiochadmed: BUT on that note, it might be worth first testing how the older version acts.#asahi-dev · 2024-05-14 12:51
leiochadmed: I think I really should get the upgrade in first too; my version doesn't do some of the fancy stuff yet#asahi-dev · 2024-05-12 21:22
leiothat's where I'm mentally blocked right now - how is it not "blending" more than 2 layers#asahi-dev · 2024-05-12 21:22
leioOK, so I think the point here with the terminology is that when you have a video overlay, you seem to be composite them together without alpha blending needed, but you're just "placing" that plane in some specific location and it isn't counting as a blending with the other plane that happens to be lower z-priority (in CSS terms), so only the plane used for cursor ends up being blended on top of the combined visual result of the other 2 or so?#asahi-dev · 2024-05-12 21:10
leiois that the same kind of usage as for example having no cursor (as it gets auto-hidden typically by video players) and in its place would be subtitles on top of the video?#asahi-dev · 2024-05-12 21:06
leiowhat for would you use all 3 at once?#asahi-dev · 2024-05-12 21:04
leiounder blend, you mean blend with alpha channel?#asahi-dev · 2024-05-12 21:04
leiobut how do we declare the types; 1) do we mark one as cursor and then expect compositors to see its properties and find it's usable for other purposes too and use it when they deem it useful; 2) do we mark all as (primary +) overlay, as they are full sized and think compositors should pick one for cursor then; 3) something else#asahi-dev · 2024-05-12 21:00
leiowhat I hope we can avoid is that we tie up a plane in a way that it can ONLY be used as a cursor#asahi-dev · 2024-05-12 20:56
leiobut we do want hardware cursors, do we not? You intend to "fake" a cursor plane for that?#asahi-dev · 2024-05-12 20:52
leioand you think compositors shouldn't use the overlay when cursor one doesn't exist?#asahi-dev · 2024-05-12 20:52
leiooh, me not knowing the types thjere maybe? do you mean there's a cursor planer, generic plane and universal plane?#asahi-dev · 2024-05-12 20:50
leiochadmed: not following now, as you seem to be saying kind of the opposite of what I thought we both meant#asahi-dev · 2024-05-12 13:49
leioI believe mutter/gnome-shell uses only cursor plane for cursor, but are open to using a generic one for it when needed; I gather it would give more freedom too, so you have more planes available when e.g. mouse cursor is hidden cause you are watching a video and can then put shell chrome in one plane, zero-copy video in another and subtitles on another on top of it, while otherwise it might only work when video is fullscreen#asahi-dev · 2024-05-12 13:44
leiorighto, was still catching up, sorry#asahi-dev · 2024-05-12 13:43
leiosven: "Broadcpm" in one of the comments#asahi-dev · 2024-05-10 13:13
leio(typically a graphics/display driver bug)#asahi-dev · 2024-05-10 13:12
leiobut I just get a bunch of green#asahi-dev · 2024-05-10 13:12
leioI mean, might be just a matter of something like `gst-launch-1.0 uridecodebin3 uri=file:///path/to/file ! videoconvertscale ! gldownload ! 'video/x-raw(memory:DMABuf)' ! waylandsink fullscreen=true`#asahi-dev · 2024-05-10 12:54
leiobut then we'd still need the compositor to put it in an overlay plane, perhaps waylandsink fullscreen=true is sufficient for that#asahi-dev · 2024-05-10 12:53
leiobut I guess the tricky part was also to integrate with GTK, so maybe if we skip that and send straight to waylandsink maybe.#asahi-dev · 2024-05-10 12:52
leiowe might be able to sneak in a gldownload element in a gst-launch-1.0 pipeline which seems to be able to copy from GL memory to DMABuf memory#asahi-dev · 2024-05-10 12:51
leiofor testing#asahi-dev · 2024-05-10 12:51
leiobut with a custom pipeline we might be able to make a copy to dmabuf memory#asahi-dev · 2024-05-10 12:50
leioI mean the stuff described in those blog posts#asahi-dev · 2024-05-10 12:50
leiochadmed: I think with gstreamer you can't really get it to dmabuf and offload without something like VAAPI either#asahi-dev · 2024-05-10 12:34
leio(note that I don't have gst 1.24 in gentoo yet)#asahi-dev · 2024-05-10 12:33
leioI don't know whether it works that way#asahi-dev · 2024-05-10 12:33
leiohttps://blog.gtk.org/2023/11/15/introducing-graphics-offload/ + https://blog.gtk.org/2024/04/17/graphics-offload-revisited/#asahi-dev · 2024-05-10 12:32
leiochadmed: latest gnome-shell and gstreamer-1.24 should be able to.#asahi-dev · 2024-05-09 10:23
leioyeah, that's missing all the cool new features to make spotting trouble easier; but looks like you already spotted something anyways then#asahi-dev · 2024-05-09 10:21
leioanyhow, more on topic I wish I had a newer sysprof to look at the capture :)#asahi-dev · 2024-05-09 10:21
leiohttps://bpa.st/WDNA#asahi-dev · 2024-05-09 10:19
leioI hope said thing actually forces IPv6#asahi-dev · 2024-05-09 10:11
leiobut with IPv6 I gather something goes bad between singapore and AU#asahi-dev · 2024-05-09 10:11
leioI could just -4 it for the file#asahi-dev · 2024-05-09 10:10
leioit's literally the only address I've ever had problems with, I'm not going to go bother at that level#asahi-dev · 2024-05-09 10:09
leionow once it showed GW-AussieBroadband.retn.net too, in red with mtr#asahi-dev · 2024-05-09 10:08
leiolocal traceroute goes to question marks and bad after rt.eqx.sin.sg.retn.net