ChanServ 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
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
zzywysm has joined #asahi
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
robinp has quit [Remote host closed the connection]
robinp has joined #asahi
<konradybcio> sven: i'm thinking about which aic compatible should be the "real" fallback.. could you check whether the "legacy" setup from my v2 (minus the imsoblind impossible code path of course :P) works at all on M1?
<konradybcio> I understand the M1-specific compatible has been there since the driver's inception, but if I were to "replug" apple,aic to the lowest-common-denominator legacy struct and it doesn't work, it makes no sense to keep it as fallback and I think I would instead prefer to introduce a new apple,aic-legacy or something that would get combined with soc-specific compatibles
<konradybcio> does that message make any sense or did I make too many thought jumps 😅
derzahl has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
nela has quit [Quit: leaving.]
nela has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
kov has quit [Quit: Coyote finally caught me]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
Stroller has quit [Quit: Stroller]
robinp has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
russell-- has joined #asahi
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
MajorBiscuit has joined #asahi
guillaume_g has joined #asahi
goldsoultheory has joined #asahi
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
<kujeger[m]> Super exciting with Lina's gpu stuff, hope it won't be too many weeks until some of it can land in asahi "proper"!
gonzogonzales[m] has joined #asahi
jadesoturi has quit [Quit: Even death needs to sleep sometimes...]
jadesoturi has joined #asahi
<eric_engestrom> given how fast she's been doing all of this I expect it will be soon indeed
<eric_engestrom> although there's a blocker I can see: the rust-for-linux infra stuff probably needs to be merged to mainline first (the others working on asahi are not on the rust-for-linux fork), so it will be a rebase on top of 6.1 (or later if not everything needed lands right away), so not until then anyway
<mps> how will be gpu driver written for BSD? also in rust?
<j`ey> eric_engestrom: the rust stuff could just be merged into asahi branch if needed anyway
<eric_engestrom> j`ey: I understood "asahi proper" as "the same asahi branch shipped to everyone"
<j`ey> yeah, that could happen if needed!
<eric_engestrom> mps: I don't know of anyone interested in writing a GPU driver for BSD yet; you'll have to get someone interested in doing that and ask them ;P
<mps> eric_engestrom: someone will do, sooner or later
<eric_engestrom> probably indeed
<mps> maybe k_ettenis
jadesoturi has quit [Quit: Even death needs to sleep sometimes...]
jadesoturi has joined #asahi
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
mxz has joined #asahi
<kujeger[m]> yeah, I meant the asahi branch shipped to everyone :D
thansen has quit [Quit: The Lounge - https://thelounge.github.io]
thansen has joined #asahi
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
thansen has quit [Quit: The Lounge - https://thelounge.github.io]
thansen has joined #asahi
borisk has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
Guest1750 is now known as frytaped
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
fossdd has quit [Ping timeout: 480 seconds]
kov has joined #asahi
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
monottx[m] has joined #asahi
chipxxx has joined #asahi
<Capta1nT0ad[m]> <eric_engestrom> "mps: I don't know of anyone..." <- would a bsd driver require a full rewrite? or just changes?
<j`ey> depends if they want to support rust
<Capta1nT0ad[m]> <j`ey> "depends if they want to support..." <- well *nix OSes follow in the footsteps of linux… so we’ll see 🧐
yuyichao_ has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
<Capta1nT0ad[m]> * *nix OSes always follow in
<eric_engestrom> honestly I don't know anything about *BSD kernel drivers, but I don't expect they can just copy Linux kernel drivers
<eric_engestrom> there's probably going to be at least a big chunk that needs to be rewritten, but it's an "easy" rewrite as you don't need to worry about _what_ you're doing, only _how_
<bread_crumb[m]> Proxy m1n1 can't be locked down I suppose? So secure boot is preserved if booting doesn't fail but is not if it does?
<bread_crumb[m]> * Proxy m1n1 can't be locked down I suppose? So secure boot is preserved if booting from stage 2 and if booting doesn't fail, but not if it does?
<bread_crumb[m]> > <@bread_crumb:halogen.city> What I did was the above, I partitioned the USB as follows:... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/kTIxilzSIMQYkEKZHBOzaoFc>)
<bread_crumb[m]> as joey said alarm/alarm password on user - don't know root right now still have to check but can be edited in forward
<tobhe_> DRM is an exception in OpenBSD since it actually uses Linux drivers there with a shim to interface with the rest of the openbsd kernel. This one will have to be rewritten though since there are no plans to support rust in the near future
<tobhe_> all the other m1 specific drivers in OpenBSD are also rewrites, but as eric said that isn't too hard once you have a working reference
tobhe_ is now known as tobhe
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
bisko has joined #asahi
<Capta1nT0ad[m]> BTW, Lina is streaming now: https://youtu.be/jkHwD0UXAA0
mlq has joined #asahi
s1gtrap[m] is now known as s1gtrapOld[m]
le0n_ has joined #asahi
Moprius has joined #asahi
le0n_ has quit []
<bluetail> Capta1nT0ad[m] seemed as if she was holding back laughter for some reason :D
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
joske has joined #asahi
donnyjoe[m] has joined #asahi
Moprius has quit [Quit: bye]
ljs has joined #asahi
kyuudou has joined #asahi
le0n has quit [Read error: No route to host]
le0n has joined #asahi
joske has quit [Quit: Leaving...]
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
Moprius has joined #asahi
guillaume_g has quit []
Soroush has quit []
Soroush has joined #asahi
Moprius has quit [Quit: bye]
Soroush has quit []
Gaspare has joined #asahi
chipxxx has quit [Read error: Connection reset by peer]
Stroller has joined #asahi
<Lucy[m]> tobhe_: FreeBSD also has a kernel interface (LinuxKPI) that makes DRM drivers almost work as is. I use it for my RX 6600 and it's been pretty good
<Lucy[m]> But that probably won't be helpful if FreeBSD doesn't get Rust support
<sven> even copying DCP 1:1 to bsd may be tricky already because it'll eventually depend on a few other linux systems (rtkit, iommu) that work slightly different I guess
<tobhe> Lucy[m]: afaik freebsd is generally more open to run Linux drivers (for Wifi for example) and is also working on rust kernel support, but when people speak of *BSD in the context of asahi they usually mean OpenBSD
<tobhe> i don't know if freebsd runs on apple silicon at all
Soroush has joined #asahi
<Lucy[m]> Oh, I actually wasn't aware they were working on that. Yeah, haven't seen much about M1 on FreeBSD. If I ever get a used machine I might take a shot at making it work. Not sure how to handle the GPL/BSD license mismatch
<Lucy[m]> I'm not even sure if it's allowed to audit the Linux code to understand the workings
jakebot6022 has joined #asahi
<tobhe> i think most asahi drivers are dual-licensed with a permissive license
<j`ey> freebsd does run on AS, someone here is working on it
<tobhe> nice, good to know
jakebot602 has quit [Ping timeout: 480 seconds]
jakebot6022 is now known as jakebot602
<Lucy[m]> Oh, that's pretty cool then
<sven> I think the only drivers that aren't dual licensed are those which are heavily based on others (e.g. nvme)
<Lucy[m]> So I guess auditing the code for that to write a FreeBSD implementation isn't legal. Unless it's clean room, as in someone reads the code, writes down how it works and gives it to someone else.
<sven> cleanroom is not a requirement. it's just one possible legal defense
<sven> and there's already a openbsd nvme driver
<Lucy[m]> Isn't it about the only defense you can somewhat prove though?
<Lucy[m]> Oh alright. Cool
<sven> depends on the legal system, but I don't think it's the only defense anywhere. but then again, i'm not a lawyer
<Lucy[m]> True. Seems like a slippery slope regardless however
<bluetail> sven are you saying team asahi already considered legal defenses when they started to work? Thats pretty impressive!
<Lucy[m]> Yeah, isn't Apple's license pretty restrictive too? Do you guys audit XNU stuff?
<sven> i was sued for copyright infringement once (https://www.eff.org/files/sony_complaint.pdf) and talked to a few lawyers back then. not sure if that counts as "considered legal defenses"
<sven> i'm fairly confident that what I do is legal in the country I live in though
<j`ey> and there has always been an RE policy https://asahilinux.org/copyright/
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
le0n has quit [Remote host closed the connection]
tobhe_ has joined #asahi
tobhe has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
le0n has joined #asahi
kyuudou has left #asahi [#asahi]
Moprius has quit [Quit: bye]
goldsoultheory has joined #asahi
Moprius has joined #asahi
MajorBiscuit has quit [Quit: WeeChat 3.5]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
Gaspare has quit [Quit: Gaspare]
tobhe has joined #asahi
tobhe_ has quit [Ping timeout: 480 seconds]
tobhe_ has joined #asahi
tobhe has quit [Ping timeout: 480 seconds]
yuyichao_ has quit [Ping timeout: 480 seconds]
<konradybcio> sven: did you get my previous message in this room about the aic patchset?
Moprius has quit [Quit: bye]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
Gaspare has joined #asahi
<sven> no, I don’t have notifications turned on for this channel because the noise is too high
<sven> try #asahi-dev for development talk
<sven> i actually try to read every single message there
Moprius has joined #asahi
Moprius has quit []
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
Gaspare has quit [Quit: Gaspare]
Moprius has joined #asahi
yamii has quit [Quit: WeeChat 3.6]
yamii has joined #asahi
<konradybcio> oke thanks
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
yuyichao_ has joined #asahi
Moprius has quit [Quit: bye]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goldsoultheory has joined #asahi
nullroute has quit [Read error: Connection reset by peer]
vx has quit [Ping timeout: 480 seconds]
nullroute has joined #asahi
vx has joined #asahi
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ljs has quit [Remote host closed the connection]
jlco has quit [Ping timeout: 480 seconds]
goldsoultheory has joined #asahi
julio7359 has joined #asahi
SSJGZ has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
chipxxx has joined #asahi
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teddys has joined #asahi
gff_ has joined #asahi
gff has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi
thelounge7571340 has quit [Remote host closed the connection]
julio7359 has quit [Ping timeout: 480 seconds]
CME has quit [Read error: No route to host]
CME has joined #asahi
snowcra5h has joined #asahi