#
…

2022-12-24

00:07chadmed has quit [Read error: Connection reset by peer]
00:27Dementor has quit [Remote host closed the connection]
00:58winterjannau: i'll test in a bit. do you happen to have any clue why this would happen -- as in, eglinfo successfully reporting apple/asahi, but applications not seeing it? (clearly it's enabled and working if eglinfo can see it, so... just seems strange. not like eglinfo has anything that other applications don't.)
00:58winteras far as i can tell, it *should* be working. i just can't figure out why it wouldn't be
00:59winterand if eglinfo wasn't reporting apple/asahi then it would at least make sense that stuff wasn't working...
01:18Dementor has joined #asahi-alt
03:13jamespmo_ has joined #asahi-alt
03:19jamespmorgan has quit [Ping timeout: 480 seconds]
03:23Glanzmannjannau: I see. I barely remeber.
03:25possiblemeatball1 has joined #asahi-alt
03:36possiblemeatball1 has quit [Quit: Leaving]
04:07possiblemeatball1 has joined #asahi-alt
04:28jamespmorgan has joined #asahi-alt
04:33possiblemeatball1 has quit [Quit: Leaving]
04:35jamespmo_ has quit [Ping timeout: 480 seconds]
04:38possiblemeatball has joined #asahi-alt
04:39possiblemeatball is now known as Guest284
04:39Guest284 has quit []
04:40possiblemeatball1 has joined #asahi-alt
04:48jamespmo_ has joined #asahi-alt
04:54jamespmorgan has quit [Ping timeout: 480 seconds]
05:04possiblemeatball1 has quit [Quit: Leaving]
05:43zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:46zzywysm has joined #asahi-alt
05:51pthariensflame has joined #asahi-alt
05:52pthariensflame has quit []
05:58zzywysm has quit [Read error: Connection reset by peer]
05:59nopeslide has quit [Quit: Ping timeout (120 seconds)]
05:59zzywysm has joined #asahi-alt
06:00nopeslide has joined #asahi-alt
06:04zzywysm has quit []
07:30janrinzeon NVidia AGX i get >5k on glmark2.. was expecting better results on asahi linux.
07:52swaggie has quit [Remote host closed the connection]
08:23swaggie has joined #asahi-alt
08:29zzywysm has joined #asahi-alt
08:32swaggie has quit [Ping timeout: 480 seconds]
09:10yukadoes anyone know why usb tethering devices (android) show up as "usb0" instead of a predictable interface name?
09:15swaggie has joined #asahi-alt
09:24swaggie has quit [Ping timeout: 480 seconds]
09:37Glanzmannyuka: Maybe you booted with the kernel commandline net.ifnames=0?
09:38yukamy wifi interface has a predictable interface name
09:38yukawlp1s0f0
09:38Glanzmannyuka: When you run 'ip a s' does it show an altname?
09:38Glanzmannyuka: Strange.
09:40Glanzmannyuka: Strange. On my android phone (moto g100 not rooted) usb tethering is greyed out. Do you know what i need to do so that I can enable it, than I can test. In the old days, I used usb tethering a lot.
09:43jannaujanrinze: the driver is not in a state to compare it with other hardware. also a benchmark which produces > 1000 fps is not necessary a good measure for graphics performnce
09:43yukaGlanzmann: I did not do anything specific to enable usb tethering
09:44yukaGlanzmann: it "just worked" with my Pixel 6a and the 6.1-asahi kernel
09:44GlanzmannStrange, In the old days, I think the option was available to me when a usb cable was conencted, but I think it no longer is, but let me try.
09:44yuka(6.1-asahi-edge)
09:46jacksonchen666Galnzmann: if it's greyed out, that probably means it's only charging. try plugging it into other ports.
09:48Glanzmannyuka: Now it worked, previously when I tried it, it did not let me do it. However I have a predictable network name and no altname: https://pbot.rmdir.de/fXYSR9WgXdlspCixDcnfjg
09:49yukainteresting
09:49yukathat interface name still looks strange to me
09:49yukahave to look up what the "enx" naming scheme is about
09:49Glanzmannyuka: This is how it always looked to me recently. In the old days it was 'usb0'.
09:50jannauseems to 'enx' + mac addr
09:50GlanzmannAh, I see.
09:50mpsthis is probably systemd what changes these names
09:51GlanzmannI reboot now with net.ifnames=0 and try again.
09:51mps(one of reasons was this for me to ditch systemd)
09:51yukawell, it is udev
09:52yukaI am used to enpXsYuZ for usb ethernet
09:52mpsyuka: hm, in my case udev doesn't rename any interface
09:52Glanzmannyuka: Even with net.ifnames=0 I get the same name. I also have the asahi 6.1 kernel. https://pbot.rmdir.de/_os1mT2WxVpWCkbj9C9jWw
09:56mps<grumble hat on> systemd is bad thing </grumble hat on>
09:57yuka"udevadm test-builtin net_id" also gives me the enx mac-based name
09:57yukabut that is not applied
09:59mpsfor me tethered android interface was (and it is) usb0
10:01Glanzmannyuka: Maybe some daemon uses the interface before it can be renamed?
10:03Glanzmannyuka: For example if I enable iwd and don't have net.ifnames=0 the interface is still called wlan0 because iwd uses the interface before it can be renamed.
10:03Glanzmannyuka: Btw. I found that in my syslog: syslog:2022-12-24T10:52:00.243992+01:00 air kernel: [ 31.759519] rndis_host 1-1:1.0 enxdab7f8c3ae44: renamed from usb0
10:04yukaI don't see such a message
10:04yukathough my usb-ethernet interface is using cdc_ncm and not rndis_host
10:08Glanzmannyuka: I think the first 4 modules are about the usb tethering: https://pbot.rmdir.de/l3s9HnklTuXrjdMo9PBWSg
10:08Glanzmannyuka: Which distribution do you use?
10:08yukaGlanzmann: NixOS
10:11GlanzmannI see. I'm on Debian testing.
10:29swaggie has joined #asahi-alt
10:39swaggie has quit [Ping timeout: 480 seconds]
10:51swaggie has joined #asahi-alt
10:51hertz has joined #asahi-alt
11:09swaggie has quit [Ping timeout: 480 seconds]
11:21swaggie has joined #asahi-alt
11:31swaggie has quit [Ping timeout: 480 seconds]
11:35cylm_ has quit [Ping timeout: 480 seconds]
11:42swaggie has joined #asahi-alt
11:51swaggie has quit [Ping timeout: 480 seconds]
12:03qdot has quit [Ping timeout: 480 seconds]
12:41swaggie has joined #asahi-alt
12:49swaggie has quit [Ping timeout: 480 seconds]
13:27Dcow has joined #asahi-alt
13:28Dcow has quit [Read error: Connection reset by peer]
13:38possiblemeatball has joined #asahi-alt
13:39possiblemeatball is now known as Guest335
13:39Guest335 has quit []
13:39possiblemeatball1 has joined #asahi-alt
13:44possiblemeatball1 has quit []
13:44possiblemeatball1 has joined #asahi-alt
13:59swaggie has joined #asahi-alt
14:07swaggie has quit [Ping timeout: 480 seconds]
16:01swaggie has joined #asahi-alt
16:09swaggie has quit [Ping timeout: 480 seconds]
16:33possiblemeatball1 has quit [Quit: Leaving]
16:34winteryuka: 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
16:34winterreports apple/asahi but no application can actually make use of it, and i'm not sure what's up. thanks.
16:35tpw_rulesit works fine for me?
16:35tpw_ruleshow have you determined that stuff is not working?
16:36wintere.g. `mpv -vo=gpu` fails to find a GPU, but `eglinfo` successfully reports apple/asahi
16:38tpw_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
16:40tpw_rulesi was able to get a couple older 3d games going like supertuxkart like the blog post says
16:40winteri'll give those a try.
16:41winteralso: 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
16:42tpw_rulesi think there are some performance cliffs. i got like a 10000% FPS improvement in fullscreen supertuxkart but only like 50% improvement on webgl
16:45winteri assume it'll improve over time
16:45wintereither way, thanks for your work, stuff kinda just works at least in terms of the NixOS configs ^^
16:46winterdefinitely seems to be some weird quirk wrt enabling/disabling opengl that i want to look into, tho
16:46tpw_rulesquirk about what?
16:46winter(*enabling/disabling opengl with(out) rebooting)
16:47wintereither that or it's some sway thing idk
16:47tpw_rulesah. yeah i wouldn't be surprised if that confused the kernel driver somehow
16:48winterin 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.
16:48winterand i can only get it to switch back to either state after a reboot
16:49winterso 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.)
16:49tpw_rulesthat sounds like it's sway being able to talk to mesa/opengl to get screen resolution info and stuff?
16:49tpw_rulesidk if that's how that works
16:50wintermaybe, 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?
16:51winteri'm fully quitting away, so i'm gonna try to poke at some debug logs
16:51tpw_rulesoh, so you are restarting sway in between
16:54winterwhich makes this weird
17:01GlanzmannMerry christmas.
17:11winterespecially since all enabling opengl does is adding the link to /run
17:12winterso it makes sense that other applications would see it instantly
17:12winterbut i guess something else is happening with sway
17:12tpw_rulesmaybe it does some sort of per-boot caching
17:28mpsGlanzmann: thanks and also Merry christmas to you
17:39winter^^ happy holidays to all <3
17:49jamespmo_ has quit [Remote host closed the connection]
18:03swaggie has joined #asahi-alt
18:03wintermps: 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?
18:11swaggie has quit [Ping timeout: 480 seconds]
18:11mpswinter: not only alpine but also Glanzmann told that it works on debian
18:12mpsGlanzmann and I tested gpu a lot with mpv
18:15winterhuh, maybe we disable opengles 2 or something
18:17winterdoesn't look like mpv uses opengl
18:17winterwhat does it pull in to render then 🤔
18:18winternvm i'm dumb
18:20wintertpw_rules: when you get a chance, can you try `mpv -vo=gpu` to see if this is isolated to me? thanks.
18:22mpswinter: 'mpv -vo=gl filename' also works fine for me
18:23winteri assume gpu != gl?
18:23winterwonder what the diff is
18:23winterbut yeah i have no clue what's up, eglinfo reports apple/asahi...
18:23winter:( it *should* be working!
18:24winterand it does work, as others have used this configuration with success
18:26winterand dmesg shows gpu stuff *is* happening...
18:26winterwonder how i could get debug output out of mesa
18:26winteror anything helpful
18:28mpstry with xorg to see will it work
18:29winteri thought wayland was what worked more with these drivers atm?
18:29winterbut yeah good point, i'll give it a try
18:29wintermaybe mpv doesn't like it
18:29winters/more/better
18:30mpsmpv worked for me with sway, but I removed sway because I prefer xorg
18:39winterso that's not the issue here, if sway worked fine for you
18:39winterguess i'll see how tpw fairs, since he seemingly has a working setup
18:39wintereither that or it's an issue with our (nixpkgs) build
18:42jamespmorgan has joined #asahi-alt
18:54possiblemeatball has joined #asahi-alt
19:02possiblemeatball1 has joined #asahi-alt
19:05possiblemeatball1 has quit [Remote host closed the connection]
19:06possiblemeatball1 has joined #asahi-alt
19:06possiblemeatball has quit [Ping timeout: 480 seconds]
19:10swaggie has joined #asahi-alt
19:12jamespmorgan has quit [Remote host closed the connection]
19:14possiblemeatball1 has quit [Quit: Leaving]
19:16possiblemeatball has joined #asahi-alt
19:19jamespmorgan has joined #asahi-alt
19:21possiblemeatball has quit [Quit: Leaving]
19:22possiblemeatball has joined #asahi-alt
19:29possiblemeatball has quit [Remote host closed the connection]
19:30possiblemeatball has joined #asahi-alt
19:31possiblemeatball has quit []
19:31jamespmorgan has quit [Remote host closed the connection]
19:32possiblemeatball has joined #asahi-alt
19:39possiblemeatball has quit [Quit: Leaving]
19:39possiblemeatball has joined #asahi-alt
19:53possiblemeatball has quit [Quit: Leaving]
20:15swaggie has quit [Ping timeout: 480 seconds]
20:33swaggie has joined #asahi-alt
21:24possiblemeatball has joined #asahi-alt
22:31qdot has joined #asahi-alt
22:57possiblemeatball has quit [Quit: Leaving]
23:06jamespmorgan has joined #asahi-alt
23:14jamespmorgan has quit [Ping timeout: 480 seconds]
23:25possiblemeatball has joined #asahi-alt
23:54possiblemeatball has quit [Quit: Leaving]
…