marcan 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
YJSNPI has quit [Quit: ARRRRRRRRRRRGH]
YJSNPI8 has joined #asahi
YJSNPI8 has quit []
YJSNPI8 has joined #asahi
doggkruse_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KaitoDaumoto has quit [Remote host closed the connection]
<marcan> Glanzmann: you are missing X drivers. clickpads (any vendor) need software support for right click because there is no physical right click.
<marcan> this has nothing to do with M1 vs M2 and likely neither does the bti thing. You are just screwing up your software config, as you always do.
doggkruse has joined #asahi
<marcan> there are *zero* changes to the ALARM image we ship for M2 other than firstboot keyboard layout detetion using a diferent /sys path. any problerms you are running into are you doing someting wrong, not M2 being special, until proven otherwise
<marcan> *problems (I'm on airplane wifi, typing over ssh is not great :p)
<marcan> please move this stuff to #asahi-alt in the future, as it just clutters up the main channel with issues that have nothing to do with the project
<marcan> (nevermind the bti thing, apparently that one did show up with M2? still, the problem is the software, not us)
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Guest546> Does someone got 4K working via hdmi and mac mini m1? I've got 1080p max
<marcan> you need to change the m1n1 config to set the boot resolution. this isn't really supported, it's a stopgap until we ship the proper DCP driver.
<Guest546> marcan: I see. So you don't recommend me changing the boot resolution? Or is it okay to change m1n1?
riker77_ has joined #asahi
<marcan> it's okay to change, but there is no tooling to persist the config right now so it will be lost on m1n1/u-boot/kernel package updates
<marcan> it's been on my list for a while to write something for that....
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
<Guest546> got it, how do you picture the steps for enabling this support? Maybe I can help with one or two or updating a PKGBUILD
<marcan> you can use echo display=WxH >> /boot/efi/m1n1/boot.bin for now
<marcan> the m1n1 update script needs to be updated to read config options from somewhere, and I want it to do some sanity checking/filtering to make sure people can't too easaily break their boot before making that official
<Guest546> make sense
<Guest546> I remember that Arch used to have that old `/etc/rc.conf`, or `/etc/asahi/...`
<Guest546> are you using vscode there?
<marcan> it should probably just be /etc/m1n1.conf or something like that
<marcan> no
<Guest546> which toolchain are you using? I've tried vscode sooner but got some Segmentation Fault on it's binary. I think I will use neovim for now
<Guest546> is so good to have linux running on my macmini, I'm excited
<marcan> vscode is running on an outdated Electron with no 16K support. I think their dev channel has the fix?
<marcan> there's a bunch of software which has/had issues with 16K pages
<marcan> it's all slowly getting fixed/released
amarioguy has joined #asahi
boardwalk has quit [Quit: Ping timeout (120 seconds)]
amarioguy has quit [Remote host closed the connection]
boardwalk has joined #asahi
<Guest546> telegram has a similar issue, let me check the dev channel
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
bored_and_jobless[m] has quit [Quit: Client limit exceeded: 20000]
<Guest546> Updated the issue in GitHub, seems that the last insider still have this problem. But it's possible to run with npx with no issues.
PyroPeter has joined #asahi
pyropeter3 has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
<Guest546> the electron bug is crazy, github says that it's fixed in 18 but the 16k pages are working only in 19
<Guest546> checking how to get https://archlinux.org/packages/community/x86_64/electron/ in community from alarm
timokrgr has quit [Ping timeout: 480 seconds]
ping_47 has joined #asahi
ping_47 is now known as Guest6259
Guest6259 has quit [Quit: issued !quit command]
mini0n has joined #asahi
<jannau> M1 apparently doesn't support bti (at least linux doesn't report it). bti issue for m2 on fedora is fixed by https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/262
<psykose> does that affect mesa without glvnd
<Glanzmann> marcan: Sorry, will move other distro talk in the future to asahi-alt.
<Glanzmann> jannau: Wow that was fast.
<Glanzmann> jannau: Like 6 months ago fast.
mini0n has quit []
Techcable has quit [Remote host closed the connection]
Techcable has joined #asahi
Techcable has quit [Remote host closed the connection]
Techcable has joined #asahi
gladiac is now known as Guest6262
gladiac has joined #asahi
Guest6262 has quit [Ping timeout: 480 seconds]
kdwk-l[m] has quit [Quit: Client limit exceeded: 20000]
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
thevar1a- has joined #asahi
thevar1able1 has quit [Ping timeout: 480 seconds]
<j`ey> jannau: nice, how did you find that?
<mps> ktz_[m]: you should join #asahi-alt channel, you will probably get more help there
thevar1able1 has joined #asahi
thevar1a- has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
<Glanzmann> Fedora users: https://thomas.glanzmann.de/fedora/ New release which supports M2 including xorg out of the box. Also has empty root password to make troubleshooting easier.
jluthra has quit [Remote host closed the connection]
thevar1able1 has quit [Read error: Connection reset by peer]
thevar1a- has joined #asahi
homulilly[m] has quit [Quit: Client limit exceeded: 20000]
<jannau> j`ey: top google result for 'arm64 bti glgetstring'
<j`ey> jannau: ah! (not for me, infact that url doesnt even show up for arm64 bti libglvnd..)
<j`ey> so fedora 36 should have this fixed, looking at versions of glvnd
<maz> I wonder how many other libs have handcrafted prologue/epilogue code...
<_jannau_> j`ey: if I'm not mistaken the fix is in no libglvnd release
<_jannau_> and the commit applies cleanly against fedora 36 glvnd package and a rebuilt package fixes the issue
<j`ey> _jannau_: oh ok, i just checked the version here https://gitlab.freedesktop.org/glvnd/libglvnd/-/blob/master/meson.build#L27 but maybe they only bump that just before release
<_jannau_> I checked with `git tag --contains $FIX`
Mrmaxmeier has joined #asahi
MajorBiscuit has joined #asahi
neatsquirrel1 has joined #asahi
myon98 has joined #asahi
neatsquirrel has quit [Ping timeout: 480 seconds]
neatsquirrel1 is now known as neatsquirrel
thevar1able1 has joined #asahi
thevar1a- has quit [Ping timeout: 480 seconds]
thevar1able1 has quit [Ping timeout: 480 seconds]
thevar1able1 has joined #asahi
Method has joined #asahi
Method_ has quit [Ping timeout: 480 seconds]
thevar1able1 has quit []
thevar1able1 has joined #asahi
Method_ has joined #asahi
thevar1a- has joined #asahi
Method has quit [Ping timeout: 480 seconds]
thevar1able1 has quit [Ping timeout: 480 seconds]
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
leitao has joined #asahi
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
thevar1able1 has joined #asahi
thevar1a- has quit []
chadmed_ is now known as chadmed
thevar1a- has joined #asahi
thevar1able1 has quit [Read error: Connection reset by peer]
thevar1able1 has joined #asahi
thevar1able1 has joined #asahi
thevar1a- has quit [Ping timeout: 480 seconds]
neatsquirrel has quit [Quit: neatsquirrel]
thevar1a- has joined #asahi
thevar1able1 has quit [Ping timeout: 480 seconds]
thevar1able1 has joined #asahi
thevar1a- has quit [Ping timeout: 480 seconds]
honeybadgerdontcare[m] has quit [Quit: Client limit exceeded: 20000]
thevar1able1 has quit [Ping timeout: 480 seconds]
<Glanzmann> M2 Fedora Users: Leif Liddy build a libglvnd package with the patch that jannau found. It is found in his repository which is enabled by default for the leif liddy fedora installation: https://www.leifliddy.com/asahi-linux/36/aarch64/
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
thevar1able1 has joined #asahi
sproede[m] has quit [Quit: Client limit exceeded: 20000]
Moprius has joined #asahi
kov has joined #asahi
thevar1able1 has quit [Ping timeout: 480 seconds]
thevar1able1 has joined #asahi
Method_ has quit [Quit: ZNC 1.8.2+deb1+bionic2 - https://znc.in]
Method has joined #asahi
babble has joined #asahi
thevar1able1 has quit [Read error: Connection reset by peer]
thevar1a- has joined #asahi
babble has quit []
chadmed has quit [Ping timeout: 480 seconds]
thevar1a- has quit []
thevar1able1 has joined #asahi
chadmed has joined #asahi
chadmed has quit [Remote host closed the connection]
leitao has quit [Ping timeout: 480 seconds]
thevar1a- has joined #asahi
thevar1able1 has quit [Ping timeout: 480 seconds]
thevar1a- has quit [Ping timeout: 480 seconds]
thevar1able1 has joined #asahi
leitao has joined #asahi
jluthra has joined #asahi
mini0n has joined #asahi
bluetail has joined #asahi
mort_2 is now known as mort_
Moprius has quit [Remote host closed the connection]
spookyzeb[m] has quit [Quit: Client limit exceeded: 20000]
ping_47 has joined #asahi
bisko has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
ptudor_ has quit [Ping timeout: 480 seconds]
doggkruse has joined #asahi
doggkruse has quit []
rhys1 has quit [Quit: Client limit exceeded: 20000]
Death_Syn has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
linearcannon has quit [Ping timeout: 480 seconds]
ciggi has joined #asahi
ciggi_ has quit [Read error: Connection reset by peer]
Death_Syn has joined #asahi
<pavelkukacka[m]> Trying the installer is not the way - it forces me to resize the already shrunk/resized macOS partition.
<ChaosPrincess> so, you can boot into grub, right?
<pavelkukacka[m]> I cannot choose to somehow re-install the debian on its partition
<pavelkukacka[m]> Yes, I can.
<ChaosPrincess> then do not use asahi installer
<ChaosPrincess> actually, how much do you care about the data on the linux system?
<pavelkukacka[m]> ChaosPrincess: I don't care. I was intentionally not storing anything (valuable) there
doggkruse has joined #asahi
<ChaosPrincess> are you willing to nuke and reinstall?
<ChaosPrincess> there are ways to fix it, its just more effort
<pavelkukacka[m]> No problem. I thought it would be possible via the asahi installer
<ping_47> @pavelkukacka[m] Did you reviewed what is in https://tg.st/u/ksh?
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
<ChaosPrincess> then delete the asahi partitions an use the installer to install into free space
<ChaosPrincess> use diskutil for that
<pavelkukacka[m]> It's a long time since I was playing with grub; my know-how has withered away guite a bit... Thanks fory
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pavelkukacka[m]> s/fory/for your help/
<pavelkukacka[m]> ping_47: No, the page is not loading.
<pavelkukacka[m]> <ChaosPrincess> "use diskutil for that" <- So: use the macOS diskutil (I'm there already) and both "Debian" and "Debian - Data" volumes - did I get it right? And then maybe enlarge the mac partition so I can then resize it in the installer..?
<ChaosPrincess> post the output of `diskutil list`
yamii has quit [Quit: WeeChat 3.6]
leitao has joined #asahi
<pavelkukacka[m]> (very sorry for that kind of output; i'm working on the text variant...)
<tpw_rules> pavelkukacka[m]: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation here is a textual guide if you would like. just replace "nixos" with "debian" as you read and the process is the same
<pavelkukacka[m]> tpw_rules: Thanks, this looks like something I've been looking for. I can handle the substitution ;-)
<ChaosPrincess> yea, just do the thing tpw said, i didnt know we had a text manual
<ChaosPrincess> actually, skip the last step, installer can install into free space
<tpw_rules> sorry i missed some context, yes
<tpw_rules> you don't need to expand then re-shrink the disk
leitao has quit [Ping timeout: 480 seconds]
<doootard[m]> <Glanzmann> "Fedora users: https://thomas...." <- I installed fedora back when you created the first installer and upgraded to fedora 36 since then. How would I go about updating to the new kernel?
yamii has joined #asahi
<pavelkukacka[m]> <tpw_rules> "you don't need to expand then re..." <- I erased the three partitions according to the manual after some analyzing to be sure.... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/jcgExgqDuabpcvXzCzOKZZpi)
<pavelkukacka[m]> s/.!/."/
<pavelkukacka[m]> > <@pavel.kukacka:matrix.org> I erased the three partitions according to the manual after some analyzing to be sure.... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/iGvCqieHYihqWWzQicBOVEnc)
<ChaosPrincess> go to system settings -> startup disk, set your macos install as target and reboot into it
<pavelkukacka[m]> That's gonna be it... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/zIfOPeNUkhfsaILTFQFBNAPU)
<pavelkukacka[m]> groovie
<pavelkukacka[m]> > <@pavel.kukacka:matrix.org> That's gonna be it... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/dQyzSDbIWLIiKanQimezpWOK)
leitao has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
mini0n has quit [Quit: Leaving]
doggkruse has quit [Read error: Connection reset by peer]
svelle[m] has quit [Quit: Client limit exceeded: 20000]
doggkruse has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
zevlag[m] has joined #asahi
njha has joined #asahi
<njha> Has anyone looked into getting pairing for Apple headphones working as seamlessly as it does on MacOS? I know this is not super important but...
<njha> I was starting to look into it and was wondering if anyone has done any initial looking into this
<njha> so I don't have to start from zero :P
<sven> https://github.com/furiousMAC/continuity Is probably a good start
<viliamcarnoky[m]> Does anyone have an issue updating to Mac os Ventura dev beta 4 after installing Asahi linux on beta 3?
<njha> sven: Ah, thanks! I have played with this before, but didn't make the connection that it might be related to airpod pairing
<njha> this is a good thing to start with
bluetail has quit [Read error: Connection reset by peer]
bluetail has joined #asahi
<bluetail> I'm amazed at how much stronger the m1 mac mini is through linux
<bluetail> Is there a simple way to disable the UI of the Arch installation? *already made some research* but don't want to break things
<bluetail> I guess I wanna get rid of KWin or so
<j`ey> it's 'plasma-meta'.. but it may just be better to look into how to disable the session manager from auto starting
<j`ey> if you just want to boot to a text console
babble has joined #asahi
<bluetail> I'll just remove plasma-meta
<bluetail> Thanks
<j`ey> bluetail: are you just trying to have no UI?
<bluetail> yea
<bluetail> cause its a Docker slave for me now
<j`ey> ok
<bluetail> Seems also that kwin is something to remove
<bluetail> removing plasma-meta doesnt remove kwin. So I did just that
<j`ey> probably a bunch of other stuff too, konsole, dolphin, sddm, xorg..
<bluetail> yea
<bluetail> just as a sidenote: I was able to compile mega-cmd and it works flawless. Was only a bit of a mess figuring what packages I'd require
<bluetail> Is there a way to add the package to the PPA or however thats called?
<bluetail> so that next time I could say
<bluetail> pacman -Syu megacmd
<bluetail> I think the only thing I throwed out was freeimage
<bluetail> Rephrasing my question; I compiled megacmd on my m1 mac but want to redistribute the package. What do I require?
babble has quit [Remote host closed the connection]
<j`ey> might not work as-is for arm64, worth a try
<bluetail> j`ey it doesnt. I had to compile it myself, grabbing from git and install the listed package in the aur manually before compiling but then exclude freeimage before ./configure
<bluetail> I can tell you what I exactly did
<j`ey> modifying the PKGBUILD would be the best way
<bluetail> how does somebody do that? Anyways, I will provide you with a bash file for compiling cause I never did that PKGbuild stuff
<j`ey> well doing it with the PKGBUILD will create an actual package you can use with pacman
<bluetail> oh
<bluetail> I gotta try
<bluetail> why is this https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=megacmd like the thing I wanted to create in a sh file anyways?
<bluetail> Perhaps I didnt understand the concept :D
<bluetail> I can create a sh file that downloads the latest and compiles it properly
<j`ey> but it doesnt package it
<j`ey> (it = your sh script)
<bluetail> Yea you are right but I seem a bit dumb today to understand how to create packages
<bluetail> cause look at the aur, it pulls from the git but does other things I dont understand but then comes the make part which I do understand
<j`ey> bluetail: did you try to use AUR to compile it?
<bluetail> yea and of course it wouldnt work since its not for ARM
<bluetail> I compiled the thing myself
<bluetail> just to make sure:
<bluetail> pacman -S megacmd
<bluetail> doesnt work
<bluetail> I have something like...
<bluetail> not tested... Was still writing it
<j`ey> yes that doesnt work, because thats not how you use AUR
<bluetail> oh
<bluetail> how do you use AUR?
<bluetail> oh... Now I get it. Thanks for clarifying. Sometimes I feel dumb haha