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
CME_ has joined #asahi
CME has quit [Ping timeout: 480 seconds]
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi
grgy- is now known as grgy
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grgy has quit [Remote host closed the connection]
grgy has joined #asahi
<lucienmaxwell[m]> howdy folks, apologies as I'm pretty sure this is kind of a silly question, but what is the best way to follow asahi's development in "real-time"? the blog on the site seems like it only gets updated when something major happens. I think there are some devs on twitter or mastodon?
<amarioguy> lucienmaxwell[m]: this is the place lol - pretty much most major and minor discussion of asahi development happens here (and the other asahi IRC channels too)
<lucienmaxwell[m]> amarioguy: thanks. i'm hoping a fix for backlight is close. it's very hard for me to use asahi without that (unless i'm in a very bright area)
<amarioguy> backlight was discussed somewhat recently i think? (not sure how high it is on the priority list though)
<tpw_rules> iirc the backlight retains the last value you had it to in macos
<tpw_rules> so you can boot macos, set the backlight to a comfortable level in your normal working environment, then asahi should do that (or "off")
<tpw_rules> very annoying to change, yes, but that will let you fix the factory default nuclear lucienmaxwell[m]
<lucienmaxwell[m]> oh nice okay, that might work, I'll give it a go! thanks!
derzahl has joined #asahi
<lucienmaxwell[m]> also, silly question, how do I boot back into macos? holding down opt key not working...
<tpw_rules> shut it down completely, then hold down the power button. it will say like "loading startup options" or something, then you can let go
<lucienmaxwell[m]> ohhh duh thank you
yuyichao_ has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi
vx5i2 has quit [Ping timeout: 480 seconds]
vx5i2 has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
<amarioguy> lucienmaxwell[m]: heads up that if you're ever on an Apple Silicon desktop, apple's current status quo is to not init the framebuffer until macOS boots so on desktops you need to hold it down until you see the power led go a bit dimmer
<amarioguy> (now *why* they do this is anyone's guess lol)
<tpw_rules> i personally just hold it until the menu shows up
<tpw_rules> my monitor is fast enough that it doesn't turn back off again
marvin24_ has joined #asahi
vx5i2 has quit [Ping timeout: 480 seconds]
yuyichao has quit [Quit: Konversation terminated!]
marvin24 has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
pyropeter3 has joined #asahi
pyropeter2 has quit [Ping timeout: 480 seconds]
<princesszoey> I'm being outsmarted by a 60 line shell script. this is annoying
<psykose> what's confusing you
<amw> sven: Your right - CONFIG_I2C_APPLE is set and does cause i2c-pasemi-core.c to be compiled in, the CONFIG_I2C_PASEMI is for the PCI interface and confused me
<steev> amarioguy: it gives people the illusion of an extremely fast boot
<princesszoey> psykose something outside of asahi, I think I figured it out though.
<princesszoey> is wine related
<psykose> i don't recommend looking at shell scripts while drinking
<psykose> no, nevermind, i do, carry on
Illya has quit [Ping timeout: 480 seconds]
zoler has quit [Ping timeout: 480 seconds]
<princesszoey> lol I don't drink
Illya has joined #asahi
zoler has joined #asahi
doggkruse has joined #asahi
<princesszoey> zero issues with my 1000+ line shell script, but a 56 line one is beating my arse.
<princesszoey> and this is written by the maintainer of wine on macOS, it should just work ™️
Stroller has quit [Quit: Stroller]
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
<princesszoey> welp, figured out why. stupid github (and me)
<marcan> re Rosetta, I should expose the OSK keys from SMC in /sys... then in *principle* if Apple wanted to offer it to native Linux installs, they could keep effectively the same DRM. But it would be up to them to do that, since right now they very clearly say "Virtualization.framework only".
<marcan> And also, that would require systemwide TSO, which I've been meaning to throw into m1n1
<rowang077[m]> Would it not be possible to enable TSO per process (or whatever OSX) does?
<rowang077[m]> Or possible but too much work for now
<marcan> it is, and that's the longer term plan, but that's a pretty big bikeshed to paint as far as upstream goes
<marcan> anything related to proprietary CPU features is always controversial
<marcan> I do hope we can get it in though
<rowang077[m]> I guess in the best possible world Apple starts offering it to native Linux. That would make upstream much more likely to accept it
<marcan> we also want it for box86/FEX anyway
<marcan> tbh, as far as "things Apple could do to help us out", official Rosetta-on-native support would be pretty cool (and easy for them once we have the necessary hooks in place), but I won't hold my breath either
<marcan> I doubt that would happen until we have a much larger user base and more polished drivers at least
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi
<rowang077[m]> Maybe then people will stop the: "Apple will pull the trigger on denying alternate OS on macs"
miko has joined #asahi
<chadmed> no theyll never stop that
<chadmed> dropkicks have been spouting that bs since long before these macs came out
forkrul-assail has joined #asahi
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
forkrul-assail has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.1)]
forkrul-assail has joined #asahi
forkrul-assail has quit []
derzahl has quit [Remote host closed the connection]
<MichaelMesser[m]> I thought Rosetta for Linux could easily be tricked into running outside a VM. What more could an official version do?
<ktz_[m]> good morning guys, how was the utility some people here upload terminal output to a website?
<chadmed> MichaelMesser[m]: not be illegal to use for one thing :P
<MichaelMesser[m]> I would be absolutely shocked if Apple cared at all.
the_lanetly_052 has joined #asahi
<princesszoey> damn, I expected that project to take my entire semester break. not 7 hours including time to integrate it into another project 🤣
<chadmed> it's not about whether or not they care, it's about minimising *any* possible attack surface
<chadmed> apple are not hindering us under the good faith assumption that we dont shit where we eat, so why risk pushing their buttons even a little bit
<chadmed> likewise, i doubt they care if we "acquire" certain internal testing tools to extract information about eg undocumented processor registers
<chadmed> but we still forbid it because the risk of them one day caring is there, however small it actually is, plus it is disrespectful to the way in which they are staying out of our way
<Lucy[m]> As far as I understand, there wouldn't be legal issues with rosetta, if we're going by laws. But yes, Apple can still get aggressive about it and destroy anyone involved just with court fees
<Lucy[m]> Not worth the risk.
<Lucy[m]> If it's something people wanna do, they can do it themselves. Seems fair enough
<chadmed> the legal aspect is entirely down to you "signing" a EULA when you first boot macos, in which you agree not to tamper with their DRM
<Lucy[m]> EULAs are not legally binding however. The most they can do is prevent access to their services
<chadmed> now reverse engineering stuff for our purposes (hardware interop etc) is legal in most western jurisdictions, however DRM is a no no
<Lucy[m]> Depends where you live, the EU is a bit more strict, yeah
<chadmed> australia doesnt even have interop carveouts so uhhh... dont tell anyone im here
<mps> ktz_[m]: you use alpine I think. then 'apk add tpaste'. then 'cat somefile | tpaste' and you got url
<ktz_[m]> mps: okay Sir, I'll try this as well, thanks
<ktz_[m]> last thing, I've been trying to join asahi-alt via the element.io client but I can't find it regardless of the network I pick
cabbage has joined #asahi
<mps> (I would use IRC client for IRC)
<ktz_[m]> weechat or?
<mps> weechat is simple to setup
<princesszoey> I just host a thelounge instance
<mps> I use it as matrix client
<princesszoey> paid for a VPS and a domain, why keep paying for irccloud too?
<miko> weechat is really nice -w-
Major_Biscuit has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
<sven> chadmed: yeah, imho this entire project is fun because we can very easily stay away from grey areas and just focus on making linux work. i kinda burned out on the whole console hacking things years ago because we always had to deal with entitled users who just wanted to pirates games
zofia[m] has joined #asahi
hdurr[m] has joined #asahi
mosica has joined #asahi
derzahl has joined #asahi
russell-- has joined #asahi
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<russell--> oh, hi ... i'm wondering what the new m2 macbook pros use for wifi radios? i may be misinformed, but my impression has been apple hardware has seemed to lean heavily on broadcom radios in the past which made linux on them not so compelling.
virusblitz[m] has joined #asahi
<j`ey> russell--: same chip as m1 I think
cabbage has quit [Quit: Leaving]
derzahl has quit [Quit: auf wiedersehen]
<princesszoey> wifi works great on my M1 pro in Asahi fwiw
<princesszoey> makes me not miss my ethernet connection with my dock
<j`ey> (so yes, broadcom)
derzahl has joined #asahi
<russell--> what does lspci say?
<sven> it's either broadcom 4378 or 4387 fwiw
<sven> should be BCM4378B3 for M2
<j`ey> so is t2 bcm4377?
<sven> yes
<sven> at least some of them
<sven> there are others that have older/different chips that didn't expose bluetooth using that "Apple Converged IPC" but as UART instead
mosica has quit [Quit: Leaving]
<russell--> maybe it's just ptsd but broadcom wifi on linux gives me nightmares
<j`ey> havent seen many complaints about it for asahi
<russell--> thank you
vistro[m] has joined #asahi
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
<sven> and even if there are weird issues we’ll make sure to fix them :)
<sven> I’m gonna use this as my daily driver eventually and I really want it to work well
<mps> I have broadcom wifi on few different machines with linux and it works fine (though I dislike broadcom because is closed)
<NikolayNikolaev[m]> I wanted to report that yesterday I built the kernel with LLVM=1 and it works quite well so far on my m1max 14" mbp. Only had one issue with bluetooth and restoring back from suspend, which might not be toolchain related. Thats the asahi branch, 16k no other patches.
<sven> huh, i thought suspend just doesn't work at all on the asahi branch?!
<j`ey> NikolayNikolaev[m]: what kind of suspend?
<sven> bluetooth suspend seems to work on the t2 chips fwiw
<NikolayNikolaev[m]> Well I closed the lid for 10 mins. Is it not suspending?
<j`ey> could test on m1 by just disabling wifi
<j`ey> well if closing the lid does suspend, then it will crash
<sven> j`ey: would be great! though I dunno if pcie even comes back up after suspend
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
<mps> pcie come back from suspend for long time, though suspend exits in seconds
<sven> from s2idle?
<mps> no from mem suspend
<sven> what is mem suspend?
<mps> echo mem > /sys/power/state
<sven> that sounds like suspend-to-ram which i'd be very surprised about
<mps> yes, to ram
<sven> yeah, i doubt that
<sven> what's inside /sys/power/mem_sleep?
<sven> mem is just an alias for that
<sven> ** s2idle **
<sven> <sven> from s2idle?
<sven> <mps> no from mem suspend
<sven> *sigh*
<mps> ah yes, [s2idle]
<j`ey> it never suspends
<mps> I see now
<sven> yeah, that too
<mps> thanks
<sven> so, back to the original question, does pcie even come back up from s2idle? i remember that the power domain is set to always-on now but is that enough?
leitao has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
<Chainfire> NikolayNikolaev[m]: Chainfire: docker for osx will use rosetta and will run your x86 images, no? <--- I'll be running Asahi though :)
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
<ar> Chainfire: fooling "rosetta for linux" into running under other environments than a vm under macos is a relatively simple thing; people have even made it run on linux on arm from other vendors (iirc even on aws arm instances), but since this is breaking apple's eula i doubt people here will give you instructions on how to do that
<Chainfire> ar: while the whole Rosetta thing is very interesting and no doubt I will play with that (does it already work with Parallels on 13 beta?), my original question was on the easiest way to dev/build/run my x86 docker images on Asahi (or Parallels VM) without having to overhaul the existing code. Not specific to Rosetta.
mini has quit [Quit: ZNC closing...]
mini has joined #asahi
<princesszoey> it doesn't on 13 beta
<princesszoey> at least that I can tell.
<princesszoey> I tried the passthrough with https://github.com/diddledani/macOS-Linux-VM-with-Rosetta, and it's super cool
<NikolayNikolaev[m]> The "easiest" would be to use cloud instances of your target arch. Everything else requires instruction translation which might or might no be easy to setup and will have perf hit no matter rosetta or not
MarcoG[m] has joined #asahi
<Chainfire> princesszoey: thanks for the info
<princesszoey> np
<princesszoey> I'm actually messing with it right now. or I would be if I had enough ram free x.x
miko has quit [Quit: WeeChat 3.5]
povik has quit [Ping timeout: 480 seconds]
grgy has quit [Quit: ZNC 1.8.2 - https://znc.in]
grgy has joined #asahi
princesszoey has quit [Quit: The Lounge - https://thelounge.chat]
princesszoey has joined #asahi
derzahl has quit [Remote host closed the connection]
vx5i2 has joined #asahi
<probie> Is there a way to (temporarily) make the system avoid using the little cores?
<probie> Like taskset, but also for children of a process
<maz> the affinity is usually inherited by children,.
SuperED has quit [Ping timeout: 480 seconds]
<probie> So if I taskset PID 1, that should do it systemwide?
<amw> As Linas was building v5.19 on apple HW I'm going to try booting a v5.19 kernel on my M1 MBA - any suggestions what might stop me ?
<j`ey> amw: you wont get keyboard support
<j`ey> amw: the asahi branch already is based on 5.19
<jannau> booting should work but it will net be an usable system. it's also not something Linus did
<j`ey> keyboard, wifi, bt, none of that will work + more
<jannau> s/net/not/
<jannau> usb is missing as well
<j`ey> cpufreq
<maz> probie: only if you taskset from PID1, before it has a chance to fork.
<maz> you can't easily reset the affinity of processes that already exist.
<sven> the mini is quite useable with the upstream kernel fwiw. (for my definition of usable at least)
<maz> +1. my mini runs upstream only.
<j`ey> but you cant turn it off!
<maz> who does?
<sven> ^--
<j`ey> :)
<sven> you can reset it, that's good enough!
<maz> exactly. power control is the PDU's job! :D
sri has quit [Quit: Leaving]
bisko has joined #asahi
vx5i2 has quit [Quit: Konversation terminated!]
<amw> j`ey: Right - no keyboard, no WiFi, I did get a USB keyboard & mouse working but not the USB WiFi dongle or X11 display
<j`ey> amw: those ~200 patches do stuff :P
<amw> I would like to see how few I need to get something more reasonable
<j`ey> why?
<j`ey> (related to debian bookworm kernel I guess..)
<amw> I might be able to persuade a debian person to start building it as a feature-set kernel or something
<_jannau_> usb (usb-c) works without dt entries?
<amw> I had to boot from MacOS to u-boot to linux
<kettenis> _jannau_: dt entries for the dwc3 usb controllers are in the device tree
<kettenis> (the one provided by m1n1)
<j`ey> amw: wifi is ~30 patches by itself
<sven> and it’ll mostly work. usually up until the point you try to unplug the device and use the port for another one :D
<j`ey> amw: youre unlikely to be able to drop that many
<_jannau_> ah, I assumed using the dt from the built kerne;
surgeon is now known as Guest7172
povik has joined #asahi
<kettenis> those ~200 patches desperately need to be reduced to a more manageable level
surge9n has joined #asahi
<kettenis> the fact that the wifi patches haven't been upstreamed is already causing interference on the bluetooth work
<sven> yeah, would’ve been a bit easier to argue that brcm,board-type is a good idea if it was already upstream for WiFi
Chainfire has quit [Remote host closed the connection]
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
surge9n has quit [Quit: WeeChat 3.6]
fp has joined #asahi
fp is now known as surge9n
bisko has joined #asahi
bisko has quit []
<amw> Ok - I took first 30 patches - still no keyboard - but still nvme + USB - see dmesg https://paste.debian.net/1249422/
<amw> all patches - WiFi + keyboard working of course - (good) dmesg https://paste.debian.net/1249423/
<sven> nvme is upstream and will even work with 0 patches
<sven> usb will work as well as long as you have the dtb nodes
<sven> you probably also want to take individual bits/ branches instead of manually picking patches
<_jannau_> nvme dt nodes not yet upstrean
<sven> huh
<sven> ohhh… because the PR was sent too late?
Ry_Darcy has quit [Remote host closed the connection]
<sven> ah, for 6.0 though
<sven> er, wait
<sven> yeah, nvm. So they did make it in time
<kettenis> btw, the DMA controller driver made it into Linus' tree (for 5.20 presumably) with the different binding for the interrupts
Moprius has joined #asahi
<j`ey> kettenis: the audio one?
<kettenis> yes
<j`ey> ADMAC or whatever
<kettenis> maybe now is a good moment to address that discrepancy
* povik sweats
<povik> we can just exchange the ADMAC commits in the asahi branch, with the DT changes
<povik> there's no nefarious interdependency
<povik> i have a bunch of other changes i want to release for testing but i guess i should do the ADMAC fix right away
<povik> and not wait for the rest
<princesszoey> is having Asahi installed going to mess up doing a battery replacement? macbook is already down 10% maximum charge after 9 months.
<princesszoey> they refuse to do troubleshooting cuz I'm on Ventura because of work, but they said I could replace it under my applecare+ for free, so I'll do that
<tpw_rules> that's weird and bad if they do. can you just back up and restore the machine to factory?
<amw> Is there an easy way to tell which patches are "upstreamed" - they are all nicely split into bits/NNN-type
<amw> I'm guessing that is related to the area/maintainer they are to be submitted to
<povik> not necessarily
<povik> more like the feature they provide
<povik> e.g. the audio bits were/will be submitted to clock, dmaengine, alsa
<amw> I think tomorrow I might start apply whole various bits/ branches to see if I can pair things down.
<sven> almost nothing in bits/ is upstream
<sven> probably actually nothing
<amw> sven: ouch! - that's a lot
<j`ey> amw: what feature would you remove?
<j`ey> to end up with a smaller set of patches
<j`ey> and.. at a certain point, 100 patches, is prbably the same as 50, which is probably the same as 150
<povik> what :D
<j`ey> what!
<princesszoey> tpw_rules I gotta be on the betas for work. trust me, I'd MUCH rather not be. the first two developer betas were borderline unusable.
<princesszoey> instead of my dock nicely dropping out a few times per day, it panicked my macbook every 30 minutes.
julio7359 has quit [Ping timeout: 480 seconds]
julio7359 has joined #asahi
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
Moprius has quit [Quit: bye]
pi3 has joined #asahi
pi2 has quit [Ping timeout: 480 seconds]
<IcaroDextris[m]> Is safe now to upgrade to beta Ventura?
<princesszoey> yeah. it's way way less unstable than the first two
<princesszoey> my dock now does the usual disconnect instead of crashing. that was REAL annoying.
<princesszoey> just gotta unplug it and plug it back in and it's good again
<j`ey> princesszoey: its safe now with asahi, the beta broke asahi for a bit
<princesszoey> I know
<IcaroDextris[m]> princesszoey: So no more unbootable asahi problem?
<princesszoey> it's fixed. I just reinstalled asahi the other day again
<IcaroDextris[m]> j`ey: Oh perfect thanks
<princesszoey> didn't expect it to be fixed that fast so I uninstalled it to get the disk space back for a while, lmao
Ry_Darcy has joined #asahi
surge9n has quit [Ping timeout: 480 seconds]
Erus_Iluvatar has quit [Ping timeout: 480 seconds]
Ry_Darcy has quit [Remote host closed the connection]
mini0n has joined #asahi
Ry_Darcy has joined #asahi
surge9n has joined #asahi
pi4 has joined #asahi
pi3 has quit [Ping timeout: 480 seconds]
Stroller has joined #asahi
surge9n has quit [Ping timeout: 480 seconds]
babble has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
qeeg has quit [Remote host closed the connection]
qeeg has joined #asahi
bluetail has joined #asahi
ditlood has quit [Quit: Leaving]
<bluetail> Hey. Was anybody able to fully utilize the m1 mac mini daily? I am already running 10 docker containers and run one application that always runs on my monitor...
<bluetail> 1 to 0% load. The only time it gets load is when reading a lot of files or copying
<bluetail> now this is a luxury problem
<bluetail> I just feel like a noob not loading it up haha
<bluetail> I tried tdarr earlier but it wants gpu support which isnt given. Its basically a frontend that can run handbrake and the likes
<psykose> my shitty vps with 12 services averages 2% cpu too, idle load is never high :p
<lkvrsfld[m]> psykose: Well if running gitlab idle is kind of fucked
<bluetail> I want my mac mini to be a on the fly video-compressor
<bluetail> where I put a file into a folder
<bluetail> and it spits out the compressed one
<bluetail> How would I go about it?
<bluetail> is it just a watchdog / crontab
<bluetail> or is there something already available
surge9n has joined #asahi
<Dcow[m]> you can go with cron, but if you want really reactive arch here go for inotify
<Dcow[m]> long story short - it can watch for IO events on some directory
<Dcow[m]> bluetail: ^
<bluetail> great
<bluetail> there are many tools to synchronize two drives. Which tool should I use out of the many?
<bluetail> should I just use rsync?
<bluetail> I mean it does its job
suray[m] has joined #asahi
vx^ has quit []
vx has joined #asahi
doggkruse has joined #asahi
<bluetail> rsync ftw
<bluetail> sudo rsync -va --progress /run/media/def/2TB-1/ /run/media/def/2TB-1-Recovery 16.057 user 31.179 system 40% cpu (1:56.78 wasted time).
<princesszoey> I mostly keep stuff I want sync'd on nextcloud
<bluetail> I have nextcloud on my m1 mac mini
<bluetail> but I used the dev sql thing so I dont up files there
<bluetail> cause for some awkward reason I couldnt connect to my db
<bluetail> I dont want my data in the literal cloud
<bluetail> at least not only
tabkets[m] has joined #asahi
tabkets[m] has left #asahi [#asahi]
<bluetail> \s\exclusively
<bluetail> :"
tabkets[m] has joined #asahi
<princesszoey> mine's encrypted and sent to backblaze B2
<princesszoey> VPS storage is tiny, unlimited space if you have B2/ Amazon S3
<bluetail> backblaze
<princesszoey> costs me $0.50 a month for 200gb of storage (plus VPS costs but it runs a bunch of stuff)
<bluetail> did you say backblaze
<bluetail> you must be joking
<bluetail> I hope you encrypt before the upload
<princesszoey> I do
<princesszoey> I have nothing to hide anyway *shrugs*
<bluetail> I take you by your word
<bluetail> starting with your bank account and password :D
<princesszoey> locked in bitwarden behind my yubikeys
<bluetail> where are your yubikeys stored
<bluetail> the backups of em
<princesszoey> one at home in a safe, other on my keyring
<bluetail> no off-site?
<princesszoey> have a 3rd on order to keep at a friends place
<bluetail> oh thats good
<princesszoey> recently realized it's counterproductive to only have usb-c ones heaven forbid I gotta plug it into something other than my macbook lmao
<bluetail> imo yubikeys are not needed cause keepassxc exists and you get a really strong encrypted container
<bluetail> they add a security layer on top yes
<princesszoey> I use it as a smart card on macOS too
<bluetail> I see
<bluetail> Whats a smart card?
<princesszoey> more secure way to login
babble has quit []
<ping_47> aaaaand vscode-insiders is now finally working in asahi: https://github.com/microsoft/vscode/issues/153849
Ry_Darcy has quit [Remote host closed the connection]
<clover[m]> amazing
___nick___ has joined #asahi
Erus_Iluvatar has joined #asahi
pi4 has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
<princesszoey> they're killing off atom right? I think I read that
<princesszoey> if so I guess I gotta get used to VS code
<madpro[m]> Sublime
* princesszoey will just code shell scripts in xcode /s
<madpro[m]> The fiend!
Brainium has joined #asahi
<bluetail> ping_47, I have a way different issue
<bluetail> Seems that in order to use the vs-code-server markdown preview functionality, I have to have to register a domain and run in https
<bluetail> self-signed-certificates are automatically declined right?
<bluetail> And if I want to use the registered domain I have, I have to have a static IP with exposed ports, right?
<difficultvelcro[m]> <bluetail> "And if I want to use the..." <- Not necessarily static
<difficultvelcro[m]> As long as you either manually update the DNS entry or use a DDNS solution, you don't need a static IP
<bluetail> dyndns costs cash right?
<bluetail> DDNS service I need, I see
<princesszoey> y'all don't have a homelab? /s
<bluetail> I feel insulted :/
<bluetail> difficultvelcro[m], can I use a domain certificate without being exposed to the internet?
<bluetail> princesszoey, yea rub salt in my wounds. You better teach me all you know :)
<difficultvelcro[m]> bluetail: I think you can
<bluetail> how would I go about it?
<princesszoey> I haven't had one in forever. I miss it lol
<difficultvelcro[m]> Let's encrypt with a DNS challenge
<difficultvelcro[m]> that way you can get an actual certificate from a CA
<bluetail> I dont understand
<bluetail> I have def0.de
<bluetail> but
<bluetail> I want my lan to use a subdomain of def0.de
<difficultvelcro[m]> but what?
<difficultvelcro[m]> ah
<bluetail> I grant the subdomain in the CA
<bluetail> but I dont want my lan box to be exposed
<difficultvelcro[m]> did you set it to your public IP?
<difficultvelcro[m]> ah
pi4 has joined #asahi
<difficultvelcro[m]> find the IP of the server you're running your software on
<bluetail> that when I enter lan.def0.de or whatever I reach it locally
<bluetail> i know that
<difficultvelcro[m]> so you have that already setup?
<bluetail> yes
<difficultvelcro[m]> okay good
<difficultvelcro[m]> now
<difficultvelcro[m]> certbot.eff.org
<bluetail> its just that vscode wants me to use https
<difficultvelcro[m]> install the certbot tool
<bluetail> I know the certbot tool
<bluetail> I know how to get the certs
<bluetail> Wheres the point where it is not reachable on the net and just lan
<bluetail> do I just NOT forward prots
<bluetail> ports
<difficultvelcro[m]> yeah hold on
<difficultvelcro[m]> I'm sending you a certbot command
<difficultvelcro[m]> I have to find it first
<bluetail> ok
<difficultvelcro[m]> Try this:
<difficultvelcro[m]> ```certbot certonly –manual -preferred-challenges=dns --register-unsafely-without-email -d lan.def0.de```
<difficultvelcro[m]> You might have to use --manual and --preferred-chalenges=dns instead
<princesszoey> don't most residental IP's block port 53?
<difficultvelcro[m]> princesszoey: It doesn't work like tha
<difficultvelcro[m]> you set a TXT record on your domain
<princesszoey> ah.
<difficultvelcro[m]> s/tha/that/
<princesszoey> I only ever use LE on actual web stuff.
<difficultvelcro[m]> it's actually kind of nice that it works for both
<difficultvelcro[m]> I don't know why people pay for TLS anymore
<bluetail> why without email flag
<difficultvelcro[m]> idk
<difficultvelcro[m]> I always do it
<bluetail> haha
<bluetail> I didnt know that u could do that
<difficultvelcro[m]> from my knowledge, I think it publicly shares your email
<difficultvelcro[m]> I don't want that, but you can omit that flag if you want
<bluetail> I'll try
<bluetail> but first I have a meal
surge9n has quit [Quit: WeeChat 3.6]
roxfan2 has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
<nikorai> I absolutely love this project, and I am really looking forward to the day I can switch to Asahi on my daily driver. I wish I could contribute to the project
roxfan has quit [Ping timeout: 480 seconds]
<nikorai> This project have gotten me interested in learning about hardware, the Linux kernel, reverse engineering etc. Does anyone have some good resources on getting started? Physical books are welcome as well :)
<dottedmag> marcan's streams?
<nikorai> I will definitely check out more of his streams. The ones I checked out so far just seemed to require more knowledge in order to be able to follow along
julio7359 has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]
<bluetail> just outta interest
<bluetail> is there a problem with rust / LLVM ?
<bluetail> When I tried to compile it said that my pagesize isnt ok
<bluetail> I know
<bluetail> I use wireguard now instead
<bluetail> but I wanted to use the split tunnelling cause I believe I need to expose one port
<bluetail> and idk if wireguard can do that as easily
Brainium has quit [Read error: Connection reset by peer]
<bluetail> renamed the PKGBUILD target to aarch64
<j`ey> the alarm rust is broken
<bluetail> ah ok
<bluetail> so answer is to wait, right?
<j`ey> I thought there was a fixed rust pkg in asahi, but apparently not: https://cdn.asahilinux.org/aarch64/asahi-dev/
<bluetail> why apparently not?
<j`ey> because its not on that site!
<bluetail> ah ok
roxfan2 is now known as roxfan
<difficultvelcro[m]> bluetail: did the let's encrypt thing work for you?
<bluetail> Still at the challenge
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<difficultvelcro[m]> bluetail: did you set the record?
<bluetail> TXT? Yea I did
<difficultvelcro[m]> Press enter then
<difficultvelcro[m]> and it should give you your certificate
<bluetail> it fails cause I am dumb or so
<bluetail> _acme-challenge.lan.def0.de.=<value>
<bluetail> _acme-challenge.lan.def0.de.=<value> under DATA
<difficultvelcro[m]> no
<bluetail> lan.def0.de under NAME
<bluetail> oh
<difficultvelcro[m]> it should be
<difficultvelcro[m]> _acme-challenge.def0.de
<difficultvelcro[m]> (I think)
<difficultvelcro[m]> try that
<difficultvelcro[m]> * _acme-challenge_.def0.de
<bluetail> but why
<bluetail> I want lan.def0.de
<difficultvelcro[m]> because that might be how it works
<bluetail> I did -d lan.def0.de
<difficultvelcro[m]> just do it
<difficultvelcro[m]> yes
<difficultvelcro[m]> I know
<bluetail> ok
<sven> all this sounds like off topic to me
<difficultvelcro[m]> I can't dm him
<difficultvelcro[m]> I'm on matrix
<difficultvelcro[m]> is there an offtopic room?
<sven> I don’t care
<sven> #asahi-ot or something like that i think
<difficultvelcro[m]> Sven, is there an offtopic room?
<difficultvelcro[m]> okay
<bluetail> I try dm u
<j`ey> #asahi-offtopic
<difficultvelcro[m]> it's alright, we figured it out
Major_Biscuit has joined #asahi
___nick___ has quit []
StupidYui has joined #asahi
___nick___ has joined #asahi
bluetail has quit [Read error: Connection reset by peer]
miko has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
SuperED has joined #asahi
Thomas___ has joined #asahi
mathmagician_x[m] has joined #asahi
sri has joined #asahi
mathmagician_x[m] has left #asahi [#asahi]
mathmagician_x[m] has joined #asahi
julio7359 has joined #asahi
miko has quit [Quit: WeeChat 3.5]
exuberance[m] has joined #asahi
heh has joined #asahi
heh has quit []
RmyZygas[m] has joined #asahi
RmyZygas[m] is now known as remzed[m]
bent has joined #asahi
StupidYui has quit [Read error: Connection reset by peer]
Thomas___ has quit [Read error: Connection reset by peer]
<bent> hey, my asahi install fails to start with these errors: https://i.imgur.com/wawGrvd.jpg
<bent> think I just installed flatpak and qemu-user-static-bin after last successful boot
<bent> any easy way to recover from this or should I just reinstall?
<j`ey> oh yeah.. qemu-user-static-bin should be disabled, if thats possible?
<j`ey> or fix it
StupidYui has joined #asahi
<j`ey> bent: you can try boot with "init=/bin/sh"
<j`ey> if so, you can fix it
<bent> yep, that worked
sri has quit [Quit: Leaving]
<j`ey> mv /usr/lib/binfmt.d/qemu-static.conf /usr/lib/binfmt.d/qemu-static.conf.ignore
<bent> done. anything else?
<j`ey> dont think so, try a reboot
Major_Biscuit has quit [Ping timeout: 480 seconds]
<bent> j`ey: everything back working. thanks a lot!
<j`ey> I realised binfmt-qemu-static is in the AUR, so we cant override it
sri has joined #asahi
<whynothugo> Any experiences using this on asahi: https://github.com/mxre/zloader
<AdryzzOLEDEdition[m]1> if it requires the devicetree as a file on disk then afaik it cant be used
<whynothugo> I believe it is supported but not required. No entirely sure yet.
chengsun has quit [Quit: Quit]
chengsun has joined #asahi
julio7359 has quit [Ping timeout: 480 seconds]
thevar1able has quit [Quit: ZNC 1.8.2 - https://znc.in]
thevar1able has joined #asahi
Moprius has joined #asahi