#
…

2021-08-29

02:31phiologe has joined #asahi-re
02:33PhilippvK has quit [Ping timeout: 480 seconds]
03:08skipwich has quit [Ping timeout: 480 seconds]
03:57alyssa has joined #asahi-re
03:57alyssathe relevant string int he firmware has a %d format specifier, it's not hardcoded to 2
03:58alyssait could be the firmware wants to be generic to different devices (...but it hardcodes H13P in the name lol)
03:58alyssaor it could be that it's computed on the fly, maybe based on what's in use or maybe resoution-- let me try at 1080p
04:03alyssano dice there either. 🤷
04:05alyssa[Also, the use of %d instead of %u on scaling syslog implies that dcp rect is actually s32's, but the DCP rejects negative values. Which is a shame, it would've been a lovely way to indicate X/Y flips. Which I know the hardware can do since I know the actual register for it...]
11:19marcanalyssa: maybe "blend" means specificially formats with alpha
11:19marcanthat also makes sense, since you'd have two layers with alpha on top of one without
11:19marcanif you're using ARGB for everything that could explain that
11:20marcanre flips, there have to be flags for that somewhere...
11:20marcanshould be easy to work out with monitor rotation on macos
11:50Misthios5 has joined #asahi-re
11:51Misthios5 has quit []
11:53Misthios has quit [Quit: Misthios]
11:53Misthios has joined #asahi-re
11:55Misthios has quit []
11:56Misthios has joined #asahi-re
11:56Misthios has quit []
11:56Misthios has joined #asahi-re
12:20al3xtjames2 has joined #asahi-re
12:24al3xtjames has quit [Ping timeout: 480 seconds]
12:24al3xtjames2 is now known as al3xtjames
13:28alyssaalpha is possibly, yeah
13:32alyssado we know the fourcc for XBGR, though?
13:33alyssa(*is* there a fourcc for it?)
13:34alyssaunless maybe it's still ARGB but with some alpha flpag disabled somewhere
13:34alyssa(or some opaque flag enabled)
13:52PhilippvK has joined #asahi-re
13:55phiologe has quit [Ping timeout: 480 seconds]
15:49marcanalyssa: and yeah, looking at the format codes it sounds like there should be some flag to disable alpha blending?
15:49marcanit doesn't look like there's XBGR
15:50marcanthere was one with a non-text code in the past, but I don't recall seeing any of those in DCP
15:54marcanalyssa: looks like that limitation isn't for blending though
15:54marcanit really is just max 2 surfaces at one time
15:54marcanthat is so bizarre
15:59alyssamarcan: baffling
15:59alyssaAlthough I guess it's not super surprising given this was designed for iPhones where you only ever have a primary and an overlay
16:00marcanyeah but the DCP ABI used to have 3 slots, now it has 4... yet it limits it to 2... but the hardware apparently supports 3?
16:00marcanthat's so confusing, if they increased the ABI count one would presume they expect to release hardware with more slots, but then they don't even support the existing 3?
16:00marcanmaybe it's just Not Done Yet
16:04alyssaI'm more wondering how to model this for linux
16:04alyssa(in particular to support broken compositors that expect a cursor plane but ignore overlay planes)
16:07alyssa"Checking that virtualized resources exported to userspace are not oversubscribed. For various reasons it can make sense to expose more planes, crtcs or encoders than which are physically there"
16:07alyssaOh, like that. Expose a primary, a cursor, and an overlay and reject request sto enable all 3 at once
17:38chadmed has quit [Read error: Connection reset by peer]
17:52balrog has quit [Ping timeout: 480 seconds]
19:22balrog has joined #asahi-re
20:39Mary has quit [Quit: The Lounge - https://thelounge.chat]
20:42Mary has joined #asahi-re
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01balrog has quit [Quit: Bye]
22:01yrlf has joined #asahi-re
22:14balrog has joined #asahi-re
…