#asahi-alt · 2022-12-24 18:18
winternvm i'm dumb#asahi-alt · 2022-12-24 18:17
winterwhat does it pull in to render then 🤔#asahi-alt · 2022-12-24 18:17
winterdoesn't look like mpv uses opengl#asahi-alt · 2022-12-24 18:15
winterhuh, maybe we disable opengles 2 or something#asahi-alt · 2022-12-24 18:12
mpsGlanzmann and I tested gpu a lot with mpv#asahi-alt · 2022-12-24 18:11
mpswinter: not only alpine but also Glanzmann told that it works on debian#asahi-alt · 2022-12-24 18:03
wintermps: just to confirm with what you said yesterday, `mpv -vo=gpu` should work with the asahi drivers, at least with the mpv that alpine ships?#asahi-alt · 2022-12-24 17:39
winter^^ happy holidays to all <3#asahi-alt · 2022-12-24 17:28
mpsGlanzmann: thanks and also Merry christmas to you#asahi-alt · 2022-12-24 17:12
tpw_rulesmaybe it does some sort of per-boot caching#asahi-alt · 2022-12-24 17:12
winterbut i guess something else is happening with sway#asahi-alt · 2022-12-24 17:12
winterso it makes sense that other applications would see it instantly#asahi-alt · 2022-12-24 17:11
winterespecially since all enabling opengl does is adding the link to /run#asahi-alt · 2022-12-24 17:01
GlanzmannMerry christmas.#asahi-alt · 2022-12-24 16:54
winterwhich makes this weird#asahi-alt · 2022-12-24 16:54
wintercorrect#asahi-alt · 2022-12-24 16:51
tpw_rulesoh, so you are restarting sway in between#asahi-alt · 2022-12-24 16:51
wintersway*#asahi-alt · 2022-12-24 16:51
winteri'm fully quitting away, so i'm gonna try to poke at some debug logs#asahi-alt · 2022-12-24 16:50
wintermaybe, but why is only that able to work after a reboot, while other OpenGL apps that couldn't load it before don't need a reboot?#asahi-alt · 2022-12-24 16:49
tpw_rulesidk if that's how that works#asahi-alt · 2022-12-24 16:49
tpw_rulesthat sounds like it's sway being able to talk to mesa/opengl to get screen resolution info and stuff?#asahi-alt · 2022-12-24 16:49
winterso maybe a kernel thing, but wouldn't that also be kind of weird that it *was* a kernel thing? (do we even patch the kernel to see /run/opengl-driver? no clue if the hook is actually enabled by default tbh.)#asahi-alt · 2022-12-24 16:48
winterand i can only get it to switch back to either state after a reboot#asahi-alt · 2022-12-24 16:48
winterin my case, i never set programs.sway.enable until after my first time launching it. after enabling it initially, nothing changed except opengl started working. *but* after rebooting, suddenly my resolution/hidpi looked more proper. and i'm not sure why it only took affect after rebooting.#asahi-alt · 2022-12-24 16:47
tpw_rulesah. yeah i wouldn't be surprised if that confused the kernel driver somehow#asahi-alt · 2022-12-24 16:47
wintereither that or it's some sway thing idk#asahi-alt · 2022-12-24 16:46
winter(*enabling/disabling opengl with(out) rebooting)#asahi-alt · 2022-12-24 16:46
tpw_rulesquirk about what?#asahi-alt · 2022-12-24 16:46
winterdefinitely seems to be some weird quirk wrt enabling/disabling opengl that i want to look into, tho#asahi-alt · 2022-12-24 16:45
wintereither way, thanks for your work, stuff kinda just works at least in terms of the NixOS configs ^^#asahi-alt · 2022-12-24 16:45
winteri assume it'll improve over time#asahi-alt · 2022-12-24 16:45
winterhm#asahi-alt · 2022-12-24 16:42
tpw_rulesi think there are some performance cliffs. i got like a 10000% FPS improvement in fullscreen supertuxkart but only like 50% improvement on webgl#asahi-alt · 2022-12-24 16:41
winterso idk#asahi-alt · 2022-12-24 16:41
winteralso: was told that (a) mpv should work and (b) my glmark2 scores are apparently indicative of cpu rendering. haven't had a chance to go and look back at that, though#asahi-alt · 2022-12-24 16:40
winteri'll give those a try.#asahi-alt · 2022-12-24 16:40
tpw_rulesi was able to get a couple older 3d games going like supertuxkart like the blog post says#asahi-alt · 2022-12-24 16:38
tpw_rulesdoes mpv support the subset of opengl currently implemented by mesa? the blog post only claims support for "OpenGL 2.1 and OpenGL ES 2.0 " which are both rather old#asahi-alt · 2022-12-24 16:36
wintere.g. `mpv -vo=gpu` fails to find a GPU, but `eglinfo` successfully reports apple/asahi#asahi-alt · 2022-12-24 16:35
tpw_ruleshow have you determined that stuff is not working?#asahi-alt · 2022-12-24 16:35
tpw_rulesit works fine for me?#asahi-alt · 2022-12-24 16:34
winterreports apple/asahi but no application can actually make use of it, and i'm not sure what's up. thanks.#asahi-alt · 2022-12-24 16:34
winteryuka: i know you've done some work on the GPU driver on NixOS; should there be anything else I have to do to get it working other than setting hardware.opengl.drivers/enable and adding the necessary kernel configs to get rust stuff building (i'm using tpw's module, but that's all it does -- seems that it's based on yours). eglinfo successfully#asahi-alt · 2022-12-24 10:11
GlanzmannI see. I'm on Debian testing.#asahi-alt · 2022-12-24 10:08
yukaGlanzmann: NixOS#asahi-alt · 2022-12-24 10:08
Glanzmannyuka: Which distribution do you use?#asahi-alt · 2022-12-24 10:08
Glanzmannyuka: I think the first 4 modules are about the usb tethering: https://pbot.rmdir.de/l3s9HnklTuXrjdMo9PBWSg#asahi-alt · 2022-12-24 10:04
yukathough my usb-ethernet interface is using cdc_ncm and not rndis_host#asahi-alt · 2022-12-24 10:04
yukaI don't see such a message