| 1 Dec 2025 |
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 |
K900 | I'm still wondering if it makes more sense to just yeet GLX | 17:33:32 |
Randy Eckenrode | Especially if we drop Apple GLX or move it somewhere else. | 17:33:38 |
K900 | There's like actually nothing left that depends on it | 17:33:40 |
K900 | That anyone even remotely cares about | 17:33:51 |
K900 | Then you can get the kosmickrisp build to be absolutely tiny | 17:34:22 |
Randy Eckenrode | Maybe someone was using XQuartz to run glxgears to overheat their computer to warm the room. | 17:34:22 |
emily | that breaks the build of the actual X server, right? that's a bit sad imo | 17:34:33 |
K900 | Not necessarily | 17:34:42 |
K900 | We can build X without libglx | 17:34:45 |