amarioguy has quit [Remote host closed the connection]
<BradPitcher[m]>
👋Hi everyone, I installed Asahi yesterday and I'm blown away at how great this is! 🎉
<BradPitcher[m]>
There are just a couple things I'm trying to figure out. My bluetooth device is connected but I have no sound coming out. When I look at the Audio section of System Settings there is no device there. Did I miss a step?
<BradPitcher[m]>
I'm using a new user I created after installation, maybe I need to add this user to a group? 🤷
<chadmed[m]>
Add your user to the audio group and log back in
<chadmed[m]>
Usually a good idea to add yourself to audio and video at the very least
<BradPitcher[m]>
Shoot still nothing, my groups are now `network rfkill video audio wheel brad`
<BradPitcher[m]>
That's not super important to me anyway. The other thing I'm trying and struggling to do is compile a dkms package, is that supported at the moment? Seems I can't find the headers
<BradPitcher[m]>
Sorry, for the noise, I found them: `pacman -S linux-asahi-headers`
<BradPitcher[m]>
s/,//
<chadmed[m]>
Oh right i just assumed youd made the DT edits. Audio doesnt work by default, check the wiki
<BradPitcher[m]>
"DT edits"? What does that mean? Yeah, I read all that but in the M2 release announcement it says bluetooth is supported now, as long as you stick with 5ghz wifi
<chadmed[m]>
Do you have the bluetooth service enabled? Idk if we have it enabled out of the box
<chadmed[m]>
sudo systemctl enable bluetooth && sudo systemctl start bluetooth
<chadmed[m]>
Other than that it’s probably your device
thelounge7571340 has quit [Remote host closed the connection]
<BradPitcher[m]>
I assume it has to be enabled in order to pair the device right? I'm paired successfully, it says it's connected
<BradPitcher[m]>
I checked and the bluetooth service is running, but there are some errors in the logs. I'll see if they lead anywhere
thelounge7571340 has joined #asahi
<nicolas17>
chadmed[m]: bluetooth audio shouldn't need DT edits right?
<chadmed[m]>
nicolas17: yeah lmao i misread. I had just woken up and hadnt had a coffee :P
<nicolas17>
:D
jofes[m] has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
<BradPitcher[m]>
I ran `aplay -l` with my bt headphones connected and get `aplay: device_list:275: no soundcards found...`. Should there be something there?
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
<nicolas17>
BradPitcher[m]: try "pactl list" if you're running pulseaudio (I don't know if asahi uses pulseaudio by default)
<BradPitcher[m]>
OK, there is a lot more info there. What should I look for? I think I'm using pulseaudio, at least pulseaudio is running. I'm using whatever the default is
<BradPitcher[m]>
I notice that the number of sinks didn't change when I connected to the headphones
nicolas17 has quit [Ping timeout: 480 seconds]
Stroller has quit [Quit: Stroller]
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
off^ has quit [Remote host closed the connection]
<BradPitcher[m]>
Haha, I got it working. The trick for me was just to run `sudo systemectl restart bluetooth` _after_ connecting to the device. It disconnects, reconnects, and then this time the sink gets created and I hear music 🎉🎉
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
SSJGZ has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
duban6 has quit []
chadmed has joined #asahi
chadmed has quit [Remote host closed the connection]
duban6 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
chadmed has joined #asahi
<marcan>
bluetail: asahi linux actually ships with a cut down version of my .zshrc
<marcan>
I don't think I have too much fancy stuff in my dotfiles other than that? just shell aliases and such
chadmed_ has joined #asahi
zkrx_ has joined #asahi
zkrx is now known as Guest1316
zkrx_ is now known as zkrx
Guest1316 has quit [Ping timeout: 480 seconds]
zkrx has quit []
zkrx has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
<Dcow[m]>
That’s a thing and I recommend that for zsh users
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
das_j has joined #asahi
<das_j>
Hey everyone, I installed a standard UEFI environment a couple of weeks ago but it seems like my distro broke it. I don't even see uboot, just the asahi logo. Is there a way to recover the UEFI environment? I do have a working macos
<kprasadvnsi[m]>
My M1 Mac mini goes into a boot loop if anything connected to the USB-C port at to boot time. Is this a known issue?
<jannau>
kprasadvnsi[m]: really anything or something which includes a sd card reader without medium or a similar usb storage device which might report not ready? in the second case it's known and fixed issue
<jannau>
das_j: does "m1n1/boot.bin" on the ESP / FAT32 partition still exists and is ~1.8MB large?
<das_j>
jannau: I will tell you once I got my macos password recovered :/ Turns out I don't know it
<kprasadvnsi[m]>
jannau: I have tested it with two keyboards and both results in boot loop.
<jannau>
kprasadvnsi[m]: the keyboards are directly connected and not through an USB hub? that is not known then
<jannau>
das_j: as long as you don't have filevault enabled you can check it in macos recovery
<chadmed_>
1000 IQ U-Boot breakers: only own keyboards with built in hubs :P
<chadmed_>
if your keeb has a builtin hub or youre connecting it to the machine via a hub then yes thats a known bug
<kprasadvnsi[m]>
I have directly connected to the keyboard and my keyboard doesn't have usb hub feature. It's a simple mechanical keyboard.
<jannau>
that looks like the sketchy u-boot USB stack. it can't deal with usb devices disconnecting
<jannau>
chadmed_: hubs are not the problem itself. don't buy usb keyboards with integrated memory card readers. but that is fixed, sadly not in u-boot upstream yet
thelounge7571340 has quit [Remote host closed the connection]
<das_j>
jannau: m1n1/boot.bin exists and is ~1.7MB
thelounge7571340 has joined #asahi
<jannau>
has it a recent modification date? i.e. just before it stopped booting?
<das_j>
none that I know of
<das_j>
umm oh no. I may see the issue I installed NixOS and it looks like the file comes from a nix build as the modification date is 31. Dec 1979
zkrx has quit []
<das_j>
perfekt…
<das_j>
*perfect
<das_j>
So can I assume I have a broken boot.bin and I need to provide a working one in the same location?
<jannau>
that probably just means it was modified before the clock was set. sadly nothing we can learn from the date
zkrx has joined #asahi
<das_j>
Ah you might not know this but nix sets the mtime of all files it produces to 1979 to ensure reproducability
<das_j>
Calling stat on the file shows that it was created on the 5th of september which is when that mac was initially set up
<jannau>
that is one possibility. another one (less likely) is that the partuuid of the ESP partition was modified
<das_j>
Is there a way I can check the expected partuuid?
<jannau>
if it's the initial file as installed I would for now assume that it is not the problem
<das_j>
So if I understand your messages correctly, is uboot built into the m1n1 boot.bin?
<jannau>
yes, m1n1/boot.bin contains m1n1, device trees for all machines and u-boot
<das_j>
Is there a public binary build somewhere or do I have to build it myself?
<jannau>
das_j: the easiest way to check for the esp partuuid is to use strings on the boot.bin from the installer.
<jannau>
it should be still in the installer in /Volumes/Asahi/
<das_j>
whew, partuuid seems to be correct at least
rvalue has quit [Ping timeout: 480 seconds]
<jannau>
hmm, that leaves us with no good theory what's wrong though
<das_j>
well it leaves me with the theory that my m1n1 is roughly the correct size but broken. Currently investigating that
<das_j>
so boot.bin should be a concatenaction of m1n1, the dtbs and uboot, is that correct?
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
dsrt^ has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
dsrt^ has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
<das_j>
jannau: I built a new boot.bin with the most recent m1n1 patch release and I'm finally in a grub shell 🎉
<das_j>
(I prefer grub finding its config but that feels like my own fault)
thelounge7571340 has joined #asahi
<das_j>
anyway, thank you for explaining all the things to me! It really helped me getting around this unfamiliar environment
<eggnog12[m]>
how can i get clang >= 5.0?
<jannau>
das_j: I find the grub rescue shell unhelpful. if needed you can boot directly through u-boot and fix grub from linux
<jannau>
das_j: any idea how you broke the boot.bin? maybe missing dtbs?
<das_j>
jannau: I have now booted an ISO to find out why grub does not work. When catting the grub config, it says "fat_get_cluster: invalid cluster chain"
<das_j>
So I suspect a broken fat :/
<jannau>
eggnog12[m]: on the asahi distro? did you mean clang 15? that's not yet packaged. clang 14 and clang 13 are available
<eggnog12[m]>
jannau: trying to install something and it says i need clang >= 5.0
<eggnog12[m]>
i guess clang 14 would fit the requirement?
<jannau>
installing a package, building a PKGBUILD or manually compiling software? `pacman -S clang` installs clang-14
<eggnog12[m]>
hm, i have clang 14.0.6 but it still says i need clang >= 5.0
<jannau>
what is it? it sounds like it has a broken check for clang
<eggnog12[m]>
trying to build wine for arm64, seems like i was able to fix it with this https://wiki.winehq.org/Clang now I have a new error
<chadmed[m]>
ive never managed to get wine building with clang even on x86
<chadmed[m]>
i dont think it likes the llvm unwind lib
<eggnog12[m]>
chadmed[m]: it seems like it was going well for me until i got this...
<eggnog12[m]>
dlls/d3d12/d3d12_main.c:39:10: fatal error: 'vkd3d.h' file not found
<jannau>
bluetail: I think it's just /etc/skel/.zsh* in the installed images and not packaged
<chadmed[m]>
eggnog12: you need to install vkd3d or build wine without support for it
<eggnog12[m]>
can i just pacman that?
<chadmed[m]>
not sure tbh, probably not on alarm no
<eggnog12[m]>
i did pacman and it just said it's up to date already and it didnt fix my error
<eggnog12[m]>
chadmed[m]: how can i build without support for it?
<bluetail>
jannau theres nothing interesting in that folder :/ I really was hoping to get those tools that are used in stream, also by lina. I made my own alias for the same thing, but I wonder what else I can grab to make use of... For instance lina uses hex(238) to get what is 238 in decimal. I use dec-hex 238 to get what is 238 in hex. But its basically
<bluetail>
just 'printf '%x\n' $1'. When I watch the streams of either and see those tools used, it would be cooler if I could just use their zshrc so I dont have to figure on my own :)
<chadmed[m]>
bluetail: lmao thats a python function
<bluetail>
oooh
<bluetail>
I didnt knew python did that :D
<chadmed[m]>
you just fire up a python interpreter and you can use hex() and bin() to get a base10 number in hex or binary
<bluetail>
ty
thelounge7571340 has quit [Remote host closed the connection]
SSJGZ has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi
chipxxx has joined #asahi
SSJGZ has joined #asahi
<eggnog12[m]>
okay i got a "Wine build complete" message but wine --version returns command not found: wine
<chadmed[m]>
If you havent installed it yet it’s not going to be in your PATH
<eggnog12[m]>
oh so theres another step after building?
<waldi>
follow the documentation?
babble has joined #asahi
amarioguy has joined #asahi
<tpw_rules>
so what causes packages to get into asahi from asahi-dev
dabaum|2er0 has joined #asahi
<tpw_rules>
das_j: what computer do you have? did i break your m1n1?
<Tramtrist>
ah two finger swipe is now in firefox .. good stuff
<das_j>
tpw_rules: mac mini... but I guess it's the broken fat for some reason
<tpw_rules>
oh i see. so just a coincidence. i've never had that happen to me and i make sure to install and boot all my releases
<das_j>
currently struggling with our custom iso (does not load on aarch64 yet) and with replacing the logo in the os selector
<das_j>
tpw_rules: yeah it was about a power outage we had at the office :/ really bad luck it seems
<tpw_rules>
are you now on the effort to make nixos on m1 an official thing?
<das_j>
tpw_rules: no, but it makes me happy to see the correct logo :D
<das_j>
it's already in m1n1 (as you probably know)
babble has quit []
<tpw_rules>
yes, i saw, thank you! where did you get a suitable logo?
<tpw_rules>
and not sure what you mean by "our custom iso"?
<das_j>
we (helsinki) have our own iso with our own kernel and stuff
<das_j>
I got the logo by converting a svg (our own logo currently but we could also use the official flake)
<tpw_rules>
ahh. does this mean i am entitled to consulting fees? :)
<tpw_rules>
it looks like you are in better shape now that u-boot works again but i did write up in my nixos guide how to completely repave and restore the mac from scratch if something worse happens with the corruption
<das_j>
yeah I saw but I didn't want to reinstall everything
<eggnog12[m]>
i think i got wine installed and in my path properly, but now running
<eggnog12[m]>
sudo wine --version
<eggnog12[m]>
gives me this: segmentation fault (core dumped)
<das_j>
got the logo in <3
amarioguy has quit [Remote host closed the connection]
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
Stroller has joined #asahi
chipxxx has quit [Read error: Connection reset by peer]
off^ has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
kiritokamui has joined #asahi
<kiritokamui>
hi
<kiritokamui>
H
<kiritokamui>
Im using Asahi rn but I would like to boot on mac os
<kiritokamui>
How can I do that ?
<kiritokamui>
by default it boots on Asahi and event when I press for a long time on the power button it does not show "start-up" options
<kiritokamui>
but only u-boot and asahi logo
<jannau>
kiritokamui: that sounds as if you're not holding the power button long enough
<waldi>
it even tells you?
<kiritokamui>
jannau: I retried 3 times but maybe your right
<BradPitcher[m]>
It does take a surprisingly long time
<kiritokamui>
BradPitcher: ok I'll retry maybe I didnt hold the power button long enought
kiritokamui has left #asahi ["rebooting"]
<jannau>
kiritokamui: I assume this is mac mini or studio. The power led get's less bright when you can stop holding the power button. but to be safe hold it until the diosplay turns on
kiritokamui has joined #asahi
<kiritokamui>
Everything worked!
<kiritokamui>
Its just that I was releasing the button after 2-3 seconds
<kiritokamui>
But you need to hold it 10 seconds
<kiritokamui>
😅 kinda stupid
kiritokamui has left #asahi [#asahi]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
amarioguy has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
dubk has quit [Quit: Konversation terminated!]
bisko has joined #asahi
gladiac has joined #asahi
off^ has quit [Ping timeout: 480 seconds]
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
Gaspare has joined #asahi
ten156 has joined #asahi
Treibholz has joined #asahi
Gaspare has quit [Ping timeout: 480 seconds]
thelounge7571340 has quit [Remote host closed the connection]
nicolas17 has joined #asahi
off^ has joined #asahi
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
ptudor has joined #asahi
nsklaus has joined #asahi
thelounge7571340 has joined #asahi
nsklaus_ has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
Stroller has quit [Ping timeout: 480 seconds]
off^ has quit [Ping timeout: 480 seconds]
off^ has joined #asahi
Stroller has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Ping timeout: 480 seconds]