#
…

2022-01-24

00:08Gaelan has quit [Server closed connection]
00:09Gaelan has joined #asahi
00:17mavericks has quit [Server closed connection]
00:18mavericks has joined #asahi
00:51coder_kalyan_ has quit [Server closed connection]
00:51coder_kalyan has joined #asahi
00:57handlerug_ has quit [Server closed connection]
00:57handlerug has joined #asahi
01:12tdmm_ has quit [Server closed connection]
01:12tdmm has joined #asahi
01:15andreafeletto_ has quit [Server closed connection]
01:15andreafeletto has joined #asahi
01:19Chainsaw has quit [Server closed connection]
01:19Chainsaw has joined #asahi
01:29WhyNotHugo_ has quit [Server closed connection]
01:29WhyNotHugo has joined #asahi
02:25Lightsword has quit [Server closed connection]
02:25Lightsword has joined #asahi
02:33c10l has quit [Quit: Bye o/]
02:34reillyeon has quit [Server closed connection]
02:34reillyeon has joined #asahi
02:36c10l has joined #asahi
03:16tpw_rulesi can't get sound working on the mac mini. this seems to be the relevant segment of the kernel log: http://ix.io/3Nkp . before i added the DMA config options it showed neither RX nor TX channels, but now it for some reason can't find the RX channels still
03:22phiologe has joined #asahi
03:25PhilippvK has quit [Ping timeout: 480 seconds]
03:28kdwk has joined #asahi
03:30kov has quit [Quit: Coyote finally caught me]
03:32kov has joined #asahi
03:43tpw_rules has quit [Ping timeout: 480 seconds]
04:01tomtastic has joined #asahi
04:01tpw_rules has joined #asahi
04:03tomtastic_ has quit [Ping timeout: 480 seconds]
04:09kdwk has quit [Ping timeout: 480 seconds]
04:37tpw_rules is now known as Guest358
04:37tpw_rules has joined #asahi
04:39Guest358 has quit [Ping timeout: 480 seconds]
05:11Glanzmanntpw_rules: Nope, but now.
05:12Glanzmanntpw_rules: About the mini, I can try.
05:15tpw_rulesGlanzmann: i tried with your config and it displayed the same log
05:15Glanzmanntpw_rules: Okay, let me try.
05:15Glanzmanntpw_rules: Do you have the newest patch from povik? curl https://tg.st/u/5nly | patch -p1
05:15tpw_rulesi also added that patch you suggested
05:15tpw_rulesit didn't seem to make a difference
05:16GlanzmannGive me one second. I'll try.
05:18tpw_rulesbtw is there a more official link for that patch? i got hardlinks for jannau's on github
05:23Glanzmanntpw_rules: No, povik pasted it in irc a few nights ago.
05:23Glanzmanntpw_rules: So on the mini, I also can't get sound to work.
05:24tpw_rulesokay, good to know
05:24tpw_rulesthanks for testing
05:25GlanzmannYou're welcome.
05:25GlanzmannThis is my dmesg.
05:26tpw_rulesseems to be identical to mine
05:26Glanzmanntpw_rules: But in air it works.
05:26GlanzmannLIke a charm watched two long movies on it.
05:26GlanzmannUsing the jack.
05:30tomtastic has quit [Ping timeout: 480 seconds]
05:31tomtastic has joined #asahi
05:34Glanzmannjannau: I tried the dcp with another monitor, it appears to be crashing, no output, no ping. I waited a little while this time.
05:34tpw_rulesooh, there's dcp patches available?
05:35Glanzmanntpw_rules: Jannau rebased Alyssas DPC patches, but they're no ready for end users (tm) ...
05:36Glanzmanntpw_rules: I tried two monitors, two crashes.
05:36tpw_rulesit looks like marcan also posted stuff about m1n1 and hdmi on his twitter. is that in m1n1's main branch?
05:36tpw_ruleshdmi is currently rather aggravating on my setup, but at least it doesn't crash
05:36GlanzmannI have three more to try.
05:36Glanzmanntpw_rules: hdmi on the mini works again.
05:36tpw_ruleswhich branch? i'll give it a try tomorrow
05:38tpw_rulesdoes this mean i can use macos 12?
05:38Glanzmanntpw_rules: A few notes, so that you don't do the same mistake that I did: You need the latest stub os from the asahi installer, you need to use the device tree that comes with the kernel, enable APPLE using the menu so that the dependencies get selected and use 'y' for it and disable alle other drms.
05:38tpw_rulesalso, they keep futzing with the device trees. i'm going to resurrect my patch to u-boot again if they don't stop
05:39Glanzmanntpw_rules: Yes, marcan fixed the hdmi output for macos 12.
05:39GlanzmannAlso marcan encourages us to use the 12.0.1.
05:39GlanzmannAlso the dcp driver will not work on 11.x I tried yesterday, because there are some firmware changes in dcp or rtkit or god knows what.
05:39Glanzmanntpw_rules: u-boot works.
05:41Glanzmanntpw_rules: Oh and for me, I'm using a kmutil from 11.x to promot u-boot.macho in 1tr.
05:47GlanzmannBut I think for u-boot also the 12.x kmutil works, only for m1n1 we need the other one, but the new format should also work for m1n1.
06:06tpw_ruleswhy does 11.x vs 12.0.1 matter for m1n1?
06:06tpw_rulesi thought only 12.1 was different, and even then that m1n1 was buildable for 12.1 as a .bin
06:14marcan11.x stopped working as a stub OS if you have 12.1 firmware because then you end up with recoveryOS 12.1 but require a mach-o
06:14marcanjust drop 11.x already, please
06:14marcanapple fixed the backwards compat mess in multiple ways with 12.0
06:14marcanI really, really don't want to have to care about 11.x
06:19tpw_rulesso 12.0.1 can use a .bin installed with 12.1?
06:19tpw_rulesbut 11.x cannot?
06:20tpw_rulesi don't want 11.x either, i'm just a little confused by the alleged encouragement to use 12.0.1
06:27marcanI encourage people to use 12.1 as soon as I merge that PR I got jannau to fix a bug in last night :)
06:27marcanbut 12.0.1 is okay for now
06:28marcan12.x pairs recoveryOS, 11.x does not
06:28marcanso 12.0.1 uses 12.0.1 recoveryOS and works with .macho and nothing broke with 12.1 firmware if you use that version
06:28marcan11.x did break
06:28marcanbecause 11.x does not pair recoveryOS so you end up with a 11.x stub that can't run raw binaries and a 12.1 recoveryOS that rejects m1n1 machos
06:29marcan12.x also has the bottability dylib in the Preboot partition so future OSes won't break the bootability process for it
06:29marcan*bootability
06:30tpw_rulesokay, that makes a lot of sense. thank you for the info
06:31marcanbasically 12.0 fixed a bunch of backwards compat time bombs and 12.1 detonated one such bomb in 11.x
06:31marcanso 12.0 is still fine
06:32tpw_rulesso if you hold the power button, the computer boots the recoveryOS of the currently selected boot thingy in the menu?
06:32marcanif the currently selected boot thingy is 11.x, it boots *system* recoveryOS
06:32marcanif it's 12.x it boots the paired recoveryOS
06:33tpw_rules(presumably it boots the system one if the paired one is broken?)
06:33marcanyes, AIUI
06:33marcanand there's a system fallback too, once you upgrade once
06:43eroux has joined #asahi
06:47Glanzmanntpw_rules: About what you write in -dev, I sent marcan a patch weeks ago, but he is not taking it: It's not very useful to send patches to fix compile warnings for in-development drivers; besides, this isn't my driver, it's povik's. This kind of thing will be fixed by the author before upstream submission.
06:49Glanzmanntpw_rules: It got also on my nerves, because Debian defaults to that as well.
06:51jannauwe probably should hide or remove the macOS 11 ipsws from the installer
07:35tomtastic has quit [Ping timeout: 480 seconds]
07:37Jamie[m]1jannau: is nv12 <-> yuv420 not a lossless conversion, just rearranging bytes?
07:37Jamie[m]1or rearranging bits i mean
07:39Jamie[m]1is the issue that the conversion isn't being performed, and the data is misinterpreted as yuv420?
07:41jeffmiw has quit [Ping timeout: 480 seconds]
07:44tomtastic has joined #asahi
07:47tomtastic_ has joined #asahi
07:52tomtastic has quit [Ping timeout: 480 seconds]
07:54tomtastic has joined #asahi
07:56jannauJamie[m]1: yes, there is no conversion so framecrc compares data in a different memory layout
07:57tomtastic_ has quit [Ping timeout: 480 seconds]
07:58jannauinserting an explicit conversion filter to the format the tests expects fixes probably most of the failing tests
08:02tomtastic has quit [Ping timeout: 480 seconds]
08:02tomtastic has joined #asahi
08:08user982492 has joined #asahi
08:09qeeg_ has quit [Ping timeout: 480 seconds]
08:13qeeg has joined #asahi
08:24giskard has joined #asahi
08:30tomtastic_ has joined #asahi
08:31tomtastic has quit [Ping timeout: 480 seconds]
08:31espo has joined #asahi
08:35espo has quit [Remote host closed the connection]
08:50espo has joined #asahi
08:58eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:00espo_ has joined #asahi
09:08espo has quit [Ping timeout: 480 seconds]
09:08essentia[m] has joined #asahi
09:08user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:15espo__ has joined #asahi
09:15Glanzmannespo_: I never experienced my NVMe device disappearing.
09:16Glanzmannespo_: What m1 device do you have? Are you using u-boot or the m1n1+kernel with the device tree from the kernel?
09:20espo has joined #asahi
09:23espo_ has quit [Ping timeout: 480 seconds]
09:27espo__ has quit [Ping timeout: 480 seconds]
09:35Glanzmannespo: In case you did not saw my answer, nvme is stable for me on m1. What m1 device do you have and what is your setup? U-boot?
09:37mpscan confirm, for about two months of using m1 only with linux didn't had any issue with nvme
09:38espoHey, thx :) i have a macbook pro 13¨ i think i f*** up something with my kernel :). Trying to debug later when i´m done working and got some sleep :>
09:38mpsactually nothing crashed
09:38espoand yes i use u-boot it worked before i updated my kernel to the latest revision
09:39mpsespo: also I use MBP, j293 model
09:39espoah okay then it´s definitly my kernel ;)
09:50aleasto has joined #asahi
09:56MajorBiscuit has joined #asahi
10:14eroux has joined #asahi
10:24tomtastic has joined #asahi
10:27tomtastic_ has quit [Ping timeout: 480 seconds]
10:34tomtastic_ has joined #asahi
10:34tomtastic has quit [Ping timeout: 480 seconds]
10:40tomtastic has joined #asahi
10:44tomtastic_ has quit [Ping timeout: 480 seconds]
10:48tomtastic_ has joined #asahi
10:48tomtastic has quit [Ping timeout: 480 seconds]
10:52the_lanetly_052 has joined #asahi
10:58espo_ has joined #asahi
10:59tomtastic has joined #asahi
11:03tomtastic_ has quit [Ping timeout: 480 seconds]
11:04giskard has quit [Ping timeout: 480 seconds]
11:05espo_ has quit [Quit: Leaving]
11:06espo has quit [Ping timeout: 480 seconds]
11:16tomtastic_ has joined #asahi
11:18tomtastic has quit [Ping timeout: 480 seconds]
11:22the_lanetly_052 has quit [Remote host closed the connection]
11:24tomtastic has joined #asahi
11:24tomtastic_ has quit [Ping timeout: 480 seconds]
11:28the_lanetly_052 has joined #asahi
11:29tomtastic_ has joined #asahi
11:32tomtastic has quit [Ping timeout: 480 seconds]
11:38chadmed has joined #asahi
11:46aleasto has quit [Quit: Konversation terminated!]
11:47aleasto has joined #asahi
12:11thevar1able has joined #asahi
12:17thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
12:39aleasto has quit [Remote host closed the connection]
12:39aleasto has joined #asahi
13:12tomtastic has joined #asahi
13:16tomtastic_ has quit [Ping timeout: 480 seconds]
13:59Glanzmannpovik: Any idea why the sound no longer works on the mini?
14:05povikno. post dmesg
14:06tpw_rulesGlanzmann: ah, i didn't really expect him to take it. just was a convenient way to point out the problem
14:07Glanzmanntpw_rules: I see.
14:08Glanzmannpovik: Issue is that the mixer device does not show up in alsa when I press F6.
14:08thevar1able has joined #asahi
14:08poviki would suspect it's disabled .config options again
14:08Glanzmannpovik: tpw_rules has the same issue and asked me to reproduce.
14:08Glanzmannpovik: I see.
14:08Glanzmannpovik: Btw. on the air, it works perfectly.
14:09povikthat's great to hear
14:09Glanzmannpovik: I watched videos several hours.
14:09povikcould you be missing tas2770?
14:09povikeither that or simple_audio_card
14:10tpw_rulespovik: this is what seeems to be the relevant section from my dmesg: http://ix.io/3Nkp . before i added the DMA config options it showed neither RX nor TX channels, but now it for some reason can't find the RX channels still
14:10povikyeah, not finding RX channels is expected, no support for that yet
14:11poviki assume this is what you are compiling with ^
14:12povikthere's no TAS2770 driver, which means there will be no probe on simple-audio-card, which explains it
14:12tpw_rulesyes. i tried with Glanzmann's config which he says works on the air
14:12kettenispovik: weird how it uses "serdes/clock" of one cluster and "port" of another cluster
14:12Glanzmannpovik: # CONFIG_SND_SOC_TAS2770 is not set
14:12Glanzmanntpw_rules: It works on the air, but not on the mini ...
14:13povikair wouldn't have the same issue, tas2770 is for speakers which are not declared there yet
14:14povikkettenis: this is what Apple does and i kept it during development. if i understand all right, we should just be able to drop the serdes/clock, use the cluster that corresponds to the port, and it should work
14:17GlanzmannBtw. I started this new wiki page: https://github.com/AsahiLinux/docs/wiki/DesktopKernel I'll add the two kernel options ...
14:18Glanzmannpovik: I'll try the mini sound once I'm back home. I assume both jack and speaker should work?
14:19povikyes, but speaker/jack switching won't work as expected
14:20povikfor that we are missing (1) jack plug/unplug reports to userspace and (2) alsalib cofiguration to make it switch subdevices
14:20povikso for now: alsa device hw:0,0 is speaker, hw:0,1 is jack
14:22Glanzmannpovik: I see. Perfect. Good enough for me.
14:22malvo has joined #asahi
14:26Glanzmannmarcan: Could you add my github user 'sithglan' rights to push to https://github.com/AsahiLinux/docs.wiki.git that would make it much easier to keep the wiki up2date without using a browser.
14:26thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
14:30tomtastic_ has joined #asahi
14:32tomtastic has quit [Ping timeout: 480 seconds]
14:33tpw_rulespovik: seems it works now. cool! thanks
14:33yuyichao has quit [Ping timeout: 480 seconds]
14:47GlanzmannI used my macbook air which was not completly charged (mabye 80%) the whole day under Linux and it powered down after approx. 6 hours.
14:49yuyichao has joined #asahi
14:50Glanzmannamw: Btw. I just saw your wiki page on X11. I prefer the modesetting driver over the fbdev because the mouse moves better. It also works with current asahi branch.
15:21thevar1able has joined #asahi
15:31thevar1able has quit [Ping timeout: 480 seconds]
15:34eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:44off^ has quit [Remote host closed the connection]
15:46tpw_rules has quit [Ping timeout: 480 seconds]
16:43tomtastic_ has quit [Ping timeout: 480 seconds]
16:50jbowen has joined #asahi
16:51tomtastic has joined #asahi
16:57tomtastic_ has joined #asahi
17:00tomtastic has quit [Ping timeout: 480 seconds]
17:30PhilippvK has joined #asahi
17:32phiologe has quit [Ping timeout: 480 seconds]
17:32___nick___ has joined #asahi
17:32___nick___ has quit []
17:34___nick___ has joined #asahi
17:43roxfan has joined #asahi
17:53qeeg has quit [synthon.oftc.net resistance.oftc.net]
17:53kov has quit [synthon.oftc.net resistance.oftc.net]
17:53artemist has quit [synthon.oftc.net resistance.oftc.net]
17:53saintdev_ has quit [synthon.oftc.net resistance.oftc.net]
17:53NekomimiScience has quit [synthon.oftc.net resistance.oftc.net]
17:53ids1024 has quit [synthon.oftc.net resistance.oftc.net]
17:53JTL has quit [synthon.oftc.net resistance.oftc.net]
17:53Vaughn has quit [synthon.oftc.net resistance.oftc.net]
17:53jabashque has quit [synthon.oftc.net resistance.oftc.net]
17:53philpax_ has quit [synthon.oftc.net resistance.oftc.net]
17:53maennich has quit [synthon.oftc.net resistance.oftc.net]
17:53stblassitude has quit [synthon.oftc.net resistance.oftc.net]
17:53pFalken has quit [synthon.oftc.net resistance.oftc.net]
17:53ZLSA has quit [synthon.oftc.net resistance.oftc.net]
17:53esden has quit [synthon.oftc.net resistance.oftc.net]
17:53ovf has quit [synthon.oftc.net resistance.oftc.net]
17:53eichin has quit [synthon.oftc.net resistance.oftc.net]
17:53enomem has quit [synthon.oftc.net resistance.oftc.net]
17:53mustache_ride___ has quit [synthon.oftc.net resistance.oftc.net]
17:53kallsyms has quit [synthon.oftc.net resistance.oftc.net]
17:53rossy has quit [synthon.oftc.net resistance.oftc.net]
17:53TheFirst has quit [synthon.oftc.net resistance.oftc.net]
17:53yuyichao has quit [synthon.oftc.net resistance.oftc.net]
17:53robher has quit [synthon.oftc.net resistance.oftc.net]
17:53sorear has quit [synthon.oftc.net resistance.oftc.net]
17:53nkaretnikov has quit [synthon.oftc.net resistance.oftc.net]
17:53gruetzkopf has quit [synthon.oftc.net resistance.oftc.net]
17:53klange has quit [synthon.oftc.net resistance.oftc.net]
17:53rbenua has quit [synthon.oftc.net resistance.oftc.net]
17:53ihaveamac has quit [synthon.oftc.net resistance.oftc.net]
17:53aead has quit [synthon.oftc.net resistance.oftc.net]
17:53tbodt has quit [synthon.oftc.net resistance.oftc.net]
17:53KDDLB has quit [synthon.oftc.net resistance.oftc.net]
17:53Hotswap has quit [synthon.oftc.net resistance.oftc.net]
17:53kenzie35 has quit [synthon.oftc.net resistance.oftc.net]
17:53Techcable has quit [synthon.oftc.net resistance.oftc.net]
17:53kode54 has quit [synthon.oftc.net resistance.oftc.net]
17:53hspak has quit [synthon.oftc.net resistance.oftc.net]
17:53jackhill has quit [synthon.oftc.net resistance.oftc.net]
17:53ave has quit [synthon.oftc.net resistance.oftc.net]
17:53Graypup_ has quit [synthon.oftc.net resistance.oftc.net]
17:53reillyeon has quit [synthon.oftc.net resistance.oftc.net]
17:53Chainsaw has quit [synthon.oftc.net resistance.oftc.net]
17:53mavericks has quit [synthon.oftc.net resistance.oftc.net]
17:53vmeson has quit [synthon.oftc.net resistance.oftc.net]
17:53rann has quit [synthon.oftc.net resistance.oftc.net]
17:53taowa_ has quit [synthon.oftc.net resistance.oftc.net]
17:53sjg1 has quit [synthon.oftc.net resistance.oftc.net]
17:53snek has quit [synthon.oftc.net resistance.oftc.net]
17:53skoobasteeve has quit [synthon.oftc.net resistance.oftc.net]
17:53tardyp has quit [synthon.oftc.net resistance.oftc.net]
17:53Ariadne has quit [synthon.oftc.net resistance.oftc.net]
17:53austriancoder has quit [synthon.oftc.net resistance.oftc.net]
17:53steev has quit [synthon.oftc.net resistance.oftc.net]
17:53djsrv has quit [synthon.oftc.net resistance.oftc.net]
17:53Chinese_soup has quit [synthon.oftc.net resistance.oftc.net]
17:53linuxgemini has quit [synthon.oftc.net resistance.oftc.net]
17:53balrog has quit [synthon.oftc.net resistance.oftc.net]
17:53opticron has quit [synthon.oftc.net resistance.oftc.net]
17:53tmlind has quit [synthon.oftc.net resistance.oftc.net]
17:53emptynine has quit [synthon.oftc.net resistance.oftc.net]
17:53vx has quit [synthon.oftc.net resistance.oftc.net]
17:53daniels has quit [synthon.oftc.net resistance.oftc.net]
17:53nepeat has quit [synthon.oftc.net resistance.oftc.net]
17:53bpye has quit [synthon.oftc.net resistance.oftc.net]
17:53jbowen has quit [synthon.oftc.net resistance.oftc.net]
17:53Lightsword has quit [synthon.oftc.net resistance.oftc.net]
17:53WhyNotHugo has quit [synthon.oftc.net resistance.oftc.net]
17:53andreafeletto has quit [synthon.oftc.net resistance.oftc.net]
17:53tdmm has quit [synthon.oftc.net resistance.oftc.net]
17:53handlerug has quit [synthon.oftc.net resistance.oftc.net]
17:53coder_kalyan has quit [synthon.oftc.net resistance.oftc.net]
17:53Gaelan has quit [synthon.oftc.net resistance.oftc.net]
17:53boardwalk has quit [synthon.oftc.net resistance.oftc.net]
17:53arnd_ has quit [synthon.oftc.net resistance.oftc.net]
17:53aeroraptor has quit [synthon.oftc.net resistance.oftc.net]
17:53cptcobalt has quit [synthon.oftc.net resistance.oftc.net]
17:53jkkm has quit [synthon.oftc.net resistance.oftc.net]
17:53raiaq has quit [synthon.oftc.net resistance.oftc.net]
17:53bdju has quit [synthon.oftc.net resistance.oftc.net]
17:53krbtgt has quit [synthon.oftc.net resistance.oftc.net]
17:53skipwich has quit [synthon.oftc.net resistance.oftc.net]
17:53Method has quit [synthon.oftc.net resistance.oftc.net]
17:53tertu has quit [synthon.oftc.net resistance.oftc.net]
17:53leo60228 has quit [synthon.oftc.net resistance.oftc.net]
17:53al3xtjames has quit [synthon.oftc.net resistance.oftc.net]
17:53conradev has quit [synthon.oftc.net resistance.oftc.net]
17:53eric_engestrom has quit [synthon.oftc.net resistance.oftc.net]
17:53guan has quit [synthon.oftc.net resistance.oftc.net]
17:53refi64 has quit [synthon.oftc.net resistance.oftc.net]
17:53hell__ has quit [synthon.oftc.net resistance.oftc.net]
17:53linearcannon has quit [synthon.oftc.net resistance.oftc.net]
17:53kendfinger has quit [synthon.oftc.net resistance.oftc.net]
17:53Z751 has quit [synthon.oftc.net resistance.oftc.net]
17:53x56 has quit [synthon.oftc.net resistance.oftc.net]
17:53hays has quit [synthon.oftc.net resistance.oftc.net]
17:53rcombs has quit [synthon.oftc.net resistance.oftc.net]
17:53jbowen has joined #asahi
17:53qeeg has joined #asahi
17:53kov has joined #asahi
17:53yuyichao has joined #asahi
17:53reillyeon has joined #asahi
17:53Gaelan has joined #asahi
17:53artemist has joined #asahi
17:53snek has joined #asahi
17:53aeroraptor has joined #asahi
17:53Vaughn has joined #asahi
17:53JTL has joined #asahi
17:53jabashque has joined #asahi
17:53philpax_ has joined #asahi
17:53jkkm has joined #asahi
17:53maennich has joined #asahi
17:53NekomimiScience has joined #asahi
17:53pFalken has joined #asahi
17:53steev has joined #asahi
17:53saintdev_ has joined #asahi
17:53esden has joined #asahi
17:53eichin has joined #asahi
17:53Chinese_soup has joined #asahi
17:53TheFirst has joined #asahi
17:53mustache_ride___ has joined #asahi
17:53kallsyms has joined #asahi
17:53gruetzkopf has joined #asahi
17:53ovf has joined #asahi
17:53Ariadne has joined #asahi
17:53tardyp has joined #asahi
17:53ZLSA has joined #asahi
17:53austriancoder has joined #asahi
17:53stblassitude has joined #asahi
17:53enomem has joined #asahi
17:53djsrv has joined #asahi
17:53skoobasteeve has joined #asahi
17:53balrog has joined #asahi
17:53ids1024 has joined #asahi
17:53nkaretnikov has joined #asahi
17:53cptcobalt has joined #asahi
17:53sorear has joined #asahi
17:53rbenua has joined #asahi
17:53bdju has joined #asahi
17:53klange has joined #asahi
17:53opticron has joined #asahi
17:53krbtgt has joined #asahi
17:53tmlind has joined #asahi
17:53skipwich has joined #asahi
17:53ihaveamac has joined #asahi
17:53emptynine has joined #asahi
17:53Method has joined #asahi
17:53aead has joined #asahi
17:53tbodt has joined #asahi
17:53leo60228 has joined #asahi
17:53tertu has joined #asahi
17:53conradev has joined #asahi
17:53vx has joined #asahi
17:53eric_engestrom has joined #asahi
17:53al3xtjames has joined #asahi
17:53Hotswap has joined #asahi
17:53guan has joined #asahi
17:53daniels has joined #asahi
17:53bpye has joined #asahi
17:53nepeat has joined #asahi
17:53Techcable has joined #asahi
17:53kenzie35 has joined #asahi
17:53hspak has joined #asahi
17:53kode54 has joined #asahi
17:53jackhill has joined #asahi
17:53ave has joined #asahi
17:53refi64 has joined #asahi
17:53Graypup_ has joined #asahi
17:53hell__ has joined #asahi
17:53linearcannon has joined #asahi
17:53kendfinger has joined #asahi
17:53Z751 has joined #asahi
17:53mavericks has joined #asahi
17:53handlerug has joined #asahi
17:53coder_kalyan has joined #asahi
17:53tdmm has joined #asahi
17:53andreafeletto has joined #asahi
17:53WhyNotHugo has joined #asahi
17:53Chainsaw has joined #asahi
17:53Lightsword has joined #asahi
17:53arnd_ has joined #asahi
17:53robher has joined #asahi
17:53vmeson has joined #asahi
17:53boardwalk has joined #asahi
17:53rann has joined #asahi
17:53sjg1 has joined #asahi
17:53taowa_ has joined #asahi
17:53x56 has joined #asahi
17:53hays has joined #asahi
17:53KDDLB has joined #asahi
17:53rcombs has joined #asahi
17:53rossy has joined #asahi
17:53raiaq has joined #asahi
17:53linuxgemini has joined #asahi
17:56MajorBiscuit has quit [Ping timeout: 480 seconds]
18:10roxfan has quit [Ping timeout: 480 seconds]
18:24povikkettenis: i am happy to confirm this didn't break anything: https://tpaste.us/YEgg
18:24povikso as i see it, I should now move the dmas= channel list to the top MCA node
18:24povikand drop the "route" nonsense altogether
18:25povikalthough i would still like to keep around the "apple,serdes" and friends specifiers for development
18:25povikanyone knows the linux policy on undocumented DT fields for development?
18:26le0n has joined #asahi
18:27akemin_dayo has quit [Ping timeout: 480 seconds]
18:34roxfan has joined #asahi
18:34the_lanetly_052__ has joined #asahi
18:40the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:42espo has joined #asahi
18:42espo@Glanzmann, it was my kernel :). Now it boots and the nvme is visible.
18:44yuukirafflesia[m] has joined #asahi
18:44le0n has quit [Quit: see you later, alligator]
18:48yuukirafflesia[m]Heyaaa, nice to meet yall, never used matrix before (tho had been meaning to give it a go) but I find this project super interesting so thought I'd join!
18:50roxfan2 has joined #asahi
18:50le0n has joined #asahi
18:55roxfan has quit [Ping timeout: 480 seconds]
19:03akemin_dayo has joined #asahi
19:08user982492 has joined #asahi
19:15Misthios has quit [Quit: Misthios]
19:15Misthios has joined #asahi
19:16roxfan2 is now known as roxfan
19:26le0n has quit [Ping timeout: 480 seconds]
19:27dianshipovik: i dont think all fields are documented =]
19:35le0n has joined #asahi
19:35steevyou can do whatever you want during development... but upstreaming requires it these days
19:37poviki meant keeping undocumented fields in upstreamed driver for experimentation
19:38povikproduction devicetrees won't use them
19:41Glanzmannespo: Perfect. :-)
19:41svenThat probably won’t be accepted unless you manage to sneak it through I think
19:43espoyep :) glad to see the thing boot properly :)
20:10Glanzmannsven: I just pulled the power of mine mini and put it back in after 10 seconds. It booted up automatically.
20:11svenmine doesn’t. Weird.
20:13Glanzmannsven: Do you run latest and gratest?
20:17Misthios has quit [Quit: Misthios]
20:17Misthios has joined #asahi
20:19Misthios has quit []
20:19Misthios has joined #asahi
20:20Glanzmannsven: Mine is fresh installed and does not have my apple id.
20:20GlanzmannI recently installed it because of the m1n1/mini hdmi issues.
20:21st3g4n0[m]Anyone has got a running a VM on QEMU KVM AARCH64?
20:21st3g4n0[m]on a Linux M1 Sillicon
20:21st3g4n0[m] * on a Linux M1
20:23mpsst3g4n0[m]: looks like kernel needs patches
20:23st3g4n0[m]is anyone currently working on it?
20:25st3g4n0[m]mps: im a newbie... how i can apply patches?
20:27nyx_o has joined #asahi
20:28ChaosPrincesscopy the email into a file, go to the repo, run `git am <that-file.patch`
20:28mpsI made small video about booting alpine linux on MBP to awesome wm https://www.arvanta.net/2x3d1kfg/boot-alpine-m1.mp4
20:29mpslink could be slow though video is little more than 5MB
20:29j`eyit's in qemu git now, so if you build qemu from git it has the patchesalready
20:30st3g4n0[m]ChaosPrincess: thank you :D
20:33mpsyes, qemu not kernel, was typing on private channel about kernel so made a mistake
20:36j`eymps: video doesnt look for me
20:36Gaspare has joined #asahi
20:36st3g4n0[m]same here, video doesnt work
20:36Glanzmannmps: You need a cdn.
20:36Glanzmann[#78b8d1 1.6MiB/5.3MiB(30%) CN:6 DL:104KiB ETA:36s]
20:37mpsj`ey: you have to download it and use mpv
20:37mpsit is plain mp4 file
20:39Glanzmannmps: Btw. I always reencode than it works in every browsder: ffmpeg -y -i source in.mp4 -pix_fmt yuv420p out.mp4
20:39mpsGlanzmann: thanks
20:39mpsffmpeg -i 00005.MTS -c:v libx265 -threads 4 -c:a copy boot-alpine-m1.mp4
20:40mpsbut I don't have much experience with media
20:56nyx_o has quit [Quit: WeeChat 3.3]
21:00nyx_o has joined #asahi
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:18Gaspare has quit [Ping timeout: 480 seconds]
21:20Gaspare has joined #asahi
21:21pavan has joined #asahi
21:25roxfan2 has joined #asahi
21:30le0n has quit [Quit: see you later, alligator]
21:31roxfan has quit [Ping timeout: 480 seconds]
21:31le0n has joined #asahi
21:34le0n has quit []
21:35le0n has joined #asahi
21:51user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:57Gaspare has quit [Quit: Gaspare]
22:01le0n_ has joined #asahi
22:02nirusu[m]Tip: Add -movflags +faststart for any .mp4 that is supposed to be streamed. Reduces load times :)
22:05le0n has quit [Read error: Connection reset by peer]
22:09chadmedseems like quite a bit happened while i was on holiday. congrats to all who have made such progress :)
22:10mpsnirusu[m]: thanks for tip, looks like I will learn here also about video
22:17newchima[m] has joined #asahi
22:22newchima[m]Glanzmann: thanks for your guides. I tried doing audio on my mini, but it isn't working. I built with your latest config file
22:24akemin_dayo has quit [Ping timeout: 480 seconds]
22:32st3g4n0[m]<j`ey> "it's in qemu git now, so if..." <- worked!
22:34j`eyst3g4n0[m]: nice
22:36st3g4n0[m]a question ... happens to you that when restarting linux comes out kernel panic?
22:51aleasto has quit [Remote host closed the connection]
22:51Glanzmannnewchima[m]: Reload, I updated it recently.
22:52Glanzmannnewchima[m]: Which m1 device do you have?
22:53newchima[m]Glanzmann: mini -- Machine model: Apple Mac mini (M1, 2020) (8gb ram, 1gb nic model)
22:57Glanzmannnewchima[m]: I see sound should work with that config, can you confirm?
22:58GlanzmannI also added the kernel options necessary for sound here: https://github.com/AsahiLinux/docs/wiki/DesktopKernel
22:58Glanzmannnewchima[m]: Which Distribution do you run?
22:59newchima[m]Glanzmann: I saw those and I had followed those directions with your config
22:59newchima[m]Glanzmann: Debian - testing branch on the mini
23:00newchima[m]Glanzmann: in my dmesg, "No soundcards found"
23:01newchima[m]Glanzmann: ^ dmesg output
23:03GlanzmannThis should work.
23:03GlanzmannIt is the asahi branch + two spi patches + poviks i2c patch and the config from above.
23:07newchima[m]Glanzmann: same result :-/
23:08akemin_dayo has joined #asahi
23:08newchima[m]Glanzmann: there is this message (which povik may need to weigh in on) in dmesg: tas2770 1-0031: ASoC: error at soc_component_write_no_lock on tas2770.1-0031 for register: [0x00000001] -6
23:12Glanzmannnewchima[m]: Do you have a 12.0.1 stub?
23:12Glanzmannnewchima[m]: Are you using u-boot?
23:13newchima[m]Glanzmann: I am using u-boot -- how do I check which stub? I did redo it last week starting with fresh 12.1 MacOS
23:13Glanzmannnewchima[m]: You did runt he asahi installer?
23:14newchima[m]Glanzmann: yes, but I don't remember which option i chose
23:14GlanzmannI assume that is the problem.
23:14GlanzmannLet me check
23:16newchima[m]Glanzmann: I hope it won't make a difference, but I did disable the startup "bong"
23:16povikinteresting
23:17Glanzmannnewchima[m]: No, it does not matter.
23:17GlanzmannAt least when I experimented with it. My air does have the bong disabled, but has sound.
23:17Glanzmannnewchima[m]: Let me check with the exact kernel I gave you.
23:17povikthose pesky codecs making our register writes error out
23:17GlanzmannThe issue is that i killed my mini because I wanted to make a video how to install Debian on the mini.
23:18newchima[m]Glanzmann: I've followed long enough that I saw those comments, back before video worked with 12 on the mini :)
23:19GlanzmannI see. :-)
23:19newchima[m]Glanzmann: I had been running it with 11 to still have video, but since video was now functional in 12, I wiped and started fresh
23:19newchima[m]Glanzmann: took a little bit to get it back up, but that's part of the fun ;-)
23:20newchima[m]Glanzmann: I did the reinstall with your usb boot and debootstrap
23:21Glanzmannnewchima[m]: Nice, so it is helpful. :-)
23:22user982492 has joined #asahi
23:22Glanzmannnewchima[m]: Btw, I'm about to write a script which automates the initrd.
23:22GlanzmannSo that it is easy to reproduce.
23:23newchima[m]Glanzmann: one of the first issues I ran into was the usb boot dropped me to a grub> shell (google to the rescue!)
23:24Glanzmannnewchima[m]: I see, did that happen because you had multiple usb drives connected?
23:25GlanzmannI hardcoded that path ...
23:25newchima[m]Glanzmann: if I have more than 1 USB drive connected, u-boot can't find the image, so only usb devices plugged in were keyboard and the thumb drive
23:26mpsnewchima[m]: I have script to install alpine linux on usb disk which sets grub, if you want to look at it how to set grub I can post it
23:26Glanzmannmps: I'm interested.
23:27Glanzmannmps: I'm currently on working to install Debian Linux without external drive.
23:27Glanzmannnewchima[m]: I have the very same error you have, but I thought I tested it today. Or maybe I tid not after twp_rules said it worked?
23:27Glanzmannpovik: I have the same error for the register, any idea what we could do differently?
23:27mpsthis even sets 12x24 grub dejavu fonts ;)
23:28povikhm, and you have the boot chime on?
23:28povikGlanzmann: ^
23:28Glanzmannpovik: I have to boot chime on, at the mini.
23:29Glanzmannpovik: I see, nice. :-)
23:29Glanzmannmps: Thank you for the script.
23:29povik00:29 < Glanzmann> povik: I see, nice. :-)
23:29povikwhat do you mean?
23:29Glanzmannpovik: But I'm currently running a live installation, because I want to do a video howto install Debian on the mini.
23:29Glanzmannpovik: This was for mps, sorry. Too quick fingers.
23:30newchima[m]povik: you want me to turn back on the boot chime and see?
23:31poviknot if Glanzmann has it on and it doesn't work for him too
23:32poviki have no suggestions right now, will maybe look at this tomorrow
23:32user982492 has quit [Ping timeout: 480 seconds]
23:32Glanzmannpovik: I see.
23:32poviki wonder if i maybe broke it with that last patch, but i have tested that on my mini
23:32Glanzmannpovik: I think I have audio
23:32newchima[m]povik: thanks
23:32povikdon't know what's that about guys
23:32GlanzmannBecause I get this funny register warning.
23:33Glanzmannbut i installed alsamixer and I see the device.
23:33Glanzmannlet me play somehting.
23:34GlanzmannYes, sound works on the mini
23:34povikah okay, so there's still chance it's related to the boot chime (darn, i don't want that to be true :-p)
23:34Glanzmannnewchima[m]: When you isntall alsa-utils
23:34mpswhen testing sound on new machines or setups I like to play 'O! fortuna' :)
23:34Glanzmannpovik: I have the boot chime.
23:35Glanzmannnewchima[m]: And run alsamixer, do you see controls?
23:35poviknewchima[m]: if you confirm that ^, that would be an interesting finding
23:37povikso there's
23:37povik> [ 4.441437] No soundcards found.
23:37povikbut that's just because the soundcard didn't get probed in time
23:37Glanzmannpovik: Well I hear something.
23:37GlanzmannI'm not making this up.
23:37GlanzmannI tested with mpv
23:37povikGlanzmann: don't worry, i trust you
23:37povikit's the print that's broken
23:38poviknewchima[m]: see if by any chance 'aplay -l' will show the card
23:38povik(or have you tried alsamixer already and it's not there?)
23:38newchima[m]ahh.... when i try alsamixer as my user, i get "cannot find card '0'"
23:38newchima[m]but when i try as root, it seems to work
23:39jmr2 has joined #asahi
23:39newchima[m]2 items listed card 0: device 0 and device 1 (as i recall, you said 0 is speaker and 1 is jack)
23:40Glanzmannnewchima[m]: YOu sound is working. :-)
23:40newchima[m]Glanzmann: now to figure out the permissions issue
23:40jmr2Easy way to check your stub OS version, through MacOS: System Preferences -> Startup Disk.
23:40Glanzmannnewchima[m]: Its easy, put yourself int he group audio and relogin.
23:41Glanzmannjmr2: Thanks for the hint.
23:41GlanzmannI put that in the wiki
23:41newchima[m]Glanzmann: doh!
23:42GlanzmannI'm way beyond bed time, so good night. :-)
23:42newchima[m]jmr2: thanks, will check which stub I have
23:42Glanzmannnewchima[m]: You probably have already the right one.
23:43newchima[m]Glanzmann: night, and thanks!
23:43GlanzmannIf you have the old stub and have a new m1n1 you sometimes see the screen 3 times. :-)
23:43GlanzmannThank povik for the excellent sound driver. :-)
23:43Glanzmannnewchima[m]: I'll update the live system soon and add build instructions to include sound.
23:44newchima[m]povik: I had turned on boot sound, so I will turn off and validate that it still works after boot chime is off
23:44jmr2 has quit [Quit: Page closed]
23:44Glanzmannnewchima[m]: At least on the air it works, I have it off and sound works for me.
23:44newchima[m]my stub is 12.0.1
23:45Glanzmannnewchima[m]: Perfect. :-)
23:45povikyeah, but on air the sound drivers don't initialize the speakers like they do on mini
23:45poviknewchima[m]: better validate that
23:47StupidYui has quit [Read error: Connection reset by peer]
23:47newchima[m]povik: yes, it works :)
23:47newchima[m]povik: thanks!
23:51poviki am happy it works for you! (and other people)
…