#
#asahi · 2022-09-30 15:31
svendepends on the legal system, but I don't think it's the only defense anywhere. but then again, i'm not a lawyer
#asahi · 2022-09-30 15:31
Lucy[m]Oh alright. Cool
#asahi · 2022-09-30 15:30
Lucy[m]Isn't it about the only defense you can somewhat prove though?
#asahi · 2022-09-30 15:30
svenand there's already a openbsd nvme driver
#asahi · 2022-09-30 15:30
svencleanroom is not a requirement. it's just one possible legal defense
#asahi · 2022-09-30 15:29
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.
#asahi · 2022-09-30 15:28
svenI think the only drivers that aren't dual licensed are those which are heavily based on others (e.g. nvme)
#asahi · 2022-09-30 15:27
Lucy[m]Oh, that's pretty cool then
#asahi · 2022-09-30 15:27
tobhenice, good to know
#asahi · 2022-09-30 15:27
j`eyfreebsd does run on AS, someone here is working on it
#asahi · 2022-09-30 15:27
tobhei think most asahi drivers are dual-licensed with a permissive license
#asahi · 2022-09-30 15:26
Lucy[m]I'm not even sure if it's allowed to audit the Linux code to understand the workings
#asahi · 2022-09-30 15:25
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
#asahi · 2022-09-30 15:24
tobhei don't know if freebsd runs on apple silicon at all
#asahi · 2022-09-30 15:24
tobheLucy[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
#asahi · 2022-09-30 15:18
sveneven 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
#asahi · 2022-09-30 15:15
Lucy[m]But that probably won't be helpful if FreeBSD doesn't get Rust support
#asahi · 2022-09-30 15:15
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
#asahi · 2022-09-30 13:36
bluetailCapta1nT0ad[m] seemed as if she was holding back laughter for some reason :D
#asahi · 2022-09-30 13:14
Capta1nT0ad[m]BTW, Lina is streaming now: https://youtu.be/jkHwD0UXAA0
#asahi · 2022-09-30 12:50
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
#asahi · 2022-09-30 12:49
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
#asahi · 2022-09-30 12:48
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
#asahi · 2022-09-30 12:47
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>)
#asahi · 2022-09-30 12:46
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?
#asahi · 2022-09-30 12:46
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?
#asahi · 2022-09-30 12:45
eric_engestromthere'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_
#asahi · 2022-09-30 12:44
eric_engestromhonestly I don't know anything about *BSD kernel drivers, but I don't expect they can just copy Linux kernel drivers
#asahi · 2022-09-30 12:44
Capta1nT0ad[m]* *nix OSes always follow in
#asahi · 2022-09-30 12:17
Capta1nT0ad[m]<j`ey> "depends if they want to support..." <- well *nix OSes follow in the footsteps of linux… so we’ll see 🧐
#asahi · 2022-09-30 12:04
j`eydepends if they want to support rust
#asahi · 2022-09-30 12:02
Capta1nT0ad[m]<eric_engestrom> "mps: I don't know of anyone..." <- would a bsd driver require a full rewrite? or just changes?
#asahi · 2022-09-30 08:41
kujeger[m]yeah, I meant the asahi branch shipped to everyone :D
#asahi · 2022-09-30 08:10
mpsmaybe k_ettenis
#asahi · 2022-09-30 08:09
eric_engestromprobably indeed
#asahi · 2022-09-30 08:09
mpseric_engestrom: someone will do, sooner or later
#asahi · 2022-09-30 08:08
eric_engestrommps: 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
#asahi · 2022-09-30 08:08
j`eyyeah, that could happen if needed!
#asahi · 2022-09-30 08:06
eric_engestromj`ey: I understood "asahi proper" as "the same asahi branch shipped to everyone"
#asahi · 2022-09-30 08:05
j`eyeric_engestrom: the rust stuff could just be merged into asahi branch if needed anyway
#asahi · 2022-09-30 08:04
mpshow will be gpu driver written for BSD? also in rust?
#asahi · 2022-09-30 08:01
eric_engestromalthough 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
#asahi · 2022-09-30 08:00
eric_engestromgiven how fast she's been doing all of this I expect it will be soon indeed
#asahi · 2022-09-30 07:41
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"!
#asahi · 2022-09-30 01:14
konradybciodoes that message make any sense or did I make too many thought jumps 😅
#asahi · 2022-09-30 01:13
konradybcioI 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
#asahi · 2022-09-30 01:13
konradybciosven: 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?
#asahi · 2022-09-29 23:28
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/iZRNGIGUjYxrryvaLecbwdqs>)
#asahi · 2022-09-29 22:53
bread_crumb[m]Thanks for the info, again!
#asahi · 2022-09-29 22:50
j`ey(it needs finishing, but its mostly done, I gave someone else the driver to finish up)

plus ›