2022-10-24
00:13Soni has quit [Ping timeout: 480 seconds]
00:20unicordian has joined #asahi
00:24brad_ has joined #asahi
00:28unicordian has quit [Ping timeout: 480 seconds]
00:32theKH has joined #asahi
00:37int16h has quit [Ping timeout: 480 seconds]
00:38theKH has quit [Quit: theKH]
00:40thelounge7571340 has joined #asahi
00:41thelounge7571340 has quit [Remote host closed the connection]
00:41theKH has joined #asahi
01:05hayaomaru has joined #asahi
01:06hayaomaru has left #asahi [Konversation terminated!]
01:08theKH has quit [Quit: theKH]
01:31hspak101 has quit []
01:32hspak101 has joined #asahi
01:39Etrien_ has joined #asahi
01:41thelounge7571340 has joined #asahi
01:41thelounge7571340 has quit [Remote host closed the connection]
01:45Etrien has quit [Ping timeout: 480 seconds]
02:19Etrien_ has quit [Read error: Connection reset by peer]
02:19Etrien has joined #asahi
02:33rebel_sable has joined #asahi
02:37rebel_sable has quit [Quit: WeeChat 3.7.1]
02:43thelounge7571340 has joined #asahi
02:44thelounge7571340 has quit [Remote host closed the connection]
02:46bestouff has quit [Ping timeout: 480 seconds]
02:47bestouff has joined #asahi
02:57Soni has joined #asahi
02:58unicordian has joined #asahi
02:59mxw39 has joined #asahi
03:01brad_ has quit [Ping timeout: 480 seconds]
03:02mxw39hamlet: libinput defaults to the small apple trackpad size in its quirks. it also has touch size defaults not quite in line with the size of mine. I find this helpful: https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html#list-of-supported-device-quirks, espeically the various debugging guides on pressure and touch sizes.
03:09mxw39povik: hey! thanks for helping fix my 3.5mm jack on a j316 last time. I've got another question - it seems the alsa ucm config only works for a headphone with mic.
03:09mxw39the other day I plugged in a headphone without mic but the sound output device didn't appear
03:10mxw39I do have "cs42l84 2-004b: Detected bare headphone (no mic)" in dmesg so it likely is with userspace?
03:12mxw39editing the ucm conf file to remove the headset SectionDevice works for getting the headphone without mic picked up, but that seems more of a hack...
03:12sadams0978 has joined #asahi
03:18marvin24 has joined #asahi
03:21marvin24_ has quit [Ping timeout: 480 seconds]
03:37mxw39 has quit [Remote host closed the connection]
03:40sadams0978 has quit [Read error: Connection reset by peer]
03:48sadams0978 has joined #asahi
03:50thelounge7571340 has joined #asahi
03:51thelounge7571340 has quit [Remote host closed the connection]
03:56user982492 has joined #asahi
04:08user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:35sadams0978 has quit [Quit: Konversation terminated!]
04:42marcanOK, so as for kernels: I'm going to merge in DCP, and also start merging in all the rust-for-linux downstream stuff so we can build with stub rust support
04:42kenzie7 has quit []
04:42marcanthen there will be two packages: linux-asahi-dev will have DCP and the rust stuff enabled
04:43marcanthis is a wake-up call for other packagers: if you want the GPU driver when it's ready, better take care of the rust build infra now ;)
04:43kenzie7 has joined #asahi
04:52thelounge7571340 has joined #asahi
04:53thelounge7571340 has quit [Remote host closed the connection]
05:02julio7359 has quit [Ping timeout: 480 seconds]
05:17chengsun has quit [Quit: Quit]
05:17chengsun has joined #asahi
05:29jochum has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall. ]
05:53thelounge7571340 has joined #asahi
05:54thelounge7571340 has quit [Remote host closed the connection]
06:03rvalue has quit [Read error: Connection reset by peer]
06:03rvalue has joined #asahi
06:23Etrien_ has joined #asahi
06:29guillaume_g has joined #asahi
06:30Etrien has quit [Ping timeout: 480 seconds]
06:42Etrien_ has quit [Read error: Connection reset by peer]
06:43Etrien has joined #asahi
06:48SSJ_GZ has joined #asahi
06:57nepeat has quit [Ping timeout: 480 seconds]
07:02jannaumarcan: any timeframe on merging DCP? I haven't tested current tree on a t600x laptop yet (downsides of using it as main computer) and it probably makes sense to squash some of the commits
07:04jannauI should have fixed all intermediate errors reported by the kernel test robot on intermediate commits after lina pushed them with gpu-wip
07:09thelounge7571340 has joined #asahi
07:09thelounge7571340 has quit [Remote host closed the connection]
07:14rkjnsn_marcan, does IRC support exempting users from the IP-address ban? If so, would you be willing to exempt “rkjnsn”, my primary (NickServ-registered) nick?
07:26dviola has joined #asahi
07:26julio7359 has joined #asahi
07:32dianshi has joined #asahi
07:44pjakobsson has quit []
07:46chipxxx has joined #asahi
07:47pjakobsson has joined #asahi
07:52chip_x has quit [Ping timeout: 480 seconds]
08:25thelounge7571340 has joined #asahi
08:26thelounge7571340 has quit [Remote host closed the connection]
08:36pjakobsson has quit [Remote host closed the connection]
08:38danielnechtan has joined #asahi
08:40pjakobsson has joined #asahi
08:44chadmed_ has joined #asahi
09:06davido has joined #asahi
09:06davido is now known as capta1nt0ad
09:08nepeat has joined #asahi
09:14capta1nt0ad has quit [Quit: Konversation terminated!]
09:17capta1nt0ad has joined #asahi
09:19capta1nt0ad has quit []
09:22danielnechtan has quit [Ping timeout: 480 seconds]
09:25capta1nt0ad has joined #asahi
09:28vx has quit [Quit: G-line: User has been permanently banned from this network.]
09:28vx has joined #asahi
09:35chadmed_ has quit [Quit: Konversation terminated!]
09:39thelounge7571340 has joined #asahi
09:39thelounge7571340 has quit [Remote host closed the connection]
09:40capta1nt0ad has quit [Quit: Konversation terminated!]
09:40capta1nt0ad has joined #asahi
10:12danielnechtan has joined #asahi
10:21capta1nt0adAt https://github.com/AsahiLinux/docs/wiki/Feature-Support#m2-device-specific-support it says that the 3.5mm jack on M2 devices is supported, but it isn't working for me (yes, I am fully upgraded with `pacman -Syu`.) Is this normal?
10:22capta1nt0ad has quit [Quit: Konversation terminated!]
10:22capta1nt0ad has joined #asahi
10:36capta1nt0ad has quit [Quit: Konversation terminated!]
10:37capta1nt0ad has joined #asahi
10:40kov has quit [Quit: Coyote finally caught me]
10:42thelounge7571340 has joined #asahi
10:42thelounge7571340 has quit [Remote host closed the connection]
10:45chadmed_ has joined #asahi
10:58capta1nt0admarcan: Oh, thanks for clarifying :)
11:09chadmed_ has quit [Quit: Konversation terminated!]
11:25capta1nt0ad has quit [Quit: Konversation terminated!]
11:33capta1nt0ad has joined #asahi
11:47thelounge7571340 has joined #asahi
11:48thelounge7571340 has quit [Remote host closed the connection]
12:12capta1nt0ad has quit [Quit: Konversation terminated!]
12:13oi_wtf has quit [Quit: WeeChat 3.6]
12:16oi_wtf has joined #asahi
12:38int16h has joined #asahi
12:40danielnechtan has quit [Ping timeout: 480 seconds]
12:55thelounge7571340 has joined #asahi
12:56thelounge7571340 has quit [Remote host closed the connection]
13:03vmeson has quit [Quit: Konversation terminated!]
13:22int16h has quit [Ping timeout: 480 seconds]
13:47vmeson has joined #asahi
13:53rannHi all, quick question: I heard there is a status page that lays out what works and doesn’t currently, but I can’t seem to find it. Anyone have a link?
13:54rvalue has quit [Read error: Connection reset by peer]
13:54rvalue has joined #asahi
13:56rannI think I saw on HN that very recently suspend/resume was implemented; don’t see it explicitly mentioned on that page for M2 Air
13:59thelounge7571340 has joined #asahi
13:59thelounge7571340 has quit [Remote host closed the connection]
13:59rannAlso, I see there's mention that speakers work for the M1 with a caveat about safe volume-levels; Are speakers not yet supported for M2?
13:59kov has joined #asahi
14:00rannAnother way to ask: is anyone here using the M2 Air? What are they big things that don't work yet?
14:02Dementor has quit [Remote host closed the connection]
14:03Dementor has joined #asahi
14:08rannNot too important for me + saw it's wip, which is positive; what's the story with the GPU? I saw the rather amazing news about GL ES 2.1 100% passing tests w/ the latest userspace + rust kernel driver; is that something that is just a pacman -Syu away, or does one need to do some custom kernel build dances to make that happen?
14:11rannah good point; want to take the plunge and get an m2 as experimental linux 2nd-daily-driver (i.e., will use it extensively, but won't have to depend on it, stuff can break, not-on-my-critical-path)
14:13bestouff has quit [Read error: Connection reset by peer]
14:13bestouff has joined #asahi
14:16rannjannau: what makes the speaker stuff unsafe? what needs to be in place for the driver to have a safety limit for volume and do you happen to know the status on that?
14:25sjasin has joined #asahi
14:25marcanit's not just volume limits, we need a speaker safety model which computes voice coil temperature based on voltage/current feedback
14:28rannmarcan: is this typical/specific to mac? does other sound-hardware like intel-hd-audio or ac97 do this kind of stuff in hardware or did the peeps who did those drivers also have to handle this?
14:30arrann: on many relatively modern x86 laptops on linux your laptops speakers will be quieter than on windows, because on windows they do that safety stuff in software
14:31marcanapple are pretty much the only laptop vendor actually trying hard with speaker/DSP quality
14:32marcanto the point where I showed up at the Apple Store with blown tweeters and the Genius couldn't tell
14:32marcanI had to drag him to the showroom floor and do a side by side comparison with an identical, intact unit
14:36rannIs it trivial to connect bluetooth headphones? I suppose these would theoretically work (I have a couple of headphones, B&W PX-7's I use with Void Linux on my current laptop and desktop systems)
14:36julio7359 has quit [Read error: Connection reset by peer]
14:37julio7359 has joined #asahi
14:37marcanyes, though wifi coexistence is a bit questionable right now. don't use the LDAC codec if supported, and ideally use 5GHz WiFi simultaneously
14:37marcanYMMV depending on the specific device, I have some that work quite well and others not so well (it's a known issue that we're missing commands to prioritize audio streams properly)
14:39rannRight; actually, I had the wifi-coexistence issues with realtek wifi 2.4ghz + bluetooth also; afaict only intel and atheros do that stuff right
14:42rannw/regards to suspend/resume; I caught a thread on HN that mentioned that is working (preliminary) now; is that right? S3 or something equivalent on M2 also?
14:43marcan"S3" is technically supported by the hardware but not very useful on modern SoCs because they save power by default
14:43Gaspare has joined #asahi
14:44marcanand the next big improvement will probably be when we get around to implementing the CPU deep idle thing
14:44rannIs there a an issue that tracks cpu power scheduling/scaling where I can read up on the status on that?
14:45marcanit's just the second deep idle state that is not, and the only reason it isn't is bureaucratic
14:45marcanand for technical reasons we need to cook up a custom PSCI interface because these machines can't support standard PSCI
14:46bestouff has quit [Ping timeout: 480 seconds]
14:48sjasin has quit [Remote host closed the connection]
14:48marcancpufreq does work fine, I just sent v3 for upstreaming a few hours ago (that has worked fine for like a year now, just not upstream because it took a while to figure out the "right" way to do it)
14:48marcanyou don't get boost states as a consequence of the deep idle thing, since they require it
14:49rannSo, as I understand it, Apple M* does support PSCI, but not in a compatible way so that it works like CONFIG_ARM_PSCI can handle it?
14:50marcanand doing it in a hypervisor would break KVM since it'd need nested virt which M1 does not support (M2 does) but it's also a terrible idea
14:50marcanso we need a third option, the idea is cooking up a standard for PSCI-over-UEFI-Runtime-Services
14:51marcanbut cooking up such a standard is preferable to an ad-hoc cpuidle driver, since other platforms can use it (I think there's at least one other with a similar problem)
14:52povikso you can deep idle cores selectively, and that will be what kernel does based on workload?
14:52bestouff has joined #asahi
14:52marcanit just needs a driver for it and the only upstream-approved driver for this on arm64 is psci
14:52marcanyes, it's just another idle state, the only difference is it loses the GPR contents except SP/PC, so you need a save/restore around the wfi
14:53marcanmacos actually just lets the cpus do some heuristic magic and decide what idle state to enter themselves
14:53marcanalso this is part of how to enter "S3" (AIUI you set things up to go into proper sleep, then deep-WFI all cores)
14:54marcannot sure if something "magic" happens at that point or if it's just a consequence of the design that "S3" isn't much more than deep WFI as far as the CPUs are concerned
14:55rannmarcan: how/why would it be possible to implement this with a hypervisor that supports nested virtualization (and it sounds crazy to me also, but why do you think its a terrible idea)
14:56marcanbut it's a terrible idea because first it would have to be M2+ only, and second because nested virt is stupidly complex to implement and has nontrivial overhead
14:57marcanm1n1 implements a research hypervisor but I am not adding nested virt to it so people can do crazy stuff like this :p
15:02rannjust to verify my own understanding: you would in such a case implement a psci device/interface in m1n1 so that when linux boots on top of that, it could use that (through CONFIG_ARM_PSCI presumably). To implement that, you would need to use nested virt which is madly complex and m2 only. Did I grasp it correctly?
15:02brad_ has joined #asahi
15:04unicordian has quit [Ping timeout: 480 seconds]
15:05Moprius has joined #asahi
15:06rannright, so psci over uefi runtime services is then a psci device which lives in m1n1 and somehow utilizes uefi runtime services to do what it needs to do, without a dependency on any kind of virtualization?
15:06marcanthe plan is to have an ad-hoc hook from u-boot back into m1n1 (linux doesn't have to care about this) so m1n1 can implement the actual PSCI handler
15:07marcanthis does mean cpuidle will only work when booting via u-boot (which is the normal way, but not how I usually boot during development), but that's not a big deal
15:09thelounge7571340 has joined #asahi
15:09thelounge7571340 has quit [Remote host closed the connection]
15:10marcanso it's either come up with a new standard to stay in EL2, or drop the kernel to EL1 and then you lose virtualization support
15:10Moprius has quit [Read error: Connection reset by peer]
15:13j`eyI think we need some kinda generic-ish u-boot device tree properties, to tell u-boot what extra regions it should map into the uefi memory map
15:22Moprius has joined #asahi
15:22nullTBH, I don't think we should try to have a non={HVC,SMC} PSCI here, since we *cannot* do most of the things PSCI functionally does, and we will need a very different contract for handing over CPU state
15:23nullI'd much rather we had a generic SMP spin table-ish mechanism that allows us to hand the CPU back, with a well defined CPU state
15:32sadams0978 has joined #asahi
15:32sadams0978 has quit []
16:01nullPSCI and UEFI runtime calls have quite different behaviours that need to be considered (e.g. requisite TTBR management and concurrency/mutual-exclusion), and I'm really not keen on tying a "pretend" PSCI implementation behind UEFI calls as I suspect it's going to cause longer-term maintenance pain and cause us to overlook issues if we're lax on specifying how it's supposed to work (e.g. if/when/how CPU state
16:02nullMany nice properties of PSCI stem from having the exception boundary, so if we don't have that, we need to reconsider how everything's supposed to work
16:05WindowPainnull: I was literally just thinking I chose a weird enough name so no one would accidentally mention it :D
16:10bestouff has quit [Ping timeout: 480 seconds]
16:10bestouff has joined #asahi
16:13thelounge7571340 has joined #asahi
16:13thelounge7571340 has quit [Remote host closed the connection]
16:15j`eynull: Im thinking of basically some sort of reserved region memory where (m1n1 / whatever) can live and then I guess you jump to it (mmu off?). and then it handles similar commands to PSCI_CPU_OFF etc
16:26nullmarcan: tbh, I think this is one for the mailing lists, since there are others who care who don't sit on IRC, but I'll go over there now you've poked :)
16:39bestouff has quit [Read error: Connection reset by peer]
16:40bestouff has joined #asahi
16:42eroux_ has quit [Read error: Connection reset by peer]
16:49eroux has joined #asahi
17:07Moprius has quit [Ping timeout: 480 seconds]
17:13bestouff has quit [Ping timeout: 480 seconds]
17:13bestouff has joined #asahi
17:15thelounge7571340 has joined #asahi
17:15thelounge7571340 has quit [Remote host closed the connection]
17:23r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
17:25bestouff has quit [Ping timeout: 480 seconds]
17:31bestouff has joined #asahi
17:52bestouff has quit [Ping timeout: 480 seconds]
17:53bestouff has joined #asahi
18:17int16h has joined #asahi
18:28thelounge7571340 has joined #asahi
18:28thelounge7571340 has quit [Remote host closed the connection]
18:30nela has quit [Ping timeout: 480 seconds]
18:35nela has joined #asahi
18:52phil has joined #asahi
18:53int16h has quit [Ping timeout: 480 seconds]
18:53phil is now known as Guest3869
18:53Guest3869 is now known as philm
19:12stintel has quit [Quit: reboot - hypervisor kernel update]
19:17jluthra_ has quit [Remote host closed the connection]
19:18jluthra_ has joined #asahi
19:26bestouff has quit [Read error: Connection reset by peer]
19:29bestouff has joined #asahi
19:29thelounge7571340 has joined #asahi
19:30thelounge7571340 has quit [Remote host closed the connection]
19:33eric_engestromphilm: *puts hands on wall* I'm a meat popsicle
19:38thelounge7571340 has joined #asahi
19:38thelounge7571340 has quit [Remote host closed the connection]
19:40MajorBiscuit has joined #asahi
19:40bestouff has quit [Read error: Connection reset by peer]
19:41bestouff has joined #asahi
19:43brad_For anyone looking for a webcam workaround, I successfully had a meeting today using droidcam https://github.com/dev47apps/droidcam
19:51int16h has joined #asahi
20:22vx has quit [Quit: G-line: User has been permanently banned from this network.]
20:22vx has joined #asahi
20:25ad0 has joined #asahi
20:28ad0 is now known as ad1
20:29capta1nt0ad has joined #asahi
20:40thelounge7571340 has joined #asahi
20:40thelounge7571340 has quit [Remote host closed the connection]
21:00MajorBiscuit has quit [Read error: No route to host]
21:14Etrien_ has joined #asahi
21:21Etrien has quit [Ping timeout: 480 seconds]
21:30Etrien_ has quit [Read error: Connection reset by peer]
21:31Etrien has joined #asahi
21:35bestouff has quit [Remote host closed the connection]
21:35bestouff has joined #asahi
21:42SSJ_GZ has quit [Ping timeout: 480 seconds]
21:42thelounge7571340 has joined #asahi
21:42thelounge7571340 has quit [Remote host closed the connection]
21:48jess has joined #asahi
22:11roblg has joined #asahi
22:18vx has quit [Quit: G-line: User has been permanently banned from this network.]
22:19vx has joined #asahi
22:19roblg has quit [Quit: Page closed]
22:19nicolas17 has joined #asahi
22:46thelounge7571340 has joined #asahi
22:46thelounge7571340 has quit [Remote host closed the connection]
22:49ad1 has quit [Quit: Textual IRC Client: www.textualapp.com]
22:49bcrumb has joined #asahi
22:49bcrumbjust heard m1 cooling fans for the first time, this is normal right, sign of degredation'
22:49ager has joined #asahi
22:52idc has joined #asahi
22:53bcrumb has quit [Remote host closed the connection]
22:58Gaspare has quit [Quit: Gaspare]
23:02bcrumb has joined #asahi
23:02bcrumb has quit []
23:10bcrumb has joined #asahi
23:10bcrumbidc: https://bin.tiekoetter.com/?f4bc5b10cbce78f4#EmB5CT5oRLKLwZVLf1e1XcyohHrzLTTmiQGhHD1jctHw
23:11bcrumb has quit [Remote host closed the connection]
23:11bcrumb has joined #asahi
23:11bcrumbi will add more to this tomorrow... it is not done, at all .. it needs the actual luks set -upping, but this is just cryptsetup according to asahi rules
23:12bcrumbfrom the minimal OS you set a up a cryptsetup partition and then cp the minimal OS files inside
23:14bcrumbalso the plasma env is useful to configure locale and then when you boot from usb you can load the keymap
23:16bcrumbidc: https://bin.tiekoetter.com/?96b305ec71113d12#MAGqUPYRzCnmqoUeyBmYS3WcHVC4qQ5nSh8sANSUUy3
23:18bcrumbthis needs configuring from your side, initramfs and linux image should be in boot ... in gzipped format which i write explicitly
23:18ager has quit [Quit: Textual IRC Client: www.textualapp.com]
23:20bcrumb has quit [Remote host closed the connection]
23:20bcrumb has joined #asahi
23:20metis has joined #asahi
23:21bcrumband config your keys to be autoloaded on boot so that you can use them when entering luks pass... otherwise you will default to US keymap
23:21bcrumb has quit []
23:26nullroute has quit [Read error: Connection reset by peer]
23:28nullroute has joined #asahi
23:32user982492 has joined #asahi
23:34metis is now known as icarus
23:35icarus has quit [Quit: Textual IRC Client: www.textualapp.com]
23:40roblg has joined #asahi
23:48idc has quit [Quit: leaving]
23:49gamma has joined #asahi
23:51thelounge7571340 has joined #asahi
23:52thelounge7571340 has quit [Remote host closed the connection]