2022-11-28
00:15thasti has quit [Server closed connection]
00:15thasti has joined #asahi-dev
01:18sirn has quit [Server closed connection]
01:18sirn has joined #asahi-dev
01:19TheFirst has quit [Server closed connection]
01:19TheFirst has joined #asahi-dev
01:19duckworld_ has quit [Server closed connection]
01:22riatre_ has quit [Server closed connection]
01:22riatre has joined #asahi-dev
01:30Ariadne has quit [Server closed connection]
01:30Ariadne has joined #asahi-dev
01:36Lightsword has quit [Server closed connection]
01:36Lightsword has joined #asahi-dev
01:37lethalbit has quit [Server closed connection]
01:37lethalbit has joined #asahi-dev
01:45Dementor has quit [Server closed connection]
01:46Dementor has joined #asahi-dev
01:48tbodt has quit [Server closed connection]
01:49tbodt has joined #asahi-dev
01:49Illya has quit [Server closed connection]
01:49Illya has joined #asahi-dev
01:50emptynine has quit [Server closed connection]
01:51emptynine has joined #asahi-dev
01:53rcombs has quit [Server closed connection]
01:55ChaosPrincess has quit [Server closed connection]
01:55ChaosPrincess has joined #asahi-dev
01:55rcombs has joined #asahi-dev
01:58rappet has quit [Server closed connection]
01:58rappet has joined #asahi-dev
01:58phire has quit [Server closed connection]
01:58phire has joined #asahi-dev
01:59chadmed has quit [Server closed connection]
02:00chadmed has joined #asahi-dev
02:03cyrozap has quit [Server closed connection]
02:04cyrozap has joined #asahi-dev
02:10jtf has quit [Server closed connection]
02:10jtf has joined #asahi-dev
02:19argonaut has quit [Server closed connection]
02:20argonaut has joined #asahi-dev
02:23x56 has quit [Server closed connection]
02:23x56 has joined #asahi-dev
02:32kilolima has quit [Server closed connection]
02:32kilolima has joined #asahi-dev
02:39d4ve has quit [Server closed connection]
02:39d4ve has joined #asahi-dev
02:42handlerug has quit [Server closed connection]
02:42handlerug has joined #asahi-dev
02:48tsujp has quit [Server closed connection]
02:48tsujp has joined #asahi-dev
02:54probie has quit [Server closed connection]
02:54probie has joined #asahi-dev
02:55cds has quit [Server closed connection]
02:55cds has joined #asahi-dev
02:56alethkit has quit [Server closed connection]
02:56alethkit has joined #asahi-dev
02:59wCPO624365 has quit [Server closed connection]
02:59wCPO624365 has joined #asahi-dev
03:02ayke has quit [Server closed connection]
03:02ayke has joined #asahi-dev
03:03coder_kalyan has quit [Server closed connection]
03:03coder_kalyan has joined #asahi-dev
03:05WhyNotHugo has quit [Server closed connection]
03:05WhyNotHugo has joined #asahi-dev
03:08manawyrm has quit [Server closed connection]
03:08manawyrm has joined #asahi-dev
03:10dk_ has quit [Server closed connection]
03:10dk_ has joined #asahi-dev
03:11Deewiant has quit [Server closed connection]
03:12Deewiant has joined #asahi-dev
03:12akspecs has quit [Server closed connection]
03:12akspecs has joined #asahi-dev
03:27milek7_ has quit [Server closed connection]
03:27milek7 has joined #asahi-dev
03:30abby has quit [Server closed connection]
03:31__abby__ has joined #asahi-dev
03:31hays has quit [Server closed connection]
03:31hays has joined #asahi-dev
03:31__abby__ is now known as Guest169
03:32Guest169 has quit [Remote host closed the connection]
03:32abby has joined #asahi-dev
03:33abby is now known as Guest170
03:33Guest170 is now known as abby
03:38jn has quit [Server closed connection]
03:39jn has joined #asahi-dev
03:54aleasto has quit [Server closed connection]
03:54aleasto has joined #asahi-dev
03:59hxliew has quit [Server closed connection]
04:00hxliew has joined #asahi-dev
04:00Esmil has quit [Server closed connection]
04:00Esmil has joined #asahi-dev
04:05nullroute has quit [Server closed connection]
04:07nullroute has joined #asahi-dev
04:08chadmed has quit [Quit: Konversation terminated!]
04:13chadmed has joined #asahi-dev
04:16sjg1 has quit [Server closed connection]
04:16sjg1 has joined #asahi-dev
04:20systwi_ has quit [Server closed connection]
04:21systwi has joined #asahi-dev
04:25os has quit [Server closed connection]
04:25os has joined #asahi-dev
04:29Skirmisher has quit [Server closed connection]
04:29Skirmisher has joined #asahi-dev
04:44mmarchini____ has quit [Server closed connection]
04:44mmarchini____ has joined #asahi-dev
04:44Manouchehri has quit [Server closed connection]
04:44Manouchehri has joined #asahi-dev
04:44nathanchance has quit [Server closed connection]
04:45nathanchance has joined #asahi-dev
04:48jole_ has quit [Server closed connection]
04:48jole has joined #asahi-dev
04:52mini has quit [Server closed connection]
04:52mini has joined #asahi-dev
04:53blasty_ has quit [Server closed connection]
04:53blasty has joined #asahi-dev
04:56nyx_o has quit [Server closed connection]
04:56nyx_o has joined #asahi-dev
04:56paddatrapper_ has quit [Server closed connection]
04:57paddatrapper_ has joined #asahi-dev
05:04ids1024 has quit [Server closed connection]
05:05ids1024 has joined #asahi-dev
05:14zjstraus has quit [Server closed connection]
05:14zjstraus has joined #asahi-dev
05:33gabuscus has quit [Server closed connection]
05:33gabuscus has joined #asahi-dev
05:35codingkoopa9 has quit [Server closed connection]
05:35codingkoopa9 has joined #asahi-dev
05:49greguu has quit [Server closed connection]
05:49greguu has joined #asahi-dev
05:52Poplar has quit [Server closed connection]
05:52Poplar has joined #asahi-dev
06:06grange_c has quit [Server closed connection]
06:07grange_c has joined #asahi-dev
06:11xcpy0 has quit [Server closed connection]
06:12xcpy0 has joined #asahi-dev
06:12as400 has quit [Server closed connection]
06:12as400 has joined #asahi-dev
06:13kode54 has quit [Server closed connection]
06:13kode54 has joined #asahi-dev
06:13DragoonAethis has quit [Server closed connection]
06:14DragoonAethis has joined #asahi-dev
06:20rqou_ has quit [Server closed connection]
06:20rqou_ has joined #asahi-dev
06:25tmlind has quit [Server closed connection]
06:25tmlind has joined #asahi-dev
06:26kloenk has quit [Server closed connection]
06:27kloenk has joined #asahi-dev
06:28tpw_rules has quit [Server closed connection]
06:28tpw_rules has joined #asahi-dev
06:34chadmed_ has joined #asahi-dev
06:36chadmed_ has quit []
06:41Dcow has quit [Remote host closed the connection]
06:42Dcow has joined #asahi-dev
06:42SSJ_GZ has joined #asahi-dev
06:44blazra has quit [Server closed connection]
06:44blazra has joined #asahi-dev
06:59amarioguy has quit [Server closed connection]
06:59amarioguy has joined #asahi-dev
07:03chadmed_ has joined #asahi-dev
07:04Mrmaxmeier has quit [Server closed connection]
07:04Mrmaxmeier has joined #asahi-dev
07:06opticron has quit [Server closed connection]
07:06opticron has joined #asahi-dev
07:10gff_ has quit [Server closed connection]
07:11gff_ has joined #asahi-dev
07:19Gaelan has quit [Server closed connection]
07:19Gaelan has joined #asahi-dev
07:23greguu has quit [Ping timeout: 480 seconds]
07:34winter has quit [Server closed connection]
07:34winter has joined #asahi-dev
07:35Dcow_ has joined #asahi-dev
07:36khilman has quit [Server closed connection]
07:36khilman has joined #asahi-dev
07:43Dcow has quit [Ping timeout: 480 seconds]
07:43jonmasters_ has quit [Server closed connection]
07:43jonmasters_ has joined #asahi-dev
07:44liszt has quit [Server closed connection]
07:44liszt has joined #asahi-dev
07:45jbowen has quit [Server closed connection]
07:45jbowen has joined #asahi-dev
07:45qyousef has quit [Server closed connection]
07:45qyousef has joined #asahi-dev
07:47Puto has quit [Server closed connection]
07:47Puto has joined #asahi-dev
07:56msteffen has quit [Server closed connection]
07:56msteffen has joined #asahi-dev
07:58jluthra has quit [Remote host closed the connection]
07:58jluthra has joined #asahi-dev
08:05Avaflow has quit [Server closed connection]
08:05Avaflow has joined #asahi-dev
08:23JTL has quit [Server closed connection]
08:24JTL has joined #asahi-dev
08:30Dcow_ has quit [Remote host closed the connection]
08:31princesszoey has quit [Server closed connection]
08:32princesszoey has joined #asahi-dev
08:44ricekot has joined #asahi-dev
08:44ricekot has quit []
08:44ricekot has joined #asahi-dev
08:45ricekot has quit []
08:46turo has quit [Server closed connection]
08:46turo has joined #asahi-dev
08:46Graypup_ has quit [Server closed connection]
08:46svenlooks like it also works with my altmode code which is probably the worst possible situation since you get a few successive role switches without any i2c traffic inbetween
08:46Graypup_ has joined #asahi-dev
08:55MajorBiscuit has joined #asahi-dev
09:34yrlf has joined #asahi-dev
10:01chadmed_ has quit [Remote host closed the connection]
10:02leitao has joined #asahi-dev
10:05chadmed_ has joined #asahi-dev
10:06MajorBiscuit has quit [Ping timeout: 480 seconds]
10:06kloenk has quit [Remote host closed the connection]
10:07kloenk has joined #asahi-dev
10:09Dcow has joined #asahi-dev
10:11Dcow has quit [Remote host closed the connection]
10:12Dcow has joined #asahi-dev
10:12leitao has quit [Ping timeout: 480 seconds]
10:54Guest29 is now known as null
10:55null is now known as Guest225
10:56Guest225 has quit [Quit: oh no.]
10:56null_ has joined #asahi-dev
10:57null_ is now known as null
11:40chadmed_ has quit [Remote host closed the connection]
12:25chengsun_ has quit [Ping timeout: 480 seconds]
12:33_jannau_marcan: https://github.com/jannau/linux/tree/asahi-6.1-rc6-5_dcp-fixes includes fixes by lina for x11 vsync and m1/m2 brightness after dpms. on the m1 imac the fix is not complete. it restores the brightness ~3 minutes after poweroff
12:34chengsun has joined #asahi-dev
12:36_jannau_macos powers dcp off completely on the imac. I don't remember seeing that on mac mini or mbp 14"
12:42_jannau_I haven't traced dcpext. this is just dcp with turn the display off after 1 minute but don't sleep
12:44marcanshould be pretty much ready, if I get the acks and Vishar merges the driver per se I can push the DT stuff and send arnd one last pull for it
12:45marcanI really should start putting stuff in a TODO list, I probably should've sent this last week
12:49_jannau_they are independent, the m2 branch has the panel dimensions in the dt which are only used by a commit in the fixes branch but they shouldn't cause problems
12:55chengsun has quit [Quit: Quit]
12:55chengsun has joined #asahi-dev
13:11ChaosPrincessmarcan: if you are merging stuff, can you also cherry-pick this one? https://github.com/WhatAmISupposedToPutHere/linux/commit/b22e6b2e2fe834c73feaf334ce7170190dcf1f71
13:26c10l5 has joined #asahi-dev
13:27c10l has quit [Ping timeout: 480 seconds]
13:39c10l5 has quit []
13:45chengsun has quit [Read error: Connection reset by peer]
13:46chengsun has joined #asahi-dev
13:46c10l5 has joined #asahi-dev
13:51chengsun has quit [Read error: Connection reset by peer]
13:52chengsun has joined #asahi-dev
13:55c10l5 has quit []
13:55c10l has joined #asahi-dev
14:00chengsun_ has joined #asahi-dev
14:01chengsun has quit [Ping timeout: 480 seconds]
14:02beeblebrox has joined #asahi-dev
14:03chengsun_ has quit []
14:05chengsun has joined #asahi-dev
14:21chengsun has quit [Quit: Quit]
14:21chengsun has joined #asahi-dev
14:24Guest237 has joined #asahi-dev
14:41gladiac has quit [Quit: k thx bye]
15:27chengsun_ has joined #asahi-dev
15:30chengsun has quit [Ping timeout: 480 seconds]
15:35eiln has joined #asahi-dev
15:36eilnits neither a necessary component nor a standard one so i dont know what a final product would even look like
15:37ChaosPrincessisnt ane mostly for inference, not training?
15:37svenmight make sense to talk to alyssa or the drm people since it's possibly similar to gpu compute
15:37ChaosPrincessmaybe look at how the google tpus are hooked up on linux
15:38eilni didn't see anything upstream, there's ones like https://developer.arm.com/documentation/101888/0500/NPU-software-overview/Linux-driver-stack tho
15:41ChaosPrincessi thought until somewhat recently, the approach for this kind of stuff was to just dump it in char/misc, an do all the fancy stuff in userspace.
15:41ChaosPrincessbut that made kernel folks unhappy
16:19chengsun_ has quit [Read error: Connection reset by peer]
16:20chengsun has joined #asahi-dev
16:21eiln has quit [Remote host closed the connection]
16:22eiln has joined #asahi-dev
16:24povikjannau: alyssa: i wrote up what is per my understanding the boilerplate to add audio to DCP. take a look if curious
16:25jluthra has quit [Remote host closed the connection]
16:26jluthra has joined #asahi-dev
16:28chengsun has quit [Ping timeout: 480 seconds]
16:30chengsun has joined #asahi-dev
16:32eiln has quit [Quit: Page closed]
16:38chengsun has quit [Quit: Quit]
16:38chengsun has joined #asahi-dev
16:44chengsun_ has joined #asahi-dev
16:48chengsun has quit [Ping timeout: 480 seconds]
16:56marcanI don't think alyssa is the right person for this; some other drm folks might have an opinion though
17:01chengsun has joined #asahi-dev
17:04chengsun_ has quit [Ping timeout: 480 seconds]
17:27svenpovik: I think the proper solution to that drvdata thing is to just create a new device from code. nvme does that as well for its nvme_crrl
17:29chengsun has quit [Ping timeout: 480 seconds]
17:36chengsun has joined #asahi-dev
17:44svenin other thunderbolt and „sven is dumb“ news: part of the acio MMIO wasn’t „enabled“ because I literally got the address wrong in the device tree *sigh*
17:48chengsun has quit [Ping timeout: 480 seconds]
18:06leitao has joined #asahi-dev
18:07gff_ has quit [Ping timeout: 480 seconds]
18:07leitao has quit []
18:23ChaosPrincessWasnt there some people who tried to put asahi on checkrainable ipads?
18:42alyssa has joined #asahi-dev
18:43alyssaI think I'd like to understand the capabilities of the ANE more before I could give any advice
18:44alyssathe Vivante NPU is literally just a Vivante GPU with all the graphics support stripped out
18:44alyssahence is supported by the existing etnaviv GPU stack, supporting (only) OpenCL in userspace via mesa
18:45alyssaIMHO that design doesn't make a lot of sense on SoCs that have competent CPUs and GPUs, either of which can run OpenCL excellently, why add NPU into the mix?
18:46alyssabut we don't currently have a home for userspace drivers for hardware of that class (Mesa for GPUs, libcamera for camera processing, what for NPUs?)
18:47alyssaI think the current state-of-the-art is adding a tensorflow backend for your hardware and yeeting
18:48alyssa(Because there's not a standard API, ie a hypothetical Khronos OpenML, that this hardware would implement... In effect the tensorflow API would be that API in this case...)
18:48alyssaUsually that's downstream char/misc devices in the kernel with custom vendor ioctls and a downstream fork of tflite or whatever ...
18:49alyssaI think Habana Labs (only) are doing things "properly" with upstream/mainline approach now
18:50alyssa("ANE done wrong" would be the downstream vendor approach to get some cool pics for Twitter/Mastodon and never end up getting shipped...)
18:58alyssaHabanalabs is using LLVM for their commpiler ... while I won't stop you from doing so, as a maintainer of a competing project I won't be able to help if you go that route ;-)
19:03alyssaso yeah... nothing standardized at that point... do what's best in the kernel side (probably DRM driver), do your own thing in userspace (libane with your own cute little compiler?), plumb libane into tensorflow and pytorch or whatever? IDK
19:05alyssamarcan: and I'm a GPU developer with a minor in math, of couse I have random ML knowledge to drop :p
19:08marcansven: dunno if I ever told you about that one? waifu2x was some mess based on one of those giant ML frameworks in lua or something
19:10marcanpovik: reminder that everyone's clamoring for speakers before dcp audio and I need visense for that :p
19:11* marcanis happy shaving the userspace speakersafetyd yak and whatever it involves with alsa-ctl
19:17marcanalyssa: also I hear lina is fixing mesa code now, are you sure you don't already have a minion?
19:21marcanso here's an idea: sven can be povik's minion, povik can be alyssa's minion, and alyssa can be sven's minion!
19:22alyssa19:22 <@alyssa> minions are great for doing the stuff you were supposed to do yourself months ago
19:28Guest237 has quit [Quit: Guest237]
20:04nicolas17 has joined #asahi-dev
20:55mpsalyssa: yes, I use your GPU driver on it. never told thank you and now I have chance: thank you for good work
20:58alyssaI was talking to dougall about ^ yesterday, how in some ways panfrost has been wildly successful, and as a result is wildly 'boring'
20:59alyssaIts success means that it's become infrastructure, you know, how often do you think about the people maintaining your USB drivers? or NVMe?
20:59alyssawhen they break and you go to the bug tracker/mailing list/yell into the twitter void, sure
21:00alyssain 5 years or so, some 13yo kid is going to install Fedora on his hand-me-down M1 MacBook Air and everything will just work and she'll never know we existed :-)
21:05alyssalol, I started using M1 at work before any graphics were alive, just using a TTY to compile stuff and run vim
21:58Tramtristim holding out on getting the gpu enhancement running until its in edge at the earliest
21:59zzywysm_ has joined #asahi-dev
22:05zzywysm has quit [Ping timeout: 480 seconds]
22:13chengsun has joined #asahi-dev
22:19kettenisthere are a few subtle differences between Linux and *BSD in ioctl handling and it would be good if we can avoid those
22:20kettenisthe most important one is that an ioctl that fails (returns an error) can not copy out its argument struct to userland
22:29Dcow has quit [Remote host closed the connection]
22:29chengsun_ has joined #asahi-dev
22:32chengsun has quit [Ping timeout: 480 seconds]
22:34chengsun_ has quit [Quit: Quit]
22:44chengsun has joined #asahi-dev
22:46Dcow has joined #asahi-dev
22:54chengsun has quit [Ping timeout: 480 seconds]
22:55Dcow has quit [Ping timeout: 480 seconds]
23:03SSJ_GZ has quit [Ping timeout: 480 seconds]
23:07kettenis has quit [Remote host closed the connection]
23:11kettenis has joined #asahi-dev
23:21kettenis_ has joined #asahi-dev
23:22Dcow has joined #asahi-dev
23:23kettenis has quit [Ping timeout: 480 seconds]
23:25alyssa has quit [Quit: leaving]
23:27c10l has quit [Quit: Bye o/]
23:29chengsun has joined #asahi-dev
23:30Dcow has quit [Ping timeout: 480 seconds]
23:43chengsun has quit [Ping timeout: 480 seconds]
23:44chengsun has joined #asahi-dev
23:49c10l has joined #asahi-dev
23:50chengsun_ has joined #asahi-dev
23:52chengsun has quit [Ping timeout: 480 seconds]
23:56Dcow has joined #asahi-dev