#
…

2022-10-22

01:08thelounge7571340 has joined #asahi-dev
01:08thelounge7571340 has quit [Remote host closed the connection]
01:13zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
01:36chadmed has joined #asahi-dev
01:40chadmed has quit [Remote host closed the connection]
01:46milek7_ has joined #asahi-dev
01:47eloy__ has joined #asahi-dev
01:47milek7 has quit [Ping timeout: 480 seconds]
01:47eloy_ has quit [Ping timeout: 480 seconds]
01:59Etrien_ has joined #asahi-dev
02:04Etrien has quit [Ping timeout: 480 seconds]
02:09thelounge7571340 has joined #asahi-dev
02:10thelounge7571340 has quit [Remote host closed the connection]
02:13thelounge7571340 has joined #asahi-dev
02:14thelounge7571340 has quit [Remote host closed the connection]
02:14chadmed has joined #asahi-dev
02:33audiojaguar has quit [Quit: ZNC - https://znc.in]
02:35audiojaguar has joined #asahi-dev
03:19thelounge7571340 has joined #asahi-dev
03:19thelounge7571340 has quit [Remote host closed the connection]
03:32chadmed has quit [Quit: Konversation terminated!]
03:33chadmed has joined #asahi-dev
03:33chadmedpovik: 256 % 6 != 0
03:34chadmedsetting the bclk ratio to 192 fixes everything
03:35chadmedthen we get a frame size of 32 for each speaker channel which matches the jack
03:36chadmedsounds like i might need to redo the firs at some point though, the safety stuff has changed the sound profile a little bit
03:49hmon has joined #asahi-dev
03:54zzywysm has joined #asahi-dev
04:33thelounge7571340 has joined #asahi-dev
04:34thelounge7571340 has quit [Remote host closed the connection]
04:35jakebot60224 has joined #asahi-dev
04:39jakebot6022 has quit [Ping timeout: 480 seconds]
04:39jakebot60224 is now known as jakebot6022
04:43gaudem has quit [Quit: Connection closed for inactivity]
04:52SSJ_GZ has joined #asahi-dev
04:59ilya has joined #asahi-dev
05:00chadmed has quit [Quit: Konversation terminated!]
05:01chadmed has joined #asahi-dev
05:01chadmed has quit []
05:01chadmed has joined #asahi-dev
05:02chadmed has quit []
05:02chadmed has joined #asahi-dev
05:03chadmed has quit []
05:06chadmed has joined #asahi-dev
05:12chadmed has quit [Quit: Konversation terminated!]
05:13chadmed has joined #asahi-dev
05:14hmon has quit [Remote host closed the connection]
05:49chipxxx has quit [Remote host closed the connection]
06:03bluetail1 has joined #asahi-dev
06:03Etrien has joined #asahi-dev
06:06thelounge7571340 has joined #asahi-dev
06:07thelounge7571340 has quit [Remote host closed the connection]
06:08chipxxx has joined #asahi-dev
06:10Etrien_ has quit [Ping timeout: 480 seconds]
06:11bluetail has quit [Ping timeout: 480 seconds]
06:11bluetail1 is now known as bluetail
06:34chadmed has quit [Quit: Konversation terminated!]
06:37chadmed has joined #asahi-dev
06:37chadmed has quit []
06:38chadmed has joined #asahi-dev
06:38chadmed has quit []
06:40chadmed has joined #asahi-dev
06:51chadmeddoes someone with j314 speakers enabled mind testing the latest version of asahi-audio? ive completely redone the IRs and they sound much better now
06:52chadmedclarity is greatly improved and ive managed to squish most of the audible boxiness present in the last version
06:53chadmedprobably still sounds bad on j316 since im pretty certain theyre completely different speakers, but a test on one of those wouldnt go astray either :)
07:11thelounge7571340 has joined #asahi-dev
07:11thelounge7571340 has quit [Remote host closed the connection]
07:19bluetail has quit [Quit: The Lounge - https://thelounge.chat]
07:19bluetail has joined #asahi-dev
07:33ilya has quit [Ping timeout: 480 seconds]
08:01jannaudcp rebased on asahi-wip
08:13thelounge7571340 has joined #asahi-dev
08:13thelounge7571340 has quit [Remote host closed the connection]
08:19Etrien_ has joined #asahi-dev
08:23Etrien has quit [Ping timeout: 480 seconds]
08:25psykose has quit [Remote host closed the connection]
08:26psykose has joined #asahi-dev
08:26svenThanks, I didn’t even notice that because I went back to atcphy when I didn’t feel like fixing that probe race
08:28marcanjannau: that works with the m1n1 merge right?
08:34jannausven: there's aslo a fix for the probe race
08:34jannaumarcan: yes, it works without additional m1n1 changes
08:35svenah, nice
08:35marcanlet's get that merged next week then
08:35svenGuess I should try to rebase then
08:35marcanany oddities with cpufreq? if not, I want to send that out too
08:36marcankettenis: did you get a chance to find out how BSD would deal with the DT change?
08:37Etrien has joined #asahi-dev
08:45Etrien_ has quit [Ping timeout: 480 seconds]
08:45mpsjannau: could these be tested without upgrading m1n1
08:47chadmedcpufreq has been working fine here for the past few days
08:53jannaumps: it works unmodiefied m1n1 from AsahiLinux but the necessary changes are not yet in any tag
08:54jannaumarcan: cpufreq boots, I haven't noticed anything but I wasn't looking. main system is not yet yet updated
08:55mpsjannau: ok, building it to test. thank you
08:58jannausven: dts with dcpext is in https://github.com/jannau/linux/tree/asahi-dcpext-v6.1-rc1-1 mostly because dcpext0 on t6002 doesn't want to boot
09:02jannaumps: don't expect much change especially on laptops/imacs. performance on wayland (compositors using atomic_swap) is bad
09:02sventhanks, will take a look later
09:03svenand finally resolve those tracepoint changes we both did :D
09:04svenI think we should call TRACE_SYSTEM appledcp or DCP instead of iomfb if you’re fine with that
09:04mpsjannau: ok, just want to test to get 'feeling'. do I have to disable simpledrm to get apple drm initialized?
09:05svenit’s possible to filter on the tp names of you just want to look at iomfb and I’m not sure you can easily have two trace systems in a single object
09:06jannaunot sure if that's caused by the badly emulated vblank handling, llvmpipe rendering times excceding 1/60 s with high resolution displays or something else
09:07jannausven: let's use dcp. I just used iomfb since that was there all my tracepoints are
09:08jannaumps: dcp will take over the framebuffer from simpledrm
09:10jannauso you can boot with simpledrm built-in and have dcp as module. during boot simpledrm is used until the dcp modules are loaded
09:10mpsah, build boot with =y
09:11mpsand don't see apple drm in dmesg, only simpledrm
09:11jannaulook for dcp in dmesg
09:12mpsthere is no dcp in dmesg out
09:12mpswill try now as module
09:13jannaumake sure you use the dtb from the kernel. it works built-in as well along with simpledrm
09:14mpsohm, forgot this
09:14jannauif it doesn't appear in dmesg at the problem is not that simpledrm is present
09:19thelounge7571340 has joined #asahi-dev
09:19thelounge7571340 has quit [Remote host closed the connection]
09:27mpsnow got blank screen after booting kernel
09:29jannauthe probing is still annoying since it breaks completely as soon as a single dcp doesn't probe/start
09:30jannaumps: which device? you most likely crashed dcp. please search in the output of 'dtc -I fs -O dts -o - /proc/device-tree' for reserved-memory
09:32mpsjannau: 316, m1pro macbook
09:33mpsI will try to upgrade m1n1 to see if that helps
09:33povikchadmed: you are confusing things
09:34povikframe size is 32 always
09:34povikwhat you did by adjusting the bclk ratio is making MCA driver remove those two extra channels since there's no space for them on the bus
09:34jannaumps: "10:53:21 < jannau> mps: it works unmodiefied m1n1 from AsahiLinux but the necessary changes are not yet in any tag"
09:35povikthat's not the proper fix though -- the channel number needs to be explicitly constrained in macaudio, if we can't leave that up for userspace
09:35chadmedthats unfortunate
09:35povikthat follows from: (1) MCA cares about the bus, not the overall audio system; (2) to simplify macaudio we should share bus settings across models
09:35povikwell, it's bit of additional code to constrain it in macaudio
09:35mpsjannau: I'm not sure which version AsahiLinux have
09:36mpsit will not hurt if I upgrade it
09:36jannauit was merged this wednesday
09:36jannauplease stop wasting my time
09:37mpsjannau: ok
09:40nsklaus has joined #asahi-dev
09:40povikchadmed: if we figured this out on the userspace side instead, i would find that neat
09:40poviksince those extra channels should be benign (if not, that's a kernel bug)
09:41povikso we can take the position that userspace needs to know how to drive the device usefully anyway
09:42povikincluding not opening it for extra dead channels
09:43chadmednot sure how we would go about implementing that, i even tried constraining pipewire's maximum channel count to 6 for any given device at compile time, and it still opened all 8/32...
09:44povikthere's the ~PlaybackChannels verb in UCM
09:44povikwhich is missing for the speakers as of know, which i had the idea may be the cause for pipewire ignoring it
09:44povik*as of now
09:45chadmedill have a go at getting the ucm stuff to work then
09:45chadmedit doesnt work at all on this machine
09:46nsklaus_ has quit [Ping timeout: 480 seconds]
09:46povikyeah, you can try commenting things out to narrow down the cause -- if pipewire logging isn't helpful
09:46SSJ_GZ has quit [Ping timeout: 480 seconds]
09:46amarioguy has quit [Ping timeout: 480 seconds]
09:47chadmedpw just hangs on it and doesnt say anything :)
09:48amarioguy has joined #asahi-dev
09:54chadmedwell that was a quick debug session
09:55chadmedtheres no WNF Switch mixer control so it was dying on that
10:05chadmed has quit [Quit: Konversation terminated!]
10:10chadmed has joined #asahi-dev
10:10chadmed has quit []
10:11chadmed has joined #asahi-dev
10:11chadmed has quit []
10:12chadmed has joined #asahi-dev
10:13oneElectron has joined #asahi-dev
10:14chadmed has quit [Remote host closed the connection]
10:21amarioguy2 has joined #asahi-dev
10:24amarioguy has quit [Ping timeout: 480 seconds]
10:26thelounge7571340 has joined #asahi-dev
10:26thelounge7571340 has quit [Read error: Connection reset by peer]
10:37chadmed has joined #asahi-dev
10:40kov has quit [Quit: Coyote finally caught me]
10:43chadmedPlaybackChannels 6 does nothing, jack and pw both still insist on opening 8 channels when the bclk ratio is 256
10:43amarioguy2 has quit [Ping timeout: 480 seconds]
10:44chadmed has quit [Quit: Konversation terminated!]
10:45chadmed has joined #asahi-dev
10:46amarioguy has joined #asahi-dev
11:08oneElectron has quit [Quit: oneElectron]
11:31thelounge7571340 has joined #asahi-dev
11:31thelounge7571340 has quit [Remote host closed the connection]
11:41Foxboronjannau: If you have time, could you test if https://github.com/archlinux/mkinitcpio/pull/112 solves the gzip issue for Asahi?
12:04jannauFoxboron: I'll test (and close my PR) but I don't think we will use it. We use uncompressed kernels for sd-boot compatibility. if we use compressed kernels it's probably EFI_ZBOOT only
12:05Foxboronjannau: ack, thanks :)
12:37thelounge7571340 has joined #asahi-dev
12:37thelounge7571340 has quit [Remote host closed the connection]
12:40chip_x has joined #asahi-dev
12:42chipxxx has quit [Ping timeout: 480 seconds]
12:49chadmed has quit [Quit: Konversation terminated!]
12:57nela has quit [Quit: leaving.]
12:57nela has joined #asahi-dev
13:09kedde has joined #asahi-dev
13:09kedde has quit []
13:12kettenismarcan: yes I did, you must have missed me reporting on that here
13:13kettenis<kettenis> ok, the frankenDTB doesn't make the kernel explode, but it does break the code that changes the CPU frequency
13:13kettenis<kettenis> so from an OpenBSD standpoint there is no benefit in trying to provide a backwards compatible DTB
13:32kov has joined #asahi-dev
13:34alyssa has left #asahi-dev [#asahi-dev]
13:40thelounge7571340 has joined #asahi-dev
13:41thelounge7571340 has quit [Remote host closed the connection]
13:43jannauatomic lcoked dart pgtable updates done, certainly not upstreamable but the previous code wasn't better in that regard. as bonus this get's rid of a bunch of custom of parsing code in apple-dart
13:50chipxxx has joined #asahi-dev
13:55chip_x has quit [Ping timeout: 480 seconds]
14:42jannaumarcan: cpufreq seems to work. I don't see the first perf cluster drop below 1.98 GHz but I guess that's a fight against schedutil
14:46thelounge7571340 has joined #asahi-dev
14:46thelounge7571340 has quit [Remote host closed the connection]
15:20whistlingoat has joined #asahi-dev
15:23___nick___ has joined #asahi-dev
15:32chipxxx has quit [Ping timeout: 480 seconds]
15:39svenjannau: so.. this is gonna sound dumb, but uh, how do I get dcp to actually set a mode?
15:39sveni'm at "[ 9.970618] apple-dcp 271c00000.dcp: dcp_hotplug: connected: 1" now after your fixes
15:45chipxxx has joined #asahi-dev
15:45whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
15:51thelounge7571340 has joined #asahi-dev
15:52thelounge7571340 has quit [Remote host closed the connection]
15:59whistlingoat has joined #asahi-dev
16:00jannausven: libdrm has a modeset test utility
16:02jannaufb emulation / fbcon starts automatically for dcp
16:02jannaualso \o/!!!!
16:02whistlingoat has quit []
16:11jannausven: ./modetest -M apple
16:15tych0 has quit [Quit: WeeChat 2.8]
16:15svenshows dcpext as connected but without any modes afaict
16:15svenlet's see
16:17svenprobably just something on the dptx side broken, I remember I had this state with my python code as well at some point
16:20whistlingoat has joined #asahi-dev
16:23___nick___ has quit []
16:24thelounge7571340 has joined #asahi-dev
16:24___nick___ has joined #asahi-dev
16:25thelounge7571340 has quit [Remote host closed the connection]
16:25___nick___ has quit []
16:27___nick___ has joined #asahi-dev
16:36whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
16:40whistlingoat has joined #asahi-dev
16:58marcanjannau: try tasksetting the shell to another cluster then checking again
17:07whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
17:07jannauit was tasksetted to the 1st efficiency cluster
17:36thelounge7571340 has joined #asahi-dev
17:37thelounge7571340 has quit [Read error: Connection reset by peer]
17:59pthariensflame has joined #asahi-dev
17:59pthariensflame has quit []
18:15artemist has joined #asahi-dev
18:23artemistIs there an easy way to get an initramfs with firmware for teathered kernel booting? I'm guessing what I need isn't in linux-firmware
18:26j`eyyou can pull the firmware from the ESP partition
18:27jannauuse $ESP/vendorfw/firmware.tar
18:30jannauwe are planning to make this easier by storing a firmware.cpio there. that one can simply appended to the initramfs. not sure what we need to do for compression. I think the cpio archives have all use the same/none compression
18:33jannaupushed dcp which replaces the L2 tables atomically for the premapped regions for lockked DARTs
18:33jannausven: includes t8103 dcpext and your tracepont commit
18:34svennice! then I should be able to just rebase my dptx hacks on top of that from now
18:40thelounge7571340 has joined #asahi-dev
18:40mps has quit [Quit: leaving]
18:41thelounge7571340 has quit [Remote host closed the connection]
18:53mps has joined #asahi-dev
19:11thelounge7571340 has joined #asahi-dev
19:12thelounge7571340 has quit [Remote host closed the connection]
19:16jluthra_ has quit [Remote host closed the connection]
19:17jluthra_ has joined #asahi-dev
19:18pg12 has quit [Quit: pg12]
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:24thelounge7571340 has joined #asahi-dev
20:24thelounge7571340 has quit [Remote host closed the connection]
20:41pg12 has joined #asahi-dev
20:56eclipse842 has joined #asahi-dev
20:57eclipse842 has quit []
21:04whistlingoat has joined #asahi-dev
21:12whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
21:14Etrien_ has joined #asahi-dev
21:16whistlingoat has joined #asahi-dev
21:21Etrien has quit [Ping timeout: 480 seconds]
21:23whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
21:25whistlingoat has joined #asahi-dev
21:30thelounge7571340 has joined #asahi-dev
21:31thelounge7571340 has quit [Remote host closed the connection]
21:38jeffmiw has joined #asahi-dev
21:45jeffmiw has quit [Remote host closed the connection]
22:00whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
22:21amarioguy has quit [Remote host closed the connection]
22:27Etrien_ has quit [Read error: Connection reset by peer]
22:27Etrien has joined #asahi-dev
22:32Etrien_ has joined #asahi-dev
22:34thelounge7571340 has joined #asahi-dev
22:35thelounge7571340 has quit [Remote host closed the connection]
22:35Etrien has quit [Ping timeout: 480 seconds]
22:54whistlingoat has joined #asahi-dev
22:59marcankettenis: ack
23:39thelounge7571340 has joined #asahi-dev
23:39thelounge7571340 has quit [Read error: Connection reset by peer]
23:42c10l has quit [Quit: Bye o/]
23:52c10l has joined #asahi-dev
…