marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Catyre has joined #asahi
<duderuud[m]> I used the public beta. I believe it's the same build als b3
<duderuud[m]> * als b3. Oh and btw, Asahi ran fine before I upgraded to Ventura.
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
<ElvishJerricco[m]> duderuud: The firmware update that came with Ventura exposed some bugs in asahi so it broke. There are fixes but I don't remember how to get them
cth451_desktop has joined #asahi
millenialhacker has joined #asahi
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
Zaprit has quit [Ping timeout: 480 seconds]
bdju has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
bard[m] has joined #asahi
Zaprit has joined #asahi
Catyre has joined #asahi
Zaprit has quit [Ping timeout: 480 seconds]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
derzahl has quit [Remote host closed the connection]
WindowPain has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
Catyre has quit [Remote host closed the connection]
millenialhacker has joined #asahi
Catyre has joined #asahi
PhilippvK has joined #asahi
WindowPain has joined #asahi
skipwich_ has quit []
skipwich has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
phiologe has quit [Ping timeout: 480 seconds]
ptudor_ has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
kov has quit [Quit: Coyote finally caught me]
marvin24_ has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
Catyre has quit [Remote host closed the connection]
nicolas17 has quit [Quit: Konversation terminated!]
Catyre has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
doggkruse has joined #asahi
ciggi has quit [Read error: Connection reset by peer]
ciggi has joined #asahi
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Catyre has quit [Remote host closed the connection]
millenialhacker has joined #asahi
tomtastic has quit [Quit: ZNC - https://znc.in]
Misthios has joined #asahi
tomtastic has joined #asahi
ifthenelse has quit [Quit: Ping timeout (120 seconds)]
minecrell9 has joined #asahi
ifthenelse has joined #asahi
z812 has quit [Remote host closed the connection]
mrkajetanp has joined #asahi
z812 has joined #asahi
dabaum|2er0 has joined #asahi
guillaume_g has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi
mps has quit [Ping timeout: 480 seconds]
<marcan> the asahi-dev repo has fixed packages and will be released in the coming days
<marcan> s/asahi/asahi-dev/ in /etc/pacman.conf to get it
<marcan> the dev installer is at `curl -L https://alx.sh/dev | sh` and should support Mac Studio
<marcan> and in expert mode, M2 (with some issues; trackpad may not work on first/some boots, just shut down with a power button tap and try again)
<marcan> (also no keyboard in the bootloaders yet)
<marcan> I would appreciate testing
<marcan> oh, also, bluetooth
<marcan> if you switch to asahi-dev and just pacman update, bluetooth should Just Work (if you have the desktop install, which is set up to pull the packages; otherwise as usual install the required packages yourself)
MajorBiscuit has joined #asahi
<chadmed> working on gentoo :)
<chadmed> well working in the sense that the driver loads but it fails to probe
<sven> how does it fail?
ggardet has joined #asahi
the_lanetly_052___ has joined #asahi
<chadmed> theres no error other than it fails to probe with error -2, the modules stay loaded but userspace cant see it. i only nuked and ran the asahi insatller again late last week so i think i have the firmware
<sven> you probably don't
<sven> -2 is ENOENT
<sven> and it should complain anyway
<chadmed> hm ill extract the firmware again then
<sven> i'd rather take a closer look for error messages in dmesg
<sven> ENOENT should only happen when OTP reading fails or when no firmware is found and in both cases it'll complain
<chadmed> oh yeah here we go, no brcm,taurus-cal-blob property
<sven> wrong device tree and/or outdated m1n1 then
janrinze has joined #asahi
guillaume_g has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
<chadmed> it'll be m1n1, i updated the dts and u-boot with the kernel
<sven> updating dts should've also updated m1n1
<sven> oh, unless you pinned an older version
<chadmed> not if i didnt make a new ebuild to grab the latest tag :P
<janrinze> marcan: which parts of the installer still require updating before we can use it n the mmac studio ultra?
ggardet has quit [Ping timeout: 480 seconds]
<janrinze> whould having another system with Asahi Linux installed help?
millenialhacker has joined #asahi
the_lanetly_052 has joined #asahi
<_jannau_> janrinze: `curl -L https://alx.sh/dev | sh` should install out of the box on the mac studio, it does here
millenialhacker has quit [Ping timeout: 480 seconds]
eroux_ has quit [Remote host closed the connection]
eroux has joined #asahi
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
mps has joined #asahi
derzahl has joined #asahi
firefox317_ has joined #asahi
nimprod3l has joined #asahi
the_lanetly_052__ has joined #asahi
AndyGarton has joined #asahi
AndyGarton is now known as BlueIn2Red
BlueIn2Red_ has joined #asahi
BlueIn2Red_ has left #asahi [#asahi]
the_lanetly_052 has quit [Ping timeout: 480 seconds]
BlueIn2Red has quit []
BlueIn2Red has joined #asahi
BlueIn2Red has quit []
BlueIn2Red has joined #asahi
BlueIn2Red has quit []
BlueIn2Red has joined #asahi
BlueIn2Red has quit []
mps_ has joined #asahi
mps has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
mps_ has quit [Remote host closed the connection]
mps has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
firefox317_ has quit [Remote host closed the connection]
mps has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has quit [Remote host closed the connection]
Catyre has joined #asahi
thevar1able has quit [Quit: ZNC 1.8.2 - https://znc.in]
thevar1able has joined #asahi
jluthra has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
BlueIn2Red has joined #asahi
Catyre has quit [Remote host closed the connection]
<BlueIn2Red> Hi all, I'm new to Ashai and also IRC in general (in recent times at least), so I hope this isn't inappropriate use - is it known that Kmail doesn't show the message body? It appears to be some kind of rendering issue (the terminal output shows lots of "WebEngine render process crashed" errors), so I'm guessing perhaps it's known and expected at this early stage?
Catyre has joined #asahi
BlueIn2Red has quit [Quit: Konversation terminated!]
<marcan> bluetail[m]: I think QTWebEngine is broken due to the usual chromium reasons, so yes
<marcan> no idea when that fix will trickle into WebEngine, someone should look into that...
minecrell9 has quit []
ErikS[m] has joined #asahi
minecrell has joined #asahi
le0n has quit [Quit: see you later, alligator]
le0n has joined #asahi
BlueIn2Red has joined #asahi
<BlueIn2Red> Understood, thank you.
<tsujp> m1n1 can run macOS right? If that's true then you can use m1n1 to figure out how macOS internals work?
<ar> tsujp: that's what the developers here sometimes do
<ar> tsujp: you can even see it happen on some of the streams by l*na and m*rcan (trying to avoid unnecessary highlights)
<tsujp> I'm in a strange spot.. I tore down my non-mac machine so I am left with a laptop and a mac mini. I'd like to boot macOS via m1n1 (on the mac mini) and look at what it is doing from my macOS laptop
<tsujp> yeah I saw l*na's recent stream here: https://www.youtube.com/watch?v=CZvYPepwed4 where she mentioned m1n1 does full passthrough so it wont use fake GPU drivers etc which is really cool
BlueIn2Red has quit [Ping timeout: 480 seconds]
kov has joined #asahi
millenialhacker has joined #asahi
leitao has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
z812 has quit [Quit: Bye!]
millenialhacker has quit [Ping timeout: 480 seconds]
z812 has joined #asahi
mps has joined #asahi
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #asahi
jluthra has joined #asahi
<tsujp> Very nice. I know what my weekend project is
Ry_Darcy_ has joined #asahi
Catyre_ has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
<rowang077[m]> @tsuip what are you interested in finding out if you don't mind me asking? :p
nimprod3l has quit [Quit: Leaving]
Ry_Darcy_ has quit [Remote host closed the connection]
Ry_Darcy_ has joined #asahi
commandoline has joined #asahi
commandoline_ has quit [Remote host closed the connection]
nicolas17 has joined #asahi
Gaspare has joined #asahi
doggkruse has joined #asahi
Ry_Darcy_ has quit [Remote host closed the connection]
babble has joined #asahi
zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse_ has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
zzywysm has joined #asahi
<derzahl> $ uname -a
<derzahl> Linux tyr 5.19.0-rc5-asahi-20220712-01-ZAHL
<derzahl> nice! latest kernel actually boots when compiled with clang+LTO
babble_ has joined #asahi
babble_ has quit [Read error: Connection reset by peer]
Catyre has joined #asahi
babble_ has joined #asahi
<derzahl> still dont know what happened to my sound. I can see it the visual indicator showing sound in gnome->settings->sound when i do a sound test. but nothing comes out of the speaks anymore
<marcan> the devicetrees have never had sound enabled, unless you enabled it yourself
<jannau> except for the headphone jack on m1
babble has quit [Ping timeout: 480 seconds]
<derzahl> marcan: i did. and my PKGBUILD does for new kernels
Catyre_ has quit [Ping timeout: 480 seconds]
<derzahl> i never blew out my speakers or had any issues with it. i just compiled and booted the latest kernel from a week ago and noticed my sound stopped working. booting earlier kernels and even reinstalling a known working kernel so it's dtb would be addee to m1n1 hasnt given me back sound
babble has joined #asahi
babble_ has quit [Read error: Connection reset by peer]
babble has quit [Remote host closed the connection]
babble has joined #asahi
mps has quit [Quit: Lost terminal]
mps has joined #asahi
millenialhacker has joined #asahi
<clover[m]> <marcan> "if you switch to asahi-dev and..." <- hmm, bluetooth working is kinda huge for me. this is great news!
millenialhacker has quit [Ping timeout: 480 seconds]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
Gaspare has quit [Quit: Gaspare]
<clover[m]> i switched to asahi-dev and rebooted. in bluetoothctl it looks like the agent registered and the controller works, but it doesnt discover any devices when i do `scan on`
Catyre has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
<clover[m]> ok its picking up some devices, but not my logitech mouse
<jannau> which apple silicon device? I see that as well. Logitech mouse is not discovered in scan
<jannau> sven: on both m2 and m1 max so not m2 specific. my x86 notebook sees it
<sven> that’s weird
<sven> can anyone run btmon before power and scan on?
Catyre has joined #asahi
<sven> (Note that the output will contain lots of Mac addresses and other info you may or may not want to share publicly)
MajorBiscuit has quit [Ping timeout: 480 seconds]
babble has quit [Read error: Connection reset by peer]
babble has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
BlueIn2Red has joined #asahi
Zaprit has joined #asahi
<BlueIn2Red> I'm having so much fun trying different installations that I've hit this issue from the website: "If you perform more than a couple installations and removals, you might find that some parts of the install process take longer than usual. This is caused by stale Boot Policy files being left behind. We have a script that you can use to clean those
<BlueIn2Red> up. Use with caution; you need to run it from recoveryOS or with SIP disabled." Does anybody know the details of how to do the last part please?
BlueIn2Red_ has joined #asahi
BlueIn2Red has quit [Read error: Connection reset by peer]
<clover[m]> <jannau> "which apple silicon device? I..." <- Apple MacBook Pro 16 inch, M1 Pro
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
mps has quit [Remote host closed the connection]
Zaprit has quit [Ping timeout: 480 seconds]
Zaprit has joined #asahi
BlueIn2Red_ has quit [Ping timeout: 480 seconds]
babble has quit []
millenialhacker has joined #asahi
Gaspare has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
Diretorium[m] has quit [Quit: Client limit exceeded: 20000]
mps has joined #asahi
doggkruse_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clover[m]> <sven> "(Note that the output will..." <- pm'd
<derzahl> whoa didnt even realize there was an asahi-dev. that new?
derzahl has quit [Remote host closed the connection]
derzahl has joined #asahi
<sven> r.e. clover[m]'s issue: i looked at the btmon log and devices do show up there, they're all bluetooth LE afaict though. this sounds like a userspace problem to me, and i'm not very familiar with the bluetooth stack there
<clover[m]> i think hcitool is deprecated?
<clover[m]> it doesn't seem to be included in bluez anymore
<sven> i'm afraid i don't know enough about bluetooth to help
<sven> it could still be a driver issue (like some missing magic "enable LE" command) but i'd first like to confirm it's no userland problem
<jannau> I guess it's 'scan le' in bluetoothctl
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clover[m]> `scan le` seems to be a thing, but still my mouse doesn't appear
<nicolas17> is your mouse already paired, or in pairing/discoverable mode?
<clover[m]> its flashing, in discoverable mode
Catyre_ has joined #asahi
<sven> the weird thing is that it seems to show up in btmon
<sven> but my Bluetooth low level knowledge is almost non existing so dunno what that means
Catyre has quit [Ping timeout: 480 seconds]
Catyre_ has quit [Remote host closed the connection]
Catyre has joined #asahi
doggkruse has joined #asahi
trouter has quit [Quit: ZNC 1.8.2 - https://znc.in]
trouter has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
<povik> derzahl: hmm. two ideas: something in alsamixer is set wrong (i will look at screenshots if you send me one), or some other userspace update unrelated to kernel broke it
<povik> i am only suggesting the latter because i saw another report similar to yours (or was it yours too? not sure)
BlueIn2Red has joined #asahi
<BlueIn2Red> I have (perhaps) similar issues with Bluetooth - some devices (like my Samsung TV, uselessly) show up, the ones I actually want to use (two different mice) don't. This is with the dev build installed via the script linked above.
<clover[m]> BlueIn2Red: thanks for confirming, i was wondering if simply updating the pacman.conf wasn't enough to get all of the right bluetooth bits and a re-run of the installer script was required
BlueIn2Red has quit [Ping timeout: 480 seconds]
<marcan> there is no difference between reinstalling and not
<sven> yeah, this either LE userspace fail or some magic incantation is required to make the controller actually support LE
<sven> I’m leaning a bit towards userspace fail and not just because it’s not my fault then: I can see LE events in btmon
<clover[m]> another data point: Logitech Mouse device is found and pairs perfectly with a USB "Plugable" BT/BLE adapter
<sven> hrm, or maybe these BLE events just have a weird format in this controller
<sven> but dunno
<sven> I don't have any BLE devices here so can't really debug that :/
babble has joined #asahi
<jannau> sven: could be a combined controller user space problem. I get 'LE Advertising Report (0x02)' for the mouse with my intel bt adapter but 'LE Extended Advertising Report (0x0d)' with the broadcom one
<sven> can you paste both reports somewhere?
<sven> i hope Apple/Broadcom didn't decide to re-invent the advertising report format for some reason
<dottedmag> Looks like a new feature in Bluetooth 5.0
Catyre has quit [Remote host closed the connection]
<sven> Legacy PDU Type: Reserved (0x2613)
Catyre has joined #asahi
<sven> ugh
<sven> why :-(
<sven> but btmon still seems to be able to parse most of it?
derzahl has quit [Ping timeout: 480 seconds]
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sven> ..... LE_LEGACY_ADV_IND is 0x13
<sven> did they just mess up and put garbage in the upper half?
<dottedmag> Suspiciously it's the same as "event type" in both events.
<dottedmag> Or is it just the same field shown twice by btmon?
Catyre has quit [Ping timeout: 480 seconds]
<sven> jannau: so... uh.... can you put a evt_type &= 0xff; into ext_evt_type_to_legacy after the very first if where it checks for legacy events in net/bluetooth/hci_event.c? :D :D
Catyre has joined #asahi
fcrb[m] has joined #asahi
<sven> LOL, that actually makes it discover more devices here
BlueIn2Red has joined #asahi
BlueIn2Red has quit [Quit: Konversation terminated!]
leitao has joined #asahi
<jannau> sven: that fixes it
<sven> hahahahahaha :D
<sven> oh dear
<jannau> mouse is discoverable, can connect and works
leitao has quit []
<sven> i wonder why those upper bits are messed up
Catyre has quit [Remote host closed the connection]
BlueIn2Red2 has joined #asahi
Catyre has joined #asahi
BlueIn2Red2 has quit []
Catyre has quit [Ping timeout: 480 seconds]
babble has quit []
roxfan has quit [Remote host closed the connection]
roxfan has joined #asahi
Catyre has joined #asahi
derzahl has joined #asahi
Catyre has quit [Remote host closed the connection]
doggkruse has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
whistlingoat[m] has joined #asahi
Zaprit has quit [Remote host closed the connection]
Catyre has joined #asahi
<clover[m]> well done guys
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
boardwalk has quit [Quit: Ping timeout (120 seconds)]
Catyre has quit [Remote host closed the connection]
boardwalk has joined #asahi
Gaspare has quit [Quit: Gaspare]
millenialhacker has joined #asahi
<probie_> Can I safely re-run the installer a second time to get a third boot option?
<tpw_rules> yes
Catyre has joined #asahi
derzahlah has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
<derzahlah> povik: alsamixer looks normal to me, see https://files.catbox.moe/4rbihx.png
<derzahlah> oh, arch just switched to pipewire? I didnt even notice that. maybe that is my problem
Catyre has quit [Ping timeout: 480 seconds]
<derzahlah> or maybe it wasnt recent. i havent been paying attention to how sound works on linux for the last 10 years. what should I be using on asahi? pipewire, pulseaudio, jack?
<clover[m]> Sound doesn't work at all on asahi I thought
<derzahlah> works on macbook air at least, after enabling in the dts file
derzahlah has quit [Remote host closed the connection]
<nicolas17> clover[m]: afaik headphone jack has worked all along, speakers kinda work but they're disabled because there's still a risk of physically damaging them
Catyre has joined #asahi
Gaspare has joined #asahi
<povik> ^-- that's right
<povik> and jack support is limited to m1 macs
<povik> but not for long!
<povik> derzahl: yeah, alsamixer looks ok
nicolas17 has quit [Ping timeout: 480 seconds]