ChanServ 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
Stroller has quit [Quit: Stroller]
Stroller has joined #asahi
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
hubason has joined #asahi
zshrc is now known as Guest1124
zshrc has joined #asahi
Guest1124 has quit [Ping timeout: 480 seconds]
hubason has quit [Ping timeout: 480 seconds]
zshrc has quit [Ping timeout: 480 seconds]
c10l has quit [Read error: Connection reset by peer]
c10l has joined #asahi
zshrc has joined #asahi
kouhai has joined #asahi
ccs1 has joined #asahi
Eurofuze has joined #asahi
<Eurofuze> ll
Eurofuze has quit []
ccs1 has quit [Ping timeout: 480 seconds]
ccs1 has joined #asahi
kenzie7 has quit []
kenzie7 has joined #asahi
farghal has joined #asahi
farghal has quit []
nicolas17 has quit [Ping timeout: 480 seconds]
zshrc is now known as Guest1144
zshrc has joined #asahi
Guest1144 has quit [Ping timeout: 480 seconds]
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc is now known as Guest1148
zshrc has joined #asahi
Guest1148 has quit [Ping timeout: 480 seconds]
tertu has quit [Quit: so long...]
zshrc is now known as Guest1149
zshrc has joined #asahi
Guest1149 has quit [Ping timeout: 480 seconds]
tertu has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
ccs1 has quit [Ping timeout: 480 seconds]
RiskRunner0 has joined #asahi
RiskRunner0 has quit [Remote host closed the connection]
zshrc has joined #asahi
Stroller has quit [Quit: Stroller]
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc is now known as Guest1156
zshrc has joined #asahi
Guest1156 has quit [Ping timeout: 480 seconds]
zshrc is now known as Guest1157
zshrc has joined #asahi
Guest1157 has quit [Ping timeout: 480 seconds]
zshrc is now known as Guest1158
zshrc has joined #asahi
Guest1158 has quit [Ping timeout: 480 seconds]
zshrc is now known as Guest1159
zshrc has joined #asahi
Guest1159 has quit [Ping timeout: 480 seconds]
a has joined #asahi
<a> ping
zshrc has quit [Ping timeout: 480 seconds]
<a> Hi, I hope you're doing all well. I wanted to know how is the Linux experience on ARM arch (is that what M1/2 uses?). Like now I'm on x64 and I use a lot of softwares on Linux desktop
a has quit [Read error: Connection reset by peer]
a has joined #asahi
<a> Sorry, I was disconnected. Any replies?
zshrc has joined #asahi
<a> I'm not really familiar with IRC. I don't even know if anybody can read me here
a has quit []
zshrc has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
zshrc has joined #asahi
ncopa has quit []
zshrc has quit [Ping timeout: 480 seconds]
a has joined #asahi
<a> Nobody?
zshrc has joined #asahi
ncopa has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
MajorBiscuit has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
a has quit [Read error: Connection reset by peer]
giskard has joined #asahi
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
jjido has joined #asahi
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
bestouff has quit [Ping timeout: 480 seconds]
bestouff has joined #asahi
SSJ_GZ has joined #asahi
bestouff has quit [Read error: Connection reset by peer]
bestouff has joined #asahi
capta1nt0ad has joined #asahi
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
c10l has quit [Quit: Bye o/]
<psykose> pretty much the same as every other arch for open source software
c10l has joined #asahi
zshrc has joined #asahi
<capta1nt0ad> a: If you log off, you won't see messages that came through while you are logged off, but you can view the logs for this channel here: https://alx.sh/l/asahi
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
bestouff has quit [Read error: Connection reset by peer]
zshrc has joined #asahi
bisko has joined #asahi
bestouff has joined #asahi
Dcow has joined #asahi
capta1nt0ad has quit [Remote host closed the connection]
Dcow has quit [Ping timeout: 480 seconds]
jjido has joined #asahi
gladiac has quit [Quit: k thx bye]
jjido has quit []
ccs1 has joined #asahi
Dcow has joined #asahi
thansen has quit [Quit: The Lounge - https://thelounge.github.io]
thansen has joined #asahi
jjido has joined #asahi
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
ccs1 has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
jjido has joined #asahi
jjido has quit []
jess has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
jjido has joined #asahi
zshrc has joined #asahi
jjido has quit []
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
zshrc has joined #asahi
<kloenk> is this a known issue? spi-hid-apple-of spi0.0: Read package crc mismatch
<kloenk> Friend of mine is playing around with asahi, and notices it somewhat frequent
nico_32 has joined #asahi
zshrc has quit [Ping timeout: 480 seconds]
<j`ey> kloenk: known but not diagnosed
tertu has quit [Quit: so long...]
<kloenk> Ok, thanks
<_jannau_> it is know, but appears not to be an issue besides the log message
mkurz has joined #asahi
tertu has joined #asahi
zshrc has joined #asahi
mkurz has quit [Quit: Leaving]
zshrc is now known as Guest1184
zshrc has joined #asahi
Guest1184 has quit [Ping timeout: 480 seconds]
jjido has joined #asahi
capta1nt0ad has joined #asahi
<kloenk> The friend currently has some other problems (testing gpu), but it seems to break touchpad/keyboard for that boot
<_jannau_> what is somewhat frequent? non-working keyboard/touchpad might be unrelated
alxdrl has joined #asahi
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
alxdrl has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
sleber has joined #asahi
vx has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi
sleber has quit [Remote host closed the connection]
jjido has quit [Quit: Textual IRC Client: www.textualapp.com]
yuka has joined #asahi
yuyichao_ has quit [Remote host closed the connection]
yuyichao has joined #asahi
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi
sleber has joined #asahi
<yuka> it would be wonderful if someone could give me some hints on debugging things on my MacBook 14" 2021 M1 Pro. I'm trying to get the gpu drivers working. or rather, the gpu drivers are working but the display output is not, and I have no idea where to start with that
<yuka> I have compiled the "wip" branches of m1n1, kernel and mesa, booted the kernel as m1n1 guest and I can see the /dev/dri devices over the serial console
<yuka> maybe my kernel config is missing something for display output to work?
<yuka> (though with the same kernel just without DRM_ASAHI=y display output _does_ work)
<_jannau_> that sounds more like a problem with the other DRM driver. is DRM_APPLE built as well
<_jannau_> the 3D GPU and the display output are two distinct devices with two drivers
<steffen[m]> wasn't there some issue with having simpledrm enabled? Maybe try "initcall_blacklist=simpledrm_platform_driver_init" in the kernel cmdline or build without it
<yuka> this is my config now
<steffen[m]> ah, so not simpledrm
<yuka> wait! it works now
<yuka> is it possible that it only works when the kernel is booted as m1n1 guest?
<j`ey> isnt that what you were trying before anyway?
<yuka> I switched around between running it in m1n1 and directly
<yuka> and I was missing DRM_APPLE at one point
<_jannau_> no, it works with on disk m1n1 and kernel
<_jannau_> is the 2nd stage on-disk m1n1 updated as well?
<yuka> It should be
<yuka> but that could be a difference yes
<_jannau_> are there log lines matching "dcp.*Failed to boot"? with the on-disk m1n1?
<yuka> difficult to get logs when I don't have any output
<steffen[m]> journalctl -b -1 after the next boot might show something
<yuka> I don't think it gets that far
<yuka> I also have full disk encryption
<_jannau_> are the display driver modules in the initramfs?
<yuka> they are builtin
<yuka> they currently can't be built as modules
<yuka> or, drm_asahi can't be built as module
<yuka> but DRM_APPLE is also builtin
<_jannau_> ah, yes. I forgot
<yuka> ok you are right, the difference is the m1n1 version
<yuka> (the 2nd stage on-disk)
Stroller has joined #asahi
<yuka> no, nevermind, the on-disk m1n1 also works fine
<yuka> the difference is the kernel cmdline
<yuka> if it contains console=tty0, the screen goes black
<yuka> isn't tty0 the one for graphical output?
<_jannau_> try switching the tty or starting a graphical loginmanager or westen (preferable wayland)
<_jannau_> There might be a problem with not refreshing the display after an modeset
Dcow_ has joined #asahi
<_jannau_> there was also a problem with rendering xrgb8888 as argb8888 and the fbdev framebuffer had zero alpha
<_jannau_> not sure if the fix for that is already in the gpu branch
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #asahi
<yuka> in all these cases I can not unlock my disk crypto (unless over the virtual serial when I am booted as m1n1 guest)
<yuka> when I boot natively (tools/linux.py) without any console= params, it shows the kernel log, but there is no echo. I guess what I'm seeing on-screen is just the kernel output, not an interactive console
<yuka> when I boot natively with console=tty0, the screen goes black and apparently it is not an interactive console either, i typed in my passphrase and the device does not appear on the network
<yuka> when I boot natively with console=ttySAC0,1500000, i see a blinking cursor on the screen, but can not type in my passphrase either (because the interactive console is somewhere else)
Dcow has quit [Ping timeout: 480 seconds]
<yuka> okay... when I am booted as m1n1 guest, I start weston -> screen goes black, I start sway -> screen goes grey, I start gnome-shell -> screen goes black
<yuka> do I have to do anything specific because there are two drm devices?
<yuka> like it should render on /dev/card0 but output to /dev/card1
alxdrl has joined #asahi
alxdrl has quit [Remote host closed the connection]
Techcable has quit [Ping timeout: 480 seconds]
vx has joined #asahi
sleber has quit [Remote host closed the connection]
jess has quit []
gladiac has quit [Quit: k thx bye]
vx^ has joined #asahi
vx has quit [Ping timeout: 480 seconds]
vx^ is now known as vx
ljs has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
ljs has joined #asahi
ljs has left #asahi [#asahi]
sleber has joined #asahi
bcrumb has joined #asahi
<bcrumb> does anybody knows how our distribution calcs battery health?
<bcrumb> *anybody know
<ChaosPrincess> just asks the SMC i think
Major_Biscuit has quit [Ping timeout: 480 seconds]
<bcrumb> ChaosPrincess: SMC - smart controller?
<ChaosPrincess> system management controller
<bcrumb> thank u
<hell__> SMC is the Apple version of an embedded controller found on regular computers (mostly laptops)
<scardracs> ChaosPrincess: there isn’t a SMC controller on MacBooks with an Apple Silicon SoC
<j`ey> scardracs: yes there is
<ChaosPrincess> there is, it is just now a part of the m1
<ChaosPrincess> but the api is similar
<hell__> interesting
<bcrumb> 👍
<scardracs> Yes, that’s what I meant: there isn’t an SMC as is but it is integrated inside the M SoC
<hell__> it's no longer a separate chip
<hell__> on Intel-based Apple computers, the first SMC was a Renesas H8S-2116 (or something like that) until Sandy Bridge, and from Ivy Bridge onwards it was replaced by a Texas Instruments LM4F
<hell__> not sure what happened after Haswell
bcrumb has quit [Quit: WeeChat 3.7.1]
zshrc is now known as Guest1217
zshrc has joined #asahi
<hell__> huh, interesting: there are iPads with a M1
Guest1217 has quit [Ping timeout: 480 seconds]
zshrc has quit []
<ChaosPrincess> at some point the smc got absorbed into t2 i think
<ChaosPrincess> and then into the soc
<ChaosPrincess> the m1 ipads sound cool, but they are held back by the os
<scardracs> What’s new with installer v0.5-pre10?
<scardracs> Hell__: there are also iPads with M2
<scardracs> Both iPad Pro 11” and 12.9” 2022 have the M2 SoC
<ChaosPrincess> scardracs: performance and stability improvements :P
<scardracs> As always ;)
<scardracs> I’ve changed my alx.sh to point to the -dev version
Major_Biscuit has joined #asahi
Major_Biscuit has quit [Ping timeout: 480 seconds]
sleber has quit [Remote host closed the connection]
zkrx has quit []
Techcable has joined #asahi
sleber has joined #asahi
Dcow_ has quit [Remote host closed the connection]
Dcow has joined #asahi
shaan has joined #asahi
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi
<shaan> Hi, I am very new to linux on m1, everything seems fine but I am not able to get sound through hdmi or aux in Mac mini m1, sound through Bluetooth is ok, any help would be very much appreciated. Thanks
<jannau> Hej, audio through HDMI does not work yet. audio through the headset jack or the internal speaker should work on the mac mini
<jannau> shaan: please check in alsamixer if "Jack DAC" or simmilar is not at zero
<shaan> Thanks for clarification,
<shaan> I will check and report, by the way I am using pipewire
shaan has quit [Remote host closed the connection]
zshrc has joined #asahi
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
bcrumb has joined #asahi
<bcrumb> nicolas17: did you manage to read from APFS on asahi? 🤔 I saw your comment asking and I it would be very convenient for me if this is possible
<yuka> solved this by changing to a different mesa branch that has a commit "support for T6000"
nickchan has joined #asahi
<nickchan> How do I boot from SD Card in U-Boot? I am using the internal sd card reader on the 2021 14 inch macbook pro
<jannau> the sd card reader is not supported in u-boot
<jannau> yuka: most up to date mesa branch is currently https://gitlab.freedesktop.org/alyssa/mesa/-/tree/asahi/rebased
<yuka> yup that's the one I have now
<yuka> I heard from some of the streams/tweets that there are hacky stability fixes
<yuka> stuff is crashing all over the place, so I'm wondering if I have those
<jannau> I think that branch is "mostly" ok. only known issue is a memory "leak" which can result in exhaustion of the device virtual address space for framebuffers
<jannau> memory will be freed by logging out of the desktop env
a has joined #asahi
<a> ping
a has quit []
sleber has quit [Remote host closed the connection]
nickchan has left #asahi [#asahi]
bcrumb has quit [Quit: WeeChat 3.7.1]
leif has joined #asahi
leif has quit [Quit: Leaving]
sleber has joined #asahi
leif has joined #asahi
leif has quit []
bcrumb has joined #asahi
<bcrumb> is it possible to use FUSE with apfs-fuse to mount an apfs fs?
<bcrumb> i am dumb, i would also need to filevault unlock it
bcrumb has quit []
bcrumb has joined #asahi
<bcrumb> nvm, seems it can deal with filevault too
bcrumb has quit []
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
leif has joined #asahi
leif has quit []
zkrx has joined #asahi
shaan has joined #asahi
opticron_ has joined #asahi
opticron has quit [Read error: Connection reset by peer]
shaan has quit [Ping timeout: 480 seconds]
<tpw_rules> jannau: which kernel branch goes with that?
<yuka> tpw_rules: I already have it packaged in nix
<tpw_rules> ah, where?
<tpw_rules> i got the rust stuff working but hadn't found a working branch at the time
<tpw_rules> then maybe i just need to plug that in and give it a try
sleber has quit [Remote host closed the connection]
zshrc has quit [Quit: bye]
sleber has joined #asahi
<yuka> yes i took the branch where you made rust stuff build as a base
capta1nt0ad has quit [Ping timeout: 480 seconds]
sleber has quit [Ping timeout: 480 seconds]
danielnechtan has joined #asahi
int16h has quit [Ping timeout: 480 seconds]
osaka1990 has joined #asahi
<tpw_rules> how are you booting it if not u-boot? i thought the m1n1 branch was just for debugging but evidently not
<yuka> it is the kind of thing where trying to debug the problem will make the problem disappear
<yuka> I have followed the instructions on the tethered boot setup wiki page (https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29)
<yuka> copying the kernel off the boot partition and booting it via either proxyclient/tools/linux.py or proxyclient/tools/run_guest_kernel.sh works
<yuka> (it is a bit more involved than that, because it requires specifying kernel, initrd, dtb and params, and kernel and initrd need to be gzipped insted of zstd like nixos does)
<tpw_rules> funky
sleber has joined #asahi
SSJ_GZ has quit [Ping timeout: 480 seconds]
sleber has quit [Ping timeout: 480 seconds]
Stroller has quit [Quit: Stroller]
Stroller has joined #asahi
psykose has quit [Remote host closed the connection]
psykose has joined #asahi
bluetail0 has joined #asahi
bluetail0 has quit []
bluetail0 has joined #asahi
bluetail0 has quit []
bluetail0 has joined #asahi
Dcow has quit [Remote host closed the connection]
bluetail has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi
bluetail0 is now known as bluetail
bluetail has quit []
bluetail has joined #asahi
sleber has joined #asahi
osaka1990 has quit [Ping timeout: 480 seconds]
Dcow has quit [Ping timeout: 480 seconds]
osaka1990 has joined #asahi
sleber has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
sleber has joined #asahi