#
…

2025-12-22

00:02pb17 has quit [Remote host closed the connection]
00:03pb17 has joined #asahi-dev
00:06hdbngr has quit [Ping timeout: 480 seconds]
00:12hightower4 has joined #asahi-dev
00:14hdbngr has joined #asahi-dev
00:18hightower3 has quit [Ping timeout: 480 seconds]
00:23hdbngr has quit [Ping timeout: 480 seconds]
00:26hdbngr has joined #asahi-dev
00:28mixi has quit [Ping timeout: 480 seconds]
00:34hdbngr has quit [Ping timeout: 480 seconds]
00:41mixi has joined #asahi-dev
00:42hdbngr has joined #asahi-dev
01:16nela8 has joined #asahi-dev
01:21nela has quit [Ping timeout: 480 seconds]
01:21nela8 is now known as nela
01:41opticron has quit [Read error: Connection reset by peer]
01:42opticron has joined #asahi-dev
01:54hdbngr has quit [Ping timeout: 480 seconds]
01:58pb17 has quit [Ping timeout: 480 seconds]
02:02hdbngr has joined #asahi-dev
02:05pb17 has joined #asahi-dev
02:10croissant has quit [Ping timeout: 480 seconds]
02:10hdbngr has quit [Ping timeout: 480 seconds]
02:19hdbngr has joined #asahi-dev
02:27hdbngr has quit [Ping timeout: 480 seconds]
02:32croissant has joined #asahi-dev
02:36hdbngr has joined #asahi-dev
02:47croissant has quit [Quit: Leaving]
02:50hdbngr has quit [Ping timeout: 480 seconds]
02:58hdbngr has joined #asahi-dev
03:06croissant has joined #asahi-dev
03:06hdbngr has quit [Ping timeout: 480 seconds]
03:13hdbngr has joined #asahi-dev
03:22hdbngr has quit [Ping timeout: 480 seconds]
03:28tobhe_ has joined #asahi-dev
03:30hdbngr has joined #asahi-dev
03:35tobhe has quit [Ping timeout: 480 seconds]
03:39hdbngr has quit [Ping timeout: 480 seconds]
03:46hdbngr has joined #asahi-dev
03:54hdbngr has quit [Ping timeout: 480 seconds]
04:04hdbngr has joined #asahi-dev
04:13hdbngr has quit [Ping timeout: 480 seconds]
04:22hdbngr has joined #asahi-dev
04:31hdbngr has quit [Ping timeout: 480 seconds]
04:39hdbngr has joined #asahi-dev
04:47Stary has quit [Quit: ZNC - http://znc.in]
04:48hdbngr has quit [Ping timeout: 480 seconds]
04:48nora has joined #asahi-dev
04:50nora_ has quit [Ping timeout: 480 seconds]
04:50Stary has joined #asahi-dev
04:55hdbngr has joined #asahi-dev
04:58chadmed has quit [Ping timeout: 480 seconds]
05:09hdbngr has quit [Ping timeout: 480 seconds]
05:17pthariensflame has joined #asahi-dev
05:18hdbngr has joined #asahi-dev
05:25chadmed has joined #asahi-dev
05:27hdbngr has quit [Ping timeout: 480 seconds]
05:33hdbngr has joined #asahi-dev
05:38andymandias has quit [Ping timeout: 480 seconds]
05:39andymandias has joined #asahi-dev
05:42hdbngr has quit [Ping timeout: 480 seconds]
05:50hdbngr has joined #asahi-dev
05:59hdbngr has quit [Ping timeout: 480 seconds]
06:07hdbngr has joined #asahi-dev
06:09refi64 has quit [Quit: The Lounge - https://thelounge.chat]
06:11refi64 has joined #asahi-dev
06:16hdbngr has quit [Ping timeout: 480 seconds]
06:18chadmedoverlay plane swaps never have ts1 or ts2 set, but ts3 continues ticking up
06:20chadmedtheir surface format for their cursor fb is also super fucked up lol
06:21chadmedoh they pad unswapped surfaces with 0xaa in the IOSurface array
06:25hdbngr has joined #asahi-dev
06:34hdbngr has quit [Ping timeout: 480 seconds]
06:43hdbngr has joined #asahi-dev
06:44pb17 has quit [Ping timeout: 480 seconds]
06:45pb17 has joined #asahi-dev
06:46pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
06:52hdbngr has quit [Ping timeout: 480 seconds]
07:01hdbngr has joined #asahi-dev
07:01nickchanans2 works as is after adding rtkit v10 support while smc needs additional modifications
07:03nickchannamely - macsmc 236000100.smc: error -EINVAL: Failed to start SMC endpoint
07:06okb has joined #asahi-dev
07:09hdbngr has quit [Ping timeout: 480 seconds]
07:17hdbngr has joined #asahi-dev
07:25hdbngr has quit [Ping timeout: 480 seconds]
07:30okb has quit [Ping timeout: 480 seconds]
07:35hdbngr has joined #asahi-dev
07:44hdbngr has quit [Ping timeout: 480 seconds]
07:49chadmedA408/swap_submit_dcp disappeared with macos 14 fantastic
07:52hdbngr has joined #asahi-dev
08:01hdbngr has quit [Ping timeout: 480 seconds]
08:02hdbngr has joined #asahi-dev
08:08nickchanfigured the other important difference needed to do anything specific to rtkit v10
08:09nickchanmin app ep is 0x6 instead of 0x20 - so smc endpoint is 0x6 instead of 0x20
08:10hdbngr has quit [Ping timeout: 480 seconds]
08:16pb17 has quit [Ping timeout: 480 seconds]
08:18hdbngr has joined #asahi-dev
08:20pb17 has joined #asahi-dev
08:26hdbngr has quit [Ping timeout: 480 seconds]
08:35hdbngr has joined #asahi-dev
08:39jannauchadmed: it might have been renumbered
08:40chadmedyeah looks like it. theres another call with around about the same amount of data. ive got 13.5 on my test machine now anyway
08:44hdbngr has quit [Ping timeout: 480 seconds]
08:47jannauNULL ptr deref in DCP's afk code in asahi-wip/6.18. not sure what could have changed there
08:53hdbngr has joined #asahi-dev
09:12chadmedstarting to think this driver might be a bit of a maintenance nightmare ;)
09:12chadmedwe havent even touched anything there in ages
09:13catred has joined #asahi-dev
09:16catred2 has quit [Ping timeout: 480 seconds]
09:21hdbngr has quit [Ping timeout: 480 seconds]
09:22hdbngr has joined #asahi-dev
09:35hdbngr has quit [Ping timeout: 480 seconds]
09:36hdbngr has joined #asahi-dev
09:38riker77 has quit [Quit: Quitting IRC - gone for good...]
09:40pb17 has quit [Ping timeout: 480 seconds]
09:43riker77 has joined #asahi-dev
09:46hdbngr has quit [Ping timeout: 480 seconds]
09:52pb17 has joined #asahi-dev
09:53nickchanokay v10 will be a bit more complicated at least drivers/soc/apple/rtkit needs a new interface to convert an endpoint number relative to app endpoint start to an absolute endpoint number
09:53nickchanand the rtkit consumer needs to be modified to use that interface
09:54hdbngr has joined #asahi-dev
09:55nickchaninstead of hardcoding their endpoint number
10:07hdbngr has quit [Ping timeout: 480 seconds]
10:13nimprod3l has joined #asahi-dev
10:15hdbngr has joined #asahi-dev
10:25nickchan...how come apple_rtkit_wake() returns before apple_rtkit_management_rx_hello() is called
10:25nickchani need the hello message to tell the start of app ep
10:27nickchanI need to block inside apple_smc_probe() until rtkit at least the hello message is processed
10:39nickchannevermind i think i just misinterepted some logs
10:42nickchanbut i still need to get the hello message before the smc driver can do anything
10:45fossdd has quit [Remote host closed the connection]
10:45fossdd has joined #asahi-dev
10:45nickchanah i think i found my problem
10:52catred2 has joined #asahi-dev
10:52catred has quit [Read error: Connection reset by peer]
11:10nickchanneed to start by assuming the mgmt endpoint a system endpoint as that's required by HELLO
11:15nimprod3l has quit [Ping timeout: 480 seconds]
11:26hdbngr has quit [Ping timeout: 480 seconds]
11:27hdbngr has joined #asahi-dev
11:33yuka has quit [Remote host closed the connection]
11:37yuka has joined #asahi-dev
11:45hdbngr has quit [Ping timeout: 480 seconds]
11:46hdbngr has joined #asahi-dev
11:54hdbngr has quit [Ping timeout: 480 seconds]
11:55hdbngr has joined #asahi-dev
12:05hdbngr has quit [Ping timeout: 480 seconds]
12:14hdbngr has joined #asahi-dev
12:19chadmednv12 scanout tears quite badly on both planes but does work
12:19chadmedcould just be my insane gstreamer pipeline too
12:22leioif it helps, I can peek at that pipeline
12:27jannauwhy would it tear at all unless gstreamer writes to currently scanned-out surfaces
12:29chadmed has quit [Quit: Konversation terminated!]
12:34hdbngr has quit [Remote host closed the connection]
12:34hdbngr has joined #asahi-dev
12:38chadmed has joined #asahi-dev
12:39chadmedleio: its not complicated its just gross :P
12:40chadmedjannau: no clue, but the videosrc test didnt do it
12:43leioI meant in terms of anything suspicious to be reason for tearing
12:43hdbngr has quit [Ping timeout: 480 seconds]
12:43chadmedoh right, well it is demuxing an mp4, decoding the h264 within, then converting the yuv420p to nv12 in software, then scaling that down to a sane resolution for the overlay plane
12:47chadmedgst-launch-1.0 filesrc location=[path] ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! videoscale ! video/x-raw,format=NV12,width=1024,height=576 ! kmssink driver-name=apple skip-vsync=true
12:48chadmedwe have to skip vsync as kmssink relies on VBIs
12:51hdbngr has joined #asahi-dev
13:01jannauah. you could try waylandsink full screen or with enabled overlays in kwin
13:03chadmedyeah thats the plan for tomorrow or after christmas. just wanted to keep as many things out of the pipeline as possible to make sure the stuff i did to the driver actually works
13:04hdbngr has quit [Remote host closed the connection]
13:05hdbngr has joined #asahi-dev
13:08leiopipeline looks obvious, but I'd put 1 or 2 queue somewhere to have some multithreading in there
13:09leiotypical traditional place would be at least after the demux (either before or after h264parse should be fine) and before kmssink
13:14hdbngr has quit [Ping timeout: 480 seconds]
13:18hightower3 has joined #asahi-dev
13:19hdbngr has joined #asahi-dev
13:25hightower4 has quit [Ping timeout: 480 seconds]
13:34hdbngr has quit [Ping timeout: 480 seconds]
13:41hdbngr has joined #asahi-dev
13:50hdbngr has quit [Ping timeout: 480 seconds]
13:54nimprod3l has joined #asahi-dev
13:54pb17 has quit [Ping timeout: 480 seconds]
13:56hdbngr has joined #asahi-dev
13:57nickchanno wonder buttons on a11 don't work the macsmc-input series had a wrong kconfig option
13:58fl0_iddoes anybody have a quickfix for building cs-sw with a newer cmake? some part of pico-sdk apparently expects an older cmake version and I cannot easily install one
13:58nickchanugh i replied to v5 instead of v6 but v6 still has the same issue
13:58fl0_id(for flashing to the pi-pico)
13:58pb17 has joined #asahi-dev
14:02nickchanjannau: tuxvdmtool isn't working with 6.17.12-400.asahi.fc42.aarch64+16k on a j314s host
14:05hdbngr has quit [Ping timeout: 480 seconds]
14:06hdbngr has joined #asahi-dev
14:09fl0_idok fixed by just bumping the version requirement, once I found the right file
14:10nickchanfirst the default i2c path is gone so the tool panics
14:10nickchanand if i specify a custom path with the -d option, and I tried each of /sys/class/i2c-dev/i2c-1/device/1-... those do nothing
14:16fossdd has left #asahi-dev [#asahi-dev]
14:16nickchan...fixes itself after a reboot, so whatever
14:35hdbngr has quit [Ping timeout: 480 seconds]
14:39hdbngr has joined #asahi-dev
14:48hdbngr has quit [Ping timeout: 480 seconds]
14:56hdbngr has joined #asahi-dev
14:58duckworld has quit [Remote host closed the connection]
14:58duckworld has joined #asahi-dev
15:01duckworld has quit [Remote host closed the connection]
15:01duckworld has joined #asahi-dev
15:08hdbngr has quit [Ping timeout: 480 seconds]
15:16hdbngr has joined #asahi-dev
15:25hdbngr has quit [Ping timeout: 480 seconds]
15:25mazfl0_id: I'll take a patch if you can be bothered to write one.
15:26mazor is that in the bowels of pico-sdk?
15:27mazmaybe I should just bump the SDK version.
15:33hdbngr has joined #asahi-dev
15:42nnym has joined #asahi-dev
15:42nnym_ has quit [Remote host closed the connection]
15:42hdbngr has quit [Ping timeout: 480 seconds]
15:44nimprod3l has quit [Ping timeout: 480 seconds]
15:44nimprod3l has joined #asahi-dev
15:50hdbngr has joined #asahi-dev
16:08catred2 has quit [Read error: Connection reset by peer]
16:09catred2 has joined #asahi-dev
16:11meru has joined #asahi-dev
16:13meru has left #asahi-dev [#asahi-dev]
16:14fl0_idmaz it's in pioasm of pico-sdk. but yet, bumping the sdk version / git commit should probably work. at least there was some disussion that this was fixed. lemme check pioasm
16:15hdbngr has quit [Ping timeout: 480 seconds]
16:16fl0_idanything equal or above 2.0.0 works
16:18mazOK. I'll see if 2.0.0+ works with the current code. If it does, I'll pull that in.
16:19fl0_idthx. (and just to clarify, by works I mean should work as it has the bumped cmake version. I didn't try all the versions)
16:21mazfl0_id: yup, got it. in my case, works means compiles, boots, and performs reliably. from past experience, it hasn't always been smooth sailing.
16:22fl0_idRight. I can try if it actually compiles a bit later. Flashing and testing would take a bit longer as I still need that machine on macos for a bit today....
16:23hdbngr has joined #asahi-dev
16:23nimprod3l has quit [Remote host closed the connection]
16:39hdbngr has quit [Ping timeout: 480 seconds]
16:47hdbngr has joined #asahi-dev
16:57hdbngr has quit [Ping timeout: 480 seconds]
16:57nnym has quit [Read error: Connection reset by peer]
16:58nnym has joined #asahi-dev
16:58hdbngr has joined #asahi-dev
17:07hdbngr has quit [Ping timeout: 480 seconds]
17:15hdbngr has joined #asahi-dev
17:24hdbngr has quit [Ping timeout: 480 seconds]
17:32hdbngr has joined #asahi-dev
17:40hdbngr has quit [Ping timeout: 480 seconds]
17:44hdbngr has joined #asahi-dev
17:55okb has joined #asahi-dev
17:58hdbngr has quit [Ping timeout: 480 seconds]
18:06hdbngr has joined #asahi-dev
18:14hdbngr has quit [Ping timeout: 480 seconds]
18:15pb17 has quit [Ping timeout: 480 seconds]
18:16pb17 has joined #asahi-dev
18:21___nick___ has joined #asahi-dev
18:22___nick___ has quit []
18:23___nick___ has joined #asahi-dev
18:24hdbngr has joined #asahi-dev
18:33hdbngr has quit [Ping timeout: 480 seconds]
18:40hdbngr has joined #asahi-dev
18:49hdbngr has quit [Ping timeout: 480 seconds]
18:55rosalyntg has quit [Ping timeout: 480 seconds]
18:57hdbngr has joined #asahi-dev
19:05hdbngr has quit [Ping timeout: 480 seconds]
19:15hdbngr has joined #asahi-dev
19:23hdbngr has quit [Ping timeout: 480 seconds]
19:25DannyB has quit [Read error: No route to host]
19:25DannyB has joined #asahi-dev
19:32hdbngr has joined #asahi-dev
19:43hdbngr has quit [Ping timeout: 480 seconds]
19:49hdbngr has joined #asahi-dev
19:52okb has quit [Read error: Connection reset by peer]
19:57hdbngr has quit [Ping timeout: 480 seconds]
20:01___nick___ has quit [Ping timeout: 480 seconds]
20:04hdbngr has joined #asahi-dev
20:13hdbngr has quit [Ping timeout: 480 seconds]
20:21hdbngr has joined #asahi-dev
20:35hdbngr has quit [Ping timeout: 480 seconds]
20:36fugi5 has quit [Quit: bye]
20:37fugi5 has joined #asahi-dev
20:45hdbngr has joined #asahi-dev
20:49oliverDid anyone look into hdr on the internal display in the past? Is there something written down? I see that gnome already uses the rbg2101010 format for the primary plane. I also see some bits in the dcp driver regarding color space and transfer function.
20:57hdbngr has quit [Ping timeout: 480 seconds]
20:57john-cabaj has joined #asahi-dev
21:05jannauoliver: we have information about the supported colorspaces. might be either somewhere in m1n1's dcp python code or I have notes
21:06hdbngr has joined #asahi-dev
21:07john-cabaj has quit [Ping timeout: 480 seconds]
21:07jannauI haven't looked into how the higher brightness for HDR is handled except that's likely not in the same way as we handle the backlight currently
21:11oliverMaybe. I saw in a trace that the brightness was set to value larger then the max in the dcp driver.
21:12chaos_princesswhen dcp starts under linux it complains that it can't find a backlight service among other things. might be related
21:15hdbngr has quit [Ping timeout: 480 seconds]
21:23hdbngr has joined #asahi-dev
21:32hdbngr has quit [Ping timeout: 480 seconds]
21:39hdbngr has joined #asahi-dev
21:48hdbngr has quit [Ping timeout: 480 seconds]
21:50hdbngr has joined #asahi-dev
21:59hdbngr has quit [Ping timeout: 480 seconds]
22:07hdbngr has joined #asahi-dev
22:15hdbngr has quit [Ping timeout: 480 seconds]
22:23hightower4 has joined #asahi-dev
22:24hdbngr has joined #asahi-dev
22:29chadmedwe also need to properly set the correct EOTF, colour space and transfer functions
22:29chadmednone of which we currently do
22:30hightower3 has quit [Ping timeout: 480 seconds]
22:31chadmedchanging how all of this behaves in teh driver currently is not going to be trivial though
22:33hdbngr has quit [Ping timeout: 480 seconds]
22:40hdbngr has joined #asahi-dev
22:49hdbngr has quit [Ping timeout: 480 seconds]
22:51hdbngr has joined #asahi-dev
22:53chaos_princesssomething tells me that expensing a colourimeter is in someone's future
23:00jannauI have one
23:08hdbngr has quit [Ping timeout: 480 seconds]
23:13opticron_ has joined #asahi-dev
23:13opticron has quit [Read error: Connection reset by peer]
23:16hdbngr has joined #asahi-dev
23:25hdbngr has quit [Ping timeout: 480 seconds]
23:34hdbngr has joined #asahi-dev
23:42hdbngr has quit [Ping timeout: 480 seconds]
23:49hdbngr has joined #asahi-dev
23:49pb17 has quit [Ping timeout: 480 seconds]
…