Just opened my new shop with magical botanical and mushroomy items :)
@pavel @datenwolf @dcz @martijnbraam @NekoCWD You could encode to YUV444 or even RGB, but lack of lens corrections is much more visible than chroma subsampling:)
@aeva From a quick search, Framework's touchpad (PixArt PIXA3854) should be handled by hid_multitouch just fine, so if it shows up as a mouse you may have something misconfigured or some kernel modules missing.
@aeva > (which linux sees as a mouse)
Awful. What kind of laptop is that? Only seen that with shitty USB touchpads in lapdocks (...and Pinebooks), presumably done for compatibility with Android(?)
@pavel Outputting AYUV is trivial and makes encoding slightly faster, but then you lose the viewfinder for free as that's not a format that can be passed to the compositor.
Ideally we would output planar YUV (perhaps with multiple render targets?) as that can be sampled from with recent etnaviv: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3418
For now I'm limiting myself to what's possible on bookworm/crimson though :)
@SpookyDoom @maxleibman As if the current incentives actually worked 馃槃
@pavel Displaying the viewfinder is free with (gl)waylandsink, as the dmabuf gets passed directly to the compositor in a subsurface, so the resolution is not important - it goes straight to the GPU for compositing. It's important for encoding and that's where uncached buffers can bite you, but since my shader is currently too heavy to handle higher res anyway it's not a thing I concern myself with right now.
And the code is basic, it just takes time to get familiar with the problem space 馃槣
@pavel So I was just adding autofocus to my toy code and I wanted to be able to trigger it by tapping on the viewfinder. Just replaced waylandsink with gtkwaylandsink, grabbed its GtkWidget and added it to my GtkWindow and it works 馃槢
Hi, I'm dos. Silly FLOSS games, open smartphones, terrible music and more. 50% of @holypangolin; 100% of dosowisko.net. he/him/any. I don't receive DMs.