ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
jamespmo_ has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi-alt
renatorabelo has joined #asahi-alt
UserC2 has joined #asahi-alt
renatorabelo has quit [Read error: Connection reset by peer]
<zerdox>
chadmed: hi again! i am successfully configuring my system and it's time to try some sound. i found your repo for audio support for macbook pros. is there a way to use speakers or 3.5 headphones on air 2020?
<zerdox>
i've installed pipewire but get no sound. currently i am launching everything with `gentoo-pipewire-launcher`. but instead i get some load squeaky noise from my headphones even when i don't play anything. when i try to, noises disappear but still no sound
UserC2 has quit [Quit: Page closed]
MichaelLong has quit [Remote host closed the connection]
MichaelLong has joined #asahi-alt
<zerdox>
hm.. i've checked support table and it should be fine
zerdox has quit [Remote host closed the connection]
<chadmed>
zerdox: its possible your alsamixer settings are wrong. there are two options that select the routing mux for the speakers and headphone jack
<chadmed>
the headphone jack should be set to "primary" and the speakers to "secondary"
<chadmed>
set this in alsamixer, set the alsasound service to the default runlevel, then reboot
<chadmed>
speakers are not supported on any machine yet because they are unsafe to use and therefore i will not tell you how to enable them
<chadmed>
but the jack should work out of the box
<jannau>
also make sure media-libs/alsa-ucm-conf-asahi is installed
<chadmed>
pipewire is still broken with that isnt it?
<jannau>
the only issue I'm aware of was fixed a long time ago (at least half a year)
<jannau>
asahi linux switched to pipewire without complaints as far as I'm aware
nsklaus has joined #asahi-alt
jamespmorgan has joined #asahi-alt
jamespmo_ has quit [Ping timeout: 480 seconds]
jamespmo_ has joined #asahi-alt
cylm has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
yuka has quit [Remote host closed the connection]
possiblemeatball has joined #asahi-alt
possiblemeatball has quit [Remote host closed the connection]
<LvlAndFarm>
Hi all, I am planning a hobby project for a minimal OS on the M1. I've tried to first see if I could emulate something on QEMU but there is no M1 guest support for QEMU. I'm now wondering how I can boot an ELF file as a kernel on the M1. I've read about m1n1 and I'm wondering if there's a quick guide to get started with it
<ChaosPrincess>
LvlAndFarm: if you want truly minimal, diy kernel, compile it into a flat binary file, then look at --lowest-virtual-address and --entry-point commands of kmutil
<j`ey>
a minimal OS for the m1 is quite a big project still
<LvlAndFarm>
Of course, my goal for now is to get something displayed on the screen, but I realise I am throwing myself in the deep end and seeing what I can get to work
<j`ey>
if you use m1n1, it will set up a device tree with a simple-framebuffer node, you can write to that address to get stuff shown on the screen
yuka has joined #asahi-alt
LvlAndFarm has quit [Remote host closed the connection]
zerdox has joined #asahi-alt
nsklaus has quit [Quit: ZZZzzz…]
cylm_ has joined #asahi-alt
pthariensflame has joined #asahi-alt
cylm_ has quit [Quit: WeeChat 3.8]
pthariensflame has quit []
pthariensflame has joined #asahi-alt
pthariensflame has quit []
nsklaus has joined #asahi-alt
<zerdox>
thanks chadmed and jannau. i've got some sound now by enabling service and installing ucm conf. but the issue with tearing sounds didn't go away. in dmesg i got lots of errors like this, when I stop playing any audio: https://pastebin.com/mSynFQV1
<zerdox>
i guess i would better place it in #asahi?
zerdox has quit [Ping timeout: 480 seconds]
ChaosPrincess has quit [Quit: WeeChat 3.8]
ChaosPrincess has joined #asahi-alt
nela has quit [Ping timeout: 480 seconds]
nela has joined #asahi-alt
<chadmed>
never seen that error before, but i dont have a machine with cs42l83 so i cant help there sorry