#asahi-alt · 2023-10-17 11:31
mpsah, thanks#asahi-alt · 2023-10-17 11:31
psykoserust for linux#asahi-alt · 2023-10-17 11:31
mpswhat means r4l#asahi-alt · 2023-10-17 11:03
jannegI don't think the dcp, asahi and sleep are anymore considered highly experimental things. the main reason why the alarm based distro still ships an edge kernel is that changing it is effort and risk breaking systems#asahi-alt · 2023-10-17 11:01
jannegr4l/asahi is broken with rust-1.73.0 with no obvious fix. fedora-asahi solves this by having rust-kernel which is an older rust package under a new name. it conflicts with the rust package and I expect it's only used for the distro kernel build#asahi-alt · 2023-10-17 08:28
mpshope I will remember this time#asahi-alt · 2023-10-17 08:27
j`eymps: I switched now#asahi-alt · 2023-10-17 08:26
ncopaheh#asahi-alt · 2023-10-17 08:25
chadmedi dont have most of these issues because i just ship the sources and its up to users to build their kernel with whatever options they want :P#asahi-alt · 2023-10-17 08:25
mpsj`ey: do you still use alpine or you switched to fedora (sorry I forgot though I remember you talked about this earlier)#asahi-alt · 2023-10-17 08:24
chadmedyup#asahi-alt · 2023-10-17 08:23
mpsiirc chadmed is gentoo maintainer#asahi-alt · 2023-10-17 08:23
j`eyso I think it;s fine to do that#asahi-alt · 2023-10-17 08:23
j`eyFedora ships GPU enabled kernel by default#asahi-alt · 2023-10-17 08:22
ncopachadmed: thank you for that! will have a look at it#asahi-alt · 2023-10-17 08:22
ncopahas worked great for me too#asahi-alt · 2023-10-17 08:21
mpss/not/note/#asahi-alt · 2023-10-17 08:21
mpsaside not, asahi kernel works very fine for nearly two years for me#asahi-alt · 2023-10-17 08:21
chadmedif youre okay keeping track of mesa UAPI changes youre probably best off shipping the gpu+dcp kernel at this point #asahi-alt · 2023-10-17 08:20
ncopachadmed: and if we only want ship a single kernel, which one do we pick?#asahi-alt · 2023-10-17 08:20
mpschadmed: currently it works but we are not sure will the next version work#asahi-alt · 2023-10-17 08:20
chadmedalso to answer the original question, if your kernel distribution infrastructure allows it, just build two kernels like we have for upstream#asahi-alt · 2023-10-17 08:19
ncopanice#asahi-alt · 2023-10-17 08:19
chadmedncopa, mps: as of recently r4l works with up to date versions of bindgen and rust#asahi-alt · 2023-10-17 08:19
ncopabut ofc, if asahi devs wants us to get the experimental features out to users, we can try put some effort there#asahi-alt · 2023-10-17 08:18
ncopaanyway. i was under the impression that all other distros were shipping stuff that upstream asahi devs would have preferred that they didnt. thats why i havent pushed experimental kernel to alpine#asahi-alt · 2023-10-17 08:18
mpsI solved this problem for building asahi kernel with GPU by having local branch with versioned rust#asahi-alt · 2023-10-17 08:16
mps(not relevant here but I wanted to 'keep' some older crystal versions)#asahi-alt · 2023-10-17 08:15
ncopabut rust is "special"#asahi-alt · 2023-10-17 08:15
ncopawe do the same with basically every other language. only a single version of gcc, python, perl, go, zig, etc#asahi-alt · 2023-10-17 08:14
mpshm, sorry if I missunderstand this#asahi-alt · 2023-10-17 08:14
ncopai disagree that that is an alpine problem#asahi-alt · 2023-10-17 08:13
mpsusually we have only newest version#asahi-alt · 2023-10-17 08:12
mpsrust version, we don't have versioned packages in arhive#asahi-alt · 2023-10-17 08:11
ncopawhat is an alpine problem?#asahi-alt · 2023-10-17 08:11
ncopawhich usually does not correspond with whatever rust version is available in distro#asahi-alt · 2023-10-17 08:11
mpsthat is our (alpine) problem#asahi-alt · 2023-10-17 08:11
ncopait needs to be a very specific version of rust#asahi-alt · 2023-10-17 08:11
mpswell, but other distro maintainers already did so you will not add much issues#asahi-alt · 2023-10-17 08:10
ncopathe DRM_ASAHI module is some what challenging, as it requires rust, and you cannot just pick any version of rust and hoe things will work#asahi-alt · 2023-10-17 08:10
ncopai dont want create extra uneccesary work for the devs#asahi-alt · 2023-10-17 08:09
ncopai had the impression that asahi devs were unhappy with downstream distros building kernels and users reporting issues on those kernels. so i kinda stepped back a bit for alpine, waiting for things to stabilize#asahi-alt · 2023-10-17 08:08
ncopayes, ofc#asahi-alt · 2023-10-17 08:08
mpsncopa: and asahi kernel is experimental as such, till all be merged to mainline (which will not be soon)#asahi-alt · 2023-10-17 08:06
mpsI didn't looked at fedora#asahi-alt · 2023-10-17 08:06
mpsafaik all distros except alpine have this enabled#asahi-alt · 2023-10-17 08:06
mpsno, edge kernel have only extra module enabled, DRM_ASAHI, i.e. gpu#asahi-alt · 2023-10-17 08:05
ncopaso i had the impression that asahi devs prefers that downstream distros stick to the non edge kernel config?#asahi-alt · 2023-10-17 08:04
ncopaand that the edge kernel there is somewhat experimental#asahi-alt · 2023-10-17 08:03
ncopai had the impression that asahi devs were not happy with downstream distros building work-in-progress kernels, and should stick to whatever kernel asahi uses. eg https://github.com/AsahiLinux/PKGBUILDs/tree/main/linux-asahi