2026-10-19
00:16devdrago has joined #asahi-dev
00:41hardy94 has quit [Remote host closed the connection]
00:54bennofs3 has quit [Ping timeout: 480 seconds]
00:57hdbngr has quit [Ping timeout: 480 seconds]
00:59Ardu0us_ has joined #asahi-dev
01:03bennofs3 has joined #asahi-dev
01:04Ardu0us has quit [Ping timeout: 480 seconds]
01:05Ardu0us has joined #asahi-dev
01:06hdbngr has joined #asahi-dev
01:09Ardu0us_ has quit [Ping timeout: 480 seconds]
01:52bgb_ has joined #asahi-dev
01:52bgb has quit [Read error: Connection reset by peer]
01:55bgb_ has quit [Remote host closed the connection]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:00rosalyntg has quit [Read error: Connection reset by peer]
02:00rosalyntg has joined #asahi-dev
02:01jcbm has quit [Remote host closed the connection]
02:02jcbm has joined #asahi-dev
02:10gargantua has quit [Ping timeout: 480 seconds]
02:14hdbngr has quit [Ping timeout: 480 seconds]
02:22hdbngr has joined #asahi-dev
02:26devdrago has quit [Quit: Connection closed for inactivity]
02:36bgb has joined #asahi-dev
03:32Calandracas_ has joined #asahi-dev
03:38Calandracas has quit [Ping timeout: 480 seconds]
03:51marvin24 has quit [Ping timeout: 480 seconds]
04:02nora has joined #asahi-dev
04:04nora_ has quit [Ping timeout: 480 seconds]
04:10devdrago has joined #asahi-dev
04:18yurix has quit [Read error: Connection reset by peer]
04:20yurix has joined #asahi-dev
04:34roxfan has joined #asahi-dev
04:36hdbngr has quit [Ping timeout: 480 seconds]
04:37roxfan2 has quit [Ping timeout: 480 seconds]
04:43chadmed has quit [Quit: Konversation terminated!]
04:43chadmed has joined #asahi-dev
04:43hdbngr has joined #asahi-dev
05:17chadmed has quit [Quit: Konversation terminated!]
05:17chadmed has joined #asahi-dev
05:51hdbngr has quit [Ping timeout: 480 seconds]
05:58hdbngr has joined #asahi-dev
06:02[Kalisto] has quit [Quit: Ping timeout (120 seconds)]
06:02[Kalisto] has joined #asahi-dev
06:14bgb_ has joined #asahi-dev
06:14bgb has quit [Read error: Connection reset by peer]
06:25mesa has quit [Remote host closed the connection]
06:26mesa has joined #asahi-dev
06:32mesa has quit [Remote host closed the connection]
06:32mesa has joined #asahi-dev
06:51ajj37 has joined #asahi-dev
07:07sofusJamesCalligeros[m]: no, i tried a few things but could not get fix it / change anything. Mesa ignores the offset and the size calculations seem wrong (including meta)
07:07sofusi also think it suffers from the same BOMDAS error for the packed formats, but im not sure if they can even be imported
07:09sofusi can prepare a little patch for you, otherwise it would be the ml version together with the vaapi vrapper branch
07:14hdbngr has quit [Ping timeout: 480 seconds]
07:21hdbngr has joined #asahi-dev
07:27chadmedin the context of the fourccs i would even go with something like AX instead of IX to make it clear that it is apple interchange
07:30chadmedoh yeah the ail function to initialise an interchange buffer makes a lot of rgb assumptions
07:37sofusthanks, AX makes a lot more sense. I pushed kernel changes to avd-interchange and vaapi to interchange. Please test that direct scanout works first
07:38sofusi did try to fix the interchange setup, but saw no difference. Also note the metadata setup
07:41sofusthere seems to a few different kinds of errors. Sometimes the 'shapes' are kinda correct and its just blocky. Other times it looks mostly uninitialized (the cyan color + a few blocky things)
07:44chadmedin which case probably not something i can fix in between shifts at the bullshit factory
07:48aurora has quit [Remote host closed the connection]
07:48aurora has joined #asahi-dev
07:56chadmed has quit [Quit: Konversation terminated!]
08:01JamesCalligeros[m]I think something broke. mpv complains about the stride being invalid before it gets to touching the gpu
08:01JamesCalligeros[m]It does try to use IX12 though so its doing… something
08:02gargantua has joined #asahi-dev
08:02hardy94 has joined #asahi-dev
08:06bgb has joined #asahi-dev
08:11bgb_ has quit [Ping timeout: 480 seconds]
08:11sofusremove this https://github.com/sofus13/linux/commit/79c4964f53b0678b4e3f37f4ca167546234fbad0#diff-a86fccc634687965763a3bf4ae1daddf5c036ce1fb6c7f7722c73eab15ddf33aR133
08:16devdrago has quit [Quit: Connection closed for inactivity]
08:16___nick___ has joined #asahi-dev
08:18Bhyve has joined #asahi-dev
08:21Bhyve has quit []
08:27JamesCalligeros[m]just the decoded_fmts bit or that whole commit?
08:27JamesCalligeros[m]the gh ui is useless i cant tell what you want me to get rid of
08:28xarkes has quit [Quit: WeeChat 4.6.3]
08:29JamesCalligeros[m]oh yeah lmfao i see
08:29JamesCalligeros[m]the line highlight is almost the same colour as the green background ffs
08:33JamesCalligeros[m]Some product manager needed to justify their existence presumably
08:33picnoir has quit [Quit: WeeChat 4.10.1]
08:34picnoir has joined #asahi-dev
08:38hdbngr has quit [Ping timeout: 480 seconds]
08:41hdbngr has joined #asahi-dev
08:46___nick___ has quit []
08:51___nick___ has joined #asahi-dev
08:53xarkes has joined #asahi-dev
08:55JamesCalligeros[m]im backporting to 7.1.13, asahi-wip is too broken
09:06JamesCalligeros[m]gpu driver memory management/bo import issues
09:06JamesCalligeros[m]and i2c tipd is broken
09:12hdbngr has quit [Remote host closed the connection]
09:12hdbngr has joined #asahi-dev
09:18okb has joined #asahi-dev
09:24xdbob has quit [Remote host closed the connection]
09:25xdbob has joined #asahi-dev
09:33bit_runner80 has joined #asahi-dev
09:34waltmck has quit [Ping timeout: 480 seconds]
09:35waltmck has joined #asahi-dev
09:36bit_runner80 has quit [Read error: Connection reset by peer]
09:36beto_ has joined #asahi-dev
09:37betoissues has quit [Ping timeout: 480 seconds]
09:37beto_ is now known as betoissues
09:39JamesCalligeros[m]Theres something else going wrong too unrelated to 7.2
09:39JamesCalligeros[m]kwin is still spamming massive amounts of fb creation failures
09:47iwuvmika has quit [Remote host closed the connection]
09:48iwuvmika has joined #asahi-dev
09:51nukelet046 has quit []
09:53oliver_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:00nukelet046 has joined #asahi-dev
10:07hello0092 has joined #asahi-dev
10:19oliver has joined #asahi-dev
10:20gargantua has quit [Ping timeout: 480 seconds]
11:10okb has quit [Ping timeout: 480 seconds]
11:14JamesCalligeros[m]sofus: how did you get this to work at all? theres nothing wrong with ail_initialise_interchange but direct scanout just wont do anything
11:14JamesCalligeros[m]either some random wayland level dmabuf import failure or the buffer mpv "wants" is bigger than the one the vaapi wrapper has spat out
11:14JamesCalligeros[m]i actually cant use vo=dmabuf-wayland at all
11:18JamesCalligeros[m](i should add theres nothing wrong with my local ail_init_interchange as i have fixed it to work with planar formats but the issue is not that)
11:29hdbngr has quit [Ping timeout: 480 seconds]
11:38hdbngr has joined #asahi-dev
11:39sofushmm i dont think i did anything special. I had all sort of issues until i forced my compositor to use vulkan. Im not sure if something like that could apply to kwin
11:43bgb has quit [Remote host closed the connection]
11:43bgb has joined #asahi-dev
11:45JamesCalligeros[m]oh right, i dont think kwins vulkan backend is ready
11:45JamesCalligeros[m]ill install weston or something tomorrow
11:51sofusanything wlroots based will likely be ok. I had to `WLR_RENDERER=vulkan` and `WLR_RENDER_DRM_DEVICE=/dev/dri/renderD128`
12:07Bhyve has joined #asahi-dev
12:08JamesCalligeros[m]im so easily sniped
12:08JamesCalligeros[m]i think there are a couple of issues here
12:09JamesCalligeros[m]for hevc the buffer size is not being calculated correctly (the buffer returned by the vaapi wrapper is smaller than the one expected by the gpu)
12:09JamesCalligeros[m]and for h264 i noticed the blockiness and incorrect colours, this could be related and some interchange related calculation is being done incorrectly
12:13JamesCalligeros[m]unfortunately i cannot isolate to vaapi as the v4l2request backend for mpv does not seem to use interchange at all. linear works fine however
12:16sofusas in interchange buffer size is wrong? That must mean either vaapi or gpu gets the wrong size
12:20bennofs3 has quit [Quit: Ping timeout (120 seconds)]
12:20bennofs3 has joined #asahi-dev
12:20chadmed has joined #asahi-dev
12:21__nick__ has joined #asahi-dev
12:21chadmedlmao im so done, i rebooted for the 9 grillionth time tonight and now it works in kwin too
12:21___nick___ has quit [Ping timeout: 480 seconds]
12:22chadmedso the issue now is just hevc doing [vo/gpu-next/libplacebo] Imported object requires 4308992 bytes, larger than the provided size 4211200!
12:23chadmedthe "required" size is what AIL has calculated, and i suspect that it is correct given that it is correct for everything else including h264
12:24* JamesCalligeros[m]uploaded an image: (418KiB) < https://matrix.org/oftc/media/v1/media/download/AeIqtlV58mUEEfjZm8aotNjfbP-qYJBfh1_GVKyg7XNcRngZeWFIs16lW6bydRVjB6GGFRs7sotrvW-9C1DPCDdCehnDeQLwAG1hdHJpeC5vcmcvYklYaG5zbXVSaEVlZXROQUNPdWtYbkFH >
12:24chadmedthis is what i get from an h264 video (the video is supposed to be 4:3 lol). does this match what you have seen?
12:24tryhard[m]this can be at a art museum
12:26jannauthe coded size might differ. ffmpeg/mpv might want 64 pixel aligned width/height for hevc
12:31jannaueven a simple ASAHI_QUEUE_CREATE / ASAHI_QUEUE_DESTROY pair already leaks kernel objects (probably keeps them alive)
12:39chadmedwdym? its clearly not lol, if it was doing direct scanout i would expect drm_info to show that there is an NV12 framebuffer on one of the planes
12:42jannauno, the queue leak already happens in 7.1, in 7.2 it results keeping GEM buffers pinned/unevictable. that could be change in the rust bindings or a change in the asahi driver
12:55rany has quit [Remote host closed the connection]
12:55rany has joined #asahi-dev
13:01Retr0id has quit [Read error: Connection reset by peer]
13:02Retr0id has joined #asahi-dev
13:12yjn024 has joined #asahi-dev
13:13yjn024 has quit []
13:33hardy94 has quit [Ping timeout: 480 seconds]
13:36JamesCalligeros[m]Interestingly ~nothing in surface.c seems to have any effect other than setting the modifier and the object size
13:36JamesCalligeros[m]Which diverges greatly from what one would expect
14:02chadmedim kinda stumped on the h264 one that looks wrong though. nothing in surface.c has any effect whatsoever
14:05sofusfair, i think mpv ignores height/width. The rest should be copied. Maybe the incorrect buffer size could come from a pitch*height (which would be wrong)
14:05r0ni has quit [Ping timeout: 480 seconds]
14:24bennofs3 has quit [Ping timeout: 480 seconds]
14:24__nick__ has quit [Ping timeout: 480 seconds]
14:26__Tetris__ has quit [Quit: Ping timeout (120 seconds)]
14:27__Tetris__ has joined #asahi-dev
14:27waltmck has quit [Read error: Connection reset by peer]
14:27waltmck has joined #asahi-dev
14:27betoissues has quit [Remote host closed the connection]
14:29betoissues has joined #asahi-dev
14:29bennofs3 has joined #asahi-dev
14:42hello0092 has quit [Quit: Konversation terminated!]
14:52iwuvmika has quit [Ping timeout: 480 seconds]
15:05hardy94 has joined #asahi-dev
15:14hdbngr has quit [Ping timeout: 480 seconds]
15:23hdbngr has joined #asahi-dev
15:34r0ni has joined #asahi-dev
16:25hardy94 has quit [Remote host closed the connection]
16:45crabbedhaloablut has quit []
16:45crabbedhaloablut has joined #asahi-dev
16:58hello0092 has joined #asahi-dev
17:42j_rustacean has joined #asahi-dev
17:43j_rustacean has quit []
17:46hdbngr_ has joined #asahi-dev
17:46iwuvmika has joined #asahi-dev
17:53hdbngr has quit [Ping timeout: 480 seconds]
18:52devdrago has joined #asahi-dev
19:06meow676767676 has quit [Read error: Connection reset by peer]
19:07meow676767676 has joined #asahi-dev
19:16hdbngr_ has quit [Ping timeout: 480 seconds]
19:19truita has quit [Ping timeout: 480 seconds]
19:24hdbngr has joined #asahi-dev
19:24marv7000 has quit [Ping timeout: 480 seconds]
19:25Bhyve has quit []
19:26iwuvmika has quit [Ping timeout: 480 seconds]
19:35vimproved has quit [Remote host closed the connection]
19:36vimproved has joined #asahi-dev
19:36bennofs3 has quit [Quit: Ping timeout (120 seconds)]
19:36bennofs3 has joined #asahi-dev
19:47marv7000 has joined #asahi-dev
19:48marv7000 has quit []
19:48marv7000 has joined #asahi-dev
19:55iwuvmika has joined #asahi-dev
20:04averne has quit [Quit: quit]
20:06averne has joined #asahi-dev
20:23hdbngr has quit [Ping timeout: 480 seconds]
20:24hdbngr has joined #asahi-dev
20:59melnary_ has quit [Remote host closed the connection]
20:59melnary_ has joined #asahi-dev
21:00melnary_ has quit [Remote host closed the connection]
21:02devdrago has quit [Quit: Connection closed for inactivity]
21:15okb has joined #asahi-dev
21:15okb has quit [Read error: Connection reset by peer]
21:26gargantua has joined #asahi-dev
21:43debtquity has quit [Remote host closed the connection]
21:58hdbngr has quit [Ping timeout: 480 seconds]
21:59hdbngr has joined #asahi-dev
22:04mesa has quit [Ping timeout: 480 seconds]
22:04mesa has joined #asahi-dev
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:15hdbngr has joined #asahi-dev
22:29ciara has joined #asahi-dev
22:40gargantua has quit [Ping timeout: 480 seconds]
22:51gargantua has joined #asahi-dev
23:00hello0092 has quit [Remote host closed the connection]
23:00hello0092 has joined #asahi-dev
23:24hdbngr has quit [Ping timeout: 480 seconds]
23:33hdbngr has joined #asahi-dev
23:51greguu_ has joined #asahi-dev
23:56ipatch has quit [Read error: Connection reset by peer]
23:56ipatch has joined #asahi-dev
23:58greguu has quit [Ping timeout: 480 seconds]