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
jnn has joined #asahi-dev
<chadmed>
hehe were plain ARGB/ABGR formats ever tested
jn has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
KxCORP5894 has quit [Quit: Bye!]
KxCORP5894 has joined #asahi-dev
pb17 has joined #asahi-dev
tobhe_ has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Quit: john-cabaj]
glem has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
systwi has joined #asahi-dev
tristan2_ has joined #asahi-dev
tristan2 has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Remote host closed the connection]
JayBeeFOSS has joined #asahi-dev
ddxtanx has quit [Quit: Konversation terminated!]
jeisom has quit [Ping timeout: 480 seconds]
glem has joined #asahi-dev
glem0 has joined #asahi-dev
glem has quit [Ping timeout: 480 seconds]
glem0 is now known as glem
glem has quit [Quit: Ping timeout (120 seconds)]
glem has joined #asahi-dev
glem7 has joined #asahi-dev
glem has quit [Ping timeout: 480 seconds]
glem has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
glem7 has quit [Ping timeout: 480 seconds]
timokrgr has quit [Quit: User left the chat]
Frontal has joined #asahi-dev
timokrgr has joined #asahi-dev
pg12 has quit [Remote host closed the connection]
pg12 has joined #asahi-dev
pb17 has joined #asahi-dev
glem6 has joined #asahi-dev
glem has quit [Ping timeout: 480 seconds]
glem6 is now known as glem
glem5 has joined #asahi-dev
glem has quit [Ping timeout: 480 seconds]
glem5 is now known as glem
pb17 has quit [Ping timeout: 480 seconds]
glem has quit [Ping timeout: 480 seconds]
glem has joined #asahi-dev
glem6 has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
glem has quit [Ping timeout: 480 seconds]
glem6 is now known as glem
benjinsmi has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
jeffmiw has joined #asahi-dev
chadmed has joined #asahi-dev
gladiac is now known as Guest5815
gladiac has joined #asahi-dev
Guest5815 has quit [Ping timeout: 480 seconds]
<jannau>
john-cabaj: I started doing rebases onto linux stable releases. For two reasons, 1. the wifi branch conflicted non-trivially with 6.8.4 2. some distro's are consuming the tags as is, i.e. don't get any linux stable fixes themself
<jannau>
I'm unsure which is the better model. since stable patches can introduce regressions (see bt in v6.8.9) I see use in rebasing on stable releases
<jannau>
but that means that the patches will be rebased on each v6.x.y release and change commit ids but not contents
Frontal has quit [Remote host closed the connection]
jeffmiw has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
andymandias_ has joined #asahi-dev
<chadmed>
jannau, alyssa: was there a technical reason dcp overlay planes shouldnt advertise support for/implement premultiplied RGB formats? ive been dicking around with mpv's osd/subtitle overlay and it all seems to work as intended even when in XRGB8888
<chadmed>
like if its going to break some other use case it's no trouble to just get rid of it of course
<jannau>
I don't understand what your referring to. you can't enable overlays because it certainly will break HW cursors with some compositors
andymandias has quit [Ping timeout: 480 seconds]
<chadmed>
which compositors try to use DRM_PLANE_TYPE_OVERLAY for cursors?
<jannau>
are you referring to "DCP doesn't support XBGR8 / XRGB8 natively."
<chadmed>
no theres another comment in apple_drv.c that says overlays "must not" advertise XRGB at all
<chadmed>
xorg, kwin and weston all behave correctly wrt cursor. the plane is not being instantiated as a cursor plane so no compositor should be trying to use it like that
<jannau>
how are your X pixels initialized when using XBGG or XRGB? if they are set to 0 of course it will work
<chadmed>
well yeah thats what i was sort of asking. mpv's initialises things properly but if we cant rely on other applications doing the same then i assume we're just going to get a framebuffer-sized black square?
<chadmed>
like if other applications arent going to behave and we cant assume that they will initialise the X channel, then i will just remove the XRGB formats from the list
<chadmed>
the only reason i added them in the first place was because MPV can't do ARGB and all i needed was to see if applications would pick up and use the plane. but then it just ended up working as it should :p
ncopa has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
ncopa has joined #asahi-dev
wille-io has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
<jannau>
user space applications could, the kernel documentation doesn't require anything
<chadmed>
ohhh the minimum surface size is 32x32 thats less insurmountable than i thought
<chadmed>
i wonder if something like this warrants a drm api. we surely cant be the only hardware that has restrictions like this, and with planes now being fungible...
<chadmed>
on the other hand, the odd provenance of dcp probably makes it unique in not having been designed with cursors in mind perhaps?
alice has quit [Remote host closed the connection]