ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
nsklaus has quit [Ping timeout: 480 seconds]
bisko has quit [Ping timeout: 480 seconds]
drubrkletern has quit [Remote host closed the connection]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
jeisom has joined #asahi-dev
gabuscus has quit []
bisko has quit [Ping timeout: 480 seconds]
mlp has quit [Read error: No route to host]
gabuscus has joined #asahi-dev
bisko has joined #asahi-dev
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
dylanchapell has joined #asahi-dev
crabbedhaloablut has quit [Read error: No route to host]
crabbedhaloablut has joined #asahi-dev
sarucchi has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
chadmed_ has quit [Quit: Page closed]
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
sarucchi has quit [Ping timeout: 480 seconds]
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
<chadmed> yeah the overlay planes are definitely being used, neat
chadmed has quit [Remote host closed the connection]
<jannau> chadmed: only yuv format I tested so far is iirc "v024". it will need more setup in iomfb.c since it is multi-planar
bisko has joined #asahi-dev
chadmed has joined #asahi-dev
<chadmed> jannau: ack
<chadmed> mpv definitely uses the hardware planes properly and kwin knows about them but just ignores them
<chadmed> tested both kwin_wayland and kwin_x11
<chadmed> no errors or anything, it knows theyre there and enumerates their supported formats etc properly. it just doesnt use them at all
<chadmed> at least according to drm_info
<marcan> yeah, getting this plumbed through the desktop stack is... not going to be easy
<jannau> I'm unsure about the state of direct scan-out for overlay planes kwin_wayland. I think it worked at some point for yuv but I don't think itworks at the moment. it should work in weston
<marcan> even chrome and firefox *on macOS* don't know how to do this
<marcan> jannau: we gave up on cursor support right? no good solution for the edge crop issue :(
<jannau> not sure if mpv automatically tries to use it though. it's probably pointless with vo opengl
<marcan> (without workarounds like padding the bitmap in kernel space)
<jannau> more or less, I wanted to try what happens if I reject a too far off-screen cursor in atomic_check but I would expect all kninds of broken desktops
<chadmed> mpv by default only uses one plane, i forced it by passing --drm-drmprime-video-plane=primary --drm-draw-plane=overlay
gordonfreeman has joined #asahi-dev
<jannau> the old cursor api was nicer for our use case
<jannau> I don't see a way to support hw cursors if we don't have a way to communicate to userspace that we need 31 pixel padding left and right of the cursor
<chadmed> format modifier? but then everything would have to support it i suppose
<jannau> another problem with hw cursor support is that we might need to use plane[1] for cursor. I don't remember if I tricked myself with the fake argb2101010 support of if blending plane[2] onto plane[1] didn't support transparency
<chadmed> is one of those the iboot framebuffer that we cant get rid of for some reason?
<chadmed> or did that get fixed
<jannau> no, the issue is that plane[0] seems to support only apple's wide RGB colorspace for 10-bit pixelformats
<chadmed> ahh right
<jannau> marcan: hw cursor support with copying when the cursor is too far off-screen is probably still a performance/power improvement even if it is usgly
<jannau> not to speak of sw cursor bugs it would fix silently
<marcan> yeah, probably worth it with a limited plane dimension to make sure compositors don't try to use it for non-cursor things?
chadmed has quit [Remote host closed the connection]