| 1 Dec 2025 |
Randy Eckenrode | Fortunately, the 14.4 SDK does appear to work with Swift 6.2, so I’m doing that instead of building Swift 5.10.1. | 14:42:24 |
toonn | Is the bootstrap compiler basically frozen or an active project? | 14:43:25 |
Randy Eckenrode | The issue is more that our update plans involve removing the 14.4 SDK next year. | 14:44:14 |
Randy Eckenrode | We may end up having to start from a binary bootstrap compiler. | 14:45:53 |
| matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) changed their profile picture. | 14:59:06 |
dotlambda | We might want to add some functionality to desktopToDarwinBundle:
https://github.com/NixOS/nixpkgs/pull/466480 | 16:58:00 |
Randy Eckenrode | Yeah. There is more it can do. We can also drop the pre-11.0 workarounds too. | 17:05:30 |
emily | isn't this something the bootstrap compiler could handle by ignoring the macros or such? | 17:10:50 |
emily | the fact that the bootstrap compiler is being actively worked on implies that it's meant to be useful for something, no? | 17:11:03 |
emily | all we need it to do is be able to compile Swift again right? | 17:11:21 |
emily | nice! I wonder how performance is with mpv compared to MoltenVK. | 17:11:31 |
Randy Eckenrode | Bootstrapping new platforms. | 17:12:14 |
Randy Eckenrode | https://matrix.to/#/!lheuhImcToQZYTQTuI:nixos.org/$22gcuynbC7YnGvlCdcr8ATU2-lGn89JU7fcyrcOzoUk?via=nixos.org&via=matrix.org&via=nixos.dev | 17:13:37 |
Randy Eckenrode | Not mpv, but mpv is probably not pushing the GPU very hard just for plain playback. The Matrix seemed fine playing back in 4k HDR. | 17:14:21 |
emily | is that with e.g. profile=high-quality, maybe interpolation=on and a fancy tscale, possibly some Vulkan-using video filters? | 17:15:00 |
emily | the out of the box settings don't tax the GPU, but adjusting it for high playback quality in various situations can be expensive enough that my old Intel machine would struggle | 17:15:29 |
emily | some of the scaling algorithms are pretty expensive, I think profile=high-quality uses ewa_lanczossharp these days | 17:15:49 |
emily | I had some dropped frames recently playing a 4K HDR video with my settings on an M4 | 17:16:08 |
Randy Eckenrode | I didn’t do anything fancy. The branch is out there if you want try. It is based on master, so few rebuilds. | 17:16:22 |
emily | (ofc when it does push the GPU it pushes it in very different ways to how games do) | 17:16:26 |
Randy Eckenrode | https://github.com/reckenrode/nixpkgs/tree/kosmickrisp | 17:17:03 |
Randy Eckenrode | Anyway, I’m past the macros thing for now. Swift 6.2 can use the 14.4 SDK. Now I need to get Swift Build building as part of SwiftPM. | 17:18:14 |
Randy Eckenrode | Also, I ended up with a swiftPackages package set instead of using fetchSwiftPMDeps. | 17:18:43 |
emily | is there a reason not to use the 15.x SDK btw? | 17:30:52 |
emily | I've been around-ish, just doing less fun things 😔 | 17:31:27 |
emily | thankfully GitHub is no longer exploding at least | 17:31:30 |
Randy Eckenrode | It lets me drop the depsTargetTargetPropagated stuff by going with the default. | 17:31:49 |
emily | feel like this brings the Darwin derivation closer enough in line to the Linux one that we could merge them again 🤔 | 17:32:27 |
emily | will see about trying mpv from this | 17:32:30 |
Randy Eckenrode | I talked with @k900 about it. It’s still different enough that it’s probably not worth it. | 17:33:25 |