marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Dcow has joined #asahi
tpw_rules has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
artemist has quit [Quit: artemist]
artemist has joined #asahi
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
balrog has quit [Quit: Bye]
balrog has joined #asahi
Dcow has joined #asahi
kov has joined #asahi
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkapex3 has joined #asahi
darkapex2 has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
c10l8 is now known as c10l
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
yuyichao has quit []
yuyichao has joined #asahi
nzzz has joined #asahi
PhilippvK has joined #asahi
kov has quit [Quit: Coyote finally caught me]
phiologe has quit [Ping timeout: 480 seconds]
kov has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
the_lanetly_052__ has joined #asahi
<tpw_rules> how might a non-mac-mini owner get network access under linux? is a usb to ethernet adapter and usb A to C adapter, running the latest linux-asahi kernel, and plugging everything in before turning the machine on sufficient?
sailorek1234 has joined #asahi
Dcow has joined #asahi
<marcan> tpw_rules: yes
<marcan> tpw_rules: hotplug also works fine with linux-asahi
<marcan> this is what I do on my j314s
<landscape15[m]> marcan: it doesn’t work for me, even with the custom m1n1 macho (Image.gz > j293 > Initrd)
<landscape15[m]> It seems I still need the patches to get keyboard and usb working
<marcan> landscape15[m]: those patches are in linux-asahi
<landscape15[m]> marcan: maybe I should build it again.
<marcan> I just force pushed my current branch, but I'm pretty sure those things have worked for a while now
<landscape15[m]> Ok I’ll try. Do you think Initrd could be the problem? I both tried Debian and Ubuntu
the_lanetly_052___ has joined #asahi
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
<NightRaven[m]> any idea when i do... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/dvfjUgDbDDFBqszvnYvdvaKh)
<NightRaven[m]> ```cat new.macho <(echo 'boot-args=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Clean.gz t8103-j293.dtb > nr.macho```
<mps> landscape15[m]: yesterday I've built linux-asahi and see that hotplug usb work
<mps> also keyboard and touchpad
<mps> NightRaven[m]: I see this 'root=/dev/sda', are you sure it is not 'root=/dev/sdaX' something where X is partition number
<NightRaven[m]> mps: i am sure it is /dev/sda
<mps> ok
<NightRaven[m]> but i have no idea why it is showing me those errors
<landscape15[m]> NightRaven: what does it say without args?
<landscape15[m]> mps: does it work without m1n1 client (with cat m1n1 method)?
<mps> landscape15[m]: what you mean by 'm1n1 client', I don't understand this
<landscape15[m]> mps: i mean proxyclient, sorry
<j`ey> NightRaven[m]: are you using the fish shell again?
<mps> landscape15[m]: aha. I don't use proxyclient but install resulting macho with kmutil
<landscape15[m]> mps: yeah it’s the fastest way. I’ll try again, hoping that the external usb got recognized.
<NightRaven[m]> <j`ey> "NightRaven: are you using the..." <- Ohhh ok let me try that
<NightRaven[m]> Without fish
<j`ey> almost like you had this exact same problem before..
<NightRaven[m]> I forgot about it
Dcow has joined #asahi
riker77 has quit [Quit: Quitting IRC - gone for good...]
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
riker77 has joined #asahi
_jannau_ has quit [Ping timeout: 480 seconds]
jannau has quit [Ping timeout: 480 seconds]
thunfisch has quit [Ping timeout: 480 seconds]
_jannau_ has joined #asahi
<amw> Got latest Asahi tree rev a2281d64fdbc with https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/config-keyboard+nvme config using nvme partition as root and mba keyboard is working perfectly!
<amw> Installed debian bullseye rootfs and have USB ethernet dongle working - needed to copy over the /lib/firmware for that
jannau has joined #asahi
<amw> Now just need a u-boot or something to boot with out m1n1 via USB
<amw> Also need to work out how to install X11 over the vanilla FB
<mps> amw: I tried with FB but xorg segfaults, so I switched to simpledrm and it works fine
<mps> note just in case you get same problem
<amw> mps: OK thanks - I need to nut out which debian package to install - did that years ago
Dcow__ has joined #asahi
Dcow_ has quit [Ping timeout: 480 seconds]
<NightRaven[m]> This keeps showing any idea ?
<NightRaven[m]> The macho file is completely right
<j`ey> run `file sda.macho`
<landscape15[m]> NightRaven: it seems to be broken
<NightRaven[m]> j`ey: Ok so it shows
<j`ey> looks right
<NightRaven[m]> yep
<j`ey> well from linux I have: m1n1-payload.macho: Mach-O 64-bit arm64 filetype=12, flags:<|DYLDLINK>
<j`ey> dunno if macOS shows it slightly different
<NightRaven[m]> this was the command i used
<NightRaven[m]> ```cat new.macho <(echo 'boot-args=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Clean.gz t8103-j293.dtb > nr.macho```
<landscape15[m]> What is the different between using rootwait and rootdelay? Just curious
<NightRaven[m]> tbh i do not know i got the command from Glanzmann
<mini> I've got to admit, for mine I cheated - I built the kernel commandline into the kernel when I built it
<mini> (it has a default option)
the_lanetly_052 has joined #asahi
<j`ey> landscape15[m]: delay = delay N secs, wait = waits forever
aleasto has joined #asahi
<landscape15[m]> j`ey: ok thanks. What happens after N seconds?
<j`ey> it waits N secs, then tries to mount the rootfs
<NightRaven[m]> <NightRaven[m]> "20211216_111442_5047688550443643..." <- could it be a firmware thing ?
<Glanzmann> amw: On Debian testing xorg works for me. Fore firefox I have to run fbdev driver for xorg: curl https://ab34.de/u/device.conf > /etc/X11/xorg.conf.d/device.conf
<mps> Glanzmann: iiuc, firefox also doesn't work for you with simpledrm?
as400 has joined #asahi
<as400> Glanzmann: can you check if Chromium works for you ?
somkls^ has quit [Ping timeout: 480 seconds]
<NightRaven[m]> <NightRaven[m]> "could it be a firmware thing ?" <- any idea should i rebuild the macho file again ? or should i try a prebuild one ?
<amw> Glanzmann: Hmm I've gotten the simpledrm (CONFIG_DRM_SIMPLEDRM) and xorg fbdev + xdm installed and working
<amw> *BUT* I can't get the mouse / touch panel to work so I can't move the mouse so I can't login now!
<amw> Kind'a locked myself out :-(
<NightRaven[m]> Glanzmann: Question is https://ab34.de/u/nr.macho the same from last time ?
sppdqd[m] has joined #asahi
<NightRaven[m]> <Glanzmann> "NightRaven: ping https://ab34.de..." <- like the one here
<kettenis> If some folks here could run the following command on macOS on their laptops:
tom-w has quit [Quit: Connection closed for inactivity]
<kettenis> ioreg -l | grep -A5 "Apple Internal Keyboard / Trackpad" | grep ProductID
<kettenis> please report the number reported, as well as the laptop model and the keyboard layout/language
<NightRaven[m]> ```
<steffen[m]> Air, german keyboard: 641
<legarts[m]> 641
<kettenis> NightRaven[m]: Can you look at https://support.apple.com/en-us/HT201794 and confirm that this is a keyboard with ANSI layout?
<NightRaven[m]> Oh ok 2 mins
thunfisch has joined #asahi
<mps> kettenis: I'm building kernel right now, will post result on mbp j293
blzd has quit [Remote host closed the connection]
<as400> kettenis: 834, MBP 14 2021, ISO, International English
<legarts[m]> Got 833 as well, MBP 2020 M1, ISO, International English
<NightRaven[m]> <kettenis> "NightRaven: Can you look at..." <- it is
<mps> kettenis: also I got 833 on mbp j293
thunfisch has quit [Quit: frrrp!]
thunfisch has joined #asahi
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Glanzmann> as400: Debian testing has no chromium. But I can downgrade to debian stable and try later.
<Glanzmann> amw: Strange, for me the mouse did work out of the box, I did not do anything. I just used the upstream kernel + jannau patch + jannaus config + enabled usb sound.
<Glanzmann> amw: What OS do you have and what kind of m1 hardware?
<Glanzmann> NightRaven[m]: I have not modifed it.
<NightRaven[m]> i think it is the firmware
<NightRaven[m]> that has broken it
<NightRaven[m]> cause i keep getting this
<j`ey> well did you update macOS?
<NightRaven[m]> yes
<Glanzmann> NightRaven[m]: Yesterday, you asked me how to delete the m1n1 partion, if you have done.
<NightRaven[m]> Glanzmann: yea
<NightRaven[m]> but i updated it after that
<NightRaven[m]> but the kmutil does not work
<Glanzmann> NightRaven[m]: In the screenshot you try to put m1n1 not on the m1n1 partition, but on Macos.
<Glanzmann> So as a result you will no longer be able to boot macos until you have reverted that.
<NightRaven[m]> Glanzmann: because i do not have the m1n1 partion
<NightRaven[m]> that is broken
<Glanzmann> NightRaven[m]: https://ab34.de/u/asahi.txt to recreate it.
<NightRaven[m]> but first i want too boot if of my external hdd last time i did that command it worked on My Macintosh Hd
<NightRaven[m]> s/Hd/HD/
<NightRaven[m]> i will do the asahi partion later and the nvme right now i want to boot up on my hdd /dev/sda
<mini> kettenis: 834, MBP 14" 2021, ISO, UK English
<NightRaven[m]> last time that worked perfectly fine but now macho complains that
<NightRaven[m]> kmutil complains *
<as400> Glanzmann: upgrade to unstable and try chromium. You'll get newer packages with unstable.
karlyeurl has quit [Quit: No Ping reply in 180 seconds.]
karlyeurl has joined #asahi
<NightRaven[m]> <Glanzmann> "NightRaven: https://ab34.de/u/..."; <- if i create the m1n1 partion it will still give me the same error
<NightRaven[m]> for now all i want to do is try to boot it from my external hdd the macho file is correct the rootFS is correct and the /dev/sda i am not sure the problem could be
<Glanzmann> NightRaven[m]: Maybe I should make you step-by-step guide as video. But I'm busy at the moment.
<mps> good news, firefox works with latest linux-asahi \o/
<Glanzmann> mps: How?
<Glanzmann> mps: Where can I get that from?
<Glanzmann> Does someone know what the root cause was?
<Glanzmann> mps: Will try it.
<mps> git clone --depth=1 ....
<Glanzmann> mps: I always use: git clone --reference linux-2.6 https://github.com/AsahiLinux/linux asahi (already done)
<Glanzmann> Default branch?
<Glanzmann> Building now.
<mps> I do git clone --depth=1 https://github.com/AsahiLinux/linux.git
<Glanzmann> mps: This only gets the commits from the most recent commit?
<Glanzmann> s/commits/objects/
<mps> yes, I don't need all git commits/refs/objects
<Glanzmann> I recompiled the kernel and booted it. I can confirm that firefox works with modesettings xorg and simpledrm. Does someone know what it was?
<Glanzmann> This is great news, thank you for the heads up.
<NightRaven[m]> <Glanzmann> "NightRaven: Maybe I should..." <- i know the steps
<mps> Glanzmann: I have no idea, tbh :)
<mps> heisenbug in pre -rc5 kernels
<Glanzmann> I see. :-)
<j`ey> asahi branch is based on linux-next, not rcs currently
<NightRaven[m]> like it should work
<NightRaven[m]> normaly
<NightRaven[m]> normally*
<mps> j`ey: aha, but Makefile have -rc5
<NightRaven[m]> even your macho file does not work
<j`ey> NightRaven[m]: make sure in system preferences that that Volume is selected as the startup disk
<NightRaven[m]> i do not have an asahi volume
<NightRaven[m]> this is the command i am using
<NightRaven[m]> ```kmutil configure-boot -c nr.macho -C -v /Volumes/Macintosh Hd
<NightRaven[m]> s/configure-boot -c nr.macho -C -v /Volumes/Macintosh Hd/```/
<NightRaven[m]> kmutil configure-boot -c nr.macho -C -v /Volumes/Macintosh HD
<NightRaven[m]> * ```
<NightRaven[m]> ```
<NightRaven[m]> kmutil configure-boot -c nr.macho -C -v /Volumes/Macintosh HD
<NightRaven[m]> i am using Macintosh HD since i want to boot from my hd
<NightRaven[m]> s/hd/hdd/
<NightRaven[m]> this worked last time
<NightRaven[m]> till i updated my mac os
ChaosPrincess has joined #asahi
<ChaosPrincess> _jannau_: ty, that helped
Gaspare has joined #asahi
sailorek1234 has quit []
Gaspare has quit [Remote host closed the connection]
wouter has quit [Ping timeout: 480 seconds]
wouter has joined #asahi
the_lanetly_052 has quit [Remote host closed the connection]
<Glanzmann> NightRaven[m]: Use the asahi installer and see if the issue persists. And maybe someone should check if kmutil no longer works in the way it should for most recent macos update.
<Glanzmann> I'll check it later myself.
<as400> I'm using 12.0.1 and kmutil works for me
<NightRaven[m]> I am using 12.1
<as400> I mean 12.1
the_lanetly_052 has joined #asahi
<NightRaven[m]> Ohh
<NightRaven[m]> Hmm
<Glanzmann> as400: But do you use the asahi installer, or do just kmutil on the macos partition?
<Glanzmann> mps: The modesetting driver is much faster as fbdev. It is a pleasure to work with that. Thank you for letting me know. :-)
yuyichao has quit [Ping timeout: 480 seconds]
<tpw_rules> amw: how did you decide on that config?
<as400> Glanzmann: I don't use installer. I created additional macos partition and use it there. So the originally installed system is left untouched.
<as400> but hoping that one of these days I will get rid of as much macos as I can :)
darkapex3 is now known as darkapex
<Glanzmann> as400: I see.
<Glanzmann> as400: What is your hardware and which Linux Distribution do you use?
<as400> Glanzmann: I have t6000-j314s (mbp 14) and I use Alarm
yuyichao has joined #asahi
<as400> btw - does the installer create additional macos partition by itself ? And copy all the needed files there ?
<Glanzmann> as400: Yes. 2.5 GB big one. You have to make the space beforehand. But you need to create your own Linux partition (easiest way is to do it with parted). See https://ab34.de/u/asahi.txt
<mps> Glanzmann: no. actually I don't have xf86-video-modesetting installed
<mps> s/no/np/
<ar> (i /29
<as400> So theoretically I can remove the macos completely right ? Can installer be run from 1TR ? Or it has to be run from macos ?
<tpw_rules> you can run the installer from 1TR, but you still need the stub macos partition
riker77 has quit [Quit: Quitting IRC - gone for good...]
<as400> tpw_rules: But if I remove all the macos partitions installer will create stub macos partition for me right ?
<j`ey> macOS is still needed for the system firmware updates, so it's likely a small, full-macOS install will be needed
<as400> I think once I've seen marcan saying that he is thinking about creating some process of updating firmware without macos. But I might be wrong.
<NightRaven[m]> So I have fully factory reset my mac but this still shows
<j`ey> you should try it on another partition
<j`ey> in case it's something weird/new that is causing it
<as400> NightRaven: it did not ask you for username and password ?
<NightRaven[m]> Nope no password
<NightRaven[m]> j`ey: Like what do you mean by add another partion ?
<NightRaven[m]> Asahi installer does not work
<NightRaven[m]> And I only want to boot from by HDD
<j`ey> have you done the bputil and csrutil steps?
<as400> That's what I wanted to ask j`ey
<NightRaven[m]> I have csrutil disable
<NightRaven[m]> And bputil -nckas but I will try again
<NightRaven[m]> s/nckas/nkcas/
<NightRaven[m]> Hmm ok
<NightRaven[m]> Ok did bputil -nckas
<NightRaven[m]> <NightRaven[m]> "20211216_154005_3236459718247445..." <- But still this
<ChaosPrincess> is it correct that the built-in keyboard does not work yet on laptops? (building kernel from github asahi branch)
<tpw_rules> i was under the impression that it did as of like a couple days ago, but i can't test
<j`ey> ChaosPrincess: kb works
<mps> ChaosPrincess: both works
<jannau> ChaosPrincess: keyboard and trackpad are working on linux-asahi but the drivers are work in progress and might still have sharp edges
<ChaosPrincess> ok, guess i went overboard with removing 'useless' stuff from .config, ty
<mps> both, keyboard and touchpad
<NightRaven[m]> Does anyone have a MacBook pro 13 inch 2021 with monetary 12.1 on it
<ChaosPrincess> aye
<NightRaven[m]> And does asahi work for you ?
<ChaosPrincess> i managed to boot to debian installer initrd
<ChaosPrincess> no kb yet as you can see above :P
<ChaosPrincess> NightRaven[m]: i had the same problem, solved by booting into macos, selecting asahi as a boot partition in preferences, then turning it off and entering recovery
<jannau> ChaosPrincess: in doubt select every config with APPLE in the nale
<ey3ball[m]> NightRaven: I encountered the same issue as you yesterday : brand new mbp 16 running 12.1 I can't get the mach-O file to be recognized either
<NightRaven[m]> ChaosPrincess: So you followed the installer ?
riker77 has joined #asahi
<ChaosPrincess> installer just worked(tm), i got that problem when i tried to manually update m1n1
<NightRaven[m]> Hmm
<NightRaven[m]> Ok I wil try it
<marcan> as400: you need a macos partition initially, as you need to have an admin user on it
<marcan> there is no way to install anything if you literally have zero containers; in fact, if you used to have one with an admin user and deleted it, I get the feeling you can't actually recover from that situation without a DFU flash
<marcan> because then the machine will have an owner you no longer know the UUID for, and thus can't authenticate as
<NightRaven[m]> What is the link for the .sh script
<as400> marcan: I have two of them original and the one I created for the purpose of installing m1n1. So if I now delete the second one it's still ok ? SInce I have the original, right ?
<marcan> yes, keep the first one you had, since that one is guaranteed to be machine owner
<as400> marcan: thx. Is there a chance for us that we could get free of macos at all ? Or it will rather stay this way forever ?
<marcan> there is no way of avoiding doing the initial macos setup / user creation
<marcan> you can install asahi after deleting macos *if* you copy the user identity file ahead of time; we don't currently have a flow for that and I'm not interested in adding it until we have very solid support in Linux for things like SEP user management / machine owners / firmware updates / etc
<marcan> once we know for sure we can live without macos, I might consider a "replace macos" install mode
<as400> marcan: fair enough
<marcan> until then I don't want to encourage that, though I won't stop you if you really want to nuke macos (you could just wipe the container after installing asahi, then using some partition mover tool to move asahi up into the free space)
<marcan> you won't be able to re-run the installer though, of course, without a primary macos
<marcan> that needs changes to support this flow
<marcan> I've considered doing something like copying the identity file to the iSCPreboot partition so it can outlive containers, but the whole thing is a bit dodgy anyway since that user is still tied to the macos user (e.g. if you delete it, kmutil stops working on the linux container)
<marcan> ideally we do a proper machine owner transfer on first Linux boot, once SEP support is done, and therefore create a proper separate user for linux
<as400> marcan: I don't know macos almost at all. Seems to me like they (Apple) overcomplicated some things unnecessarily.
<marcan> apple built the only decent consumer secureboot system
<marcan> (and made it work seamlessly with macos, while the inner workings are less obvious)
<as400> let me rephrase that - overcomplicated from out point of view
<as400> our
<marcan> I mean, sure, but it's all for reasonable reasons
<j`ey> its what enables asahi at all!
<as400> Agreed 100%
<sven> sep is going to be a lot fun eventually
<NightRaven[m]> <ey3ball[m]> "NightRaven: I encountered the..." <- Maybe Marcan knows
<NightRaven[m]> But I think it is a firmware thing
<ChaosPrincess> did setting the asahi partition as the target work?
<NightRaven[m]> The problem is I do not have an asahi partion I want to run it off my hdd
<ChaosPrincess> try running the installer then
<ChaosPrincess> oh, wait, you want to put m1n1 on your main macos install?
<NightRaven[m]> ChaosPrincess: Yes
<ChaosPrincess> NightRaven[m]: that error is solved by installing imagemagick
<NightRaven[m]> > <@nightraven0555:matrix.org> ```... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/uDnNPUosvBsDabFChMBIrucT)
<NightRaven[m]> Wait
<ChaosPrincess> and i think the asahi installer build is borked on macos, probably due to linux and macos cpio being different
<NightRaven[m]> This kmutil configure-boot -c nr.macho -C -v /Volumes/Macintosh HD
<NightRaven[m]> Used to work
<NightRaven[m]> <NightRaven[m]> "20211216_154005_3236459718247445..." <- Now it just show this
as400 has quit [Remote host closed the connection]
<j`ey> NightRaven[m]: mrcn.st/alxsh is the url
<NightRaven[m]> <ChaosPrincess> "NightRaven: i had the same..." <- Hmm ok I will try it thx now
<NightRaven[m]> <ChaosPrincess> "NightRaven: i had the same..." <- Did you turn it off straight thing or after a restart
<ChaosPrincess> set partition as target, close the settings app, then power off
<NightRaven[m]> Oh ok thx
kgarrington has joined #asahi
kgarrington has quit [Remote host closed the connection]
<ChaosPrincess> internal kb still doesnt work for me. if someone got it working, mind sharing your .config?
kgarrington has joined #asahi
<mps> ChaosPrincess: https://tpaste.us/eVwp but don't follow it blindly, I have some tweaks
<kgarrington> tpw_rules: most usb-to-Ethernet adapters should work if you have CONFIG_USB_RTL8150 and CONFIG_ USB_RTL8152 enabled in your kernel config
<mini> ^ it's worth turning on the ASIX ones too, they're reasonably common
kgarrington has quit [Remote host closed the connection]
<j`ey> ChaosPrincess: what config are you using?
<j`ey> ChaosPrincess: can you share your config rather
the_lanetly_052 has quit [Ping timeout: 480 seconds]
<mps> mini: I enabled ASIX
<j`ey> ChaosPrincess: and how are you booting?
<ChaosPrincess> cat m1n1 gzipped vmlinux, device tree and initrd, drop it on disk, boot from that
<j`ey> are you using the right dtb? does it have the spi/kb nodes in
<ChaosPrincess> i am using t8103-j293.dtb
<ChaosPrincess> and i am on 13 inch mbp
<j`ey> youre missing pinctrl, that could be it
<j`ey> CONFIG_PINCTRL_APPLE_GPIO=y
<ChaosPrincess> brb, recompiling kernel and checking
<tpw_rules> has anyone made a list anywhere of the essential config options for linux-asahi?
<tpw_rules> anything with APPLE in the name? :)
<j`ey> pretty much!
* tpw_rules is trying to put together a universal yet minimal config
<ChaosPrincess> well, "anything with APPLE in the name" will lead you to also pulling in apple ir and some display over usb thing
<j`ey> tpw_rules: look at the commits and pull in new options
<tpw_rules> all the commits that are ahead of master?
<j`ey> most of the drivers are default ARCH_APPLE, so I think defconfig should enable them too? or maybe it doesnt
<tpw_rules> to be honest i have not looked very hard
<tpw_rules> i am hacking on other things at the moment, but trying to listen for useful options
<mps> i made config to make it works first, later will look what could be removed
<ChaosPrincess> enabled pinctrl, still no luck
<j`ey> ChaosPrincess: run it in the hypervisor, so you can use the vUART and then you can more easily read dmesg
<j`ey> ChaosPrincess: or just copy the config from https://github.com/jannau/AsahiLinux-PKGBUILD/blob/main/linux-apple/config
<tpw_rules> that one has all the new options? that's what i've been using. but i only have a mac mini
<j`ey> actually no, thats an older one
<j`ey> ignore that
<ChaosPrincess> do i need CONFIG_KEYBOARD_APPLESPI? thats the old driver for intel macs that implements hid w/o realizing its hid, right?
<j`ey> yeah sorry,dont need that
<j`ey> anyway, my suggestion is HV as I said, otherwise it's just guessing
<mps> is the some firmware needed for touchpad, just basic options could be set with xinput
Gaspare has joined #asahi
<NightRaven[m]> <ChaosPrincess> "NightRaven: i had the same..." <- is there a different way of doing it
<ChaosPrincess> remind me, which ways failed?
<NightRaven[m]> so this is the error
<NightRaven[m]> but like is there any other way to install it than using asahi installer ?
<NightRaven[m]> or is there a special command to fix this
<ChaosPrincess> and opening system preferences -> startup disk, selecting macintosh hd, restarting, and doing the whole recovery mode dance didnt help, right?
<NightRaven[m]> Wait
<NightRaven[m]> Yep
<NightRaven[m]> Did not help
<ChaosPrincess> maybe try using the installer then
<NightRaven[m]> But the issue is I don't want to get
<NightRaven[m]> s/get/yet/
<j`ey> NightRaven[m]: well then you're probably on your own to try figure it out
<ChaosPrincess> actually i think it will never work by installing m1n1 in the same apfs container as 12.1
<ChaosPrincess> m1n1 uses different firmware blobs
<NightRaven[m]> j`ey: Oh ok thanks anyway
Gaspare has quit [Ping timeout: 480 seconds]
Lightsword_ is now known as Lightsword
kgarrington has joined #asahi
<kgarrington> I haven’t looked at marcan’s current kernel config: is it worth me purchasing an Apple Silicon Mac to develop a tiny but useful kernel config for Asahi? (I have some experience here)
aleasto has quit [Remote host closed the connection]
kgarrington has quit [Remote host closed the connection]
kgarrington has joined #asahi
kgarrington has quit [Remote host closed the connection]
kgarrington has joined #asahi
kgarrington has quit [Remote host closed the connection]
<landscape15[m]> I tried to load a Debian rootFS from external USB, but it panics
<dottedmag> Apple says that M1 laptops support "up to 6K resolution" on external monitor. I wonder what's the actual limit?
<YichaoYu[m]> <marcan> "there is no way to install..." <- I believe I had to do that a few weeks ago (forgot my macos password/locked myself out not realizing that it's a different password from my apple id and then subsequently messed some other things...). I end up deleting the macos partition and did a clean reinstall and it worked. I did not touch the recovery partition (or whatever it was called) though...
Gaspare has joined #asahi
<Glanzmann> mps: You don't have the modesetting driver? So which xorg driver do you use?
<mps> Glanzmann: no one, simpledrm is initialized by kernel I think
<mps> I don't have xf86-vidio-* installed
<mps> s/vidio/video/
<Glanzmann> mps: But you run xorg, don't you?
<mps> Glanzmann: right
<Glanzmann> mps: CAn you upload your xlog or look for the driver that xorg uses?
<mps> also I'm surprised
<mps> sure
<mps> Glanzmann: https://tpaste.us/OrVZ
<Glanzmann> mps: You use the modesetting driver.
<mps> but I don't have it installed
<Glanzmann> mps: But you can see from the log, that the so is sitting in the file system, it is loaded and being used. Also you can see that it tries also to load fbdev, but can't. For it seems to load both drivers but end up using modsetting driver(?)
<Glanzmann> mps: Can you also share your awesomewm config, I would like to see what you have done there.
<mps> Glanzmann: right, I see binary
<Glanzmann> s/for it/for me/
<mps> it is by default included in xorg-server pkg, I see now
<Glanzmann> makes sense.
<mps> this is bug alpine package I think
<mps> good that you pointed me to look
<Glanzmann> mps You're welcome, after fiddled a lot with xorg to get firefox working again, I payed close attention to what driver is loaded. :-)
<mps> I'll have to 'fix' this for alpine
<mps> Glanzmann: I noticed that sound sometimes work with firefox but sometimes not
<Glanzmann> For Debian, the modesetting driver is also in the 'core xorg package': xserver-xorg-core: /usr/lib/xorg/modules/drivers/modesetting_drv.so
<Glanzmann> mps: But you use an external soundcard, don't you?
<mps> yes, same on alpine, but we also have xf86-video-modesetting as separate pkg
<mps> Glanzmann: yes, usb card and cheap one
<Glanzmann> mps: I hooked up a forte biamp echo canceler usb sound card to my mini. I tested sound only using mpv, works find also shows up in pavucontrol.
<mps> Glanzmann: hehe
<mps> Glanzmann: I switched from debian to alpine because I dislike pulseaudio (and systemd as a bonus ;) )
<Glanzmann> mps: A friend of mine looked long for a cheap good usb sound card and we finally found one. This soundcard allows to use a cheap tesira echo cancler without humming: https://www.amazon.de/gp/product/B0023BYDHK/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&th=1
<mps> (and I was one who advocated switching to systemd on debian-devel ML, shame on me)
<Glanzmann> mps: For many years I deinstalled systemd on every system I got root on.
<Glanzmann> Now I just accepted it, but it still gets on my nerves from time to time.
<Glanzmann> About pulseaudio, it currently does mostly what I want it to do, so I use it. But will try pipewire soon.
<mps> firefox is (was at time I switched from) built with pulseaudio by default debian
<Glanzmann> I see.
<mps> now, maybe I made mistake and not jumped to openbsd
<Glanzmann> 20 years ago, I had openbsd on my desktop for a year.
<mps> but I found alpine linux 'bearable' (still, don't know how long)
<Glanzmann> mps: You can always switch again. For me, it seems that I stick with debian, I used it in the past 20 years on my main desktop(s).
<Glanzmann> And servers for that matter.
<mps> Glanzmann: I can merge/push to alpine and that is what keeps me there, and I'm somewhat tolerant to all these featurism (till I lost nerves)
<Glanzmann> I get the idea.
<mps> Glanzmann: I migrated one server in fraction of time which is needed for debian just to resolve dependencies :)
<mps> so, no way to back
<Glanzmann> hrhr, got the idea.
<mps> but I'm quite impressed what is done with asahi, just built qemu in 5 minutes and 5 seconds
<Glanzmann> mps: Yes, I can also build a kernel with modules on the mini in about 3 minutes without any tricks (ccache).
<Glanzmann> mps: What sound system does alpine linux use?
<psykose> any
<Glanzmann> I see.
<mps> Glanzmann: alsa by default, but in some pkgs pipewire and pulse are linked
<psykose> you have to install alsa too, not even that is default
<mps> that is because postmarketOS is based on alpine and their developers asked to add this
<mps> I was against but after some I ceased
<psykose> thankfully
<mps> psykose: huh :)
<mps> Glanzmann: one reason for switch to alpine was also that I use bunch of arm32 SBC and alpine is significantly faster on them than any famous distro
<mps> and on chromebooks also
<Glanzmann> I see, I have to try it at some point.
<mps> my servers (mail dovecot and postfix, synapse matrix, web server) are on an nealy 10 years old arm32 SBC with 32GB MMC and works fine
Gaspare has quit [Read error: Connection reset by peer]
squags has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
dsrt^ has joined #asahi
squags has joined #asahi