marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Gaelan has quit [Server closed connection]
Gaelan has joined #asahi
mavericks has quit [Server closed connection]
mavericks has joined #asahi
coder_kalyan_ has quit [Server closed connection]
coder_kalyan has joined #asahi
handlerug_ has quit [Server closed connection]
handlerug has joined #asahi
tdmm_ has quit [Server closed connection]
tdmm has joined #asahi
andreafeletto_ has quit [Server closed connection]
andreafeletto has joined #asahi
Chainsaw has quit [Server closed connection]
Chainsaw has joined #asahi
WhyNotHugo_ has quit [Server closed connection]
WhyNotHugo has joined #asahi
Lightsword has quit [Server closed connection]
Lightsword has joined #asahi
c10l has quit [Quit: Bye o/]
reillyeon has quit [Server closed connection]
reillyeon has joined #asahi
c10l has joined #asahi
<tpw_rules> i 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
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
kdwk has joined #asahi
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
tpw_rules has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
tpw_rules has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
kdwk has quit [Ping timeout: 480 seconds]
tpw_rules is now known as Guest358
tpw_rules has joined #asahi
Guest358 has quit [Ping timeout: 480 seconds]
<Glanzmann> tpw_rules: Nope, but now.
<Glanzmann> tpw_rules: About the mini, I can try.
<tpw_rules> Glanzmann: i tried with your config and it displayed the same log
<Glanzmann> tpw_rules: Okay, let me try.
<Glanzmann> tpw_rules: Do you have the newest patch from povik? curl https://tg.st/u/5nly | patch -p1
<tpw_rules> i also added that patch you suggested
<Glanzmann> I see.
<tpw_rules> it didn't seem to make a difference
<Glanzmann> Give me one second. I'll try.
<tpw_rules> btw is there a more official link for that patch? i got hardlinks for jannau's on github
<Glanzmann> tpw_rules: No, povik pasted it in irc a few nights ago.
<Glanzmann> tpw_rules: So on the mini, I also can't get sound to work.
<tpw_rules> okay, good to know
<tpw_rules> thanks for testing
<Glanzmann> You're welcome.
<Glanzmann> This is my dmesg.
<tpw_rules> seems to be identical to mine
<Glanzmann> tpw_rules: But in air it works.
<Glanzmann> LIke a charm watched two long movies on it.
<Glanzmann> Using the jack.
tomtastic has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
<Glanzmann> jannau: I tried the dcp with another monitor, it appears to be crashing, no output, no ping. I waited a little while this time.
<tpw_rules> ooh, there's dcp patches available?
<Glanzmann> tpw_rules: Jannau rebased Alyssas DPC patches, but they're no ready for end users (tm) ...
<Glanzmann> :-)
<Glanzmann> tpw_rules: I tried two monitors, two crashes.
<tpw_rules> it looks like marcan also posted stuff about m1n1 and hdmi on his twitter. is that in m1n1's main branch?
<tpw_rules> hdmi is currently rather aggravating on my setup, but at least it doesn't crash
<Glanzmann> I have three more to try.
<Glanzmann> tpw_rules: hdmi on the mini works again.
<tpw_rules> which branch? i'll give it a try tomorrow
<Glanzmann> tpw_rules: https://github.com/jannau/linux asahi-dcp
<tpw_rules> does this mean i can use macos 12?
<Glanzmann> tpw_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.
<tpw_rules> also, they keep futzing with the device trees. i'm going to resurrect my patch to u-boot again if they don't stop
<Glanzmann> tpw_rules: Yes, marcan fixed the hdmi output for macos 12.
<Glanzmann> Also marcan encourages us to use the 12.0.1.
<Glanzmann> Also 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.
<Glanzmann> tpw_rules: u-boot works.
<Glanzmann> tpw_rules: Oh and for me, I'm using a kmutil from 11.x to promot u-boot.macho in 1tr.
<Glanzmann> But 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.
<tpw_rules> why does 11.x vs 12.0.1 matter for m1n1?
<tpw_rules> i thought only 12.1 was different, and even then that m1n1 was buildable for 12.1 as a .bin
<marcan> 11.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
<marcan> just drop 11.x already, please
<marcan> apple fixed the backwards compat mess in multiple ways with 12.0
<marcan> I really, really don't want to have to care about 11.x
<tpw_rules> so 12.0.1 can use a .bin installed with 12.1?
<tpw_rules> but 11.x cannot?
<tpw_rules> i don't want 11.x either, i'm just a little confused by the alleged encouragement to use 12.0.1
<marcan> I encourage people to use 12.1 as soon as I merge that PR I got jannau to fix a bug in last night :)
<marcan> but 12.0.1 is okay for now
<marcan> 12.x pairs recoveryOS, 11.x does not
<marcan> so 12.0.1 uses 12.0.1 recoveryOS and works with .macho and nothing broke with 12.1 firmware if you use that version
<marcan> 11.x did break
<marcan> because 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
<marcan> 12.x also has the bottability dylib in the Preboot partition so future OSes won't break the bootability process for it
<marcan> *bootability
<tpw_rules> okay, that makes a lot of sense. thank you for the info
<marcan> basically 12.0 fixed a bunch of backwards compat time bombs and 12.1 detonated one such bomb in 11.x
<marcan> so 12.0 is still fine
<tpw_rules> so if you hold the power button, the computer boots the recoveryOS of the currently selected boot thingy in the menu?
<marcan> if the currently selected boot thingy is 11.x, it boots *system* recoveryOS
<marcan> if it's 12.x it boots the paired recoveryOS
<tpw_rules> okay
<tpw_rules> (presumably it boots the system one if the paired one is broken?)
<marcan> yes, AIUI
<marcan> and there's a system fallback too, once you upgrade once
eroux has joined #asahi
<Glanzmann> tpw_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.
<Glanzmann> tpw_rules: It got also on my nerves, because Debian defaults to that as well.
<jannau> we probably should hide or remove the macOS 11 ipsws from the installer
<marcan> yeah
tomtastic has quit [Ping timeout: 480 seconds]
<Jamie[m]1> jannau: is nv12 <-> yuv420 not a lossless conversion, just rearranging bytes?
<Jamie[m]1> or rearranging bits i mean
<Jamie[m]1> is the issue that the conversion isn't being performed, and the data is misinterpreted as yuv420?
jeffmiw has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
<jannau> Jamie[m]1: yes, there is no conversion so framecrc compares data in a different memory layout
tomtastic_ has quit [Ping timeout: 480 seconds]
<jannau> inserting an explicit conversion filter to the format the tests expects fixes probably most of the failing tests
tomtastic has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
<Jamie[m]1> ah gotcha
user982492 has joined #asahi
qeeg_ has quit [Ping timeout: 480 seconds]
qeeg has joined #asahi
giskard has joined #asahi
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
espo has joined #asahi
espo has quit [Remote host closed the connection]
espo has joined #asahi
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
espo_ has joined #asahi
espo has quit [Ping timeout: 480 seconds]
essentia[m] has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
espo__ has joined #asahi
<Glanzmann> espo_: I never experienced my NVMe device disappearing.
<Glanzmann> espo_: What m1 device do you have? Are you using u-boot or the m1n1+kernel with the device tree from the kernel?
espo has joined #asahi
espo_ has quit [Ping timeout: 480 seconds]
espo__ has quit [Ping timeout: 480 seconds]
<Glanzmann> espo: 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?
<mps> can confirm, for about two months of using m1 only with linux didn't had any issue with nvme
<espo> Hey, 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 :>
<mps> actually nothing crashed
<espo> and yes i use u-boot it worked before i updated my kernel to the latest revision
<mps> espo: also I use MBP, j293 model
<espo> ah okay then it´s definitly my kernel ;)
aleasto has joined #asahi
MajorBiscuit has joined #asahi
eroux has joined #asahi
tomtastic has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
espo_ has joined #asahi
tomtastic has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
giskard has quit [Ping timeout: 480 seconds]
espo_ has quit [Quit: Leaving]
espo has quit [Ping timeout: 480 seconds]
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
the_lanetly_052 has quit [Remote host closed the connection]
tomtastic has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi
thevar1able has joined #asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
tomtastic has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
<Glanzmann> povik: Any idea why the sound no longer works on the mini?
<povik> no. post dmesg
<tpw_rules> Glanzmann: ah, i didn't really expect him to take it. just was a convenient way to point out the problem
<Glanzmann> tpw_rules: I see.
<Glanzmann> povik: Issue is that the mixer device does not show up in alsa when I press F6.
thevar1able has joined #asahi
<povik> i would suspect it's disabled .config options again
<Glanzmann> povik: tpw_rules has the same issue and asked me to reproduce.
<Glanzmann> povik: I see.
<Glanzmann> povik: Btw. on the air, it works perfectly.
<povik> that's great to hear
<Glanzmann> povik: I watched videos several hours.
<povik> could you be missing tas2770?
<povik> either that or simple_audio_card
<tpw_rules> povik: 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
<povik> yeah, not finding RX channels is expected, no support for that yet
<tpw_rules> ah hm, ok
<povik> i assume this is what you are compiling with ^
<povik> there's no TAS2770 driver, which means there will be no probe on simple-audio-card, which explains it
<tpw_rules> yes. i tried with Glanzmann's config which he says works on the air
<kettenis> povik: weird how it uses "serdes/clock" of one cluster and "port" of another cluster
<Glanzmann> povik: # CONFIG_SND_SOC_TAS2770 is not set
<Glanzmann> tpw_rules: It works on the air, but not on the mini ...
<povik> air wouldn't have the same issue, tas2770 is for speakers which are not declared there yet
<povik> kettenis: 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
<Glanzmann> Btw. I started this new wiki page: https://github.com/AsahiLinux/docs/wiki/DesktopKernel I'll add the two kernel options ...
<Glanzmann> povik: I'll try the mini sound once I'm back home. I assume both jack and speaker should work?
<povik> yes, but speaker/jack switching won't work as expected
<povik> for that we are missing (1) jack plug/unplug reports to userspace and (2) alsalib cofiguration to make it switch subdevices
<povik> so for now: alsa device hw:0,0 is speaker, hw:0,1 is jack
<Glanzmann> povik: I see. Perfect. Good enough for me.
malvo has joined #asahi
<Glanzmann> marcan: 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.
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
<tpw_rules> povik: seems it works now. cool! thanks
yuyichao has quit [Ping timeout: 480 seconds]
<povik> good
<Glanzmann> I used my macbook air which was not completly charged (mabye 80%) the whole day under Linux and it powered down after approx. 6 hours.
yuyichao has joined #asahi
<Glanzmann> amw: 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.
<Glanzmann> c
thevar1able has joined #asahi
thevar1able has quit [Ping timeout: 480 seconds]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
off^ has quit [Remote host closed the connection]
tpw_rules has quit [Ping timeout: 480 seconds]
tomtastic_ has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
tomtastic has joined #asahi
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
roxfan has joined #asahi
qeeg has quit [synthon.oftc.net resistance.oftc.net]
kov has quit [synthon.oftc.net resistance.oftc.net]
artemist has quit [synthon.oftc.net resistance.oftc.net]
saintdev_ has quit [synthon.oftc.net resistance.oftc.net]
NekomimiScience has quit [synthon.oftc.net resistance.oftc.net]
ids1024 has quit [synthon.oftc.net resistance.oftc.net]
JTL has quit [synthon.oftc.net resistance.oftc.net]
Vaughn has quit [synthon.oftc.net resistance.oftc.net]
jabashque has quit [synthon.oftc.net resistance.oftc.net]
philpax_ has quit [synthon.oftc.net resistance.oftc.net]
maennich has quit [synthon.oftc.net resistance.oftc.net]
stblassitude has quit [synthon.oftc.net resistance.oftc.net]
pFalken has quit [synthon.oftc.net resistance.oftc.net]
ZLSA has quit [synthon.oftc.net resistance.oftc.net]
esden has quit [synthon.oftc.net resistance.oftc.net]
ovf has quit [synthon.oftc.net resistance.oftc.net]
eichin has quit [synthon.oftc.net resistance.oftc.net]
enomem has quit [synthon.oftc.net resistance.oftc.net]
mustache_ride___ has quit [synthon.oftc.net resistance.oftc.net]
kallsyms has quit [synthon.oftc.net resistance.oftc.net]
rossy has quit [synthon.oftc.net resistance.oftc.net]
TheFirst has quit [synthon.oftc.net resistance.oftc.net]
yuyichao has quit [synthon.oftc.net resistance.oftc.net]
robher has quit [synthon.oftc.net resistance.oftc.net]
sorear has quit [synthon.oftc.net resistance.oftc.net]
nkaretnikov has quit [synthon.oftc.net resistance.oftc.net]
gruetzkopf has quit [synthon.oftc.net resistance.oftc.net]
klange has quit [synthon.oftc.net resistance.oftc.net]
rbenua has quit [synthon.oftc.net resistance.oftc.net]
ihaveamac has quit [synthon.oftc.net resistance.oftc.net]
aead has quit [synthon.oftc.net resistance.oftc.net]
tbodt has quit [synthon.oftc.net resistance.oftc.net]
KDDLB has quit [synthon.oftc.net resistance.oftc.net]
Hotswap has quit [synthon.oftc.net resistance.oftc.net]
kenzie35 has quit [synthon.oftc.net resistance.oftc.net]
Techcable has quit [synthon.oftc.net resistance.oftc.net]
kode54 has quit [synthon.oftc.net resistance.oftc.net]
hspak has quit [synthon.oftc.net resistance.oftc.net]
jackhill has quit [synthon.oftc.net resistance.oftc.net]
ave has quit [synthon.oftc.net resistance.oftc.net]
Graypup_ has quit [synthon.oftc.net resistance.oftc.net]
reillyeon has quit [synthon.oftc.net resistance.oftc.net]
Chainsaw has quit [synthon.oftc.net resistance.oftc.net]
mavericks has quit [synthon.oftc.net resistance.oftc.net]
vmeson has quit [synthon.oftc.net resistance.oftc.net]
rann has quit [synthon.oftc.net resistance.oftc.net]
taowa_ has quit [synthon.oftc.net resistance.oftc.net]
sjg1 has quit [synthon.oftc.net resistance.oftc.net]
snek has quit [synthon.oftc.net resistance.oftc.net]
skoobasteeve has quit [synthon.oftc.net resistance.oftc.net]
tardyp has quit [synthon.oftc.net resistance.oftc.net]
Ariadne has quit [synthon.oftc.net resistance.oftc.net]
austriancoder has quit [synthon.oftc.net resistance.oftc.net]
steev has quit [synthon.oftc.net resistance.oftc.net]
djsrv has quit [synthon.oftc.net resistance.oftc.net]
Chinese_soup has quit [synthon.oftc.net resistance.oftc.net]
linuxgemini has quit [synthon.oftc.net resistance.oftc.net]
balrog has quit [synthon.oftc.net resistance.oftc.net]
opticron has quit [synthon.oftc.net resistance.oftc.net]
tmlind has quit [synthon.oftc.net resistance.oftc.net]
emptynine has quit [synthon.oftc.net resistance.oftc.net]
vx has quit [synthon.oftc.net resistance.oftc.net]
daniels has quit [synthon.oftc.net resistance.oftc.net]
nepeat has quit [synthon.oftc.net resistance.oftc.net]
bpye has quit [synthon.oftc.net resistance.oftc.net]
jbowen has quit [synthon.oftc.net resistance.oftc.net]
Lightsword has quit [synthon.oftc.net resistance.oftc.net]
WhyNotHugo has quit [synthon.oftc.net resistance.oftc.net]
andreafeletto has quit [synthon.oftc.net resistance.oftc.net]
tdmm has quit [synthon.oftc.net resistance.oftc.net]
handlerug has quit [synthon.oftc.net resistance.oftc.net]
coder_kalyan has quit [synthon.oftc.net resistance.oftc.net]
Gaelan has quit [synthon.oftc.net resistance.oftc.net]
boardwalk has quit [synthon.oftc.net resistance.oftc.net]
arnd_ has quit [synthon.oftc.net resistance.oftc.net]
aeroraptor has quit [synthon.oftc.net resistance.oftc.net]
cptcobalt has quit [synthon.oftc.net resistance.oftc.net]
jkkm has quit [synthon.oftc.net resistance.oftc.net]
raiaq has quit [synthon.oftc.net resistance.oftc.net]
bdju has quit [synthon.oftc.net resistance.oftc.net]
krbtgt has quit [synthon.oftc.net resistance.oftc.net]
skipwich has quit [synthon.oftc.net resistance.oftc.net]
Method has quit [synthon.oftc.net resistance.oftc.net]
tertu has quit [synthon.oftc.net resistance.oftc.net]
leo60228 has quit [synthon.oftc.net resistance.oftc.net]
al3xtjames has quit [synthon.oftc.net resistance.oftc.net]
conradev has quit [synthon.oftc.net resistance.oftc.net]
eric_engestrom has quit [synthon.oftc.net resistance.oftc.net]
guan has quit [synthon.oftc.net resistance.oftc.net]
refi64 has quit [synthon.oftc.net resistance.oftc.net]
hell__ has quit [synthon.oftc.net resistance.oftc.net]
linearcannon has quit [synthon.oftc.net resistance.oftc.net]
kendfinger has quit [synthon.oftc.net resistance.oftc.net]
Z751 has quit [synthon.oftc.net resistance.oftc.net]
x56 has quit [synthon.oftc.net resistance.oftc.net]
hays has quit [synthon.oftc.net resistance.oftc.net]
rcombs has quit [synthon.oftc.net resistance.oftc.net]
jbowen has joined #asahi
qeeg has joined #asahi
kov has joined #asahi
yuyichao has joined #asahi
reillyeon has joined #asahi
Gaelan has joined #asahi
artemist has joined #asahi
snek has joined #asahi
aeroraptor has joined #asahi
Vaughn has joined #asahi
JTL has joined #asahi
jabashque has joined #asahi
philpax_ has joined #asahi
jkkm has joined #asahi
maennich has joined #asahi
NekomimiScience has joined #asahi
pFalken has joined #asahi
steev has joined #asahi
saintdev_ has joined #asahi
esden has joined #asahi
eichin has joined #asahi
Chinese_soup has joined #asahi
TheFirst has joined #asahi
mustache_ride___ has joined #asahi
kallsyms has joined #asahi
gruetzkopf has joined #asahi
ovf has joined #asahi
Ariadne has joined #asahi
tardyp has joined #asahi
ZLSA has joined #asahi
austriancoder has joined #asahi
stblassitude has joined #asahi
enomem has joined #asahi
djsrv has joined #asahi
skoobasteeve has joined #asahi
balrog has joined #asahi
ids1024 has joined #asahi
nkaretnikov has joined #asahi
cptcobalt has joined #asahi
sorear has joined #asahi
rbenua has joined #asahi
bdju has joined #asahi
klange has joined #asahi
opticron has joined #asahi
krbtgt has joined #asahi
tmlind has joined #asahi
skipwich has joined #asahi
ihaveamac has joined #asahi
emptynine has joined #asahi
Method has joined #asahi
aead has joined #asahi
tbodt has joined #asahi
leo60228 has joined #asahi
tertu has joined #asahi
conradev has joined #asahi
vx has joined #asahi
eric_engestrom has joined #asahi
al3xtjames has joined #asahi
Hotswap has joined #asahi
guan has joined #asahi
daniels has joined #asahi
bpye has joined #asahi
nepeat has joined #asahi
Techcable has joined #asahi
kenzie35 has joined #asahi
hspak has joined #asahi
kode54 has joined #asahi
jackhill has joined #asahi
ave has joined #asahi
refi64 has joined #asahi
Graypup_ has joined #asahi
hell__ has joined #asahi
linearcannon has joined #asahi
kendfinger has joined #asahi
Z751 has joined #asahi
mavericks has joined #asahi
handlerug has joined #asahi
coder_kalyan has joined #asahi
tdmm has joined #asahi
andreafeletto has joined #asahi
WhyNotHugo has joined #asahi
Chainsaw has joined #asahi
Lightsword has joined #asahi
arnd_ has joined #asahi
robher has joined #asahi
vmeson has joined #asahi
boardwalk has joined #asahi
rann has joined #asahi
sjg1 has joined #asahi
taowa_ has joined #asahi
x56 has joined #asahi
hays has joined #asahi
KDDLB has joined #asahi
rcombs has joined #asahi
rossy has joined #asahi
raiaq has joined #asahi
linuxgemini has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
roxfan has quit [Ping timeout: 480 seconds]
<povik> kettenis: i am happy to confirm this didn't break anything: https://tpaste.us/YEgg
<povik> so as i see it, I should now move the dmas= channel list to the top MCA node
<povik> and drop the "route" nonsense altogether
<povik> although i would still like to keep around the "apple,serdes" and friends specifiers for development
<povik> anyone knows the linux policy on undocumented DT fields for development?
le0n has joined #asahi
akemin_dayo has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi
the_lanetly_052__ has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
espo has joined #asahi
<espo> @Glanzmann, it was my kernel :). Now it boots and the nvme is visible.
yuukirafflesia[m] has joined #asahi
le0n has quit [Quit: see you later, alligator]
<yuukirafflesia[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!
roxfan2 has joined #asahi
le0n has joined #asahi
roxfan has quit [Ping timeout: 480 seconds]
akemin_dayo has joined #asahi
user982492 has joined #asahi
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
roxfan2 is now known as roxfan
le0n has quit [Ping timeout: 480 seconds]
<dianshi> povik: i dont think all fields are documented =]
le0n has joined #asahi
<steev> you can do whatever you want during development... but upstreaming requires it these days
<povik> i meant keeping undocumented fields in upstreamed driver for experimentation
<povik> production devicetrees won't use them
<Glanzmann> espo: Perfect. :-)
<sven> That probably won’t be accepted unless you manage to sneak it through I think
<espo> yep :) glad to see the thing boot properly :)
<Glanzmann> sven: I just pulled the power of mine mini and put it back in after 10 seconds. It booted up automatically.
<Glanzmann> my*
<sven> mine doesn’t. Weird.
<Glanzmann> sven: Do you run latest and gratest?
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
Misthios has quit []
Misthios has joined #asahi
<Glanzmann> sven: Mine is fresh installed and does not have my apple id.
<Glanzmann> I recently installed it because of the m1n1/mini hdmi issues.
<st3g4n0[m]> Anyone has got a running a VM on QEMU KVM AARCH64?
<st3g4n0[m]> on a Linux M1 Sillicon
<st3g4n0[m]> * on a Linux M1
<mps> st3g4n0[m]: looks like kernel needs patches
<st3g4n0[m]> is anyone currently working on it?
<st3g4n0[m]> mps: im a newbie... how i can apply patches?
nyx_o has joined #asahi
<ChaosPrincess> copy the email into a file, go to the repo, run `git am <that-file.patch`
<mps> I made small video about booting alpine linux on MBP to awesome wm https://www.arvanta.net/2x3d1kfg/boot-alpine-m1.mp4
<mps> link could be slow though video is little more than 5MB
<j`ey> it's in qemu git now, so if you build qemu from git it has the patchesalready
<st3g4n0[m]> Okey
<st3g4n0[m]> ChaosPrincess: thank you :D
<mps> yes, qemu not kernel, was typing on private channel about kernel so made a mistake
<j`ey> mps: video doesnt look for me
Gaspare has joined #asahi
<st3g4n0[m]> same here, video doesnt work
<Glanzmann> mps: You need a cdn.
<Glanzmann> [#78b8d1 1.6MiB/5.3MiB(30%) CN:6 DL:104KiB ETA:36s]
<mps> j`ey: you have to download it and use mpv
<mps> it is plain mp4 file
<Glanzmann> Mps: https://tg.st/u/boot-alpine-m1.mp4 I'm your CDN now.
<Glanzmann> mps: Btw. I always reencode than it works in every browsder: ffmpeg -y -i source in.mp4 -pix_fmt yuv420p out.mp4
<mps> Glanzmann: thanks
<mps> ffmpeg -i 00005.MTS -c:v libx265 -threads 4 -c:a copy boot-alpine-m1.mp4
<mps> but I don't have much experience with media
nyx_o has quit [Quit: WeeChat 3.3]
nyx_o has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
Gaspare has quit [Ping timeout: 480 seconds]
Gaspare has joined #asahi
pavan has joined #asahi
roxfan2 has joined #asahi
le0n has quit [Quit: see you later, alligator]
roxfan has quit [Ping timeout: 480 seconds]
le0n has joined #asahi
le0n has quit []
le0n has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gaspare has quit [Quit: Gaspare]
le0n_ has joined #asahi
<nirusu[m]> Tip: Add -movflags +faststart for any .mp4 that is supposed to be streamed. Reduces load times :)
le0n has quit [Read error: Connection reset by peer]
<chadmed> seems like quite a bit happened while i was on holiday. congrats to all who have made such progress :)
<mps> nirusu[m]: thanks for tip, looks like I will learn here also about video
newchima[m] has joined #asahi
<newchima[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
akemin_dayo has quit [Ping timeout: 480 seconds]
<st3g4n0[m]> <j`ey> "it's in qemu git now, so if..." <- worked!
<j`ey> st3g4n0[m]: nice
<st3g4n0[m]> a question ... happens to you that when restarting linux comes out kernel panic?
aleasto has quit [Remote host closed the connection]
<Glanzmann> newchima[m]: Reload, I updated it recently.
<Glanzmann> newchima[m]: curl https://tg.st/u/config-2022-01-24 > .config
<Glanzmann> newchima[m]: Which m1 device do you have?
<newchima[m]> Glanzmann: mini -- Machine model: Apple Mac mini (M1, 2020) (8gb ram, 1gb nic model)
<Glanzmann> newchima[m]: I see sound should work with that config, can you confirm?
<Glanzmann> I also added the kernel options necessary for sound here: https://github.com/AsahiLinux/docs/wiki/DesktopKernel
<Glanzmann> newchima[m]: Which Distribution do you run?
<newchima[m]> Glanzmann: I saw those and I had followed those directions with your config
<newchima[m]> Glanzmann: Debian - testing branch on the mini
<newchima[m]> Glanzmann: in my dmesg, "No soundcards found"
<newchima[m]> Glanzmann: https://tpaste.us/KMYq
<newchima[m]> Glanzmann: ^ dmesg output
<Glanzmann> This should work.
<Glanzmann> It is the asahi branch + two spi patches + poviks i2c patch and the config from above.
<newchima[m]> Glanzmann: same result :-/
akemin_dayo has joined #asahi
<newchima[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
<Glanzmann> newchima[m]: Do you have a 12.0.1 stub?
<Glanzmann> newchima[m]: Are you using u-boot?
<newchima[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
<Glanzmann> newchima[m]: You did runt he asahi installer?
<Glanzmann> This one? curl -L https://mrcn.st/alxsh | sh
<newchima[m]> Glanzmann: yes, but I don't remember which option i chose
<Glanzmann> I assume that is the problem.
<Glanzmann> Let me check
<newchima[m]> Glanzmann: I hope it won't make a difference, but I did disable the startup "bong"
<povik> interesting
<Glanzmann> newchima[m]: No, it does not matter.
<Glanzmann> At least when I experimented with it. My air does have the bong disabled, but has sound.
<Glanzmann> newchima[m]: Let me check with the exact kernel I gave you.
<povik> those pesky codecs making our register writes error out
<Glanzmann> The issue is that i killed my mini because I wanted to make a video how to install Debian on the mini.
<newchima[m]> Glanzmann: I've followed long enough that I saw those comments, back before video worked with 12 on the mini :)
<Glanzmann> I see. :-)
<newchima[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
<newchima[m]> Glanzmann: took a little bit to get it back up, but that's part of the fun ;-)
<newchima[m]> Glanzmann: I did the reinstall with your usb boot and debootstrap
<Glanzmann> newchima[m]: Nice, so it is helpful. :-)
user982492 has joined #asahi
<Glanzmann> newchima[m]: Btw, I'm about to write a script which automates the initrd.
<Glanzmann> building.
<Glanzmann> So that it is easy to reproduce.
<newchima[m]> Glanzmann: one of the first issues I ran into was the usb boot dropped me to a grub> shell (google to the rescue!)
<Glanzmann> newchima[m]: I see, did that happen because you had multiple usb drives connected?
<Glanzmann> I hardcoded that path ...
<newchima[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
<mps> newchima[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
<Glanzmann> mps: I'm interested.
<Glanzmann> mps: I'm currently on working to install Debian Linux without external drive.
<mps> Glanzmann: http://ix.io/3NqC
<Glanzmann> newchima[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?
<Glanzmann> povik: I have the same error for the register, any idea what we could do differently?
<mps> this even sets 12x24 grub dejavu fonts ;)
<povik> hm, and you have the boot chime on?
<povik> Glanzmann: ^
<Glanzmann> povik: I have to boot chime on, at the mini.
<Glanzmann> povik: I see, nice. :-)
<Glanzmann> mps: Thank you for the script.
<povik> 00:29 < Glanzmann> povik: I see, nice. :-)
<povik> what do you mean?
<Glanzmann> povik: But I'm currently running a live installation, because I want to do a video howto install Debian on the mini.
<Glanzmann> povik: This was for mps, sorry. Too quick fingers.
<povik> oh
<newchima[m]> povik: you want me to turn back on the boot chime and see?
<povik> not if Glanzmann has it on and it doesn't work for him too
<povik> i have no suggestions right now, will maybe look at this tomorrow
user982492 has quit [Ping timeout: 480 seconds]
<Glanzmann> povik: I see.
<povik> i wonder if i maybe broke it with that last patch, but i have tested that on my mini
<Glanzmann> povik: I think I have audio
<newchima[m]> povik: thanks
<povik> don't know what's that about guys
<Glanzmann> Because I get this funny register warning.
<Glanzmann> but i installed alsamixer and I see the device.
<Glanzmann> let me play somehting.
<Glanzmann> Yes, sound works on the mini
<povik> ah okay, so there's still chance it's related to the boot chime (darn, i don't want that to be true :-p)
<Glanzmann> newchima[m]: When you isntall alsa-utils
<mps> when testing sound on new machines or setups I like to play 'O! fortuna' :)
<Glanzmann> povik: I have the boot chime.
<Glanzmann> newchima[m]: And run alsamixer, do you see controls?
<povik> newchima[m]: if you confirm that ^, that would be an interesting finding
<Glanzmann> povik: My kernel output: https://pbot.rmdir.de/15U_mzze2tNo_qvpmsPteg
<Glanzmann> povik: Screenshot of the alsamixer: https://tg.st/u/screenshot-air-2022-01-25-00_36_52.png
<povik> so there's
<povik> > [ 4.441437] No soundcards found.
<povik> but that's just because the soundcard didn't get probed in time
<Glanzmann> povik: Well I hear something.
<Glanzmann> I'm not making this up.
<Glanzmann> I tested with mpv
<povik> Glanzmann: don't worry, i trust you
<povik> it's the print that's broken
<Glanzmann> I see.
<povik> newchima[m]: see if by any chance 'aplay -l' will show the card
<povik> (or have you tried alsamixer already and it's not there?)
<newchima[m]> ahh.... when i try alsamixer as my user, i get "cannot find card '0'"
<newchima[m]> but when i try as root, it seems to work
<povik> ah
jmr2 has joined #asahi
<newchima[m]> 2 items listed card 0: device 0 and device 1 (as i recall, you said 0 is speaker and 1 is jack)
<povik> yes
<Glanzmann> newchima[m]: YOu sound is working. :-)
<Glanzmann> your*
<newchima[m]> Glanzmann: now to figure out the permissions issue
<jmr2> Easy way to check your stub OS version, through MacOS: System Preferences -> Startup Disk.
<Glanzmann> newchima[m]: Its easy, put yourself int he group audio and relogin.
<Glanzmann> jmr2: Thanks for the hint.
<Glanzmann> I put that in the wiki
<newchima[m]> Glanzmann: doh!
<Glanzmann> I'm way beyond bed time, so good night. :-)
<newchima[m]> jmr2: thanks, will check which stub I have
<Glanzmann> newchima[m]: You probably have already the right one.
<newchima[m]> Glanzmann: night, and thanks!
<Glanzmann> If you have the old stub and have a new m1n1 you sometimes see the screen 3 times. :-)
<Glanzmann> Thank povik for the excellent sound driver. :-)
<Glanzmann> newchima[m]: I'll update the live system soon and add build instructions to include sound.
<newchima[m]> povik: I had turned on boot sound, so I will turn off and validate that it still works after boot chime is off
jmr2 has quit [Quit: Page closed]
<Glanzmann> newchima[m]: At least on the air it works, I have it off and sound works for me.
<newchima[m]> my stub is 12.0.1
<Glanzmann> newchima[m]: Perfect. :-)
<povik> yeah, but on air the sound drivers don't initialize the speakers like they do on mini
<povik> newchima[m]: better validate that
<Glanzmann> I see.
StupidYui has quit [Read error: Connection reset by peer]
<newchima[m]> povik: yes, it works :)
<newchima[m]> povik: thanks!
<povik> i am happy it works for you! (and other people)