#
…

2022-09-25

00:05thelounge7571340 has joined #asahi
00:07BradPitcher[m] has joined #asahi
00:22amarioguy has quit [Remote host closed the connection]
00:23BradPitcher[m]👋Hi everyone, I installed Asahi yesterday and I'm blown away at how great this is! 🎉
00:25BradPitcher[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?
00:25BradPitcher[m]I'm using a new user I created after installation, maybe I need to add this user to a group? 🤷
00:28chadmed[m]Add your user to the audio group and log back in
00:29chadmed[m]Usually a good idea to add yourself to audio and video at the very least
00:38BradPitcher[m]Shoot still nothing, my groups are now `network rfkill video audio wheel brad`
00:40BradPitcher[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
00:46BradPitcher[m]Sorry, for the noise, I found them: `pacman -S linux-asahi-headers`
00:51chadmed[m]Oh right i just assumed youd made the DT edits. Audio doesnt work by default, check the wiki
00:57BradPitcher[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
01:03chadmed[m]Do you have the bluetooth service enabled? Idk if we have it enabled out of the box
01:04chadmed[m]sudo systemctl enable bluetooth && sudo systemctl start bluetooth
01:04chadmed[m]Other than that it’s probably your device
01:04thelounge7571340 has quit [Remote host closed the connection]
01:04BradPitcher[m]I assume it has to be enabled in order to pair the device right? I'm paired successfully, it says it's connected
01:07BradPitcher[m]I checked and the bluetooth service is running, but there are some errors in the logs. I'll see if they lead anywhere
01:08thelounge7571340 has joined #asahi
01:22nicolas17chadmed[m]: bluetooth audio shouldn't need DT edits right?
01:23hmon[m]airpods are shaky though
01:24BradPitcher[m]I've got a beats solo pro. I do see some promising stuff in `journalctl -b`... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/togJmJPnbxmomgEFIvYrMjdu>)
01:24chadmed[m]nicolas17: yeah lmao i misread. I had just woken up and hadnt had a coffee :P
01:33jofes[m] has joined #asahi
01:45Brainium has quit [Quit: Konversation terminated!]
01:46BradPitcher[m]I ran `aplay -l` with my bt headphones connected and get `aplay: device_list:275: no soundcards found...`. Should there be something there?
02:08thelounge7571340 has quit [Remote host closed the connection]
02:12thelounge7571340 has joined #asahi
03:11thelounge7571340 has quit [Remote host closed the connection]
03:13thelounge7571340 has joined #asahi
03:18nicolas17BradPitcher[m]: try "pactl list" if you're running pulseaudio (I don't know if asahi uses pulseaudio by default)
03:36BradPitcher[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
03:37BradPitcher[m]I notice that the number of sinks didn't change when I connected to the headphones
03:38nicolas17 has quit [Ping timeout: 480 seconds]
04:01Stroller has quit [Quit: Stroller]
04:13thelounge7571340 has quit [Remote host closed the connection]
04:15thelounge7571340 has joined #asahi
04:16off^ has quit [Remote host closed the connection]
04:32BradPitcher[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 🎉🎉
05:14thelounge7571340 has quit [Remote host closed the connection]
05:17thelounge7571340 has joined #asahi
05:28vx has quit [Quit: G-line: User has been permanently banned from this network.]
05:28vx has joined #asahi
06:10SSJGZ has joined #asahi
06:16thelounge7571340 has quit [Remote host closed the connection]
06:19thelounge7571340 has joined #asahi
07:00duban6 has quit []
07:15chadmed has joined #asahi
07:16chadmed has quit [Remote host closed the connection]
07:17duban6 has joined #asahi
07:19thelounge7571340 has quit [Remote host closed the connection]
07:20thelounge7571340 has joined #asahi
07:22chadmed has joined #asahi
07:37marcanbluetail: asahi linux actually ships with a cut down version of my .zshrc
07:38marcanI don't think I have too much fancy stuff in my dotfiles other than that? just shell aliases and such
07:44chadmed_ has joined #asahi
08:00zkrx_ has joined #asahi
08:00zkrx is now known as Guest1316
08:00zkrx_ is now known as zkrx
08:06Guest1316 has quit [Ping timeout: 480 seconds]
08:14zkrx has quit []
08:16zkrx has joined #asahi
08:20thelounge7571340 has quit [Remote host closed the connection]
08:21zkrx has quit []
08:22thelounge7571340 has joined #asahi
08:22zkrx has joined #asahi
08:29Dcow[m]That’s a thing and I recommend that for zsh users
08:31bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:43das_j has joined #asahi
08:44das_jHey 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
08:51kprasadvnsi[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?
09:00jannaukprasadvnsi[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
09:01jannaudas_j: does "m1n1/boot.bin" on the ESP / FAT32 partition still exists and is ~1.8MB large?
09:02das_jjannau: I will tell you once I got my macos password recovered :/ Turns out I don't know it
09:02kprasadvnsi[m]jannau: I have tested it with two keyboards and both results in boot loop.
09:05jannaukprasadvnsi[m]: the keyboards are directly connected and not through an USB hub? that is not known then
09:05jannaudas_j: as long as you don't have filevault enabled you can check it in macos recovery
09:06chadmed_1000 IQ U-Boot breakers: only own keyboards with built in hubs :P
09:07chadmed_if your keeb has a builtin hub or youre connecting it to the machine via a hub then yes thats a known bug
09:09kprasadvnsi[m]I have directly connected to the keyboard and my keyboard doesn't have usb hub feature. It's a simple mechanical keyboard.
09:15jannauthat looks like the sketchy u-boot USB stack. it can't deal with usb devices disconnecting
09:17jannauchadmed_: 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
09:21thelounge7571340 has quit [Remote host closed the connection]
09:23das_jjannau: m1n1/boot.bin exists and is ~1.7MB
09:26thelounge7571340 has joined #asahi
09:31jannauhas it a recent modification date? i.e. just before it stopped booting?
09:32das_jnone that I know of
09:32das_jumm 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
09:32zkrx has quit []
09:32das_jperfekt…
09:33das_j*perfect
09:34das_jSo can I assume I have a broken boot.bin and I need to provide a working one in the same location?
09:34jannauthat probably just means it was modified before the clock was set. sadly nothing we can learn from the date
09:34zkrx has joined #asahi
09:35das_jAh you might not know this but nix sets the mtime of all files it produces to 1979 to ensure reproducability
09:35das_jCalling stat on the file shows that it was created on the 5th of september which is when that mac was initially set up
09:36jannauthat is one possibility. another one (less likely) is that the partuuid of the ESP partition was modified
09:36das_jIs there a way I can check the expected partuuid?
09:38jannauif it's the initial file as installed I would for now assume that it is not the problem
09:39das_jSo if I understand your messages correctly, is uboot built into the m1n1 boot.bin?
09:41jannauyes, m1n1/boot.bin contains m1n1, device trees for all machines and u-boot
09:44das_jIs there a public binary build somewhere or do I have to build it myself?
09:44jannaudas_j: the easiest way to check for the esp partuuid is to use strings on the boot.bin from the installer.
09:45jannauit should be still in the installer in /Volumes/Asahi/
10:03das_jwhew, partuuid seems to be correct at least
10:06rvalue has quit [Ping timeout: 480 seconds]
10:07jannauhmm, that leaves us with no good theory what's wrong though
10:08das_jwell it leaves me with the theory that my m1n1 is roughly the correct size but broken. Currently investigating that
10:08das_jso boot.bin should be a concatenaction of m1n1, the dtbs and uboot, is that correct?
10:12ptudor_ is now known as ptudor
10:13jannauyes. I think however the easier way forward would be to start using the m1n1's proxy interface over usb from a second computer
10:14chadmed_ has quit [Remote host closed the connection]
10:14jannauthe problem is I'm not 100% sure how to do that with the installed m1n1
10:15chadmed has quit [Read error: No route to host]
10:20chadmed has joined #asahi
10:25thelounge7571340 has quit [Remote host closed the connection]
10:28thelounge7571340 has joined #asahi
10:30chadmed has quit [Quit: Konversation terminated!]
10:40rvalue has joined #asahi
10:51rvalue has quit [Ping timeout: 480 seconds]
10:53gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:53gabuscus has joined #asahi
10:53rvalue has joined #asahi
10:57zkrx has quit []
10:59zkrx has joined #asahi
11:16vx has quit [Quit: G-line: User has been permanently banned from this network.]
11:16vx has joined #asahi
11:25dsrt^ has joined #asahi
11:28thelounge7571340 has quit [Remote host closed the connection]
11:30dsrt^ has quit [Remote host closed the connection]
11:32thelounge7571340 has joined #asahi
12:32thelounge7571340 has quit [Remote host closed the connection]
12:33das_jjannau: I built a new boot.bin with the most recent m1n1 patch release and I'm finally in a grub shell 🎉
12:34das_j(I prefer grub finding its config but that feels like my own fault)
12:36thelounge7571340 has joined #asahi
12:37das_janyway, thank you for explaining all the things to me! It really helped me getting around this unfamiliar environment
12:48eggnog12[m]how can i get clang >= 5.0?
12:49jannaudas_j: I find the grub rescue shell unhelpful. if needed you can boot directly through u-boot and fix grub from linux
12:50jannaudas_j: any idea how you broke the boot.bin? maybe missing dtbs?
12:52das_jjannau: 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"
12:52das_jSo I suspect a broken fat :/
12:54jannaueggnog12[m]: on the asahi distro? did you mean clang 15? that's not yet packaged. clang 14 and clang 13 are available
12:55eggnog12[m]jannau: trying to install something and it says i need clang >= 5.0
12:56eggnog12[m]i guess clang 14 would fit the requirement?
12:59jannauinstalling a package, building a PKGBUILD or manually compiling software? `pacman -S clang` installs clang-14
13:01eggnog12[m]hm, i have clang 14.0.6 but it still says i need clang >= 5.0
13:08jannauwhat is it? it sounds like it has a broken check for clang
13:14eggnog12[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
13:15chadmed[m]ive never managed to get wine building with clang even on x86
13:15bluetailwhich package would include the original .zshrc file? https://cdn.asahilinux.org/
13:15chadmed[m]i dont think it likes the llvm unwind lib
13:17eggnog12[m]chadmed[m]: it seems like it was going well for me until i got this...
13:17eggnog12[m]dlls/d3d12/d3d12_main.c:39:10: fatal error: 'vkd3d.h' file not found
13:17jannaubluetail: I think it's just /etc/skel/.zsh* in the installed images and not packaged
13:18chadmed[m]eggnog12: you need to install vkd3d or build wine without support for it
13:18eggnog12[m]can i just pacman that?
13:19chadmed[m]not sure tbh, probably not on alarm no
13:20eggnog12[m]i did pacman and it just said it's up to date already and it didnt fix my error
13:20eggnog12[m]chadmed[m]: how can i build without support for it?
13:23bluetailjannau 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
13:23bluetailjust '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 :)
13:24chadmed[m]bluetail: lmao thats a python function
13:24bluetailI didnt knew python did that :D
13:24chadmed[m]you just fire up a python interpreter and you can use hex() and bin() to get a base10 number in hex or binary
13:35thelounge7571340 has quit [Remote host closed the connection]
13:38SSJGZ has quit [Ping timeout: 480 seconds]
13:39thelounge7571340 has joined #asahi
13:39chipxxx has joined #asahi
13:41SSJGZ has joined #asahi
13:46eggnog12[m]okay i got a "Wine build complete" message but wine --version returns command not found: wine
13:48chadmed[m]If you havent installed it yet it’s not going to be in your PATH
13:49eggnog12[m]oh so theres another step after building?
13:52waldifollow the documentation?
13:53babble has joined #asahi
13:59amarioguy has joined #asahi
14:00tpw_rulesso what causes packages to get into asahi from asahi-dev
14:01dabaum|2er0 has joined #asahi
14:02tpw_rulesdas_j: what computer do you have? did i break your m1n1?
14:02Tramtristah two finger swipe is now in firefox .. good stuff
14:02das_jtpw_rules: mac mini... but I guess it's the broken fat for some reason
14:03tpw_rulesoh 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
14:04das_jcurrently struggling with our custom iso (does not load on aarch64 yet) and with replacing the logo in the os selector
14:04das_jtpw_rules: yeah it was about a power outage we had at the office :/ really bad luck it seems
14:04tpw_rulesare you now on the effort to make nixos on m1 an official thing?
14:04das_jtpw_rules: no, but it makes me happy to see the correct logo :D
14:06das_jit's already in m1n1 (as you probably know)
14:06babble has quit []
14:06tpw_rulesyes, i saw, thank you! where did you get a suitable logo?
14:07tpw_rulesand not sure what you mean by "our custom iso"?
14:07das_jwe (helsinki) have our own iso with our own kernel and stuff
14:07das_jI got the logo by converting a svg (our own logo currently but we could also use the official flake)
14:08tpw_rulesahh. does this mean i am entitled to consulting fees? :)
14:09das_jummmmmmm :D
14:09das_j(x) Prefer not to answer
14:09das_jin hope the bridge bridges is properly:
14:10tpw_rulesyeah that worked
14:10tpw_rulesit 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
14:11das_jyeah I saw but I didn't want to reinstall everything
14:21eggnog12[m]i think i got wine installed and in my path properly, but now running
14:21eggnog12[m]sudo wine --version
14:21eggnog12[m]gives me this: segmentation fault (core dumped)
14:21das_jgot the logo in <3
14:33amarioguy has quit [Remote host closed the connection]
14:39thelounge7571340 has quit [Remote host closed the connection]
14:43thelounge7571340 has joined #asahi
14:53Stroller has joined #asahi
14:58chipxxx has quit [Read error: Connection reset by peer]
15:19off^ has joined #asahi
15:43thelounge7571340 has quit [Remote host closed the connection]
15:47thelounge7571340 has joined #asahi
15:58kiritokamui has joined #asahi
15:59kiritokamuiIm using Asahi rn but I would like to boot on mac os
15:59kiritokamuiHow can I do that ?
16:00kiritokamuiby 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
16:00kiritokamuibut only u-boot and asahi logo
16:02jannaukiritokamui: that sounds as if you're not holding the power button long enough
16:02waldiit even tells you?
16:03kiritokamuijannau: I retried 3 times but maybe your right
16:03BradPitcher[m]It does take a surprisingly long time
16:04kiritokamuiBradPitcher: ok I'll retry maybe I didnt hold the power button long enought
16:05kiritokamui has left #asahi ["rebooting"]
16:05jannaukiritokamui: 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
16:16kiritokamui has joined #asahi
16:17kiritokamuiEverything worked!
16:17kiritokamuiIts just that I was releasing the button after 2-3 seconds
16:17kiritokamuiBut you need to hold it 10 seconds
16:18kiritokamui😅 kinda stupid
16:19kiritokamui has left #asahi [#asahi]
16:35jluthra has quit [Remote host closed the connection]
16:35jluthra has joined #asahi
16:38vx has quit [Quit: G-line: User has been permanently banned from this network.]
16:38vx has joined #asahi
16:41amarioguy has joined #asahi
16:46thelounge7571340 has quit [Remote host closed the connection]
16:51thelounge7571340 has joined #asahi
16:54vx has quit [Quit: G-line: User has been permanently banned from this network.]
16:54vx has joined #asahi
17:03dubk has quit [Quit: Konversation terminated!]
17:07bisko has joined #asahi
17:35gladiac has joined #asahi
17:48off^ has quit [Ping timeout: 480 seconds]
17:51thelounge7571340 has quit [Remote host closed the connection]
17:52thelounge7571340 has joined #asahi
18:04Gaspare has joined #asahi
18:06ten156 has joined #asahi
18:09Treibholz has joined #asahi
18:12Gaspare has quit [Ping timeout: 480 seconds]
18:51thelounge7571340 has quit [Remote host closed the connection]
19:09nicolas17 has joined #asahi
19:18off^ has joined #asahi
19:18ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
19:50ptudor has joined #asahi
19:55nsklaus has joined #asahi
19:58thelounge7571340 has joined #asahi
20:01nsklaus_ has quit [Ping timeout: 480 seconds]
20:03gladiac has quit [Quit: k thx bye]
20:21Stroller has quit [Ping timeout: 480 seconds]
20:26off^ has quit [Ping timeout: 480 seconds]
20:44off^ has joined #asahi
20:53Stroller has joined #asahi
20:58thelounge7571340 has quit [Remote host closed the connection]
21:02thelounge7571340 has joined #asahi
21:43thelounge7571340 has quit [Ping timeout: 480 seconds]
21:54SSJGZ has quit [Ping timeout: 480 seconds]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:00yrlf has joined #asahi
22:09vx has quit [Quit: G-line: User has been permanently banned from this network.]
22:09vx has joined #asahi
22:43thelounge7571340 has joined #asahi
22:59vx has quit [Quit: G-line: User has been permanently banned from this network.]
22:59vx has joined #asahi
23:20povik has quit [Remote host closed the connection]
23:42thelounge7571340 has quit [Remote host closed the connection]
23:47thelounge7571340 has joined #asahi
23:57vx has quit [Quit: G-line: User has been permanently banned from this network.]
23:58vx has joined #asahi
…